You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem, the reason this is not working is because the Id attribute is preceded by a namespace which is WSU_NS, so you have to change the code from the decrypt function from
After this there is another error arising and is that after encryption with this library the EncryptedData Element doesn't have any KeyInfo element inside, so the decrypt function will fail here
I created a simple xml file, generated a self-signed certificate and key:
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
then tried to encrypt it and then decrypt the encrypted data:
The result is this error:
plain.xml:
The text was updated successfully, but these errors were encountered: