[WebDNA] Encrypt Method SHA256
This WebDNA talk-list message is from 2018
It keeps the original formatting.
numero = 114404
interpreted = N
texte = 2023--_000_8B5225867CBBB04EA873181399C380004B7391OCB56oswegoboceso_Content-Type: text/plain; charset="us-ascii"Content-Transfer-Encoding: quoted-printableI am working on connecting a service account to the google drive api. Goog=le 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=3Dbobs your uncle[/text][string_val][text show=3DT]one=3D[encrypt method=3DSHA256][string_val][/encrypt][/text][text show=3DT]two=3D[encrypt method=3DSHA256&seed=3D87712349843][string_va=l][/encrypt][/text][Showif [one]=3D[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 unclefac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009SAME!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 McMahonAssistant Database AdministratorCenter for Instruction, Technology & InnovationCONFIDENTIALITY NOTICE:The contents of this email message and any attachments are intended solely =for the addressee(s) and may contain confidential and/or privileged informa=tion and may be legally protected from disclosure. If you are not the inten=ded recipient of this message or their agent, or if this message has been a=ddressed to you in error, please immediately alert the sender by reply emai=l and then delete this message and any attachments. If you are not the inte=nded recipient, you are hereby notified that any use, dissemination, copyin=g, or storage of this message or its attachments is strictly prohibited.--_000_8B5225867CBBB04EA873181399C380004B7391OCB56oswegoboceso_Content-Type: text/html; charset="us-ascii"Content-Transfer-Encoding: quoted-printable
I am working on connecting a service account to the =google drive api. Google requires that the signature is encrypted usi=ng 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 getti=ng, here is the code from my test:
[text]string_val=3Dbobs your uncle[/text]=
[string_val]
[text show=3DT]one=3D[encrypt method=3DSHA256][strin=g_val][/encrypt][/text]
[text show=3DT]two=3D[encrypt method=3DSHA256&se=ed=3D87712349843][string_val][/encrypt][/text]
[Showif [one]=3D[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:=p>
bobs your uncle
fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e=364abc258d547e4009
fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e=364abc258d547e4009
SAME!
Not sure if this is a bug or just me assuming someth=ing that is not correct. If this is not a bug could someone help me u=nderstand what is happening under the hood?
Thank you,
Dustin McMahon
Assistant Database Administrator=p>
Center for Instruction, Technology & Innovation<=o:p>
<=/span>
CONFIDENTIALITY NOTICE:
The contents of this email message and any attachmen=ts are intended solely for the addressee(s) and may contain confidential an=d/or privileged information and may be legally protected from disclosure. I=f you are not the intended recipient of this message or their agent, or if this message has been addressed to y=ou in error, please immediately alert the sender by reply email and then de=lete this message and any attachments. If you are not the intended recipien=t, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachm=ents 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=3D55Bug Reporting: support@webdna.us--_000_8B5225867CBBB04EA873181399C380004B7391OCB56oswegoboceso_--.
Associated Messages, from the most recent to the oldest:
2023--_000_8B5225867CBBB04EA873181399C380004B7391OCB56oswegoboceso_Content-Type: text/plain; charset="us-ascii"Content-Transfer-Encoding: quoted-printableI am working on connecting a service account to the google drive api. Goog=le 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=3Dbobs your uncle[/text][string_val][text show=3DT]one=3D[encrypt method=3DSHA256][string_val][/encrypt][/text][text show=3DT]two=3D[encrypt method=3DSHA256&seed=3D87712349843][string_va=l][/encrypt][/text][Showif [one]=3D[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 unclefac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e364abc258d547e4009SAME!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 McMahonAssistant Database AdministratorCenter for Instruction, Technology & InnovationCONFIDENTIALITY NOTICE:The contents of this email message and any attachments are intended solely =for the addressee(s) and may contain confidential and/or privileged informa=tion and may be legally protected from disclosure. If you are not the inten=ded recipient of this message or their agent, or if this message has been a=ddressed to you in error, please immediately alert the sender by reply emai=l and then delete this message and any attachments. If you are not the inte=nded recipient, you are hereby notified that any use, dissemination, copyin=g, or storage of this message or its attachments is strictly prohibited.--_000_8B5225867CBBB04EA873181399C380004B7391OCB56oswegoboceso_Content-Type: text/html; charset="us-ascii"Content-Transfer-Encoding: quoted-printable
I am working on connecting a service account to the =google drive api. Google requires that the signature is encrypted usi=ng 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 getti=ng, here is the code from my test:
[text]string_val=3Dbobs your uncle[/text]=
[string_val]
[text show=3DT]one=3D[encrypt method=3DSHA256][strin=g_val][/encrypt][/text]
[text show=3DT]two=3D[encrypt method=3DSHA256&se=ed=3D87712349843][string_val][/encrypt][/text]
[Showif [one]=3D[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:=p>
bobs your uncle
fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e=364abc258d547e4009
fac0c89f9e701ded2bc09d4ffc330f598c0861c5a66b5e=364abc258d547e4009
SAME!
Not sure if this is a bug or just me assuming someth=ing that is not correct. If this is not a bug could someone help me u=nderstand what is happening under the hood?
Thank you,
Dustin McMahon
Assistant Database Administrator=p>
Center for Instruction, Technology & Innovation<=o:p>
<=/span>
CONFIDENTIALITY NOTICE:
The contents of this email message and any attachmen=ts are intended solely for the addressee(s) and may contain confidential an=d/or privileged information and may be legally protected from disclosure. I=f you are not the intended recipient of this message or their agent, or if this message has been addressed to y=ou in error, please immediately alert the sender by reply email and then de=lete this message and any attachments. If you are not the intended recipien=t, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachm=ents 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=3D55Bug Reporting: support@webdna.us--_000_8B5225867CBBB04EA873181399C380004B7391OCB56oswegoboceso_--.
"McMahon, Dustin"
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:
CSV import suggestions (2007)
WebMerchant when CC network is down (1998)
[url] (1997)
PCS Frames (1997)
Mac carriage returns (2004)
sorting dates (1999)
Max Record length restated as maybe bug (1997)
Faxing orders in place of email (1997)
Document Contains No Data! (1997)
No Wanna Duppys (1998)
Two submit buttons ? (1997)
HELP WITH DATES (1997)
Test (2003)
WebCat2 - many [carts] on one template page? (1997)
Nesting Search Within
Tag? (1997)
[WebDNA] Best WebDNA version for OS X Server 10.5.8 on PowerPC? (2010)
Close-to Comparison Code (1998)
Using Plug-In while running 1.6.1 (1997)
Statistics... (2004)
[TCPSend] and whois? (1999)