mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-17 11:10:37 -04:00
use suffix for emergency ssh DEK key
This commit is contained in:
parent
2a7408bc16
commit
9363206662
2 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,7 @@ func runSSH(cmd *cobra.Command, _ []string) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("Failed to set up key management service: %s", err)
|
||||
}
|
||||
key, err := kms.GetDEK(cmd.Context(), crypto.DEKPrefix, 256)
|
||||
key, err := kms.GetDEK(cmd.Context(), crypto.DEKPrefix+constants.SSHCAKeySuffix, 256)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Failed to retrieve key from key management service: %s", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue