A little project in Flask to store inputs encrypted and delete once someone looks at it.
Go to file
Andreas Zweili ea4750a023 Rename directory 2024-04-20 12:31:47 +02:00
.github/workflows Update checkout action 2024-04-03 22:38:30 +02:00
snapbin Rename directory 2024-04-20 12:31:47 +02: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 Rename directory 2024-04-20 12:31:47 +02:00
flake.lock Rewrite to flake-utils 2024-04-04 00:22:21 +02:00
flake.nix Rename directory 2024-04-20 12:31:47 +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 Rename directory 2024-04-20 12:31:47 +02: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=" }