crypto.getHashes shouldn't return hash functions that can't be used as digest methods.
Example (OSX 10.9.3, OpenSSL 0.9.8y 5 Feb 2013):
Error: Digest method not supported
Note: rsa-sha512 is listed by the crypto.getHashes() array.
Yeah, this is a kind of problem that we are aware of. crypto.getHashes() transforms everything to lowercase. If you would try RSA-SHA512 it will most likely work just fine.
Yup, that does indeed do the job. 👍 I won't close this issue just now, just as a kind reminder.
crypto: do not lowercase cipher/hash names
`crypto.getCiphers()` and `crypto.getHashes()` should prefer lower-case
variants of names, but should not introduce them.
Should be fixed by #7284