Description of problem:
I'm testing smtp auth login using the command line.  One step is to
encode the username and password with "/bin/echo -ne myusername |
openssl enc -base64". The opposite step would be "/bin/echo -ne
bXl1c2VybmFtZQ== | openssl enc -d -base64", but this fails, until the
-ne is removed.

Version-Release number of selected component (if applicable):
openssl-1.0.0c-1.fc14.i686.rpm  (Fedora 14 openssl package)

How reproducible:
Every time

Steps to Reproduce:
1. /bin/echo -ne bXl1c2VybmFtZQ== | openssl enc -d -base64
2.
3.

Actual results:
No output

Expected results:
The string 'myusername' should be printed, with no newline.

Additional info:
I got the recipe from 
http://goodingredients.org/recipe/articles/email3/smtp-testing.rst

Side note: the built-in echo in tcsh doesn't recognize the '-ne', and
sends it to stdout.  That caused some frustration until I tried
decoding it and the base64 spelled out "-ne myusername".  For testing,
use /bin/echo or bash's echo, not tcsh echo.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to