---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list7 novembre 2016 21:03I would check the encryption method, your result is all lowercase, the example is all uppercase.Do you have the same number of characters as they have in the example ?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 5 novembre 2016 23:12Hi Tom,
it seems to be working but I'm not getting the right Mac key at the end...
With your code I have
Value =2780154*05/11/2016:23:01:57*50 EUR*147838331710*Finale Championnat de Méditerranée Laser 2016*3.0*FR*clubnautiq*webmaster@cnsr.fr**********
Key= mykey
I get the following "c8b75a4f5268376368218b8e36ea674980a1e396 " (I don't understand why I get a space at the end)
but the banks server tells me I should get this "A4FE0F****************************FE6CE5"
Do you have any clue?
Thanks
Lawrence
31 octobre 2016 14:00Lawrence,Hi - this shell command should do the trick:[shell]echo -n "value" | openssl sha1 -hmac "key"[/shell]replace the value and key with your values.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list==============================================
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
==============================================.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 29 octobre 2016 11:54I'm running Webdna 6 with MacOsXHi Tom,I got the info, it is HMAC-SHA1They also propose me to use a Python script, what do you think about it?Thanks in advanceLawrence24 octobre 2016 19:28Laurence.Hi - you need to know what type of hash they are looking for. It's likely to be SHA-1 or SHA-256.Once you know that there are different ways to do it depending on your version of WebDNA and your OS - assuming you can run [shell] commands.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list==============================================
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
==============================================.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list7 novembre 2016 21:03I would check the encryption method, your result is all lowercase, the example is all uppercase.Do you have the same number of characters as they have in the example ?---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 5 novembre 2016 23:12Hi Tom,
it seems to be working but I'm not getting the right Mac key at the end...
With your code I have
Value =2780154*05/11/2016:23:01:57*50 EUR*147838331710*Finale Championnat de Méditerranée Laser 2016*3.0*FR*clubnautiq*webmaster@cnsr.fr**********
Key= mykey
I get the following "c8b75a4f5268376368218b8e36ea674980a1e396 " (I don't understand why I get a space at the end)
but the banks server tells me I should get this "A4FE0F****************************FE6CE5"
Do you have any clue?
Thanks
Lawrence
31 octobre 2016 14:00Lawrence,Hi - this shell command should do the trick:[shell]echo -n "value" | openssl sha1 -hmac "key"[/shell]replace the value and key with your values.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list==============================================
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
==============================================.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 29 octobre 2016 11:54I'm running Webdna 6 with MacOsXHi Tom,I got the info, it is HMAC-SHA1They also propose me to use a Python script, what do you think about it?Thanks in advanceLawrence24 octobre 2016 19:28Laurence.Hi - you need to know what type of hash they are looking for. It's likely to be SHA-1 or SHA-256.Once you know that there are different ways to do it depending on your version of WebDNA and your OS - assuming you can run [shell] commands.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list==============================================
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
==============================================.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...