A little project in Flask to store inputs encrypted and delete once someone looks at it.
Go to file
Andreas Zweili 9c45c7f21a Rewrite to flake-utils 2024-04-04 00:22:21 +02:00
.github/workflows Update checkout action 2024-04-03 22:38:30 +02:00
src Try to cleanup the clean_input function 2023-12-29 21:41:22 +01:00
.envrc Remove unused code from .envrc 2024-04-03 17:42:03 +02:00
.gitignore Symlink the process-compose.yml for faster startup 2024-04-03 18:39:13 +02:00
LICENSE Initial commit 2023-12-29 13:50:13 +01:00
README.org Migrate README to Emacs verb 2024-04-03 18:39:49 +02:00
conftest.py Fix tests 2023-12-29 20:52:40 +01:00
flake.lock Rewrite to flake-utils 2024-04-04 00:22:21 +02:00
flake.nix Rewrite to flake-utils 2024-04-04 00:22:21 +02:00
poetry.lock Add black as a dev dependencies 2023-12-29 19:59:12 +01:00
poetry.toml Add settings for poetry 2023-12-29 21:41:45 +01:00
pyproject.toml Add black as a dev dependencies 2023-12-29 19:59:12 +01:00
tests.py Remove unused import 2023-12-29 20:53:15 +01:00

README.org

sort-of-pastebin

A little project in Flask to store inputs encrypted and delete once someone looks at it.

Origin

This project was inspired by Snappass and was previously licensed under MIT.

Tests   verb

Store secret

POST http://localhost:8000 Accept: application/json Content-Type: application/json

{ "ttl": 604800, "password": "Foo" }

Retrieve secret

POST http://localhost:8000/get-secret Accept: application/json Content-Type: application/json

{ "key": "snappass941ad23f9e4b4e7fa699854e48f83ff9~tQVYlz56h1bzXVlrCY5W8rYER1sXGtvYtRHrMyXLhSc=" }