Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Justin Scott
> Yes, it's the TRIM.  Thanks... I'm just so used to using trim > I never thought about it trimming spaces when they are part > of the encrypted value.  But now I'll remember that. Just a couple of other semi-OT notes... the default encryption algorithm (CFMX_COMPAT) is not very secure by anyone

RE: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
Yes, it's the TRIM. Thanks... I'm just so used to using trim I never thought about it trimming spaces when they are part of the encrypted value. But now I'll remember that. Thanks Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Michael Grant
He could leave the first one if he so chose. It wouldn't be lending to the problem. On Wed, Aug 31, 2011 at 2:50 PM, Alan Rother wrote: > > It's the TRIM functions, remove them > > This works > > > > > > Original > > > > > > -- > Alan Rother > Manager, Phoenix Cold Fusion User Group, ww

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Alan Rother
It's the TRIM functions, remove them This works Original -- Alan Rother Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org Twitter: @AlanRother ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Alan Rother
It's the TRIM functions, remove them This works request.testval = "6546"; request.inval = encrypt(request.testval,"sn"); request.outval = decrypt(request.inval,"sn"); On Wed, Aug 31, 2011 at 11:31 AM, Michael Grant wrote: > > Who's arguing? > And I'd disagree that improving your syntax isn

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Michael Grant
Who's arguing? And I'd disagree that improving your syntax isn't helpful. On Wed, Aug 31, 2011 at 2:27 PM, Robert Harrison wrote: > > Yep... That's OT and not very helpful to argue about syntax :-( > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125 Kennedy

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Rodney Enke
Er, remove from the decrypt call. -- Rodney ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/me

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Rodney Enke
I'd start by removing trim() from your encrypt call. Any change to an encyrtped value will cause failure. -- Rodney On Wed, Aug 31, 2011 at 1:23 PM, Robert Harrison wrote: > > This has got to be a bug. > > The question is does this make CF encrypt and decrypt totally unreliable, > or is there

RE: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
Yep... That's OT and not very helpful to argue about syntax :-( Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or

Re: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Michael Grant
OT: You can nix the extraneous pound signs. On Wed, Aug 31, 2011 at 2:06 PM, Robert Harrison wrote: > > Am I doing something wrong here? See these lines of code. > > > > > > This gives the error: The input and output encodings are not same. > > Most of the time this works fine. Change t

RE: BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
This has got to be a bug. The question is does this make CF encrypt and decrypt totally unreliable, or is there something I know I can count on to work around this... like make a longer key or something? -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] S

BUG in CF9 Encrypt and Decrypt?

2011-08-31 Thread Robert Harrison
Am I doing something wrong here? See these lines of code. This gives the error: The input and output encodings are not same. Most of the time this works fine. Change the testval or change the key it works... but every now and then I get the error. Am I doing something wrong, or is this a

Re: Anyone know how to fix this or why this happening?

2011-08-31 Thread Russ Michaels
Wireshark certainly is daunting, but if you start reading the guide it will start to make sense. All you really need to do is set it monitoring, send the email from CF that gets stuck, and look at the traffic that resulted, it will show you the conversation between the 2 servers and if Google did

Re: Anyone know how to fix this or why this happening?

2011-08-31 Thread Andrew Scott
Hey Russ, something OT do you do dedicated hosting? If so do you want to ping me offlist, have some questions regarding a dedicated server with Plesk Panel. On Wed, Aug 31, 2011 at 9:03 PM, Russ Michaels wrote: > > did you try wireshark? > > -- Regards, Andrew Scott WebSite: http://www.andysco

Re: Anyone know how to fix this or why this happening?

2011-08-31 Thread Andrew Scott
No not yet Russ, being a server that I don't own I am a bit reluctant. But if I have no choice then I have no choice, but if I have too do this. What specifically would I be looking for? I find wireshark daunting at the best of times. On Wed, Aug 31, 2011 at 9:03 PM, Russ Michaels wrote: > > d

Re: Anyone know how to fix this or why this happening?

2011-08-31 Thread Russ Michaels
did you try wireshark? On Wed, Aug 31, 2011 at 8:16 AM, Andrew Scott wrote: > > Well I went looking through the mail box, and there are emails there that > have been sent. So it looks like it is being selective, but not sure why... > > > > On Wed, Aug 31, 2011 at 5:12 PM, Billy Cravens > wrote:

Re: Anyone know how to fix this or why this happening?

2011-08-31 Thread Andrew Scott
Well I went looking through the mail box, and there are emails there that have been sent. So it looks like it is being selective, but not sure why... On Wed, Aug 31, 2011 at 5:12 PM, Billy Cravens wrote: > > My experience has been that it automatically overwrites the from address to > the spe

Re: Anyone know how to fix this or why this happening?

2011-08-31 Thread Billy Cravens
My experience has been that it automatically overwrites the from address to the specified, but I only deal with that in development. (Perhaps that behavior has changed recently) Billy Cravens bdcrav...@gmail.com On Aug 31, 2011, at 1:45 AM, Andrew Scott wrote: > > Thanks Billy, that was m