I'm trying to encrypt and decrypt test data using Symmetric Key Decipher/Encipher calls.
I've stored two encrypted keys in the CKDS file for use in these operations.
When I run the operations, I get a 8/3067 return/reason codes. (no privileged mode of any kind) The manual shows the following.....
The provided key_identifier refers to an encrypted CCA key token or a key label of an encrypted CCA key token, and the CSFKEYS profile covering it does not allow its use in high performance encrypted key operations. User action: Contact your ICSF or RACF administrator if you need to use this key with an ICSF service that supports secure keys for CPACF. For more details, see 'Enabling use of encrypted keys in callable services that exploit CPACF' in z/OS Cryptographic Services ICSF Administrator's Guide.So I've updated my RACF with the following statements....
RDEF CSFKEYS DES.CHAOS.CAT ICSF(SYMCPACFWRAP(YES))
RDEFINE CSFKEYS CSF-PROTECTED-KEY-TOKEN ICSF(SYMCPACFWRAP(YES)) UACC(READ)SETR RACLIST(CSFKEYS) REFRESHNormally they want to default to UACC(NONE) and add a PERMIT call for a group with READ access. But given my test system, I thought I'd shorten the steps.
And now that I run my tests again, I'm still getting the same results. Can anyone shed some light on what I've missed? (not an ICSF or RACF expert by any means).
Sincerely,
------------------------------
Mark Vollmer
Developer, but does everything.
CV Systems, LLC
------------------------------