Add note in TODO about possible bug in GnuPG v1.4.12 with 'Key-Type: default'.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-05-28 08:19:34 +00:00
parent b7d9f749b6
commit eec650d13f
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 47 additions and 0 deletions

47
TODO
View File

@ -44,6 +44,53 @@ would likely need to happen here [[gnupg.py:1146]].
This would be necessary for adding a passphrase to the key after passwordless This would be necessary for adding a passphrase to the key after passwordless
generation in GnuPG>=2.1.0. generation in GnuPG>=2.1.0.
** TODO GnuPG==1.4.12 doesn't process "Key-Type: default" in batch files
(python-gnupg)∃!isisⒶwintermute:~/code/riseup/python-gnupg ∴ ipython
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
In [1]: import gnupg
GnuPG logging disabled...
In [2]: gpg = gnupg.GPG(homedir='./tests/doctests')
In [3]: key_input = gpg.gen_key_input()
In [4]: print key_input
Key-Type: default
Key-Length: 4096
Subkey-Type: default
Name-Email: isis@wintermute
Expire-Date: 2014-05-28
Name-Real: Autogenerated Key
%commit
In [5]: key = gpg.gen_key(key_input)
In [6]: print key.stderr
gpg: -:1: invalid algorithm
[GNUPG:] KEY_NOT_CREATED
In [7]: quit()
(python-gnupg)∃!isisⒶwintermute:~/code/riseup/python-gnupg ∴ which gpg
/usr/bin/gpg
(python-gnupg)∃!isisⒶwintermute:~/code/riseup/python-gnupg ∴ gpg --version
gpg (GnuPG) 1.4.12
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
(python-gnupg)∃!isisⒶwintermute:~/code/riseup/python-gnupg ∴
* Code cleanup :cleanup: * Code cleanup :cleanup:
** TODO in parsers.__sanitise() :cleanup:sanitise: ** TODO in parsers.__sanitise() :cleanup:sanitise:
Ughh...this is the ugliest code I think I've ever written. It works, but I Ughh...this is the ugliest code I think I've ever written. It works, but I