Commit Graph

288 Commits

Author SHA1 Message Date
Jack Grigg cafbc75fbd Merge pull request #218 from hnw/feature/trigger-ssh-agent-reconnect
CI checks / Test MSRV on linux (push) Has been cancelled
CI checks / Test MSRV on macos (push) Has been cancelled
CI checks / Test MSRV on windows (push) Has been cancelled
CI checks / Test latest stable on linux (push) Has been cancelled
CI checks / Test latest stable on macos (push) Has been cancelled
CI checks / Test latest stable on windows (push) Has been cancelled
CI checks / Code coverage (push) Has been cancelled
CI checks / Intra-doc links (push) Has been cancelled
CI checks / Rustfmt (push) Has been cancelled
feat(key): Trigger SSH agent reconnection after YubiKey release
2026-04-24 07:05:49 +01:00
Jack Grigg c3c0f474fc Merge pull request #224 from str4d/detect-critical-extensions
Reject identities with unrecognised critical extensions
2026-04-08 05:05:25 +01:00
Jack Grigg c57ae544a6 Merge branch 'main' into detect-critical-extensions 2026-04-08 04:31:34 +01:00
Jack Grigg 9329e31dd3 v0.5.1
Publish release binaries / Publish for macos-arm64 (push) Has been cancelled
Publish release binaries / Publish for macos-x86_64 (push) Has been cancelled
Publish release binaries / Publish for linux (push) Has been cancelled
Publish release binaries / Publish for windows (push) Has been cancelled
Publish release binaries / Debian linux (push) Has been cancelled
v0.5.1
2026-04-08 04:27:00 +01:00
Jack Grigg ac22ae1df1 Merge tag 'v0.5.0' into detect-critical-extensions 2026-04-08 04:21:39 +01:00
Jack Grigg 23a1f61e5a v0.4.1
CI checks / Test on linux (push) Has been cancelled
CI checks / Test on macos (push) Has been cancelled
CI checks / Test on windows (push) Has been cancelled
CI checks / Code coverage (push) Has been cancelled
CI checks / Intra-doc links (push) Has been cancelled
CI checks / Rustfmt (push) Has been cancelled
Publish release binaries / Publish for macos-arm64 (push) Has been cancelled
Publish release binaries / Publish for macos-x86_64 (push) Has been cancelled
Publish release binaries / Publish for linux (push) Has been cancelled
Publish release binaries / Publish for windows (push) Has been cancelled
Publish release binaries / Debian linux (push) Has been cancelled
v0.4.1
2026-04-08 04:20:54 +01:00
Jack Grigg eb945b2849 Merge tag 'v0.4.0' into detect-critical-extensions 2026-04-08 04:16:00 +01:00
Jack Grigg bf081835c4 Release 0.3.4
CI checks / Test on linux (push) Has been cancelled
CI checks / Test on macos (push) Has been cancelled
CI checks / Test on windows (push) Has been cancelled
CI checks / Clippy (1.56.0) (push) Has been cancelled
CI checks / Clippy (nightly) (push) Has been cancelled
CI checks / Code coverage (push) Has been cancelled
CI checks / Intra-doc links (push) Has been cancelled
CI checks / Rustfmt (push) Has been cancelled
Publish release binaries / Publish for macos-arm64 (push) Has been cancelled
Publish release binaries / Publish for macos-x86_64 (push) Has been cancelled
Publish release binaries / Publish for linux (push) Has been cancelled
Publish release binaries / Publish for windows (push) Has been cancelled
Publish release binaries / Debian linux (push) Has been cancelled
v0.3.4
2026-04-08 04:14:54 +01:00
Jack Grigg 9503f406ae Reject identities with unrecognised critical extensions
We don't know how to correctly use these identities. In particular, some
identities store parts of their private key material in certificate
extensions to work around hardware limitations. Not understanding these
extensions could lead to encrypting with the wrong protocol and
violating security assumptions.
2026-04-08 04:12:35 +01:00
Jack Grigg fb8368c29d Merge pull request #213 from str4d/p256tag
Add support for `p256tag` recipient type
2026-04-08 02:10:01 +01:00
Jack Grigg 0068b1f343 Change default recipient type to p256tag
Identities generated with older versions of `age-plugin-yubikey` show
their legacy recipient in comments; newer identities only show the new
recipient.
2026-04-07 23:44:51 +01:00
Jack Grigg 971d63957c Change recipient type for identity encryption to p256tag
Encrypting to an identity requires the plugin binary, and there is a
reasonable expectation that the same (or a later) plugin binary version
will be used to decrypt, so we can assume support for the preferred
recipient type.
2026-04-07 23:44:51 +01:00
Jack Grigg 0057a1825e Add support for p256tag 2026-04-07 23:44:03 +01:00
Jack Grigg 4f13e2fc27 Merge pull request #223 from str4d/update-age
Migrate to latest revision of `age-core` and `age-plugin`
2026-04-07 18:34:39 +01:00
Jack Grigg 2a4d129548 Migrate to latest revision of age-core and age-plugin 2026-04-07 18:05:54 +01:00
Yoshio HANAWA 7308d35e6c feat(key): trigger SSH agent reconnection on disconnect
Added a mechanism to send an SSH Agent Protocol request (Opcode 11) immediately after releasing the YubiKey handle. This triggers agents like yubikey-agent to reclaim the device on-demand, preventing PIN cache loss caused by OS power management during the "idle" period.
2026-01-04 17:28:00 +09:00
Jack Grigg 631f4426e1 Merge pull request #214 from str4d/recipient-refactor
Recipient refactor
2025-12-21 11:21:02 +00:00
Jack Grigg 5b44faec44 Refactors for reusability across supported recipients 2025-12-21 11:15:40 +00:00
Jack Grigg 1f1f257ede Rename crate::format to crate::piv_p256 2025-12-21 10:44:35 +00:00
Jack Grigg 144d3088b6 Refactor piv-p256-specific stanza unwrapping onto RecipientLine 2025-12-21 10:44:35 +00:00
Jack Grigg f3f99a0cbc Bump MSRV to 1.70 2025-12-21 10:44:35 +00:00
Jack Grigg 82e948c4e0 Merge pull request #212 from str4d/age-plugin-0.6
Migrate to `age-plugin 0.6`
2025-12-21 00:30:17 +00:00
Jack Grigg 68e634c04e Migrate to age-plugin 0.6 2025-12-08 00:10:49 +00:00
Jack Grigg 36290c74eb Merge pull request #169 from str4d/dependabot/github_actions/svenstaro/upload-release-action-2.9.0
Bump svenstaro/upload-release-action from 2.6.1 to 2.9.0
2024-11-02 10:57:47 +00:00
dependabot[bot] 10dacf9711 Bump svenstaro/upload-release-action from 2.6.1 to 2.9.0
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 2.6.1 to 2.9.0.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenstaro/upload-release-action/compare/2.6.1...2.9.0)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 10:39:33 +00:00
Jack Grigg 56918e7437 Merge pull request #189 from str4d/update-deps-0.6.0
Update dependencies for 0.6.0
2024-11-02 10:35:33 +00:00
Jack Grigg 2f9895229b cargo update again 2024-11-01 09:51:18 +00:00
Jack Grigg e21c504b33 Migrate to latest age-plugin crate commit 2024-11-01 09:18:58 +00:00
Jack Grigg c015dedcf8 i18n-embed 0.15 2024-09-04 14:39:11 +00:00
Jack Grigg f05a99351f cargo update 2024-09-04 14:39:03 +00:00
Jack Grigg ca1cd587ff Merge pull request #184 from str4d/release-0.5.0
Publish release binaries / Publish for macos-arm64 (push) Has been cancelled
Publish release binaries / Publish for macos-x86_64 (push) Has been cancelled
Publish release binaries / Publish for linux (push) Has been cancelled
Publish release binaries / Publish for windows (push) Has been cancelled
Publish release binaries / Debian linux (push) Has been cancelled
Release 0.5.0
v0.5.0
2024-08-04 04:29:40 +01:00
Jack Grigg 0699991f2b v0.5.0 2024-08-04 03:17:15 +00:00
Jack Grigg 76143524ef cargo update 2024-08-04 03:16:48 +00:00
Jack Grigg fec9dcc994 Merge pull request #183 from str4d/update-deps-0.5.0
Update dependencies for 0.5.0
2024-08-04 02:58:41 +01:00
Jack Grigg 8aeb9f3da7 CI: Test on both MSRV and latest stable 2024-07-30 05:54:36 +00:00
Jack Grigg 34011088a0 Fix 1.67 clippy lints 2024-07-30 05:42:54 +00:00
Jack Grigg 24e6e6ffa6 which 5, test-with 0.11 2024-07-30 05:36:19 +00:00
Jack Grigg a44859d6b2 sysinfo 0.29 2024-07-30 05:33:42 +00:00
Jack Grigg 4921cbf6ed i18n-embed 0.14 2024-07-30 05:31:19 +00:00
Jack Grigg d6729e99ba dialoguer 0.11 2024-07-30 05:27:06 +00:00
Jack Grigg 6452fa0540 age-plugin 0.5 2024-07-30 05:19:27 +00:00
Jack Grigg 71eb71d9c6 cargo update 2024-07-30 05:19:23 +00:00
Jack Grigg f0d82245ea time 0.3.36
Closes str4d/age-plugin-yubikey#182.
2024-07-30 05:19:23 +00:00
Jack Grigg c7e6fdf58a Bump MSRV to 1.67
`time 0.3.35` has MSRV 1.67, and is a required update in order to fix
breakage on Rust 1.80 and above.
2024-07-30 05:05:09 +00:00
Jack Grigg 4a44fb9025 CI: Migrate to codecov-action@4.5.0 2024-07-30 04:59:00 +00:00
Jack Grigg c4256dddba CI: Migrate to cargo-tarpaulin container for code coverage 2024-07-30 04:56:43 +00:00
str4d 5159577135 Merge pull request #163 from str4d/dependabot/github_actions/codecov/codecov-action-3.1.5
Bump codecov/codecov-action from 3.1.1 to 3.1.5
2024-01-28 06:38:11 +00:00
dependabot[bot] e0b944a524 Bump codecov/codecov-action from 3.1.1 to 3.1.5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.1...v3.1.5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-28 05:07:06 +00:00
str4d eadebfa2f6 Merge pull request #162 from str4d/ci-updates
CI updates
2024-01-28 05:06:21 +00:00
Jack Grigg 137df751fe CI: Fix test job 2024-01-28 04:21:51 +00:00