I wrote a webapplication with great help from Claude AI, where you can create a message, have it encrypted, upload the encrypted message to a server, share a link and decrypt it using a key downloaded to your device.
Decrypting messages can be done without registering an account. Encrypting messages requires a registration. A profile is registered at Bitwarden, and a passkey is registered on your device. I can't read the profile at Bitwarden, apart from a random uuid.
Encrypt in browser, store encrypted message on server, and download key (optional).
The code is available at https://github.com/kometen/rocket-ssr. An example can be opened at https://obscura.bsky.dk/message/gKSxqMBjzj1Su0QAViN6zg. Use the key sSjMGidFJzDuG6h2LNsxBHGr/dwgIoP+CWAOGgxRXZ8=
to decrypt it.
Enjoy.
It is build using the Rust based Rocket framework, Bitwardens passwordless service. And the example is based on https://github.com/davidzr/passwordless-rust.
Top comments (0)