Mailing List Archive

Message Padding for GnuPG
Hi all,

some of you may remember that I proposed years ago 'message padding' for GnuPG,
but it was never implemented nor did I received a reply here.

A while ago Justus proposed this on the IETF GnuPG working group ML:

https://mailarchive.ietf.org/arch/msg/openpgp/wnwdiGRBrKpJos_djj6bgPd0IWU

and I thought why wait ...

Here is a solution for all users of encryption software and not only GnuPG:

https://github.com/sac001/pad

Regards
Stefan

--
NaClbox: 4a64758de9e8ceded2c481ee526440687fe2f3a828e3a813f87753ad30847b56
certified OpenPGP key blocks available on keybase.io/stefan_claas


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Message Padding for GnuPG [ In reply to ]
Stefan Claas via Gnupg-users wrote:

> Hi all,
>
> some of you may remember that I proposed years ago 'message padding' for
> GnuPG, but it was never implemented nor did I received a reply here.
>
> A while ago Justus proposed this on the IETF GnuPG working group ML:
>
> https://mailarchive.ietf.org/arch/msg/openpgp/wnwdiGRBrKpJos_djj6bgPd0IWU
>
> and I thought why wait ...
>
> Here is a solution for all users of encryption software and not only GnuPG:
>
> https://github.com/sac001/pad

Maybe also useful for some of you, when encrypting symmetrically with GnuPG,
because 'gpg --list-packets' shows the original byte size of the unencrypted
message or file, including the original filename.

Regards
Stefan

--
NaClbox: 4a64758de9e8ceded2c481ee526440687fe2f3a828e3a813f87753ad30847b56
certified OpenPGP key blocks available on keybase.io/stefan_claas


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Message Padding for GnuPG [ In reply to ]
On Tue, 21 Jan 2020 23:02, Stefan Claas said:

> because 'gpg --list-packets' shows the original byte size of the unencrypted
> message or file, including the original filename.

--list-packets can't show the original filename because that info is
encrypted. Note that --list-packets decrypts if it has access to the
secret key.


Salam-Shalom,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
Re: Message Padding for GnuPG [ In reply to ]
On 2020-01-22 09:08, Werner Koch via Gnupg-users wrote:
> On Tue, 21 Jan 2020 23:02, Stefan Claas said:
>
>> because 'gpg --list-packets' shows the original byte size of the unencrypted
>> message or file, including the original filename.
>
> --list-packets can't show the original filename because that info is
> encrypted. Note that --list-packets decrypts if it has access to the
> secret key.

Thank you for pointing that out, but I don't understand then when I do
not
enter my passphrase for symmetric decryption of how GnuPG does this, or
are you referring to asymmetric encryption?

Regards
Stefan

--
box: 4a64758de9e8ceded2c481ee526440687fe2f3a828e3a813f87753ad30847b56
certified OpenPGP key blocks available on keybase.io/stefan_claas

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Message Padding for GnuPG [ In reply to ]
On 2020-01-22 09:45, Stefan Claas via Gnupg-users wrote:
> On 2020-01-22 09:08, Werner Koch via Gnupg-users wrote:
>> On Tue, 21 Jan 2020 23:02, Stefan Claas said:
>>
>>> because 'gpg --list-packets' shows the original byte size of the unencrypted
>>> message or file, including the original filename.
>>
>> --list-packets can't show the original filename because that info is
>> encrypted. Note that --list-packets decrypts if it has access to the
>> secret key.
>
> Thank you for pointing that out, but I don't understand then when I do
> not
> enter my passphrase for symmetric decryption of how GnuPG does this, or
> are you referring to asymmetric encryption?

Stupid me, just checked by switching on and off my computer ...

Regards
Stefan

--
box: 4a64758de9e8ceded2c481ee526440687fe2f3a828e3a813f87753ad30847b56
certified OpenPGP key blocks available on keybase.io/stefan_claas

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Message Padding for GnuPG [ In reply to ]
Stefan Claas via Gnupg-users wrote:

> > https://github.com/sac001/pad

For those who like to try out, without installing Golang:

https://keybase.pub/stefan_claas/software/pad/

Regards
Stefan

--
NaClbox: 4a64758de9e8ceded2c481ee526440687fe2f3a828e3a813f87753ad30847b56
certified OpenPGP key blocks available on keybase.io/stefan_claas


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users