style: инициализировать слайсы через make

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-08-09 00:32:47 +03:00
parent 3950dd94ee
commit 174b5f9048
7 changed files with 69 additions and 67 deletions
+3 -1
View File
@@ -94,9 +94,11 @@ var restoreCmd = &cobra.Command{
}
decryptor := newRestoreDecryptor(registry)
privateKeys := make([]crypto.RecipientPriv, 0, 2)
privateKeys = append(privateKeys, pqPriv, classicalPriv)
if err := decryptor.Decrypt(
inFile,
[]crypto.RecipientPriv{pqPriv, classicalPriv},
privateKeys,
out,
); err != nil {
return err