python bindings: example scripts

* Fixed incorrect mention of output prompt referencing secret keys
  when the scripts are only for exporting public keys in whole or
  minimised forms.
This commit is contained in:
Ben McGinnes 2018-07-13 20:36:27 +10:00
parent 6cc842c9aa
commit 1bb3f8409d
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ elif len(sys.argv) == 2:
logrus = input("Enter the UID matching the key(s) to export: ") logrus = input("Enter the UID matching the key(s) to export: ")
homedir = input("Enter the GPG configuration directory path (optional): ") homedir = input("Enter the GPG configuration directory path (optional): ")
else: else:
keyfile = input("Enter the path and filename to save the secret key to: ") keyfile = input("Enter the path and filename to save the key(s) to: ")
logrus = input("Enter the UID matching the key(s) to export: ") logrus = input("Enter the UID matching the key(s) to export: ")
homedir = input("Enter the GPG configuration directory path (optional): ") homedir = input("Enter the GPG configuration directory path (optional): ")

View File

@ -47,7 +47,7 @@ elif len(sys.argv) == 2:
logrus = input("Enter the UID matching the key(s) to export: ") logrus = input("Enter the UID matching the key(s) to export: ")
homedir = input("Enter the GPG configuration directory path (optional): ") homedir = input("Enter the GPG configuration directory path (optional): ")
else: else:
keyfile = input("Enter the path and filename to save the secret key to: ") keyfile = input("Enter the path and filename to save the key(s) to: ")
logrus = input("Enter the UID matching the key(s) to export: ") logrus = input("Enter the UID matching the key(s) to export: ")
homedir = input("Enter the GPG configuration directory path (optional): ") homedir = input("Enter the GPG configuration directory path (optional): ")