Skip to content

Commit abf258b

Browse files
committed
Initialize rustls
1 parent 0c1f099 commit abf258b

3 files changed

Lines changed: 175 additions & 1 deletion

File tree

xyz-iinuwa-credential-manager-portal-gtk/Cargo.lock

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

xyz-iinuwa-credential-manager-portal-gtk/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ futures-lite = "2.6.0"
2727

2828
# this is temporary until we move COSE -> Vec<u8> serialization methods into libwebauthn
2929
cosey = "0.3.2"
30+
rustls = { version = "0.23.27", default-features = false, features = ["std", "tls12", "ring", "log", "logging", "prefer-post-quantum"] }

xyz-iinuwa-credential-manager-portal-gtk/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ use async_std::task;
1818
fn main() {
1919
// Initialize logger
2020
tracing_subscriber::fmt::init();
21+
rustls::crypto::ring::default_provider().install_default().expect("Failed to install rustls crypto provider");
2122

2223
println!("Starting...");
2324
task::block_on(run()).unwrap();

0 commit comments

Comments
 (0)