projects
/
gpg-migrate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9034f3
)
Add twofish block size to PGPPacket._cipher_block_size
author
W. Trevor King
<wking@tremily.us>
Sun, 22 Dec 2013 19:49:30 +0000
(11:49 -0800)
committer
W. Trevor King
<wking@tremily.us>
Mon, 23 Dec 2013 21:41:06 +0000
(13:41 -0800)
From RFC 4880 [1]:
The AES and Twofish have a block size of 16 octets.
[1]: http://tools.ietf.org/search/rfc4880#section-13.9
gpg-migrate.py
patch
|
blob
|
history
diff --git
a/gpg-migrate.py
b/gpg-migrate.py
index 1dba8981414bd3ed3768638efd06dfc8afa56e83..04af59759230a2fad3253080b615db48a621f2d1 100755
(executable)
--- a/
gpg-migrate.py
+++ b/
gpg-migrate.py
@@
-112,6
+112,7
@@
class PGPPacket (dict):
'aes with 192-bit key': 128,
'aes with 256-bit key': 128,
'cast5': 64,
+ 'twofish': 128,
}
_crypto_module = {