Skip to content

Commit

Permalink
Merge pull request #186 from Grade-Notifier/master
Browse files Browse the repository at this point in the history
Fixed Dep
  • Loading branch information
Huddie authored Dec 26, 2019
2 parents c7a9bb7 + 6cd4e94 commit 6613a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Depfiles/dependencies.pip
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ colorconsole
cunyfirstapi
mysql
mysql-connector
pycryptodome
2 changes: 1 addition & 1 deletion src/helper/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def gen_keys():
file_out = open("keys/public.pem", "wb")
file_out.write(public_key)
file_out.close()
print("WARNING:: Don't forget to update the index.php")
print("Keys have been written to keys/")

def encrypt(message, path='keys/public.pem'):
key = RSA.importKey(open(path).read())
Expand Down

0 comments on commit 6613a4f

Please sign in to comment.