Avatar for the biscuit-auth user
biscuit-auth
biscuit-rust
BlogDocsChangelog

Add pem/der loaders to PublicKey

#265Merged
Comparing
geal/pem-fixes
(
0fc8a57
) with
main
(
8dabc87
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
12
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

append_block_2
biscuit-auth/benches/token.rs::append_block_2
CodSpeed Performance Gauge
0%
550.3 µs
548.9 µs
create_block_1
biscuit-auth/benches/token.rs::create_block_1
CodSpeed Performance Gauge
0%
248.2 µs
247.6 µs
append_block_5
biscuit-auth/benches/token.rs::append_block_5
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
unverified_append_block_2
biscuit-auth/benches/token.rs::unverified_append_block_2
CodSpeed Performance Gauge
0%
300.5 µs
300.1 µs
unverified_append_block_5
biscuit-auth/benches/token.rs::unverified_append_block_5
CodSpeed Performance Gauge
0%
935.2 µs
934.5 µs
check_signature_5
biscuit-auth/benches/token.rs::check_signature_5
CodSpeed Performance Gauge
0%
1 ms
1 ms
verify_block_5
biscuit-auth/benches/token.rs::verify_block_5
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
verify_block_2
biscuit-auth/benches/token.rs::verify_block_2
CodSpeed Performance Gauge
0%
606.2 µs
608.5 µs
checks_block_create_verifier2
biscuit-auth/benches/token.rs::checks_block_create_verifier2
CodSpeed Performance Gauge
-1%
64.8 µs
65.3 µs
checks_block_verify_only2
biscuit-auth/benches/token.rs::checks_block_verify_only2
CodSpeed Performance Gauge
-1%
119.2 µs
120.2 µs
checks_block_2
biscuit-auth/benches/token.rs::checks_block_2
CodSpeed Performance Gauge
-1%
118.5 µs
119.9 µs
check_signature_2
biscuit-auth/benches/token.rs::check_signature_2
CodSpeed Performance Gauge
-1%
495.2 µs
501.9 µs

Commits

Click on a commit to change the comparison range
Base
main
8dabc87
0%
Add pem/der loaders to PublicKey Expose pem feature in biscuit-parser crate as well
895fbac
1 year ago
by baranyildirim
0%
fix
c04504b
4 months ago
by Geal
0%
Merge branch 'main' into geal/pem-fixes
7721bdd
4 months ago
by Geal
0%
more tests
0fb9fd6
4 months ago
by Geal
0%
allow guessing the algorithm from pem/der keypairs / public keys / private keys The pem/der payloads contain information about the key algorithm. Unfortunately we can’t easily extract it ahead of time, but we can try for each supported algorithms. Key parsing is typically a one-time operation, so it’s ok to do it this way.
d443e17
4 months ago
by divarvel
0%
rename functions
0fc8a57
4 months ago
by Geal
© 2025 CodSpeed Technology
Home Terms Privacy Docs