agebox icon indicating copy to clipboard operation
agebox copied to clipboard

agebox cannot be used to encrypt content for yubikey-backed keys

Open charles-dyfis-net opened this issue 2 years ago • 2 comments

When given a public key created with the age-plugin-yubikey plugin, agebox refuses to encrypt for it:

WARN[0000] Could not load public key: invalid public key  key=keys/charles.age svc=storage.fs.KeyRepository version=0.6.1

...this means that even someone willing to use non-agebox tools to decrypt their content (in the interim pending plugin support available in the decryption path for agebox itself) cannot encrypt their content with such a key.

charles-dyfis-net avatar May 25 '22 17:05 charles-dyfis-net

There is a new release candidate https://github.com/FiloSottile/age/releases/tag/v1.1.0-rc.1 which adds plugin support for age-plugin-yubikey. so there should be support for this in the near future

Threnklyn avatar Jun 20 '22 10:06 Threnklyn

just FYI https://pkg.go.dev/filippo.io/age stable v1.1.1 release supports yubikeys

Threnklyn avatar Dec 27 '22 20:12 Threnklyn