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