frostfs-node/pkg/services/session/storage/persistent
Pavel Karpy 01ed366e99 [#1255] node/session: Add encryption
Add `WithEncryption` option that passes ECDSA key to the persistent session
storage. It uses 32 bytes from marshalled ECDSA key in ASN.1 DER from in
AES-256 algorithm encryption in Galois/Counter Mode.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-03-29 09:35:10 +03:00
..
encryption.go [#1255] node/session: Add encryption 2022-03-29 09:35:10 +03:00
executor.go [#1255] node/session: Add encryption 2022-03-29 09:35:10 +03:00
executor_test.go [#1255] node/session: Add persistent tests 2022-03-29 09:35:10 +03:00
options.go [#1255] node/session: Add encryption 2022-03-29 09:35:10 +03:00
storage.go [#1255] node/session: Add encryption 2022-03-29 09:35:10 +03:00
util.go [#1255] node/session: Add encryption 2022-03-29 09:35:10 +03:00
util_test.go [#1255] node/session: Add encryption 2022-03-29 09:35:10 +03:00