Shella Stephens
744238fd77
Cargo.lock: update dependencies & fix audit
2022-11-07 07:56:25 -07:00
william light
bbb186f95e
Display inner PC/SC errors ( #420 )
2022-10-31 15:00:21 -07: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
dependabot[bot]
2294c1cc3a
Bump chrono from 0.4.21 to 0.4.22 ( #405 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.21...v0.4.22 )
---
updated-dependencies:
- dependency-name: chrono
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:08 -07:00
dependabot[bot]
65e201db0f
Bump uuid from 1.1.2 to 1.2.1 ( #415 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.1.2 to 1.2.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
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:28:56 -07:00
Tony Arcieri (iqlusion)
b571f81007
yubikey-cli v0.6.0 ( #404 )
yubikey-cli/v0.6.0
2022-08-10 17:23:41 -07:00
Tony Arcieri (iqlusion)
0a36a37ae3
yubikey v0.6.0 ( #403 )
yubikey/v0.6.0
2022-08-10 16:41:26 -07:00
Tony Arcieri (iqlusion)
3463d109b2
Bump der-parser to v8; x509-parser to v0.14 ( #402 )
2022-08-10 15:19:21 -07:00
dependabot[bot]
014b7ee6fd
Bump p384 from 0.10.0 to 0.11.2 ( #401 )
...
Bumps [p384](https://github.com/RustCrypto/elliptic-curves ) from 0.10.0 to 0.11.2.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases )
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/p384/v0.10.0...p384/v0.11.2 )
---
updated-dependencies:
- dependency-name: p384
dependency-type: direct:production
update-type: version-update:semver-minor
...
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-08-10 14:57:39 -07:00
vdods
498de4c10d
Adding some common traits for certain enum types to support maps. ( #372 )
2022-08-10 14:34:58 -07:00
Tony Arcieri (iqlusion)
98b038c873
Cargo.lock: bump dependencies ( #400 )
2022-08-10 14:26:33 -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
dependabot[bot]
bb80551324
Bump uuid from 0.8.2 to 1.0.0 ( #376 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 0.8.2 to 1.0.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 20:18:58 -07:00
Tony Arcieri (iqlusion)
9e20ecfe55
RustCrypto crate upgrades; MSRV 1.57 ( #378 )
...
Updates all of the RustCrypto dependencies to the latest versions:
- `des` v0.8
- `elliptic-curve` v0.12
- `hmac` v0.12
- `num-bigint-dig` v0.8
- `pbkdf2` v0.11
- `p256` v0.11
- `p384` v0.10
- `rsa` v0.6
- `sha1` v0.10 (replacing `sha-1`)
- `sha2` v0.10
2022-05-23 20:04:12 -07:00
Tony Arcieri (iqlusion)
fac83c60fb
Cargo.lock: bump dependencies ( #375 )
2022-05-23 17:52:53 -07:00
Shella Stephens
914f9bee0d
Cargo.lock: update dependencies & fix cargo audit ( #365 )
2022-03-07 16:29:35 -07:00
Ferdinand Linnenberg
83de59983f
Add Display formatter to SlotId ( #353 )
2022-02-11 13:10:53 -08:00
Shella Stephens
e21395c934
Cargo.lock: update dependencies ( #347 )
2022-01-31 08:00:16 -07:00
Tony Arcieri (iqlusion)
935fea0868
Bump p256 => v0.10; p384 => v0.9 ( #344 )
2022-01-17 15:08:48 -08: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
Shella Stephens
74a50f0f0c
Bump dependencies & fix security audit ( #340 )
...
* Bump dependencies & fix security audit
* allow dead code for issuer field #[allow(dead_code)] in Certificates struct
2022-01-10 08:40:58 -07:00
Tony Arcieri (iqlusion)
86d482b38d
yubikey-cli v0.5.0 ( #328 )
yubikey-cli/v0.5.0
2021-11-21 08:10:17 -08:00
Tony Arcieri (iqlusion)
edf74871ba
yubikey v0.5.0 ( #327 )
yubikey/v0.5.0
2021-11-21 07:42:39 -08:00
Tony Arcieri (iqlusion)
b11d5c409b
Cargo.lock: bump dependencies ( #326 )
2021-11-21 07:06:17 -08:00
str4d
52107281df
nom 7 ( #322 )
2021-10-19 06:38:38 -07:00
Shella Stephens
bcef792f69
Update dependencies & add RUSTSEC-2020-0071 to audit.toml ( #323 )
2021-10-18 17:07:32 -06:00
Tony Arcieri (iqlusion)
10a7ead932
Cargo.lock: bump dependencies ( #317 )
2021-09-11 13:55:34 -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
Tony Arcieri (iqlusion)
3905104b52
Cargo.lock: bump dependencies ( #308 )
2021-08-20 18:09:51 -07:00
Tony Arcieri (iqlusion)
97e15abcee
Cargo.lock: bump dependencies ( #304 )
2021-07-26 14:52:06 -07:00
Shella Stephens
da7e7af109
Add deps.rs badge ( #299 )
2021-07-19 15:07:41 -07:00
Shella Stephens
6e96087b93
Cargo.lock: update deps ( #300 )
2021-07-19 15:00:16 -07:00
Tony Arcieri (iqlusion)
f3bb858a2f
Cargo.lock: bump dependencies ( #298 )
2021-07-19 09:05:32 -07:00
Tony Arcieri (iqlusion)
ac72797d1f
yubikey v0.4.2 ( #291 )
yubikey/v0.4.2
2021-07-13 06:35:53 -07:00
Tony Arcieri (iqlusion)
fdd3b8730a
Make yubikey::Buffer a pub type ( #290 )
2021-07-13 06:05:24 -07:00
Tony Arcieri (iqlusion)
d51ec0a225
Have YubiKey::block_puk take &mut self as argument ( #289 )
...
This is effectively the same signature; it just uses `self` instead of a
named argument.
2021-07-13 05:55:24 -07:00
Tony Arcieri (iqlusion)
d601c33ba3
yubikey v0.4.1 ( #288 )
yubikey/v0.4.1
2021-07-12 19:37:12 -07:00
Tony Arcieri (iqlusion)
8e52d75992
Rename Ccc to CccId ( #287 )
2021-07-12 19:28:46 -07:00
Tony Arcieri (iqlusion)
42ae5fb974
Rename SettingValue to Setting. ( #286 )
...
Breaking change, but the crate is fresh and there's time to yank and
republish.
2021-07-12 17:36:42 -07:00
Tony Arcieri (iqlusion)
224d346f09
yubikey-cli v0.4.0 ( #284 )
yubikey-cli/v0.4.0
2021-07-12 14:33:51 -07:00
Tony Arcieri
01e5bba33f
README.md: remove gitter badge
2021-07-12 14:10:11 -07:00
Tony Arcieri
48f42780df
README.md: remove maintenance badge
2021-07-12 14:07:08 -07:00
Tony Arcieri (iqlusion)
92f770805f
yubikey v0.4.0 ( #283 )
yubikey/v0.4.0
2021-07-12 14:02:59 -07:00
Tony Arcieri (iqlusion)
563f6f9ccc
Extract consts module ( #282 )
...
Extracts miscellaneous constants that were floating around in the
toplevel into their own module.
2021-07-12 12:54:54 -07:00
Tony Arcieri (iqlusion)
5f418bbd1d
Doc improvements and minor cleanups ( #281 )
2021-07-12 11:57:42 -07:00
Tony Arcieri (iqlusion)
47776ebf0b
Fix parsing local DoS ( #279 )
...
Closes #152
Adds additional checks when parsing TLV records to ensure panic-free
operation.
2021-07-12 11:19:26 -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)
e249e91297
Replace getrandom with rand_core ( #276 )
...
`rand_core::OsRng` provides a facade over `getrandom` which simplifies
error handling.
2021-07-12 09:58:58 -07:00
Tony Arcieri (iqlusion)
1018127843
Fix generate_self_signed_ec_cert integration test ( #275 )
...
Unfortunately these tests can't be run in CI as they require a YubiKey
to test against.
The YubiKey generates an ASN.1 DER-encoded ECDSA signature, but the test
was using a fixed-width signature.
The test now passes live against a YubiKey.
2021-07-12 09:05:40 -07:00