Re: SHA1 Encryption in CF8 Not Working?

2007-08-03 Thread Tom Donovan
Raymond Camden wrote: > I know I tried it as well, definitely on Trial, and I get the same > problem. Both on OSX and Windows. > > > On 8/3/07, Dave Watts <[EMAIL PROTECTED]> wrote: >>> Hey folks, I was trying to Encrypt a string on CF8 >>> (Enterprise trial), but I am getting an error: >>> >>> T

Re: SHA1 Encryption in CF8 Not Working?

2007-08-03 Thread Raymond Camden
I know I tried it as well, definitely on Trial, and I get the same problem. Both on OSX and Windows. On 8/3/07, Dave Watts <[EMAIL PROTECTED]> wrote: > > Hey folks, I was trying to Encrypt a string on CF8 > > (Enterprise trial), but I am getting an error: > > > > The HMAC-SHA1 algorithm is not su

RE: SHA1 Encryption in CF8 Not Working?

2007-08-03 Thread Dave Watts
> Hey folks, I was trying to Encrypt a string on CF8 > (Enterprise trial), but I am getting an error: > > The HMAC-SHA1 algorithm is not supported by the Security > Provider you have chosen. > > Code looks like: > > #Encrypt(targetString, key, 'HMAC-SHA1')# > > I've tried about every variatio

Re: SHA1 Encryption in CF8 Not Working?

2007-08-03 Thread Brian Kotek
I sure haven't, it's exactly as it was when the installer ran. And yes it is also the Enterprise Trial (though I would be somewhat surprised to hear it won't run in Developer mode. I thought the whole point of developer mode was that it would run anything.) I've confirmed this with Sean, Jared, Mi

Re: SHA1 Encryption in CF8 Not Working?

2007-08-03 Thread Tom Chiverton
On Thursday 02 Aug 2007, [EMAIL PROTECTED] wrote: > #Encrypt('some text here', 'secretkeytext', 'HMAC­­-SHA1')# Doesn't work here (but I'm on 64-bit OpenSuSE so unsupported). There is one of those throw away lines at the bottom of the live docs page though: "ColdFusion 8: Added support for encryp

Re: SHA1 Encryption in CF8 Not Working?

2007-08-02 Thread Doug Bezona
Are you using GenerateSecretKey() to create the key? On 8/2/07, Brian Kotek <[EMAIL PROTECTED]> wrote: > > No I tried that too. If you look back at the docs you'll see there are > SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512, and then there is another > set > that is the same but uses the prefix

Re: SHA1 Encryption in CF8 Not Working?

2007-08-02 Thread Brian Kotek
No, SHA algorithms can use any value for the key, that is one of their benefits. Also, generateSecretKey() won't take any of the SHA algorithms as an argument anyway. On 8/2/07, Doug Bezona <[EMAIL PROTECTED]> wrote: > > Are you using GenerateSecretKey() to create the key? > > On 8/2/07, Brian Kot

Re: SHA1 Encryption in CF8 Not Working?

2007-08-02 Thread Brian Kotek
No I tried that too. If you look back at the docs you'll see there are SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512, and then there is another set that is the same but uses the prefix HMAC-SHAx, like HMAC-SHA1, etc. I've tried all of them and none work, and also tried variations such as not includ

Re: SHA1 Encryption in CF8 Not Working?

2007-08-02 Thread Tom Chiverton
On Thursday 02 Aug 2007, [EMAIL PROTECTED] wrote: > The HMAC­SHA1 algorithm is not supported by the Security Provider you have > chosen. > Code looks like: > #Encrypt(targetString, key, 'HMAC­SHA1')# The doc's say the type string is 'HMAC-SHA1'. Does that work ? -- Tom Chiverton ***