don't log gpg passphrase to debug output. Fixes #7035
This commit is contained in:
parent
8eadb35884
commit
712ca88d6c
|
@ -110,7 +110,7 @@ def _write_passphrase(stream, passphrase, encoding):
|
||||||
passphrase = '%s\n' % passphrase
|
passphrase = '%s\n' % passphrase
|
||||||
passphrase = passphrase.encode(encoding)
|
passphrase = passphrase.encode(encoding)
|
||||||
stream.write(passphrase)
|
stream.write(passphrase)
|
||||||
logger.debug("Wrote passphrase: %r", passphrase)
|
logger.debug("Passphrase written")
|
||||||
|
|
||||||
def _is_sequence(instance):
|
def _is_sequence(instance):
|
||||||
return isinstance(instance,list) or isinstance(instance,tuple)
|
return isinstance(instance,list) or isinstance(instance,tuple)
|
||||||
|
|
Loading…
Reference in New Issue