Compare commits

..

1 Commits

Author SHA1 Message Date
Ryan Heywood 64c75085f4
add derivation path for Shard keys 2025-04-08 15:24:58 -04:00
4 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,14 @@
# Keyfork v0.3.2
This is another bugfix release, allowing the derivation of Shard keys.
### Changes in keyfork:
```
6ffcdc3 add derivation path for Shard keys
```
# Keyfork v0.3.1 # Keyfork v0.3.1
This is a bugfix release, resolving an issue with Keyfork Shard not having a This is a bugfix release, resolving an issue with Keyfork Shard not having a

4
Cargo.lock generated
View File

@ -1797,7 +1797,7 @@ dependencies = [
[[package]] [[package]]
name = "keyfork" name = "keyfork"
version = "0.3.0" version = "0.3.2"
dependencies = [ dependencies = [
"base64", "base64",
"card-backend-pcsc", "card-backend-pcsc",
@ -1967,7 +1967,7 @@ dependencies = [
[[package]] [[package]]
name = "keyfork-shard" name = "keyfork-shard"
version = "0.3.2" version = "0.3.3"
dependencies = [ dependencies = [
"aes-gcm", "aes-gcm",
"anyhow", "anyhow",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "keyfork" name = "keyfork"
version = "0.3.1" version = "0.3.2"
edition = "2021" edition = "2021"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"

View File

@ -58,6 +58,9 @@ pub enum Path {
/// The Disaster Recovery index. /// The Disaster Recovery index.
DisasterRecovery, DisasterRecovery,
/// The Shard index.
Shard,
} }
impl std::fmt::Display for Path { impl std::fmt::Display for Path {
@ -71,6 +74,7 @@ impl Path {
match self { match self {
Path::Default => "default", Path::Default => "default",
Path::DisasterRecovery => "disaster-recovery", Path::DisasterRecovery => "disaster-recovery",
Path::Shard => "shard",
} }
} }
@ -78,6 +82,7 @@ impl Path {
match self { match self {
Self::Default => paths::OPENPGP.clone(), Self::Default => paths::OPENPGP.clone(),
Self::DisasterRecovery => paths::OPENPGP_DISASTER_RECOVERY.clone(), Self::DisasterRecovery => paths::OPENPGP_DISASTER_RECOVERY.clone(),
Self::Shard => paths::OPENPGP_SHARD.clone(),
} }
} }
} }