nmh-workers
[Top] [All Lists]

[Nmh-workers] decode base64 auth info in -snoop output?

2016-08-12 10:20:41
Hi,

post(1) -snoop currently doesn't decode base64-encoded smtp
authentication information.  I'm thinking of decoding it to make it
easier to use, and to not mask it.  For example, -snoop currently
shows this with AUTH LOGIN:

    (tls-decrypted) <= 334 VXNlcm5hbWU6
    (tls-encrypted) => dXNlckBleGFtcGxlLmNvbQ==
    (tls-decrypted) <= 334 UGFzc3dvcmQ6
    (tls-encrypted) => bXlfcGFzc3dvcmQ=

But I'd rather see this:

    (tls-decrypted) <= 334 Username:
    (tls-encrypted) => user(_at_)example(_dot_)com
    (tls-decrypted) <= 334 Password:
    (tls-encrypted) => my_password

It might not always be easy to find the base64 encoded text, but I
think it would help with the obvious, common cases such as the
above and AUTH XOAUTH2.

Thoughts?

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>