From 5e375283c209be95da75c6614c5a55c17b009bdf Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 10 Aug 2016 09:48:04 +0100 Subject: [PATCH] Remove password TODO --- src/github.com/matrix-org/go-neb/realms/jira/jira.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/github.com/matrix-org/go-neb/realms/jira/jira.go b/src/github.com/matrix-org/go-neb/realms/jira/jira.go index 2b1e90e..ca0f892 100644 --- a/src/github.com/matrix-org/go-neb/realms/jira/jira.go +++ b/src/github.com/matrix-org/go-neb/realms/jira/jira.go @@ -79,9 +79,6 @@ func loadPrivateKey(privKeyPEM string) (*rsa.PrivateKey, error) { return nil, errors.New("No PEM formatted block found") } - // TODO: Handle passwords on private keys. - // decBytes, err = x509.DecryptPEMBlock(block, []byte{}) // no pass - priv, err := x509.ParsePKCS1PrivateKey(block.Bytes) if err != nil { return nil, err