Package

org.ergoplatform.wallet

secrets

Permalink

package secrets

Visibility
  1. Public
  2. All

Type Members

  1. final case class EncryptedSecret(cipherText: String, salt: String, iv: String, authTag: String, cipherParams: EncryptionSettings, usePre1627KeyDerivation: Option[Boolean]) extends Product with Serializable

    Permalink

    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)

  2. final class JsonSecretStorage extends SecretStorage

    Permalink

    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)

  3. trait SecretStorage extends AnyRef

    Permalink

    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

  1. object EncryptedSecret extends Serializable

    Permalink
  2. object JsonSecretStorage

    Permalink

Ungrouped