package secrets
- Alphabetic
- Public
- All
Type Members
-
final
case class
EncryptedSecret(cipherText: String, salt: String, iv: String, authTag: String, cipherParams: EncryptionSettings, usePre1627KeyDerivation: Option[Boolean]) extends Product with Serializable
Describes structure of file storing encrypted seed.
Describes structure of file storing encrypted seed.
- cipherText
- encrypted seed
- salt
- sequence of bits, known as a cryptographic salt
- iv
- cipher initialization vector
- authTag
- message authentication tag
- cipherParams
- cipher params
- usePre1627KeyDerivation
- use incorrect(previous) BIP32 derivation, expected to be false for new wallets, and true for old pre-1627 wallets (see https://github.com/ergoplatform/ergo/issues/1627 for details)
-
final
class
JsonSecretStorage extends SecretStorage
Secret storage backend.
Secret storage backend. Stores encrypted seed in json file (structure is described by EncryptedSecret). Responsible for managing access to the secrets. (detailed storage specification: https://github.com/ergoplatform/ergo-wallet/wiki/Ergo-Secret-Storage)
-
trait
SecretStorage extends AnyRef
Secret storage trait.
Secret storage trait. All keys dedicated to a wallet are being derived from a single seed which is stored in a file system in encrypted form in a file which can be accessed through this interface. Using SecretString for critical parts to be erased after use.
Value Members
- object EncryptedSecret extends Serializable
- object JsonSecretStorage