Browse Source

Remove password TODO

pull/15/head
Kegan Dougal 8 years ago
parent
commit
5e375283c2
  1. 3
      src/github.com/matrix-org/go-neb/realms/jira/jira.go

3
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

Loading…
Cancel
Save