open-source-cooperative/keyring-rs ? reverse-engineered prompt
Reverse engineered prompt
Build me a Rust library for working with passwords and other secrets on Mac, Windows, and Linux.
I want one simple API that lets an app save, read, and delete secrets from the native secure storage on each platform, and it should handle both plain text and binary data. Keep it cross platform and make it feel easy to use from a normal Rust app, without the caller needing to know the details of each operating system.
Also include a small command line example that can do one keyring action at a time so I can test it from the terminal, plus a couple of sample apps that show how the library behaves in practice. It would be great if the examples help me see how secrets show up in the system tools and let me check that nothing leaks in memory when data is dropped.
If you need to check the latest docs for platform specific details, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit