Single Device Workflow¶
The simplest Auths setup: one identity, one device, signed commits.
1. Initialize your identity¶
Create a metadata file:
Initialize:
Enter a passphrase when prompted. This:
- Creates
~/.authsas a bare Git repository - Generates an Ed25519 keypair
- Stores the key in your platform keychain under alias
my-key - Creates the identity commit at
refs/auths/identity - Derives your
did:keri:E...controller DID
2. Verify setup¶
3. Configure Git¶
git config --global gpg.format ssh
git config --global gpg.ssh.program auths-sign
git config --global user.signingKey "auths:my-key"
git config --global commit.gpgSign true
4. Sign commits¶
You'll be prompted for your passphrase. The commit is signed with your Auths identity.
5. Verify¶
6. Generate allowed-signers (for team verification)¶
auths git allowed-signers >> ~/.ssh/allowed_signers
git config --global gpg.ssh.allowedSignersFile ~/.ssh/allowed_signers
This lets git log --show-signature verify your commits.
Key management¶
# Export your public key
auths key export --alias my-key --format pub
# View key details
auths id show --show-pk-bytes
When to move to multi-device¶
Consider multi-device setup when:
- You work from more than one machine
- You want a backup key on another device
- You need to sign from CI