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