From 1bb3f8409d4bbec403bea768184a691d9d7ea42d Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Fri, 13 Jul 2018 20:36:27 +1000 Subject: [PATCH] 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. --- lang/python/examples/howto/export-key.py | 2 +- lang/python/examples/howto/export-minimised-key.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/examples/howto/export-key.py b/lang/python/examples/howto/export-key.py index 6def6871..913bfce7 100755 --- a/lang/python/examples/howto/export-key.py +++ b/lang/python/examples/howto/export-key.py @@ -47,7 +47,7 @@ elif len(sys.argv) == 2: logrus = input("Enter the UID matching the key(s) to export: ") homedir = input("Enter the GPG configuration directory path (optional): ") 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: ") homedir = input("Enter the GPG configuration directory path (optional): ") diff --git a/lang/python/examples/howto/export-minimised-key.py b/lang/python/examples/howto/export-minimised-key.py index c2c533ee..3889adcd 100755 --- a/lang/python/examples/howto/export-minimised-key.py +++ b/lang/python/examples/howto/export-minimised-key.py @@ -47,7 +47,7 @@ elif len(sys.argv) == 2: logrus = input("Enter the UID matching the key(s) to export: ") homedir = input("Enter the GPG configuration directory path (optional): ") 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: ") homedir = input("Enter the GPG configuration directory path (optional): ")