age-plugin-fido2-hmac
Age plugin to encrypt files with fido2 tokens using the hmac-secret extension and non-discoverable credentials.
File Explorer
Download Latest Version (.zip)- build-and-test.yml
- backcomp.txtar
- dataless.txtar
- multiple-stanzas.txtar
- pin-no.txtar
- pin-yes.txtar
- post-quantum.txtar
- symmetric-pin-no.txtar
- symmetric-pin-yes.txtar
- main.go
- spec-v1.md
- spec-v2.md
- test_device.bin
- bech32.go
- main.go
- missing.go
- unix.go
- cli.go
- fido2_device.go
- fido2_utils.go
- fido2_utils_test.go
- identity.go
- identity_test.go
- plugin.go
- plugin_test.go
- recipient.go
- recipient_test.go
- .gitignore
- .golangci.yml
- go.mod
- go.sum
- LICENSE
- Makefile
- README.md
# Installation Guide
git clone https://github.com/olastor/age-plugin-fido2-hmac
Downloads the entire project code from GitHub to your computer.
cd age-plugin-fido2-hmac
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommendedsudo apt install libfido2-1 libfido2-dev libfido2-doc fido2-tools
Installs directly from the APT package repository (Debian/Ubuntu-based).
brew install libfido2
Installs the pre-built package via Homebrew โ no source build required.
go install github.com/rogpeppe/go-internal/cmd/testscript@latest # check PATH includes $HOME/go/bin/
Downloads and installs the specified version directly โ no need to clone the repo yourself.
Pulled directly from this repo's README.
3. Go
Mediumgo install github.com/rogpeppe/go-internal/cmd/testscript@latest # check PATH includes $HOME/go/bin/
Downloads and installs the specified version directly โ no need to clone the repo yourself.
Pulled directly from this repo's README.
4. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make build
Compiles the code based on the generated build configuration to produce an executable.
make test
Compiles the code based on the generated build configuration to produce an executable.
make attach # separate shell
Compiles the code based on the generated build configuration to produce an executable.
make test-e2e
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
