auth0 / node-xml-encryption

W3C XML Encryption implementation for node.js (http://www.w3.org/TR/xmlenc-core/)
MIT License
37 stars 57 forks source link

Decryption #22

Open had1 opened 8 years ago

had1 commented 8 years ago

Hello,

I am having trouble with decrypting this soap response message. Even though I have encrypted my request content properly. The decrypt error I got is: [Error: Encrypted message length is invalid.] length: 128, expected: 256

Soap response:

1HOPhACJhYzr2YhYKoPckL5AEjw= bOHw8If5JlcOwPYYX1JSIjWd++VN6oEfowxUyqoLj8kVIwWHGPlFzhhynqAF3C+egb9xF3WSQ+AxWDotxC4YTqUCKFFzm/2Efo1rDbQI4zSMCR092sFy6VuPr4MHyIvwwl+NhkyF6KFhSeYTSh4mbZocxacKXAKjjHtVgI9UEyY= MIIDHjCCAgagAwIBAgIBBDANBgkqhkiG9w0BAQUFADAgMQswCQYDVQQGEwJDSDERMA8GA1UEAxMIU3dpc3NkZWMwHhcNMDYwNTAxMTYyMzQ4WhcNMzEwNDI1MTYyMzQ4WjBGMQswCQYDVQQGEwJDSDERMA8GA1UEChMIU3dpc3NkZWMxGDAWBgNVBAMTD1JlZkFwcCBSZWNlaXZlcjEKMAgGA1UEBRMBNDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxvsAN3AlxDGEV+DV44m4c02PpAfFtu3mO2a4XV6aZuFPiWRnjfxZOYUyDH9hyGPX3tzGdDmNOC2u1vpeoDHyH8bOniW3mju0jU/nKdFK5pMesYVotcuAq1/+MGHEj31Uorgaukia3yKlDurZyT9AQva/yHn36ftrypq94WquAU8CAwEAAaOBwDCBvTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIE8DATBgNVHSUEDDAKBggrBgEFBQcDAjAdBgNVHQ4EFgQUpHoiKNGY2YsLBKxwIV+jURt858MwSAYDVR0jBEEwP4AUlv6LwOYhDQgiqCcEXiaZvwYYrWmhJKQiMCAxCzAJBgNVBAYTAkNIMREwDwYDVQQDEwhTd2lzc2RlY4IBADAaBgNVHREEEzARgQ9wa2lAc3dpc3NkZWMuY2gwCQYDVR0SBAIwADANBgkqhkiG9w0BAQUFAAOCAQEAIS1KrrPDxzROqMkK6JfpUMLPE//X2uFobcpNT2CHLZ5MHgmFKeDsm4EeO9zFgm6Rg6W7lFUIHZ3M1l0TwF0bwycaVRrmlvwmRbRZjzx/NkbloLecICkqVSmzo+O0OnyKWMxnlnl/1nKvyqc6OtQuL7Py3eOlj+oX4uB7+rK1pPeQuO1L0ywyncdEkKucoBZxlOPaDFLlle3T6TrICxlQDw4FSwc5FiQGY5q8Betjs3wF6pSz3tS3GxMnbjXwziDL3sTSJgTAo368IZm2PEdnZXKIcopkmVhqeLoGXBUrtQoXRYC104sZvDLdHFWKb2rX4RpOM1/6t9VkvYSs10RhwA== w1rWspxovlMzU7aUjt5+I5lZ3SA= DuazAfn//JRJZqJs+NwenaBo/f4= Q7OJZnDXggdCLmIVTPop1oS+4SEw7Ac6hrnHTNfLsC+syr5pUhkWcBXZSdMFqzTS2g8z+14PdFXSwgOHEKK2CuihrKFRO+4pcehLwT+RZempnD1v7LqAGX/OfP3AkA9Jz5xK9mUQH7yqBSDgYPk5oNb0TX6Ff3MiEdV9ghidtYk= 2016-11-28T12:17:40.513Z 2016-11-28T12:32:40.513Z YtVnRclZq5PoxPSctpZndkMencoYO7uPt5Md6dCfQQ6qmBfEQ9ScoueIpIF1TpsXQcMR/v62F1rWquoYomLkf8WsknQe2beN+i0L/0vEb50bJrD5eta6NaQBHJ9ktPpchJH4vFXJyDqem2/h1XHo9lZOCHQdtpg3efXuFDdZLMz82btEA9GilnXsvbWIX+7ODTifUrt84AWFgdWgIrWupcYBvQoLM85tEpD/8aY2VVhbPHMpvvUm+IrJa9RUicUC9eRpVVK+F5IhKPSMDLVQ0A==
fmundaca commented 6 years ago

Hello, did you solve this ? i'm getting some error too :(