We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dffa474 commit 0a8a4ccCopy full SHA for 0a8a4cc
service/internal/security/basic_manager_test.go
@@ -117,12 +117,12 @@ func (m *MockEncapsulator) EphemeralKey() []byte {
117
type noOpEncapsulator struct{}
118
119
func (n *noOpEncapsulator) Encapsulate(pk ocrypto.ProtectedKey) ([]byte, error) {
120
- // Delegate to ProtectedKey to avoid accessing raw key directly
121
- return pk.Export(n)
+ // Delegate to ProtectedKey to avoid accessing raw key directly
+ return pk.Export(n)
122
}
123
124
func (n *noOpEncapsulator) Encrypt(data []byte) ([]byte, error) {
125
- return data, nil
+ return data, nil
126
127
128
func (n *noOpEncapsulator) PublicKeyAsPEM() (string, error) {
0 commit comments