From 27480cd8103e6215a76e10cec40d3f5204893b70 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Wed, 16 Sep 2026 13:07:30 +0200 Subject: [PATCH 1/2] Update to admin-app v0.4 --- CHANGELOG.md | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1971274..9ecccf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ SPDX-License-Identifier: CC0-1.0 ## Unreleased -- +- Update to `admin-app` v0.4 ## [v1.9.0][] (2026-09-10) diff --git a/Cargo.toml b/Cargo.toml index 75e124a..7eecb48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ trussed-wrap-key-to-file = "0.3.0" serde_repr = "0.1" hex-literal = "1" trussed-auth = "0.5" -admin-app = { version = "0.3", optional = true } +admin-app = { version = "0.4", optional = true } # optional dependencies apdu-app = { version = "0.2", optional = true } From b659a9cfdda74e035008aa3431e2f05dff4b0d55 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Wed, 16 Sep 2026 13:10:08 +0200 Subject: [PATCH 2/2] Release v1.10.0 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- src/state.rs | 2 +- ...-EcDhBrainpoolP256R1-EcDsaBrainpoolP256R1.cbor | Bin 0 -> 416 bytes ...-EcDhBrainpoolP384R1-EcDsaBrainpoolP384R1.cbor | Bin 0 -> 416 bytes ...-EcDhBrainpoolP512R1-EcDsaBrainpoolP512R1.cbor | Bin 0 -> 416 bytes .../ALGOS-EcDsaP256-EcDhP256-EcDsaP256.cbor | Bin 0 -> 416 bytes .../ALGOS-EcDsaP384-EcDhP384-EcDsaP384.cbor | Bin 0 -> 416 bytes .../ALGOS-EcDsaP521-EcDhP521-EcDsaP521.cbor | Bin 0 -> 416 bytes ...DsaSecp256k1-EcDhSecp256k1-EcDsaSecp256k1.cbor | Bin 0 -> 416 bytes .../1.10.0/ALGOS-Ed255-X255-Ed255.cbor | Bin 0 -> 416 bytes .../1.10.0/ALGOS-Rsa2048-Rsa2048-Rsa2048.cbor | Bin 0 -> 416 bytes .../1.10.0/ALGOS-Rsa3072-Rsa3072-Rsa3072.cbor | Bin 0 -> 416 bytes .../1.10.0/ALGOS-Rsa4096-Rsa4096-Rsa4096.cbor | Bin 0 -> 416 bytes tests/state_test_data/1.10.0/all_non_default.cbor | Bin 0 -> 483 bytes .../1.10.0/all_non_default_with_private.cbor | Bin 0 -> 618 bytes tests/state_test_data/1.10.0/default.cbor | Bin 0 -> 416 bytes 17 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaBrainpoolP256R1-EcDhBrainpoolP256R1-EcDsaBrainpoolP256R1.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaBrainpoolP384R1-EcDhBrainpoolP384R1-EcDsaBrainpoolP384R1.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaBrainpoolP512R1-EcDhBrainpoolP512R1-EcDsaBrainpoolP512R1.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaP256-EcDhP256-EcDsaP256.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaP384-EcDhP384-EcDsaP384.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaP521-EcDhP521-EcDsaP521.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-EcDsaSecp256k1-EcDhSecp256k1-EcDsaSecp256k1.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-Ed255-X255-Ed255.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-Rsa2048-Rsa2048-Rsa2048.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-Rsa3072-Rsa3072-Rsa3072.cbor create mode 100644 tests/state_test_data/1.10.0/ALGOS-Rsa4096-Rsa4096-Rsa4096.cbor create mode 100644 tests/state_test_data/1.10.0/all_non_default.cbor create mode 100644 tests/state_test_data/1.10.0/all_non_default_with_private.cbor create mode 100644 tests/state_test_data/1.10.0/default.cbor diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ecccf4..f624fe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ SPDX-License-Identifier: CC0-1.0 ## Unreleased +- + +## [v1.10.0][] (2026-09-16) + +[v1.10.0]: https://github.com/Nitrokey/opcard-rs/releases/tag/v1.10.0 + - Update to `admin-app` v0.4 ## [v1.9.0][] (2026-09-10) diff --git a/Cargo.toml b/Cargo.toml index 7eecb48..c231c9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "opcard" -version = "1.9.0" +version = "1.10.0" authors = ["Nitrokey GmbH "] edition = "2021" description = "OpenPGP smart card implementation" diff --git a/src/state.rs b/src/state.rs index 0ce0e6a..34f2cf9 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1648,7 +1648,7 @@ mod tests { const VERSIONS: &[&str] = &[ "1.0.0", "1.1.0", "1.1.1", "1.2.0", "1.3.0", "1.4.0", "1.4.1", "1.5.0", "1.5.1", "1.6.0", - "1.6.1", "1.7.0", "1.8.0", "1.9.0", + "1.6.1", "1.7.0", "1.8.0", "1.9.0", "1.10.0", ]; #[test] diff --git a/tests/state_test_data/1.10.0/ALGOS-EcDsaBrainpoolP256R1-EcDhBrainpoolP256R1-EcDsaBrainpoolP256R1.cbor b/tests/state_test_data/1.10.0/ALGOS-EcDsaBrainpoolP256R1-EcDhBrainpoolP256R1-EcDsaBrainpoolP256R1.cbor new file mode 100644 index 0000000000000000000000000000000000000000..d5bdca3c66c671b9e410f111a3038c728c598e2b GIT binary patch literal 416 zcmb`DF-`Ra$7Q`3yi&y$Q&JHo3VO(d7A#PYC`zGHi>@~Qpo7kp0A%3_gG%4n8P={%Hl;7^l^ixPP_nxf^BVXw9^9!?gH$s8W|vbHHZg`1oi8;NnnoxI3vda_FfzfZH+Sv()N(*`6v2G-luKv zkMM@V8P+b&o6wi^Mg|)z2noxI3vda_FfzfZH+Sv()N(*`6v2G-luKv zkMM@V8P+b&o6wi^Mg|)z2z>% literal 0 HcmV?d00001 diff --git a/tests/state_test_data/1.10.0/ALGOS-EcDsaP384-EcDhP384-EcDsaP384.cbor b/tests/state_test_data/1.10.0/ALGOS-EcDsaP384-EcDhP384-EcDsaP384.cbor new file mode 100644 index 0000000000000000000000000000000000000000..4057905d542210dbaa1b24b618a1fc1326a5b6ba GIT binary patch literal 416 zcmb`DF-`noxI3vda_FfzfZH+Sv()N(*`6v2G-luKv zkMM@V8P+b&o6wi^Mg|)z2Rd9Zm#Fpg z9x`^{VHrmOg%6x5U198vMCRxq+pMU!m#66ut0sj1Ym@jFlR`$P_I&%SxX1ERC5JG@ sm5zE7H2S!Ia6#pc9JY*RGSWot__}LIwX07{FEfmJ;z6P13ZZ5C2GN6aPyhe` literal 0 HcmV?d00001 diff --git a/tests/state_test_data/1.10.0/ALGOS-EcDsaSecp256k1-EcDhSecp256k1-EcDsaSecp256k1.cbor b/tests/state_test_data/1.10.0/ALGOS-EcDsaSecp256k1-EcDhSecp256k1-EcDsaSecp256k1.cbor new file mode 100644 index 0000000000000000000000000000000000000000..f75fca2bc541f161697cc1e398ba7b62092898e7 GIT binary patch literal 416 zcmb`DF-`Ljg#~C>eu=nClVKBr-<_*=DTXUY@2uteO!1uTA1#g%mP6wdd<+#XXjnDmjEH su5{3=pwY+ug9~cuSi+XkOh%fh9bR`0sdn{g={&=jr!pwCTp+Ye-`?MITmS$7 literal 0 HcmV?d00001 diff --git a/tests/state_test_data/1.10.0/ALGOS-Ed255-X255-Ed255.cbor b/tests/state_test_data/1.10.0/ALGOS-Ed255-X255-Ed255.cbor new file mode 100644 index 0000000000000000000000000000000000000000..c1a5251f0df651f3db4f79177de14a8816e81685 GIT binary patch literal 416 zcmb`DL2d&f3`JQ*JwlI>?z_kVdVuaM1RjqYj~N-$B=^eEs;mo>R?5C*_548}cvo9b zFYpB9lDnA4ZV4DJ^%m! literal 0 HcmV?d00001 diff --git a/tests/state_test_data/1.10.0/ALGOS-Rsa2048-Rsa2048-Rsa2048.cbor b/tests/state_test_data/1.10.0/ALGOS-Rsa2048-Rsa2048-Rsa2048.cbor new file mode 100644 index 0000000000000000000000000000000000000000..33073204d3b46852af0d725451b6c4eef67bc202 GIT binary patch literal 416 zcmb`DF-`Ljg#~C>eu=nClVKBr-<_*=DTXUY@2uteO!1uTA1#g%mP6wdd<+#XXjnDmjEH su5{3=pwY+ug9~cuSi+XkOh%fh9bR`0sdn{g={&=jr!pwCTp+Ye-^3?#L;wH) literal 0 HcmV?d00001 diff --git a/tests/state_test_data/1.10.0/ALGOS-Rsa3072-Rsa3072-Rsa3072.cbor b/tests/state_test_data/1.10.0/ALGOS-Rsa3072-Rsa3072-Rsa3072.cbor new file mode 100644 index 0000000000000000000000000000000000000000..4ff213f659d478b9d817194ed539f61fe342fae4 GIT binary patch literal 416 zcmb`DF-`Ljg#~C>eu=nClVKBr-<_*=DTXUY@2uteO!1uTA1#g%mP6wdd<+#XXjnDmjEH su5{3=pwY+ug9~cuSi+XkOh%fh9bR`0sdn{g={&=jr!pwCTp+Ye-^$f^XK z>v|AhcuWCVlU3>dLM*zb7fw?z07r2V1Ntx1(|tpuHDjG?VwIQs)gM&6ga7+RMk69a zaEkJ@Jd^d*Fck_0nq9_6DH(6NbC&EvyX%2eFcbk?@mh!3<+yAmsU5G%hOtsdL7H0ya6^H)pF7JO}o$!tML> zhbf?1n^6_su5aV@VOO8{>mX r!Oi?m$gr=*>&`Rwm{o!0p`@2xA~sc)=}Ljg#~C>eu=nClVKBr-<_*=DTXUY@2uteO!1uTA1#g%mP6wdd<+#XXjnDmjEH su5{3=pwY+ug9~cuSi+XkOh%fh9bR`0sdn{g={&=jr!pwCTp+Ye-^3?#L;wH) literal 0 HcmV?d00001