mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Reject re-enciphering of PVSECRET-AES keys
Keys of type PVSECRET-AES can not be reenciphered using 'zkey reencipher' or 'zkey-cryptsetup reencipher'. Reject that with a proper error message. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Jorg Schmidbauer <jschmidb@de.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
5276d408fd
commit
a8eb2bd4e7
@@ -1,8 +1,8 @@
|
||||
.\" Copyright IBM Corp. 2018
|
||||
.\" Copyright IBM Corp. 2018, 2024
|
||||
.\" s390-tools is free software; you can redistribute it and/or modify
|
||||
.\" it under the terms of the MIT license. See LICENSE for details.
|
||||
.\"
|
||||
.TH ZKEY\-CRYPTSETUP 1 "May 2018" "s390-tools"
|
||||
.TH ZKEY\-CRYPTSETUP 1 "February 2024" "s390-tools"
|
||||
.SH NAME
|
||||
zkey\-cryptsetup \- Manage secure AES volume keys of volumes encrypted with
|
||||
\fBLUKS2\fP and the \fBpaes\fP cipher
|
||||
@@ -115,6 +115,10 @@ command to re-encipher a secure AES volume key of a volume encrypted with
|
||||
re-enciphered when the master key of the cryptographic adapter in CCA or EP11
|
||||
coprocessor mode changes.
|
||||
.PP
|
||||
Volume keys of type \fBPVSECRET\-AES\fP can not be re-enciphered. These keys do
|
||||
not use a cryptographic adapter, thus they do not need to be re-enciphered when
|
||||
the master key of a cryptographic adapter changes.
|
||||
.PP
|
||||
The cryptographic adapter in CCA coprocessor mode has three different registers
|
||||
to store master keys:
|
||||
.RS 2
|
||||
|
||||
Reference in New Issue
Block a user