[Pkg-anonymity-tools] Bug#756193: --import-ownertrust
Patrick Schleizer
adrelanos at riseup.net
Thu Mar 19 17:06:58 UTC 2015
I agree, this should be fixed. It's possible. But needlessly difficult.
I don't have python code for this, but this is how gpg-bash-lib [1]
(written by me) does it. Should give you an idea how the import command
could look like.
gpg_bash_lib_internal_primary_key_fingerprint="$(gpg_bash_lib_function_key_file_to_first_primary_fingerprint
"$gpg_bash_lib_internal_key")"
echo "$gpg_bash_lib_internal_primary_key_fingerprint:6:" | \
gpg \
--no-options \
--ignore-time-conflict \
--homedir "$gpg_bash_lib_input_temp_folder" \
--import-ownertrust \
1>/dev/null \
2>/dev/null
Cheers,
Patrick
[1] https://github.com/Whonix/gpg-bash-lib
More information about the Pkg-anonymity-tools
mailing list