hammad93 / time_crypt

A cryptographic function that enables decryption based on units of time or a deadline.
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Change key id from IP to email #8

Closed hammad93 closed 11 months ago

hammad93 commented 11 months ago

Currently, we store the IP of the request to identify when a user has created a key. Change it to remove IP storage for privacy purposes and have an optional parameter for email instead. If there's a value, it will email only the key to the email address.

hammad93 commented 11 months ago

instead of doing the email thing on the backend, do it on the front end with the mailto: html tag

hammad93 commented 11 months ago

just tested it out and having it on the front end works. there's already a failsafe on the backend and the additional failsafes on the backend were apps in and of themselves