|erinn f3fafacb59||9 months ago|
|api||10 months ago|
|qml||10 months ago|
|.drone.yml||10 months ago|
|.gitignore||10 months ago|
|LICENSE||9 months ago|
|README.md||9 months ago|
|go.mod||10 months ago|
|go.sum||10 months ago|
|lockbox.go||10 months ago|
|lockbox.png||10 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.