79
GitHub - jadacyrus/pass.sh
source link: https://github.com/jadacyrus/pass.sh
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
master
Code
pass.sh
- Uses python cryptography library (symmetric encryption) to encrypt all passwords
- Storage backend is AWS Dynamo DB
- Web framework is Bottle
request:
curl -X POST https://pass.sh/create -H 'Content-Type:application/json' \
--data '{"secret":"foobar", "days": "5", "views": "10"}'
with IP whitelist
curl -X POST https://pass.sh/create -H 'Content-Type:application/json' \
--data '{"secret":"foobar", "days": "5", "views": "10", "ip": "2601:87:80:1811:90f7:67b9:4747:64a4"}'
response:
{"days": "5", "url": "https://pass.sh/show/3625c429-c93e-41d2-a5c9-0a886e162b76", "views": "10"}
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK