encrypt method=APOP broken or just not enough docs? - was MD5encryption

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47384
interpreted = N
texte = >If you figure this out I'd really like to know myself. I use a >script to change the >user >information for Apache, but I use the WebCat DB to keep track of >the information >first then call the script from a tpl. > >I could dig up my method for you, but I would really like to see >what you come up >with. > >Matt Perosi >NJ-Singles.com >It appears that the APOP encryption method may be broken, at least in webcat 4.5.1/OSX. To borrow some code from Brian's recent excellent explanation of encryption:[text]tIn=blahblah[/text] [text]tEn=[url][encrypt method=APOP&seed=ABC123][tIn][/encrypt][/url][/text] [text]tDe=[decrypt method=APOP&seed=ABC123][unurl][tEn][/unurl][/decrypt][/text] tIn=[tIn]
tEn=[tEn]
tDe=[tDe]
[if [url][tIn][/url]=[url][tDe][/url]][then]Good[/then][else]Bad[/else][/if]
This always returns Bad, no matter what the input or seed. Does APOP have a special seed like Cybercash encryption does? The docs are a little thin on this point...I'm using WC4.5.1 on OSX 10.2.3.-Dale------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. encrypt method=APOP broken or just not enough docs? - was MD5encryption (Dale LaFountain 2003)
>If you figure this out I'd really like to know myself. I use a >script to change the >user >information for Apache, but I use the WebCat DB to keep track of >the information >first then call the script from a tpl. > >I could dig up my method for you, but I would really like to see >what you come up >with. > >Matt Perosi >NJ-Singles.com >It appears that the APOP encryption method may be broken, at least in webcat 4.5.1/OSX. To borrow some code from Brian's recent excellent explanation of encryption:[text]tIn=blahblah[/text] [text]tEn=[url][encrypt method=APOP&seed=ABC123][tIn][/encrypt][/url][/text] [text]tDe=[decrypt method=APOP&seed=ABC123][unurl][tEn][/unurl][/decrypt][/text] tIn=[tIn]
tEn=[tEn]
tDe=[tDe]
[if [url][tIn][/url]=[url][tDe][/url]][then]Good[/then][else]Bad[/else][/if]
This always returns Bad, no matter what the input or seed. Does APOP have a special seed like Cybercash encryption does? The docs are a little thin on this point...I'm using WC4.5.1 on OSX 10.2.3.-Dale------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Dale LaFountain

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:

Folder modify times (2003) Pithy questions on webcommerce & siteedit (1997) Replacing a Word (1999) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) OLD ORDERS (1998) There's a bug in the math context ... (1997) Multiple prices (1997) totals (1997) possible, WebCat2.0 and checkboxes-restated (1997) Updating Prices in Online Database (1999) redirect with frames (1997) Up and running ... at last !! (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Multiple serial numbers (1997) Frames (1997) Sort Order on a page search (1997) .eml files (2001) flushdatabases (1997) adding second sku (2000) Sorting Numbers (1997)