Skip to content

Commit 31e0dd8

Browse files
authored
spki v0.1.0 (#268)
1 parent 3c0d7ca commit 31e0dd8

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkcs8/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ readme = "README.md"
1717
[dependencies]
1818
base64ct = { version = "0.2", optional = true, features = ["alloc"], path = "../base64ct" }
1919
der = { version = "0.2", features = ["oid"], path = "../der" }
20-
spki = { version = "0", path = "../spki" }
20+
spki = { version = "0.1", path = "../spki" }
2121
zeroize = { version = "1", optional = true, default-features = false, features = ["alloc"] }
2222

2323
[dev-dependencies]

pkcs8/tests/encrypted_private_key.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ fn parse_ed25519_der_encrypted() {
3838
); // PBES2
3939

4040
// TODO(tarcieri): parse/extract params
41+
let params = pk.encryption_algorithm.parameters_any().unwrap();
42+
assert_eq!(params.tag(), der::Tag::Sequence);
4143

4244
// Extracted with:
4345
// $ openssl asn1parse -in tests/examples/ed25519-priv-enc-v2.der -inform der

spki/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## 0.1.0 (2021-02-16)
8+
- Initial release

spki/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spki"
3-
version = "0.0.0" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.1.0" # Also update html_root_url in lib.rs when bumping this
44
description = """
55
X.509 Subject Public Key Info (RFC5280) describing public keys as well as their
66
associated AlgorithmIdentifiers (i.e. OIDs)
@@ -10,7 +10,7 @@ license = "Apache-2.0 OR MIT"
1010
edition = "2018"
1111
repository = "https://github.com/RustCrypto/utils/tree/master/spki"
1212
categories = ["cryptography", "data-structures", "encoding", "no-std"]
13-
keywords = ["crypto", "x.509"]
13+
keywords = ["crypto", "x509"]
1414
readme = "README.md"
1515

1616
[dependencies]

spki/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#![doc(
1515
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
1616
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
17-
html_root_url = "https://docs.rs/spki/0.0.0"
17+
html_root_url = "https://docs.rs/spki/0.1.0"
1818
)]
1919
#![forbid(unsafe_code)]
2020
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]

0 commit comments

Comments
 (0)