Skip to content

Commit

Permalink
Update nitrokey crate to 0.3.5
Browse files Browse the repository at this point in the history
This change updates the nitrokey crate to version 0.3.5. The main reason
for this new version of the crate is a build fix due to a backwards
compatibility breaking change in upstream libnitrokey. For that reason,
we also have to bump the minimum required version to avoid build
failures.

Import subrepo nitrokey/:nitrokey at f2cc7fdf081340b0b812f0b212537ba2b55d382e
  • Loading branch information
d-e-s-o committed Dec 17, 2019
1 parent 9091de4 commit e63367c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 15 deletions.
1 change: 1 addition & 0 deletions nitrocli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
- Moved its output into `status` command
- Removed previously deprecated `--ascii` option from `otp set` command
- Fixed wrong hexadecimal conversion used in `otp set` command
- Bumped `nitrokey` dependency to `0.3.5`
- Bumped `libc` dependency to `0.2.66`
- Bumped `cc` dependency to `1.0.48`

Expand Down
4 changes: 2 additions & 2 deletions nitrocli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nitrocli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ path = "../base32"
version = "0.2"

[dependencies.nitrokey]
version = "0.3.1"
version = "0.3.5"

[dev-dependencies.nitrokey-test]
version = "0.1.1"
Expand Down
6 changes: 1 addition & 5 deletions nitrokey/.builds/archlinux-use-system-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ packages:
environment:
USE_SYSTEM_LIBNITROKEY: "1"
sources:
- https://git.sr.ht/~ireas/nitrokey-rs
- https://git.ireas.org/nitrokey-rs
tasks:
- build: |
cd nitrokey-rs
Expand All @@ -16,7 +16,3 @@ tasks:
- format: |
cd nitrokey-rs
cargo fmt -- --check
triggers:
- action: email
condition: failure
to: nitrokey-rs-dev <[email protected]>
6 changes: 1 addition & 5 deletions nitrokey/.builds/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packages:
- hidapi
- gcc
sources:
- https://git.sr.ht/~ireas/nitrokey-rs
- https://git.ireas.org/nitrokey-rs
tasks:
- build: |
cd nitrokey-rs
Expand All @@ -15,7 +15,3 @@ tasks:
- format: |
cd nitrokey-rs
cargo fmt -- --check
triggers:
- action: email
condition: failure
to: nitrokey-rs-dev <[email protected]>
3 changes: 3 additions & 0 deletions nitrokey/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v0.3.5 (2019-12-16)
- Update the nitrokey-sys dependency version specification to ~3.4.

# v0.3.4 (2019-01-20)
- Fix authentication methods that assumed that `char` is signed.

Expand Down
4 changes: 2 additions & 2 deletions nitrokey/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nitrokey"
version = "0.3.4"
version = "0.3.5"
authors = ["Robin Krahl <[email protected]>"]
edition = "2018"
homepage = "https://code.ireas.org/nitrokey-rs/"
Expand All @@ -18,7 +18,7 @@ test-storage = []

[dependencies]
libc = "0.2"
nitrokey-sys = "3.4"
nitrokey-sys = "~3.4"
rand_core = {version = "0.3", default-features = false}
rand_os = {version = "0.1"}

Expand Down

0 comments on commit e63367c

Please sign in to comment.