Skip to main content

Keys

Key is a cryptographic tool used for signing records in Cadastry. It consists of two parts: a public key and a private key. The private key is kept secret and stored within a Cadastry signature extension, while the public key is visible to others and included in every signed record.

Keys are always linked to a specific Actor, who may have multiple keys for different purposes. For example, an actor may have one key for signing official documents and another key for personal use.

Keys in Cadastry are generated using standard key schemes such as ed25519 and secp256k1. These schemes provide a standardized method for creating and managing keys, ensuring their security and reliability.

To use a key in Cadastry, the Actor must first download a Cadastry signature extension, which stores their private keys. They can then use their private key to sign records, and the corresponding public key will be included in the signed record as verification.

Creating keys using CLI

To create a new key pair using cli simply enter

cadastry new keypair

New keypair is created and stored localy in a file.