ConfigOption/key mode

From Snowblossom Wiki
Revision as of 22:58, 9 January 2019 by Fireduck (talk | contribs) (Created page with "==key_mode== Controls how a SnowBlossomClient creates keys. ===Seed Mode=== In seed mode the client will create a BIP39 seed and derive all addresses from that seed. T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

key_mode

Controls how a SnowBlossomClient creates keys.

Seed Mode

In seed mode the client will create a BIP39 seed and derive all addresses from that seed. The seed can be seen by running with command "show_seed". Seed can be imported with "import_seed".

Show seed will report all of the loaded seeds and if all the keys in the wallet are derived from those seeds or not. If the command shows:

   WARNING: THIS WALLET CONTAINS 36 KEYS THAT DO NOT COME FROM SEEDS.  THIS WALLET CAN NOT BE COMPLETELY RESTORED FROM SEEDS

That means you will have to backup the wallet directory (and all files in it) or backup the export file.

If it shows:

   All keys in this wallet are derived from the seed(s) above and will be recoverable from those seeds.

Then all you need to keep are the seeds.

Standard Mode

In this mode, addresses are generated using compressed SECP256K1 public keys. A pool of unused keys is kept and new keys are generated to refill the pool. This mode requires periodic backup of the wallet directory or the export file with a frequency based on your use of the addresses.

QHard Mode

See QuantumTough

In this mode, addresses are 3of3 multisig of the following types:

  • Elliptic Curve SECP256K1
  • RSA 8192-bit
  • DSTU4145 (oid 1.2.804.2.1.1.1.1.3.1.1.2.9)

The theory being that even if one of these is compromised by some sort of cryptographic break or quantum hardware improvement, the others likely will not be.

This mode works just like standard in that a pool of unused keys is kept and added to, so backups are required.


Default

key_mode=seed

Examples

key_mode=seed

key_mode=standard

key_mode=qhard