Jack Grigg
b486276421
cargo update
2021-11-21 11:38:18 +00:00
Jack Grigg
c7ad7a671b
Add rust-toolchain file with MSRV
2021-11-21 10:54:07 +00:00
Jack Grigg
f2237ed2a7
yubikey 0.4
2021-10-18 21:11:42 +01:00
Jack Grigg
399f0b4c11
Rename crate::yubikey to crate::key
...
So that it doesn't conflict with the renamed `yubikey` crate.
2021-10-18 21:07:23 +01:00
Jack Grigg
22dfc3ee89
env_logger 0.9
2021-10-18 20:42:10 +01:00
Jack Grigg
72d5682454
console 0.15, dialoguer 0.9
2021-10-18 20:40:11 +01:00
Jack Grigg
77bd7aa3a3
age-plugin 0.2
2021-10-18 20:37:28 +01:00
Jack Grigg
5c8a7cced8
cargo update
2021-10-18 20:33:33 +01:00
str4d
6042d5266f
Merge pull request #35 from str4d/ux-improvements
...
UX improvements
2021-08-20 16:30:46 +01:00
Jack Grigg
f5f140d172
Fix various clippy lints
2021-08-20 16:22:22 +01:00
Jack Grigg
2c90195f99
Check PIN policy before requesting PIN
...
Closes str4d/age-plugin-yubikey#34 .
2021-08-20 15:11:39 +01:00
Jack Grigg
30f4d00902
Move verify_pin after Stub::connect
...
If all we want is to determine the recipient, we don't need to verify
the PIN.
Closes str4d/age-plugin-yubikey#30 .
2021-08-20 15:08:14 +01:00
Jack Grigg
7f43d15942
Use CLI error type to render errors from yubikey.verify_pin()
...
This ensures that the attempts-before-blocked counter is displayed to
users during the plugin protocol.
2021-08-20 13:18:11 +01:00
str4d
0bbea83abf
Merge pull request #19 from str4d/release-0.1.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 / Clippy (1.51.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 (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.1.0
v0.1.0
2021-05-02 02:51:22 +01:00
Jack Grigg
6931a74199
v0.1.0
2021-05-02 13:35:41 +12:00
Jack Grigg
cdeb930b52
Upgrade to age-plugin 0.1.0
2021-05-02 13:34:05 +12:00
Jack Grigg
47a5952134
Add WSL instructions to the README
2021-05-02 10:15:39 +12:00
Jack Grigg
1e2475b415
Add instructions to README
2021-05-02 10:15:26 +12:00
str4d
a3857b5ab6
Merge pull request #33 from str4d/final-changes
...
Final changes before 0.1.0
2021-05-01 22:52:07 +01:00
Jack Grigg
d36da3fe2d
Prevent --force from being used with the TUI or unexpected commands
...
We may want to use --force with some of these later, so we shouldn't
allow it to be a no-op at present.
2021-05-02 09:43:19 +12:00
Jack Grigg
65082edf22
Prevent --slot from being used with --list-all
2021-05-02 09:31:35 +12:00
Jack Grigg
bf58ee9b82
TUI: Remove redundant example
2021-05-02 09:24:31 +12:00
Jack Grigg
9276725a9a
TUI: Ensure that identity file data is written
2021-05-02 09:24:16 +12:00
Jack Grigg
ba3ccda8ce
TUI: Use rage binary in example commands if installed
2021-05-02 09:23:58 +12:00
Jack Grigg
458a09125f
Make --list{-all} and --identity behave the same way
...
- Both commands print all slots from all connected YubiKeys by default.
- If --serial is specified (without --slot) then print all slots in that
YubiKey.
- If --slot is specified then then instead print a single slot (requiring
--serial if necessary to select a single YubiKey).
Closes str4d/age-plugin-yubikey#26 .
2021-05-02 08:48:05 +12:00
Jack Grigg
2a013fc018
Add example commands to end of TUI
...
Closes str4d/age-plugin-yubikey#25 .
2021-05-02 08:48:05 +12:00
Jack Grigg
c230d93726
TUI: Write identity to file
...
Closes str4d/age-plugin-yubikey#23 .
2021-05-02 08:48:05 +12:00
Jack Grigg
acdbb79083
Use non-short flags as defaults for TUI
...
Closes str4d/age-plugin-yubikey#27 .
2021-05-02 08:48:05 +12:00
Jack Grigg
d9b4fba546
Collect flag-parsing logic into PluginFlags struct
2021-05-02 08:48:05 +12:00
Jack Grigg
d4eae4d631
Add name field to TUI
...
Closes str4d/age-plugin-yubikey#28 .
2021-05-02 08:48:05 +12:00
Jack Grigg
64b0ab4e16
Add --list comments to identity output
...
This improves the output of --generate and --identity, as well as the
interactive TUI.
Closes str4d/age-plugin-yubikey#24 .
2021-04-25 12:10:35 +12:00
Jack Grigg
72c5278de0
Hash public key directly for stanza tag
...
Closes str4d/age-plugin-yubikey#32 .
2021-04-23 23:01:08 +12:00
Jack Grigg
6da29e7125
Remove URL prefix from HKDF label
...
Closes str4d/age-plugin-yubikey#31 .
2021-04-23 22:56:43 +12:00
str4d
5d228e3aee
Merge pull request #18 from str4d/ux-tweaks
...
UX tweaks
2021-04-15 22:45:28 +12:00
Jack Grigg
f05c635d7b
clippy fixes
2021-04-15 22:33:33 +12:00
Jack Grigg
9208719e8c
Add issue templates
2021-04-15 22:16:05 +12:00
Jack Grigg
b1249982de
Add direct command flags to pretty CLI interface text
2021-04-15 22:14:13 +12:00
Jack Grigg
9fb8cd5f86
Add version flag
2021-04-15 21:52:43 +12:00
Jack Grigg
dd8589811b
Improve UI messages for YubiKey management
...
In particular, we now print out the candidate management key if setting
it as the PIN-protected management key fails.
2021-04-14 00:51:45 +12:00
Jack Grigg
50b873c89f
Reliably ignore PIV devices that are not connected
...
This is primarily to ignore smart card readers that don't have cards
plugged in.
2021-04-14 00:51:45 +12:00
str4d
856a73dc90
Merge pull request #17 from str4d/tidy-ups
...
Tidy ups
2021-04-13 21:47:48 +12:00
Jack Grigg
33ab757025
Migrate to new age-plugin API
2021-04-13 20:41:34 +12:00
Jack Grigg
63c8d6c303
Rename PLUGIN_NAME to BINARY_NAME
2021-04-12 22:31:46 +12:00
Jack Grigg
771cad885a
Always use created date from YubiKey certificate
2021-04-12 18:22:54 +12:00
str4d
4e33ac1267
Merge pull request #16 from str4d/earlier-release-runners
...
CI: Build Linux releases with earlier Ubuntu versions
2021-04-11 23:41:36 +12:00
Jack Grigg
eeccad0c3f
Use Ubuntu 18.04 to build Debian packages
...
cargo-deb requires the lzma_stream_encoder_mt function, which doesn't
exist in the version of liblzma in Ubuntu 16.04.
2021-04-11 23:30:22 +12:00
Jack Grigg
4bc2769100
CI: Build Linux releases with Ubuntu 16.04
...
This ensures they are linked to earlier versions of libc and
libpcsclite.
2021-04-11 23:16:48 +12:00
str4d
940f90c882
Merge pull request #15 from str4d/debian-package
...
Debian package generation
2021-04-11 20:45:16 +12:00
Jack Grigg
f46b3f973f
CI: Add Debian package generation
2021-04-11 20:17:14 +12:00
Jack Grigg
d4c53157a7
Add manpage generator
2021-04-11 20:10:45 +12:00