|erinn f3fafacb59||5 months ago|
|api||6 months ago|
|qml||6 months ago|
|.drone.yml||6 months ago|
|.gitignore||6 months ago|
|LICENSE||5 months ago|
|README.md||5 months ago|
|go.mod||6 months ago|
|go.sum||6 months ago|
|lockbox.go||6 months ago|
|lockbox.png||6 months ago|
Host a submission form on an untrusted or shared host by using public-key encryption! This repository hosts the source code for the Lockbox app, which works together with the Lockbox web app.
Lockbox is a barebones form submission app intended to be easily adaptable for different needs. It works by capturing all submitted form data and encrypting it with a (libsodium) public key before saving it. Saved data can only be read by decrypting it with your unique private key, which can be kept offline and protected however you like.
cmd/genkeys.phpscript to generate
key.privatefile can decrypt submissions -- make a backup copy of it and keep it somewhere safe! If you lose it, you won’t be able to recover any submissions you haven’t decrypted yet.
key.publicfile onto a webserver that supports PHP
key.privateyou generated earlier.
submissions.datfile either directly from your server or by using the renamed
cmd/decrypt.phpto decrypt submissions. It will output a CSV file that can be opened in any spreadsheet editor (such as Microsoft Excel or LibreOffice Calc).
03_phoneetc. The Lockbox app will remove the numeric prefix when creating the spreadsheet.