DID Controller Keypair
Creating a keypair used to control a DID method
Create a new DID controller keypair using openssl. In this example, we use Ed25519, but other algorithms are also supported (see specification).
Make sure you have openssl & GNU coreutils installed and avalible on command line (e.g. brew install coreutils
on macOS)
This creates two files, pubkey
and privkey
.
Depending on the method, the public key is encoded in either
Base64 URL (
base64url
)Base58 (
base58
)
FAQ
How do I install base58
app (on macOS).
base58
app (on macOS).There are two ways to install it. If one app doesn't work, try the other one.
How to install & use openssl 3
(on macOS).
openssl 3
(on macOS).Some newer features are only available in the latest version of openssl, version 3. To install it
It is not automatically added to the path as macOS uses LibreSSL. Therefore you can use the absolute path.
Last updated