Robin Palotai
9bb39a7b95
Add Arch linux notes
...
I had `pcscd` already installed, but age-plugin-yubikey didn't work initially.
I installed `pcsc-tools` so I could do `pcsc_scan`, which also found nothing. Then I installed `yubikey-manager` so I could `ykman info`, which worked, but after that magically pcsc_scan and age-plugin-yubikey were working too.
Not sure if installing `yubikey-manager` had to do with it, but anyway.
2023-12-21 14:54:08 +01:00
str4d
acc783d0d3
Merge pull request #142 from str4d/update-release-workflow
...
Update release workflow
2023-04-09 10:34:52 +01:00
Jack Grigg
379adcb909
Update release workflow
...
- `ubuntu-18.04` runner has been deprecated and removed by GitHub. We
now use `ubuntu-20.04`.
- `actions-rs/toolchain` is replaced by `dtolnay/rust-toolchain`.
2023-04-09 09:16:42 +00:00
str4d
e77f00ff48
Merge pull request #141 from str4d/release-0.4.0
...
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
Release 0.4.0
v0.4.0
2023-04-09 09:20:57 +01:00
Jack Grigg
3d8a5e9076
v0.4.0
2023-04-09 08:08:39 +00:00
Jack Grigg
00db2d1948
cargo update
2023-04-09 08:08:25 +00:00
str4d
d7111594a7
Merge pull request #140 from str4d/improve-age-identity-docs
...
Clarify significance of the age identity file
2023-04-09 09:03:16 +01:00
Jack Grigg
20b84b9d4e
Clarify significance of the age identity file
...
Replaces str4d/age-plugin-yubikey#122 .
2023-04-09 07:38:23 +00:00
str4d
1182f472dd
Merge pull request #139 from str4d/135-better-mgmt-key-auth-error
...
Provide a better error message when management key authentication fails
2023-04-09 08:13:12 +01:00
Jack Grigg
62f237f859
Provide a better error message when management key authentication fails
...
We now indicate to the user that AES management key algorithms are not
yet supported, and tell them how to change their management key to use
TDES.
Closes str4d/age-plugin-yubikey#135 .
2023-04-09 06:53:25 +00:00
str4d
22fd00bd22
Merge pull request #138 from str4d/refactor-installation-docs
...
Refactor installation docs
2023-03-23 09:19:31 +00:00
Jack Grigg
b6030ec4bd
Note libpcsclite-dev dependency for Cargo builds in readme
2023-03-23 17:43:26 +09:00
Jack Grigg
9730e3da74
Clean up "Installation" readme section with tables
2023-03-23 17:38:17 +09:00
str4d
95657fd844
Merge pull request #130 from VlkrS/VlkrS-bsd-ccid
...
Explicitly mention CCID packages for the two BSDs
2023-03-23 08:30:07 +00:00
str4d
a7bfeb9c3f
Merge pull request #129 from str4d/78-ignore-readers-without-piv-applet
...
Ignore smart cards that don't have a PIV applet
2023-03-23 06:40:39 +00:00
Jack Grigg
ac04615219
Ignore smart cards that don't have a PIV applet
...
Closes str4d/age-plugin-yubikey#78 .
2023-03-23 14:33:13 +09:00
str4d
cddb00ab95
Merge pull request #127 from str4d/update-deps
...
Update dependencies
2023-03-23 05:31:44 +00:00
Jack Grigg
7c532639d4
Fix clippy lints
2023-03-23 14:20:20 +09:00
Jack Grigg
d2a856dd48
sysinfo 0.28
2023-03-23 14:13:21 +09:00
Jack Grigg
d5395ea4e5
yubikey 0.8.0-pre.0
2023-03-23 14:07:13 +09:00
Jack Grigg
0d0f64ff1b
base64 0.21
2023-03-23 14:07:13 +09:00
Jack Grigg
edf4c5a45d
cargo update
2023-03-23 13:42:51 +09:00
Jack Grigg
ae39e136de
Bump MSRV to 1.65.0
...
`yubikey 0.8.0` will have this MSRV, and it includes changes we need.
2023-03-23 13:33:06 +09:00
str4d
defc1c1131
Merge pull request #133 from str4d/dependabot/github_actions/svenstaro/upload-release-action-2.5.0
...
Bump svenstaro/upload-release-action from 2.4.0 to 2.5.0
2023-03-23 04:09:30 +00:00
str4d
af71a17f51
Merge pull request #137 from str4d/ci-updates
...
Update CI
2023-03-21 07:38:56 +00:00
Jack Grigg
02a81adfeb
Update CI
2023-03-21 15:14:15 +08:00
dependabot[bot]
956d3bf28a
Bump svenstaro/upload-release-action from 2.4.0 to 2.5.0
...
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action ) from 2.4.0 to 2.5.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.4.0...2.5.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 >
2023-02-22 08:18:32 +00:00
str4d
d9c5abaa15
Merge pull request #128 from str4d/115-yubikey-4-no-pin-cache
...
Document and warn that PIN policy "Once" doesn't work for YubiKey 4
2023-02-16 18:34:11 +00:00
str4d
c5ca61a37c
Merge pull request #131 from str4d/improve-puk-errors
...
Intercept PIN errors and replace with PUK errors as necessary
2023-02-16 18:33:05 +00:00
Jack Grigg
e86cd8113c
Intercept PIN errors and replace with PUK errors as necessary
...
Once iqlusioninc/yubikey.rs#479 is part of a `yubikey` release we
can migrate to, this will mean that users get correctly notified
of incorrect PUK entry, instead of being told it is an incorrect
PIN issue.
2023-02-12 20:47:58 +00:00
VlkrS
e037c1c883
Mention ccid packages for {Open,Free}BSD
...
Addresses #112
2023-02-12 16:10:43 +01:00
VlkrS
051cace1fd
Mention ccid packages for {Open,Free}BSD
...
Addresses #112
2023-02-12 16:08:47 +01:00
Jack Grigg
4e053b5efc
TUI: Warn YubiKey 4 users of issue with PIN policy "Once"
2023-02-11 22:04:14 +00:00
Jack Grigg
762adfe098
Document that PIN cache preservation doesn't work for YubiKey 4
2023-02-11 21:26:44 +00:00
str4d
70c109aa1d
Merge pull request #126 from str4d/integration-tests
...
Add some integration tests
2023-02-11 18:52:41 +00:00
Jack Grigg
355ce1cfde
Add integration tests that require a live YubiKey slot
2023-02-11 18:40:09 +00:00
Jack Grigg
3408998283
Add encryption test with rage
2023-02-11 18:40:09 +00:00
str4d
bf437663af
Merge pull request #116 from str4d/avoid-resetting-unused-yubikeys
...
Avoid resetting unused YubiKeys
2023-02-11 04:57:23 +00:00
Jack Grigg
665aedbbba
Merge branch 'version-0.3.3' back into main
2023-02-11 04:51:58 +00:00
str4d
307f5396a8
Merge pull request #124 from str4d/release-0.3.3
...
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
Release 0.3.3
v0.3.3
2023-02-11 04:37:09 +00:00
Jack Grigg
cd03e7bda3
Release 0.3.3
2023-02-11 04:28:16 +00:00
str4d
54ad666c73
Merge pull request #123 from str4d/120-prevent-default-pin
...
Prevent changing the default PIN to itself
2023-02-11 03:00:31 +00:00
Jack Grigg
d2132b4ac2
Prevent changing the default PIN to itself
...
Closes str4d/age-plugin-yubikey#120 .
2023-02-11 02:47:55 +00:00
str4d
80e8072624
Merge pull request #117 from str4d/more-smartcard-errors
...
Treat `pcsc::Error::NoSmartcard` as a "YubiKey disconnected" error
2023-02-11 02:18:34 +00:00
Jack Grigg
ff3e8e37c9
Treat pcsc::Error::NoSmartcard as a "YubiKey disconnected" error
...
Some SmartCard readers report this error when no SmartCard is inserted,
so we need to check for it when filtering for connected YubiKeys (along
with `pcsc::Error::RemovedCard` which some _other_ SmartCard readers
report instead).
Closes str4d/age-plugin-yubikey#81 .
2023-01-30 00:39:08 +00:00
str4d
a5178bb16e
Merge pull request #118 from str4d/correctly-handle-short-pins
...
Enforce correct PIN lengths during YubiKey setup
2023-01-30 00:37:44 +00:00
Jack Grigg
b1710e8d69
Enforce correct PIN lengths during YubiKey setup
...
The behaviour of `age-plugin-yubikey` during setup now matches its
behaviour during plugin usage.
2023-01-29 23:00:46 +00:00
str4d
8483010393
Merge pull request #108 from str4d/dependabot/github_actions/svenstaro/upload-release-action-2.4.0
...
Bump svenstaro/upload-release-action from 2.3.0 to 2.4.0
2023-01-29 15:38:18 +00:00
Jack Grigg
55bfa5dafb
Avoid resetting YubiKeys that don't match the desired serial
...
If multiple YubiKeys were connected, and the one we needed for plugin
encryption or decryption was not first in the list of readers, any
YubiKeys before it were being reset upon drop. We now explicitly
disconnect without resetting, since we only access these YubiKeys as a
side-effect of finding the one we need.
2023-01-29 14:16:35 +00:00
Jack Grigg
90b61682bd
Don't reset tested YubiKeys in key::filter_connected
...
This method only connects to YubiKeys in order to confirm it can do so
(i.e. as a side-effect). We therefore want to explicitly disconnect
without resetting the YubiKeys, to avoid clearing PIN caches.
2023-01-29 14:16:35 +00:00