Skip to content

Commit

Permalink
Merge pull request #585 from LarsStegman/fix-rsa-oaep-enc-uri
Browse files Browse the repository at this point in the history
Change encryption URI for aes128Sha256RsaOaep to w3.org
  • Loading branch information
magiconair authored Jun 15, 2022
2 parents 278231b + be269a7 commit ad98a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uapolicy/policyAes128Sha256RsaOaep.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func newAes128Sha256RsaOaepAsymmetric(localKey *rsa.PrivateKey, remoteKey *rsa.P
nonceLength: nonceLength,
signatureLength: localKeySize,
remoteSignatureLength: remoteKeySize,
encryptionURI: "http://opcfoundation.org/ua/security/rsa-oaep-sha1",
encryptionURI: "http://www.w3.org/2001/04/xmlenc#rsa-oaep",
signatureURI: "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",
}, nil
}

0 comments on commit ad98a1d

Please sign in to comment.