Re: gnupg / rsa padding question
- From: Mike Amling <nospam@xxxxxxxxxxx>
- Date: Wed, 07 Dec 2005 18:49:46 GMT
vedaal wrote:
using rsa, assuming N=4096, e=65537
how large must the padding be to maintain security against a known plaintext attack?
I think the original OAEP paper addresses that. See http://www.cs.ucdavis.edu/~rogaway/papers/oaep-abstract.html.
specifically, with regard to gnupg/pgp messages done with a 4k rsa key, and a 256 bit symmetric algorithm, the session key is a string of 64 characters, composed of { 0,1, ... , 9, A, B, ... , F }
if the padding added to the session key, is a large string, then, how much of that string can be used as a steganographic channel to contain an additional message, and still maintain enough padding to keep the entire message secure?
If you don't want to mess with the session key itself, then your answer is the maximum length "message" under OAEP, minus the length of the session key.
i.e. the minimal p' so that ( k + m + p' ) = ( k + p ) where k == session key p == quantity of padding currently typically used when encrypting a session key to a 4096 rsa key p' == minimal amount of padding really necessary for securely encrypting to the same 4096 rsa key m == message string added along with new minimal amount of padding, so that what is being encrypted to the 4096 rsa key remains the same size, and indistinguishable, from a typical session key that would be encrypted to the same key
if ( p' ) is small enough to allow for an ( m ) large enough to encode a detailed communication, then this could be utilized for a practical and undetecable, steganographic channel in gnupg, with good plausible deniability. ...
--Mike Amling .
- Follow-Ups:
- Re: gnupg / rsa padding question
- From: Unruh
- Re: gnupg / rsa padding question
- From: vedaal
- Re: gnupg / rsa padding question
- References:
- gnupg / rsa padding question
- From: vedaal
- gnupg / rsa padding question
- Prev by Date: Re: gnupg / rsa padding question
- Next by Date: Re: PGP Lame question
- Previous by thread: Re: gnupg / rsa padding question
- Next by thread: Re: gnupg / rsa padding question
- Index(es):
Relevant Pages
|