Skip to content

Commit

Permalink
Fixed #140 accel_crypto_key_create missing Key2
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
  • Loading branch information
glimchb authored Feb 9, 2023
1 parent 6134ccb commit 6db025f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/middleend.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func (s *Server) CreateEncryptedVolume(ctx context.Context, in *pb.CreateEncrypt
Cipher: "AES_XTS",
Name: "super_key",
Key: string(in.EncryptedVolume.Key),
Key2: string(in.EncryptedVolume.Key),
}
// TODO: use in.EncryptedVolume.Cipher.String()
// TODO: don't use hard-coded key name
Expand Down

0 comments on commit 6db025f

Please # to comment.