age-plugin-ledger

Crates.ioage-plugin-ledger
lib.rsage-plugin-ledger
version0.1.2
sourcesrc
created_at2023-05-11 11:28:47.29837
updated_at2023-07-23 09:02:24.762036
descriptionLedger Nano plugin for age clients
homepagehttps://github.com/Ledger-Donjon/age-plugin-ledger
repositoryhttps://github.com/Ledger-Donjon/age-plugin-ledger
max_upload_size
id862001
size174,864
Nics (NicsTr)

documentation

README

Ledger plugin for age clients

Encrypt/decrypt files by using age and a public/private key stored on a Ledger device. This plugin aims to allow interaction between a Ledger device and an age client like age or rage.

This plugin is highly based on age-plugin-yubikey by str4d.

Integration with Ledger Nano S+

Installation

You can install the plugin using:

cargo install age-plugin-ledger

You will also need to install the app for Ledger Nano.

Configuration

age-plugin-ledger identities have two parts:

  • The secret key material, which is derivated from the Ledger Nano seed and never leaves the device.
  • An age identity file, which contains information that an age client can use to figure out which Ledger Nano should be used.

You may run the plugin to print the age identity file associated with the Ledger Nano:

$ age-plugin-ledger --identity

If you are using passage, you may add this identity to ~/.passage/identities.

Usage

The age recipients contained in all connected Ledger Nano can be printed on standard output:

$ age-plugin-ledger --list

License

Licensed under either of

at your option.

Commit count: 12

cargo fmt