Re: [WebDNA] Encrypt Method SHA256
This WebDNA talk-list message is from 2018
It keeps the original formatting.
numero = 114406
interpreted = N
texte = 2025Isn't there a character limit to the seed value? If so, and if you are exceeding this limit, WebDNA could simply beignoring your seed value.Try a 6-character seed value and see what happens ...Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWeb Database Systems and Linux Server Administration>I am working on connecting a service account to the google drive api.>Google requires that the signature is encrypted using SHA256 and a>seed value. I was getting an error with my signature saying it was>invalid. I wrote a small bit of server code to do a test on the>encryption just to see what I was getting, here is the code from my>test:>>[text]string_val=bobs your uncle[/text]>>[string_val]>[text show=T]one=[encrypt method=SHA256][string_val][/encrypt][/text]>[text show=T]two=[encrypt method=SHA256&seed=87712349843][string_val]>[/encrypt][/text]>>[Showif [one]=[two]]SAME![/showif]>>One of them takes a seed value, the other does not, I would assume>that the resulting strings would not match but they do. Here is what>I am getting when I call the page in a browser:>>bobs your uncle>fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009>fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009>>SAME!>>Not sure if this is a bug or just me assuming something that is not>correct. If this is not a bug could someone help me understand what>is happening under the hood?>>Thank you,>>Dustin McMahon>Assistant Database Administrator>Center for Instruction, Technology & Innovation>>CONFIDENTIALITY NOTICE:>The contents of this email message and any attachments are intended>solely for the addressee(s) and may contain confidential and/or>privileged information and may be legally protected from disclosure.>If you are not the intended recipient of this message or their agent,>or if this message has been addressed to you in error, please>immediately alert the sender by reply email and then delete this>message and any attachments. If you are not the intended recipient,>you are hereby notified that any use, dissemination, copying, or>storage of this message or its attachments is strictly prohibited.>>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
2025Isn't there a character limit to the seed value? If so, and if you are exceeding this limit, WebDNA could simply beignoring your seed value.Try a 6-character seed value and see what happens ...Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWeb Database Systems and Linux Server Administration>I am working on connecting a service account to the google drive api.>Google requires that the signature is encrypted using SHA256 and a>seed value. I was getting an error with my signature saying it was>invalid. I wrote a small bit of server code to do a test on the>encryption just to see what I was getting, here is the code from my>test:>>
[text]string_val=bobs your uncle[/text]>>[string_val]>[text show=T]one=[encrypt method=SHA256][string_val][/encrypt][/text]>[text show=T]two=[encrypt method=SHA256&seed=87712349843][string_val]>[/encrypt][/text]>>[Showif [one]=[two]]SAME![/showif]>>One of them takes a seed value, the other does not, I would assume>that the resulting strings would not match but they do. Here is what>I am getting when I call the page in a browser:>>bobs your uncle>fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009>fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009>>SAME!>>Not sure if this is a bug or just me assuming something that is not>correct. If this is not a bug could someone help me understand what>is happening under the hood?>>Thank you,>>Dustin McMahon>Assistant Database Administrator>Center for Instruction, Technology & Innovation>>CONFIDENTIALITY NOTICE:>The contents of this email message and any attachments are intended>solely for the addressee(s) and may contain confidential and/or>privileged information and may be legally protected from disclosure.>If you are not the intended recipient of this message or their agent,>or if this message has been addressed to you in error, please>immediately alert the sender by reply email and then delete this>message and any attachments. If you are not the intended recipient,>you are hereby notified that any use, dissemination, copying, or>storage of this message or its attachments is strictly prohibited.>>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=55Bug Reporting: support@webdna.us.
WebDNA Solutions
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
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...
Related Readings:
Pithy questions on webcommerce & siteedit (1997)
Security problems (2000)
Upgrade to MacOS9 and W*4.1 (1999)
Emailer Problem (1998)
No Subject (1998)
RE: Loss in form (1998)
Another Large Database Questions (1997)
Emailer errors - repost (2000)
Running _every_ page through WebCat-error.html (1997)
URL'ed value not written to DB URL'ed (2003)
Locking up with WebCatalog... (1997)
WebCatalog-3.0800 on Mac OS X Server (2000)
Summing fields (1997)
Updating emailer (server) (2000)
Last version of webcatalog (2001)
Exclude by date - multiple (1997)
WebCat & WebTen (1997)
Server slowing down. (1997)
[WriteFile] problems (1997)
includes and cart numbers (1997)