package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-shell-libs.signer-backends/Tezos_signer_backends/Encrypted/index.html

Module Tezos_signer_backends.EncryptedSource

Sourceval decrypt : Tezos_client_base.Client_context.io_wallet -> ?name:string -> Tezos_client_base.Client_keys.sk_uri -> Tezos_crypto.Signature.secret_key Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval decrypt_aggregate : Tezos_client_base.Client_context.io_wallet -> ?name:string -> Tezos_client_base.Client_keys.aggregate_sk_uri -> Tezos_crypto.Aggregate_signature.secret_key Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval encrypt : Tezos_crypto.Signature.secret_key -> bytes -> Tezos_client_base.Client_keys.sk_uri Tezos_base.TzPervasives.tzresult Lwt.t

Encrypts a secret key using the given password

Sourceval prompt_twice_and_encrypt : Tezos_client_base.Client_context.io -> Tezos_crypto.Signature.secret_key -> Tezos_client_base.Client_keys.sk_uri Tezos_base.TzPervasives.tzresult Lwt.t

Prompts password twice to user for confirmation and returns the corresponding encrypted secret key

Sourceval prompt_twice_and_encrypt_aggregate : Tezos_client_base.Client_context.io -> Tezos_crypto.Aggregate_signature.secret_key -> Tezos_client_base.Client_keys.aggregate_sk_uri Tezos_base.TzPervasives.tzresult Lwt.t

prompt_twice_and_encrypt_aggregate cctxt sk Prompts password twice to user for confirmation and returns the corresponding encrypted aggregate secret key

Sourceval encrypt_sapling_key : Tezos_client_base.Client_context.io -> Tezos_sapling.Core.Wallet.Spending_key.t -> Tezos_client_base.Client_keys.sapling_uri Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval decrypt_sapling_key : Tezos_client_base.Client_context.io -> Tezos_client_base.Client_keys.sapling_uri -> Tezos_sapling.Core.Wallet.Spending_key.t Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.