hn.today

A live service duress prototype

github.com6 points0 comments
Screenshot of A live service duress prototype

Vault-share is a self-hosted, invite-only Flask application for sharing confidential files. It encrypts each file with a unique AES-256-GCM key, then seals copies of that key to the public keys of the owner and authorized readers, so the server’s own keys cannot decrypt stored files. ECDSA signatures, certificates from a local certificate authority, SHA-256 checks, record-level HMACs, and an SQLCipher-encrypted database provide ways to detect tampering and verify files independently. The service also includes Argon2id passwords, optional two-factor authentication, rate limits, and an operator console.

Its distinctive feature is a duress password that opens a functioning cover vault, separated from the real files by different encryption keys; the design uses multiple account levels and conceals how many levels exist. A duress login can also wipe other vault data, while access to the master key can be tied to a USB drive whose removal locks the service. Upload checks validate file type and format, but archives are only identified, not inspected internally, so recipients see a warning and must acknowledge it before downloading. The README details installation, certificate setup, login protections, file verification, and account administration, while emphasizing that type checks do not prove a file is harmless.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.