Tony Arcieri (iqlusion)
0a2e798894
Switch from subtle-encoding to base16ct ( #443 )
2022-11-14 14:26:07 -08:00
Tony Arcieri (iqlusion)
5c4259023f
Switch from lazy_static to once_cell ( #442 )
...
The latter will hopefully eventually be upstreamed into `std`.
2022-11-14 12:52:27 -08:00
Tony Arcieri (iqlusion)
57bb088c7d
yubikey-cli: bump x509-parser to v0.14 ( #441 )
2022-11-14 12:30:55 -08:00
dependabot[bot]
db13fce53b
Bump clap from 3.2.23 to 4.0.23 ( #438 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.23 to 4.0.23.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.23...v4.0.23 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 10:44:39 -08:00
Tony Arcieri (iqlusion)
4310cc0f9a
Fix build and clippy warnings ( #433 )
2022-11-12 13:15:42 -08:00
dependabot[bot]
c89cc5acd0
Bump sha2 from 0.10.2 to 0.10.5 ( #407 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.2 to 0.10.5.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.2...sha2-v0.10.5 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 14:29:21 -07:00
Tony Arcieri (iqlusion)
b571f81007
yubikey-cli v0.6.0 ( #404 )
2022-08-10 17:23:41 -07:00
Tony Arcieri (iqlusion)
0a36a37ae3
yubikey v0.6.0 ( #403 )
2022-08-10 16:41:26 -07:00
Tony Arcieri (iqlusion)
fab9d25b0a
cli: migrate from gumdrop to clap v3 ( #379 )
...
`gumdrop` was originally chosen for its minimalist set of dependencies,
but `clap` v3 has a slimmed down set of dependencies and better UX.
2022-05-24 21:45:26 -06:00
Tony Arcieri (iqlusion)
dd4b1c60a4
2021 edition upgrade; MSRV 1.56 ( #343 )
...
Changes the `edition` to 2021 in both the `yubikey` and `yubikey-cli`
crates.
Removes `TryFrom`/`TryInto` imports, now that they're in the prelude.
2022-01-17 14:54:01 -08:00
Tony Arcieri (iqlusion)
86d482b38d
yubikey-cli v0.5.0 ( #328 )
2021-11-21 08:10:17 -08:00
Tony Arcieri (iqlusion)
edf74871ba
yubikey v0.5.0 ( #327 )
2021-11-21 07:42:39 -08:00
str4d
52107281df
nom 7 ( #322 )
2021-10-19 06:38:38 -07:00
Benno Rice
54ce90d51d
Update dependencies ( #315 )
...
* Update rsa dependency to 0.5
* Update pbkdf dependency to 0.9
* Update x509-parser dependency to 0.11
* Update crypto-bigint subdepdendency to 0.2.6
2021-09-10 10:44:59 -07:00
Shella Stephens
6e96087b93
Cargo.lock: update deps ( #300 )
2021-07-19 15:00:16 -07:00
Tony Arcieri (iqlusion)
224d346f09
yubikey-cli v0.4.0 ( #284 )
2021-07-12 14:33:51 -07:00
Tony Arcieri (iqlusion)
92f770805f
yubikey v0.4.0 ( #283 )
2021-07-12 14:02:59 -07:00
Tony Arcieri (iqlusion)
227518dd1b
Rename readers module to reader; Readers => Context ( #278 )
...
Renames the `readers` module to be singular: `reader`.
Renames the former `readers::Readers` struct to `reader::Context`.
2021-07-12 11:01:12 -07:00
Tony Arcieri (iqlusion)
e6cea2eca6
Rename key module to piv ( #277 )
...
Now that the crate is named `yubikey` rather than `yubikey-piv`, it
makes more sense to call this module out as PIV-related functionality.
2021-07-12 10:42:55 -07:00
Tony Arcieri (iqlusion)
de51b0cc46
Add Result alias ( #271 )
...
Adds a `yubikey::Result` alias with `yubikey::Error` as the error type.
Since we only have one `Error` type, this simplifies the return types
where a `Result` is returned.
2021-07-11 09:44:08 -07:00
Tony Arcieri (iqlusion)
2c06626c25
Bump elliptic-curve to v0.10; MSRV 1.51+ ( #268 )
...
Also updates the following:
- `p256` v0.9
- `p384` v0.8
2021-07-11 08:14:14 -07:00
Tony Arcieri (iqlusion)
a2a912fc3c
Rename to yubikey.rs ( #267 )
...
We now have publishing rights to the `yubikey` crate.
This commit renames the project to yubikey.rs
Co-authored-by: Tony Arcieri <bascule@gmail.com >
2021-07-10 17:02:59 -07:00
Tony Arcieri (iqlusion)
e61682be43
yubikey-cli v0.3.0 ( #241 )
2021-03-22 10:23:15 -07:00
Tony Arcieri (iqlusion)
43dfc06875
yubikey-piv v0.3.0 ( #240 )
2021-03-22 09:45:19 -07:00
Tony Arcieri (iqlusion)
37088bba56
yubikey-cli v0.2.0 ( #222 )
2021-01-30 12:23:09 -08:00
Tony Arcieri (iqlusion)
3580c45f71
yubikey-piv v0.2.0 ( #220 )
2021-01-30 07:47:39 -08:00
Tony Arcieri (iqlusion)
8b896ab4de
Rename default git branch from develop to main ( #217 )
2021-01-30 07:11:18 -08:00
str4d
90bc878b21
Dependency updates and MSRV 1.46 ( #208 )
...
- cargo update
- cli: Bump x509-parser to 0.9
- Bump elliptic-curve to 0.8. Also requires bumping p256 and p384.
- Bump MSRV to 1.46.0. Required to match the MSRV of elliptic-curve.
2021-01-10 07:14:02 -08:00
Tony Arcieri (iqlusion)
7628ebf605
yubikey-cli v0.1.0 ( #183 )
2020-10-19 09:28:45 -07:00
Tony Arcieri (iqlusion)
0688dbf30d
cli: bump sha2 to v0.9 ( #182 )
2020-10-19 08:56:26 -07:00
Tony Arcieri (iqlusion)
7e3d0bc838
cli: bump x509-parser to v0.8 ( #181 )
2020-10-19 08:35:49 -07:00
Tony Arcieri (iqlusion)
fc62fc286d
yubikey-piv v0.1.0 ( #180 )
2020-10-19 08:26:05 -07:00
dependabot[bot]
b21c4bd307
Bump env_logger from 0.7.1 to 0.8.1
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-19 13:01:11 +00:00
dependabot-preview[bot]
2d4f2fa750
Bump x509-parser from 0.6.5 to 0.7.0
...
Bumps [x509-parser](https://github.com/rusticata/x509-parser ) from 0.6.5 to 0.7.0.
- [Release notes](https://github.com/rusticata/x509-parser/releases )
- [Commits](https://github.com/rusticata/x509-parser/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-04 17:06:10 +00:00
dependabot-preview[bot]
3aeaa7e1da
Bump gumdrop from 0.7.0 to 0.8.0
...
Bumps [gumdrop](https://github.com/murarth/gumdrop ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/murarth/gumdrop/releases )
- [Commits](https://github.com/murarth/gumdrop/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-04-20 13:42:05 +00:00
Tony Arcieri
154d8bb97a
Fix logo links
2020-03-07 08:20:16 -08:00
Carl Wallace
220c045dcb
move print cert info into new CLI project
2019-12-14 13:27:54 -05:00
Tony Arcieri
08897ec7c9
cli: print reader name as part of status command
2019-12-10 08:43:33 -08:00
Tony Arcieri
78d5f33695
cli: add status command
...
Provides equivalent functionality to `yubico-piv-tool`
2019-12-09 18:00:34 -08:00
Tony Arcieri
55d077dd80
cli: rename 'list' command to 'readers'; improve usage
...
There are going to be several `list` commands (e.g. `yubikey keys list`)
so this is a confusing name.
If we need more than one `readers` subcommand we can change this to be
`readers list` eventually.
Separately (in what probably should've been its own commit, mea culpa)
this adds slightly better usage.
2019-12-09 09:39:24 -08:00
Tony Arcieri
f6915ce5df
Drop YubiKey NEO support ( closes #18 )
...
YubiKey NEOs are legacy YubiKey devices, most of which contain
unpatchable security vulnerabilities.
They have smaller buffer sizes than YK4 and YK5, which necessitates a
whole bunch of conditional gating and buffer size calculations.
Getting rid of them simplifies this logic and allows us to assume
consistent buffer sizes everywhere.
We never tested on NEOs anyway, and looking at the deleted code it seems
it may have been miscalculating the NEO's buffer size!
If someone *really* wants to support NEOs, it shouldn't be that hard to
restore, but the codebase is definitely cleaner without it.
2019-12-07 11:22:51 -08:00
Tony Arcieri
9bc28f4f75
cli: fix build badge
2019-12-02 12:18:44 -08:00
Tony Arcieri
3a41fdc3bc
yubikey-cli v0.0.1
2019-12-02 11:54:41 -08:00
Tony Arcieri
da897b99bb
yubikey-piv v0.0.3
2019-12-02 11:17:10 -08:00
Tony Arcieri
07f70bccb5
cli: Initial yubikey-cli utility with list command
...
Adds a `yubikey-cli` crate to the workspace, with a `yubikey` binary,
which presently provides a `list` command for listing detected readers.
Dependencies:
- `env_logger`: logging
- `gumdrop`: argument parsing
- `termcolor`: colored terminal output
As this repo now contains a binary, it also checks in `Cargo.lock`.
2019-12-02 10:42:17 -08:00