--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Oct 6, 2015 at 4:12 PM, <gabrie...@gmail.com> wrote:Hi,I thought you would be able to decrypted a key by doingblock, _ := pem.Decode(key)key := x509.DecryptPEMBlock(block, password)However, if the key is PKCS8, I get a x509: no DEK-Info header in block error. However, from my understanding in PKCS8. The DEK-Info isn't there. How do I decrypt the key then?