hwchen / secret-service-rs

Rust library for interfacing with Secret Service API
Apache License 2.0
73 stars 28 forks source link

Gracefully handle decryption message decryption failures #54

Closed complexspaces closed 2 years ago

complexspaces commented 2 years ago

At work, we noticed that we were seeing several crash reports whose source was calling .unwrap() on these decrypt operations. I'm not really sure how this is possible given that the secret should be setup and shared between the secret service dbus provider and the user of secret-service crate, but these arguably shouldn't be unwraps anyway.