Closed phra closed 7 years ago
╭─phra at kali in /home/phra/git/node-idin (master ✚6)
╰─λ curl -k -X POST -d '<?xml version="1.0" encoding="UTF-8"?><DirectoryReq version="1.0.0" productID="NL:BVN:BankID:1.0" xmlns=" 0 < 15:57:47
http://www.betaalvereniging.nl/iDx/messages/Merchant-Acquirer/1.0.0" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<createDateTimestamp>2017-10-02T13:25:22.211Z</createDateTimestamp>
<Merchant Id="_0">
<merchantID>0030001645s</merchantID>
</Merchant>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><Reference URI="#_0"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>uwyNylx3DbIIbAtdwo051qn8GavC1dKx7eBPtfhVTZc=</DigestValue></Reference></SignedInfo><SignatureValue>HZvuP5cRAazEm6aUBbgvFQfESkVzb/mNS9LbhmhBiKHd4caOMr6Dj+9oqCBz47D6JxUMI1A84DJ67eXBkEwb+/4pBebCH95TbQt0UNxM0pNuwiYD/9gsrHeEKWQbWf7nD8oxkN+uKsvC/y5tVTHfMVRyDGsY2U2EtZP8GDFVXqR5ksD+d4kKA6xn119q4Pix22qVMTvhUAFuD8LUbhhUi6UrrDi0OfhPni2jJwPLi7ExM3UvohXs5ZWYeyPy6FKGxlere6TYRl3O0RcfDF7XBzbiUGUMSZju1ehyfgv1U7e3maqRJMHD8dVEXp5f6M9ZR+TiFc8y1bsOYFkNw/5/pQ==</SignatureValue></Signature></DirectoryReq>' https://abnamro-test.incassomachtigen.de/bvn-idx-bankid-rs/bankidGateway
<?xml version="1.0" encoding="UTF-8"?><ns3:AcquirerErrorRes xmlns:ns3="http://www.betaalvereniging.nl/iDx/messages/Merchant-Acquirer/1.0.0" xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns10="urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp" xmlns:ns2="http://www.w3.org/2001/04/xmlenc#" xmlns:ns4="urn:oasis:names:tc:SAML:2.0:ac" xmlns:ns5="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns6="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ns7="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:ns8="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns9="urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE" productID="ProductIDUnknown" version="1.0.0">
<ns3:createDateTimestamp>2017-10-02T13:57:57.687Z</ns3:createDateTimestamp>
<ns3:Error>
<ns3:errorCode>IX1100</ns3:errorCode>
<ns3:errorMessage>Received XML not valid</ns3:errorMessage>
<ns3:errorDetail>System generating error: Acquirer</ns3:errorDetail>
<ns3:consumerMessage>Het is op dit moment niet mogelijk om iDIN te gebruiken. Probeer het later nog een keer.</ns3:consumerMessage>
</ns3:Error>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>FwEU1at4FXlCBV5+NZodccZ68g7LT/p0GAwkndtGFNg=</DigestValue></Reference></SignedInfo><SignatureValue>WLb9qkGYletitNz/q6mGYcL/l5LGDdWZhq0rH0DweBn4ajIBY4J+7p7Etibh2CXdvBj6VhotNCG2vOCg9fRUvWDMCcIrLQCHKECSwuJy8iKyAKm9/9rev2h4lBB3a1tqwzSquqg6Q6h74MpICXB1ZAVkIemDgtghVxIlJ5fni447K4ldXtpuxewverJn+SBAK/HRFrL6czlWrkXodk1Xtn7HfYg0JjjH0dG9HUtMlSuG2t+46d2lkEIkcgFWE94fUKSU3w7N8euj+BfDTvDx9zBUUB+tzsS6xbu7+u4prqgm00fx1jSu1H+MnGXpTgTg3pd/mUp0MBCWqoHfO9PBSQ==</SignatureValue><KeyInfo><KeyName>5ef3776d972e9cdf45689eb0c316e13c1ece412b</KeyName></KeyInfo></Signature></ns3:AcquirerErrorRes>⏎
╭─phra at kali in /home/phra/git/node-idin (master ✚6)
╰─λ curl -k -X POST -d '<?xml version="1.0" encoding="UTF-8"?><DirectoryReq version="1.0.0" productID="NL:BVN:BankID:1.0" xmlns=" 0 < 15:57:47
http://www.betaalvereniging.nl/iDx/messages/Merchant-Acquirer/1.0.0" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<createDateTimestamp>2017-10-02T13:25:22.211Z</createDateTimestamp>
<Merchant Id="_0">
<merchantID>0030001645s</merchantID>
</Merchant>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><Reference URI="#_0"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>uwyNylx3DbIIbAtdwo051qn8GavC1dKx7eBPtfhVTZc=</DigestValue></Reference></SignedInfo><SignatureValue>HZvuP5cRAazEm6aUBbgvFQfESkVzb/mNS9LbhmhBiKHd4caOMr6Dj+9oqCBz47D6JxUMI1A84DJ67eXBkEwb+/4pBebCH95TbQt0UNxM0pNuwiYD/9gsrHeEKWQbWf7nD8oxkN+uKsvC/y5tVTHfMVRyDGsY2U2EtZP8GDFVXqR5ksD+d4kKA6xn119q4Pix22qVMTvhUAFuD8LUbhhUi6UrrDi0OfhPni2jJwPLi7ExM3UvohXs5ZWYeyPy6FKGxlere6TYRl3O0RcfDF7XBzbiUGUMSZju1ehyfgv1U7e3maqRJMHD8dVEXp5f6M9ZR+TiFc8y1bsOYFkNw/5/pQ==</SignatureValue><KeyInfo><KeyName>8C6415E72E553D2A9BDA7AFC9FCC0A5EC5D82841</KeyName></KeyInfo></Signature></DirectoryReq>' https://abnamro-test.incassomachtigen.de/bvn-idx-bankid-rs/bankidGateway
<?xml version="1.0" encoding="UTF-8"?><ns3:AcquirerErrorRes xmlns:ns3="http://www.betaalvereniging.nl/iDx/messages/Merchant-Acquirer/1.0.0" xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns10="urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp" xmlns:ns2="http://www.w3.org/2001/04/xmlenc#" xmlns:ns4="urn:oasis:names:tc:SAML:2.0:ac" xmlns:ns5="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns6="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ns7="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:ns8="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns9="urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE" productID="NL:BVN:BankID:1.0" version="1.0.0">
<ns3:createDateTimestamp>2017-10-02T14:10:22.321Z</ns3:createDateTimestamp>
<ns3:Error>
<ns3:errorCode>SE2700</ns3:errorCode>
<ns3:errorMessage>Invalid electronic signature</ns3:errorMessage>
<ns3:errorDetail>System generating error: Acquirer</ns3:errorDetail>
</ns3:Error>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>Y2zhIlYWFM+6s+Xk/Y8O4+aCD9x9Y2P+EIa1HULUunA=</DigestValue></Reference></SignedInfo><SignatureValue>J53poQjwWBR+P+bV8OWwDuGjdnKz+swb+AgW4QqfQYQtDo6Ron+tbJhiaqPcuKcIj4RsK9mMJGWsDPNFrzbYnWKthwFaoz7/CyZa0KlUY20QIzGVHXDIjf9Cr1xH8sYoVSYc9Qw8mu2DsiX1KrcUK9h5ZPa0AkYXx861Iq+uFVWyypB01im/o02D048rQqOq8xV3D6/P+1KYMQccqnYM9AiaV5kOZY/TPAbB4YcBgazo5M4Sle3zjf8fGZfzbQEW5mFgqrqDzqF5aHRJ2ngql5VZdHbHhO03Tg4e3OPap2yLIT+twW2t0mymyT9OBD42BC2yO36zMr4E1HO9IPwBpg==</SignatureValue><KeyInfo><KeyName>5ef3776d972e9cdf45689eb0c316e13c1ece412b</KeyName></KeyInfo></Signature></ns3:AcquirerErrorRes>⏎
╭─phra at kali in /home/phra/git/bloqinvestor (feature/account ✔)
╰─λ curl -k -X POST -d '<?xml version="1.0" encoding="UTF-8"?><DirectoryReq version="1.0.0" productID="NL:BVN:BankID:1.0" xmlns="http://www.betaalvereniging.nl/iDx/messages/Merchant-Acquirer/1.0.0" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><createDateTimestamp>2017-10-02T17:05:00.211Z</createDateTimestamp><Merchant Id="_0"><merchantID>0030001645</merchantID></Merchant><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><Reference URI="#_0"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>uwyNylx3DbIIbAtdwo051qn8GavC1dKx7eBPtfhVTZc=</DigestValue></Reference></SignedInfo><SignatureValue>HZvuP5cRAazEm6aUBbgvFQfESkVzb/mNS9LbhmhBiKHd4caOMr6Dj+9oqCBz47D6JxUMI1A84DJ67eXBkEwb+/4pBebCH95TbQt0UNxM0pNuwiYD/9gsrHeEKWQbWf7nD8oxkN+uKsvC/y5tVTHfMVRyDGsY2U2EtZP8GDFVXqR5ksD+d4kKA6xn119q4Pix22qVMTvhUAFuD8LUbhhUi6UrrDi0OfhPni2jJwPLi7ExM3UvohXs5ZWYeyPy6FKGxlere6TYRl3O0RcfDF7XBzbiUGUMSZju1ehyfgv1U7e3maqRJMHD8dVEXp5f6M9ZR+TiFc8y1bsOYFkNw/5/pQ==</SignatureValue><KeyInfo><KeyName>8C6415E72E553D2A9BDA7AFC9FCC0A5EC5D82841</KeyName></KeyInfo></Signature></DirectoryReq>' https://abnamro-test.incassomachtigen.de/bvn-idx-bankid-rs/bankidGateway
<?xml version="1.0" encoding="UTF-8"?><ns3:AcquirerErrorRes xmlns:ns3="http://www.betaalvereniging.nl/iDx/messages/Merchant-Acquirer/1.0.0" xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns10="urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp" xmlns:ns2="http://www.w3.org/2001/04/xmlenc#" xmlns:ns4="urn:oasis:names:tc:SAML:2.0:ac" xmlns:ns5="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns6="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ns7="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:ns8="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns9="urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE" productID="NL:BVN:BankID:1.0" version="1.0.0">
<ns3:createDateTimestamp>2017-10-02T15:04:57.789Z</ns3:createDateTimestamp>
<ns3:Error>
<ns3:errorCode>IX1100</ns3:errorCode>
<ns3:errorMessage>Received XML not valid</ns3:errorMessage>
<ns3:errorDetail>Field generating error: createDateTimestamp</ns3:errorDetail>
</ns3:Error>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>khprDuA1B3sh7zsuxatj2zUA9o4WgcgEGWk74PAD3ks=</DigestValue></Reference></SignedInfo><SignatureValue>j5rcGuI/R9ktf2NhNLYVxr7UgJA50AK8tG+TezZJ0nURymkNQq3+prZKC2peRpcNgRRZxqzm8MUCLIfd/xSVy/11QjDhR+eyFYVetk3aehW/IZBUg7qwz0mEOQP8dpyc/7tkXkpJR8ZdLRR4+rqInlKYVsz/WyskQ69BIDHzYiwGwYiIksyHbscCh4L/PnkwJODyU98dBh/4TuYNNIGSj3CNPiaK/1qWmBdH56lKE+iRSmhhFISrEiw9ILXzFy5TrPZAdfdl/HYkAf5NFOsmqPUOqKBVrixnK517DuH3ImLNNo4GVgRvOW4SDiM680pn00H/beQxetbxwxzii+m32g==</SignatureValue><KeyInfo><KeyName>5ef3776d972e9cdf45689eb0c316e13c1ece412b</KeyName></KeyInfo></Signature></ns3:AcquirerErrorRes>
i can't get rid of the error:
<ns3:Error>
<ns3:errorCode>IX1100</ns3:errorCode>
<ns3:errorMessage>Received XML not valid</ns3:errorMessage>
<ns3:errorDetail>Field generating error: createDateTimestamp</ns3:errorDetail>
</ns3:Error>
tomorrow i will contact the technical support.
https://github.com/yaronn/xml-crypto