Skip to content

Commit 1eed258

Browse files
committed
style: format and lint
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent cd2a257 commit 1eed258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/posixage/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (f *fileStore[T]) decryptSecret(ctx context.Context, encryptedSecrets []sec
152152

153153
// tryDecrypt uses decryptionKey to decrypt encryptedData, zeroing the key after
154154
// use regardless of outcome.
155-
func (f *fileStore[T]) tryDecrypt(keyType secretfile.KeyType, decryptionKey []byte, encryptedData []byte) ([]byte, error) {
155+
func (f *fileStore[T]) tryDecrypt(keyType secretfile.KeyType, decryptionKey, encryptedData []byte) ([]byte, error) {
156156
defer clear(decryptionKey)
157157

158158
identity, err := secretfile.GetIdentity(keyType, string(decryptionKey))

0 commit comments

Comments
 (0)