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:
32e12df
)
Add CAST5 block size to PGPPacket._cipher_block_size
author
W. Trevor King
<wking@tremily.us>
Fri, 20 Dec 2013 18:49:01 +0000
(10:49 -0800)
committer
W. Trevor King
<wking@tremily.us>
Fri, 20 Dec 2013 19:46:31 +0000
(11:46 -0800)
From RFC 4880 [1]:
CAST5 (128 bit key, as per [RFC2144])
From RFC 2144 [2]:
CAST-128 is a 12- or 16-round Feistel cipher that has a blocksize of
64 bits and a keysize of up to 128 bits...
[1]: http://tools.ietf.org/search/rfc4880#section-9.2
[2]: http://tools.ietf.org/search/rfc2144#section-2.7
gpg-migrate.py
patch
|
blob
|
history
diff --git
a/gpg-migrate.py
b/gpg-migrate.py
index 0c7f3366672855db08f58fc4c6746a754e7132fc..7b51b724278e3b9e59dd29fd44236d1ff5d69ebb 100755
(executable)
--- a/
gpg-migrate.py
+++ b/
gpg-migrate.py
@@
-103,6
+103,7
@@
class PGPPacket (dict):
'aes with 128-bit key': 128,
'aes with 192-bit key': 128,
'aes with 256-bit key': 128,
+ 'cast5': 64,
}
_compression_algorithms = {