foundeo / cfdocs

Repository for the cfdocs.org site.
https://cfdocs.org/
Other
184 stars 344 forks source link

GenerateSecretKey does not support algorithm CFMX_COMPAT as CFDocs write #1532

Closed Xcrystall closed 2 years ago

Xcrystall commented 2 years ago

In CFDocs generatesecretkey page and in the point about the algorithm values the value "CFMX_COMPAT" is included, which is not correct. Using it it gives an error message "The CFMX_COMPAT algorithm is not supported by the Security Provider you have chosen".

It's also confirmed in the Adobe page

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/generatesecretkey.html

where "CFMX_COMPAT" is not included in the algorithm parameters, and also in the paragraph "Usage" of the same page it clearly says

"You cannot use the GenerateSecretKey function to generate a key for the ColdFusion default encryption algorithm (CFMX_COMPAT..."

shawnoden commented 2 years ago

PR #1583