Re: Question about symmetric AES cipher in GnuPG [ ref:_00D58dJQM._5004Ius4eD:ref ]

2019-11-01 Thread Informa D via Gnupg-users
Exmos. Senhores, Recebemos a informação que tiveram hoje a amabilidade de nos transmitir e que muito agradecemos. Vamos imediatamente analisar o caso e responderemos com a máxima brevidade possível ao vosso pedido. Assim que for possível, o Serviço de Apoio ao Cliente entrará em contacto

Re: Question about symmetric AES cipher in GnuPG

2019-11-01 Thread Werner Koch via Gnupg-users
On Wed, 30 Oct 2019 17:19, Brian Minton said: > My guess is, the gpg one also is doing MDC, so you'd have to add the > equivalent HMAC code to openssl, but that's just a complete guess.   The OpenPGP MDC is a SHA-1 hash appended to the plaintext and then encrypted along with the data. The usual

Re: Question about symmetric AES cipher in GnuPG

2019-10-30 Thread Brian Minton
On 10/27/19 3:25 PM, Stefan Claas via Gnupg-users wrote: > gpg --symmetric --cipher-algo AES256 hw.txt gives me a file > size of 87 Bytes. > > Doing the same with openssl, for example: > > openssl enc -aes-256-cbc -pbkdf2 -in hw.txt -out hw.enc > > results in 32 Bytes. > > Can you please, or

Re: Question about symmetric AES cipher in GnuPG

2019-10-27 Thread Stefan Claas via Gnupg-users
Damien Goutte-Gattat wrote: > Hi, > > On Sun, Oct 27, 2019 at 08:25:10PM +0100, Stefan Claas via Gnupg-users wrote: > >Can you please, or somebody else, explain in laymen terms why this is > >so? > > Simply put, gpg and openssl enc don’t use the same file formats. > Different formats may

Re: Question about symmetric AES cipher in GnuPG

2019-10-27 Thread Damien Goutte-Gattat via Gnupg-users
Hi, On Sun, Oct 27, 2019 at 08:25:10PM +0100, Stefan Claas via Gnupg-users wrote: Can you please, or somebody else, explain in laymen terms why this is so? Simply put, gpg and openssl enc don’t use the same file formats. Different formats may encode the same data differently, so you can’t

Question about symmetric AES cipher in GnuPG

2019-10-27 Thread Stefan Claas via Gnupg-users
Hi Werner and all, I was wondering why the binary file size when using symmetric AES encryption with GnuPG is larger than with other apps, I have tested so far. As an example encrypting a text file containing 'Hello World': gpg --symmetric --cipher-algo AES256 hw.txt gives me a file size of 87