News for hackers. Stuff that matters.
Re:Show HN: Make Your PDF Look Scanned by baicunko on Tuesday May 12, 2020 @03:24PM (#23158511)
Fixed. Sorry, forgot to configure nginx.
Re:Show HN: Make Your PDF Look Scanned by thebigshane on Tuesday May 12, 2020 @03:34PM (#23158638)
Re:Show HN: Make Your PDF Look Scanned by baicunko on Tuesday May 12, 2020 @03:48PM (#23158817)
I manually modified the private key on the server before publishing here. Still learning on ENV VARIABLES and I couldn't make them work!
Re:Show HN: Make Your PDF Look Scanned by 411111111111111 on Tuesday May 12, 2020 @04:26PM (#23159248)
You might want to just switch to a dotenv library. Quick Google for Django yielded https://github.com/jpadilla/django-dotenv
Re:Show HN: Make Your PDF Look Scanned by capableweb on Tuesday May 12, 2020 @05:02PM (#23159794)
Dotenv libraries are just for dev and other similar environments. In production you should still use normal environment variables (or whatever system you use to load your configuration), as dotenv files stay on the filesystem and sometimes even committed to your SCM.
Re:Show HN: Make Your PDF Look Scanned by vmception on Tuesday May 12, 2020 @04:24PM (#23159234)
haha this is like those domain name search websites that just automatically register the good sounding domain names for themselves once the user types it in.

do you OP! I think it still provides a service, enjoy all the secrets

Re:Show HN: Make Your PDF Look Scanned by kchr on Wednesday May 13, 2020 @12:42PM (#23168748)
If you upload secrets to public sites you're in trouble regardless of whether they claim "secure" hosting or not...

And what makes you think the operator has nefarious intent?

Re:Show HN: Make Your PDF Look Scanned by rozab on Tuesday May 12, 2020 @03:41PM (#23158736)
I thought github had hooks for this kind of thing now? I remember it caught a private key I tried to push to a similar django repo (not for a prod site or anything), and that was about 2 years ago
Re:Show HN: Make Your PDF Look Scanned by dewey on Tuesday May 12, 2020 @04:50PM (#23159587)
I think this only works for secret keys that have a certain pattern like AWS keys.