Sync seal testing
This commit is contained in:
parent
9653f9e379
commit
797c622567
|
@ -38,6 +38,9 @@ func (t *TestSeal) KeyID() string {
|
|||
func (t *TestSeal) Encrypt(_ context.Context, plaintext []byte) (*physical.EncryptedBlobInfo, error) {
|
||||
return &physical.EncryptedBlobInfo{
|
||||
Ciphertext: ReverseBytes(plaintext),
|
||||
KeyInfo: &physical.SealKeyInfo{
|
||||
KeyID: t.KeyID(),
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue