Re: openssl ciphers fails when using !

2010-03-30 Thread Bruce Stephens
Ben DJ bendj095124367913213...@gmail.com writes:

[...]

 but,

   openssl ciphers -v HIGH:!RSA

 returns,

   RSA: Event not found.

I think that's your shell, not openssl.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: openssl ciphers fails when using !

2010-03-30 Thread Kyle Hamilton
On Tue, Mar 30, 2010 at 10:06 AM, Ben DJ
bendj095124367913213...@gmail.com wrote:
 does @v1.0.0 'openssl ciphers -v ...' still support ! notation, as
 in 'openssl ciphers -v !RSA' ?

 man page says it does,

  man ciphers | grep Each cipher -A5
       Each cipher string can be optionally preceded by the characters !, - or
       +.

       If ! is used then the ciphers are permanently deleted from the list.
       The ciphers deleted can never reappear in the list even if they are
       explicitly stated.

 but using ! gives Event not found

 e.g.,

  openssl ciphers -v HIGH:RSA  WORKS
  openssl ciphers -v HIGH:-RSA  WORKS

 but,

  openssl ciphers -v HIGH:!RSA

 returns,

  RSA: Event not found.

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.

-Kyle H
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org