nmh-workers
[Top] [All Lists]

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

2016-08-13 11:12:47
Ken wrote:

I don't think you can make an assumption what the _decoded_ base64 SASL
tokens are; that is just talking about what appears in the AUTH messages,
not what the tokens contents are.  I mean, we can't even make an assumption
with regards to character set without knowing more about the particular
SASL mechanism.

I'm not sure, but in any case, there's no character set identification.  So I
know what else we can do, other than display a single byte at a time, with
hexified non-printable (as ASCII) bytes.

I'd rather not extend the length of the current indications such as
tls-decrypted and sasl-decrypted.  tls-b64decryp and sasl-b64decryp ?

Well, if you're using pure SASL encryption/decryption, encryption doesn't
start until SASL is complete, so I'm not sure that works.

Looking at the code, it should.  But I like this better, anyway:

Here's an idea.  How about:

334 b64<Username:>
b64<username@somewhere>

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>