News for hackers. Stuff that matters.
Re:Run your own OAuth2 server by drusepth on Monday September 04, 2017 @02:54PM (#15170161)
Linux noob here: what's the fold for? How is that secret different from doing something like

tr -dc A-Za-z0-9_ < /dev/urandom | head -c 32

?

Re:Run your own OAuth2 server by koolba on Monday September 04, 2017 @03:31PM (#15170349)
The difference is that fold will add a trailing newline. Another option is to add an '; echo' at the end of the operation.

And yes the "cat" is not necessary.