Non-blocksize IV #11

singpolyma opened this Issue Jan 2, 2013 · 2 comments


None yet
2 participants

singpolyma commented Jan 2, 2013

For secret keys encryption in OpenPGP, the IV provided is always 8 octets. The spec just says "use CFB mode with the 8-octet IV". I've tried padding either size with 0's to make unCfb accept it, but that doesn't seem to work. What's the right way to do this?


singpolyma commented Jan 3, 2013

Nevermind. I must have had too much sleepdep. That's not what the spec says at all.

@singpolyma singpolyma closed this Jan 3, 2013


TomMD commented Jan 6, 2013

OK, thanks for closing the loop. I had a vague intention of looking into this, but since it was counter to my mental definition of CFB mode I wasn't moving quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment