Fix trailing whitespace preventing rustfmt formatting

This commit is contained in:
Sosthène Guédon
2024-03-01 14:29:40 +01:00
committed by Nicolas Stalder
parent c17559c6a1
commit 8633ffa5da
6 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ tarpaulin:
.PHONY: vpicc-example
vpicc-example:
cargo run --example vpicc --features vpicc
cargo run --example vpicc --features vpicc
.PHONY: ci
ci: lint tarpaulin
+1 -1
View File
@@ -11,7 +11,7 @@ PIV-Authenticator
Supported features
------------------
`piv-authenticator` is still under heavy development.
`piv-authenticator` is still under heavy development.
See the [tracking issue for command support](https://github.com/Nitrokey/piv-authenticator/issues/1) for more information.
License
+1 -1
View File
@@ -46,7 +46,7 @@ pub const YUBICO_DEFAULT_MANAGEMENT_KEY_ALG: AdministrationAlgorithm =
AdministrationAlgorithm::Tdes;
pub const DISCOVERY_OBJECT: [u8; 18] = hex!(
"
"
4f 0b // PIV AID
a000000308000010000100
5f2f 02 // PIN usage Policy
+2 -2
View File
@@ -55,9 +55,9 @@ impl<'v, const R: usize> Reply<'v, R> {
///
/// Input:
/// AAAAAAAAAABBBBBBB
/// ↑
/// ↑
/// offset
///
///
/// Output:
///
/// AAAAAAAAAA 7 BBBBBBB
+2 -2
View File
@@ -80,8 +80,8 @@
)
),
IoData(
input: "00 47 009A 05
AC 03
input: "00 47 009A 05
AC 03
80 01 11",
output: Len(70),
)
+4 -5
View File
@@ -511,9 +511,8 @@ impl IoCmd {
// URL = b\"https://github.com/Nitrokey/piv-authenticator\"
5f50 2d 68747470733a2f2f6769746875622e636f6d2f4e6974726f6b65792f7069762d61757468656e74696361746f72
// Cryptographic Algorithm Identifier Template
ac 15
ac 15
80 01 03 // TDES - ECB
80 01 0c // AES256 - ECB
80 01 11 // P-256
@@ -521,9 +520,9 @@ impl IoCmd {
80 01 e3 // X25519
80 01 07 // RSA 2048
06 01 00
// Coexistent Tag Allocation Authority Template
79 07
4f 05 a000000308
// Coexistent Tag Allocation Authority Template
79 07
4f 05 a000000308
"
)));
Self::run_bytes(