On Tue, Mar 30, 2010 at 12:14 PM, Kyle Hamilton <aerow...@gmail.com> wrote:
> That's your shell talking.  Try:
>
> openssl ciphers -v 'HIGH:!RSA'    # note the single-quotes
>
> You just have to tell the shell not to interpret the bang, by quoting
> it -- either with a backslash or in an uninterpreted-quoted string.

fwiw, for each of:

 sh
 bash
 tcsh

results,

 openssl ciphers -v ALL:!RSA
  RSA: Event not found.

 openssl ciphers 'ALL:!RSA'
  RSA: Event not found.

 openssl ciphers -v "ALL:!RSA"
  RSA: Event not found.

checking escaping,

 echo "ALL:\!RSA"
  ALL:!RSA

then,

 openssl ciphers -v ALL:\!RSA    WORKS
 openssl ciphers -v 'ALL:\!RSA'    WORKS
 openssl ciphers -v "ALL:\!RSA"    WORKS

whereas, in ksh, all of

 openssl ciphers -v ALL:!RSA
 openssl ciphers 'ALL:!RSA'
 openssl ciphers -v "ALL:!RSA"

WORK with no escaping required.

i've suggested that perhaps a mention in the man page might be worthwhile ?

bendj
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to