On Tue, Mar 31, 2009, Bene? Vladimr wrote:

> Hi,
> 
>         there is mentioned command option "-md" on official documentation - 
> http://www.openssl.org/docs/apps/smime.html#
> """
> SYNOPSIS
> openssl smime ... [-md digest] ...
> ...
> COMMAND OPTIONS
> ...
> -md digest
> digest algorithm to use when signing or resigning. If not present then the 
> default digest algorithm for the signing key will be used (usually SHA1).
> ...
> """
> 
>         But if I try to use it (in the latest version - OpenSSL 0.9.8k 25 Mar 
> 2009), it seems that this is quite unknown option (it only puts into stderr 
> available options - without "-md" option).
> 
>         So how option "-md" could by used in "openssl smime"?
>         Or - how could be created and verificated PKCS#7 signatures with the 
> sha512 (or sha256) message digest algorithm?
> 
>                 Thanks, V. Benes

The online documentation is for the HEAD not 0.9.8 and -md is not implemented
in that.

It is however implemented in the cms command. If you enable CMS support you
can use that.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to