Yureien / YABin

Yet another pastebin, simple but feature-rich, along with a CLI client
https://bin.sohamsen.me/
MIT License
142 stars 18 forks source link

Burn after read & encryption problem #50

Open ZeroTwopy opened 2 months ago

ZeroTwopy commented 2 months ago

I have issue with"burn after read" as when it's checked, the file opens immediately upon saving on the current page, making it impossible for anyone other than the author to read it because the link expires right after creation. The second issue is that if "encrypted" is checked and the password isn't entered, a lot of random characters appear in the link. In my opinion, there should be an option for default disabling of this for EVERYONE rather than in the settings for just one user, for example, the option to disable it would be in the .env or Docker config.

Yureien commented 1 month ago

Will look into the first issue, thanks for the report.

The second issue is that if "encrypted" is checked and the password isn't entered, a lot of random characters appear in the link

That's an inherent property: those random characters are the key to decrypting the messages since it's not being stored in the server.