Wietse Venema: > Peter: > > The downside to this is if there's any % characters in the username or > > password it will come out wrong. I recommend instead: > > > > $ printf '\0%s\0%s' 'username' 'password' | openssl base64 > > AHVzZXJuYW1lAHBhc3N3b3Jk > > That is a good point. In particular % will appear in some passwords.
I have added a BASH example to the SASL_README, and updated the printf examples. It should show up on the mirrors in the next 24 hours. Wietse