Compare commits

..

5 commits

Author SHA1 Message Date
55789c7ee1
add Cargo.lock 2023-03-08 11:45:39 -05:00
Heiko Schaefer
8b9e921db7
Adjust README and subplot test to fix previously wrong application ID format. 2023-03-06 14:41:54 +01:00
Heiko Schaefer
2427708f97
Don't print application ID twice.
Fixes #67.
2023-02-24 00:49:26 +01:00
Heiko Schaefer
8e13ac99ac
opgpcard: Release 0.9.1
Don't hard-depend on nettle and allow explicitly choosing sequoia's cryptographic backend.

Make release builds reproducible.
2023-02-17 20:00:20 +01:00
Heiko Schaefer
89bb29c73a
opgpcard: Make release builds reproducible (by setting "codegen-units = 1"). 2023-02-17 20:00:15 +01:00
5 changed files with 3248 additions and 4 deletions

3241
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -592,7 +592,7 @@ impl Display for ApplicationIdentifier {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(
f,
"D276000124 01 {:02X} {:04X} {:04X} {:08X} 0000",
"D276000124 {:02X} {:04X} {:04X} {:08X} 0000",
self.application, self.version, self.manufacturer, self.serial
)
}

View file

@ -6,7 +6,7 @@
name = "openpgp-card-tools"
description = "CLI tools for OpenPGP cards"
license = "MIT OR Apache-2.0"
version = "0.9.0"
version = "0.9.1"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
edition = "2018"
repository = "https://gitlab.com/openpgp-card/openpgp-card"
@ -41,6 +41,9 @@ subplot-build = "0.5.0"
fehler = "1.0.0"
subplotlib = "0.5.0"
[profile.release]
codegen-units = 1
[features]
default = ["sequoia-openpgp/default"]

View file

@ -243,7 +243,7 @@ Most of the output is probably not of interest to regular users.
$ opgpcard info
OpenPGP card FFFE:12345678 (card version 2.0)
Application Identifier: D276000124 01 01 0200 FFFE 12345678 0000
Application Identifier: D276000124 01 0200 FFFE 12345678 0000
Manufacturer [FFFE]: Range reserved for randomly assigned serial numbers.
Card Capabilities:

View file

@ -105,7 +105,7 @@ then stdout, as JSON, matches embedded file info.json
~~~{#info.json .file .json}
{
"card_version": "2.0",
"application_id": "D276000124 01 01 0200 AFAF 00001234 0000",
"application_id": "D276000124 01 0200 AFAF 00001234 0000",
"manufacturer_id": "AFAF",
"manufacturer_name": "Unknown",
"card_service_data": [],