Programming: Mostly a hate story

Programming: Mostly a hate story

I hate the big key size in RSA, even though GPG defaults to 2048-bit keys and not the more secure 4096-bit ones. No problem, Postgres supports PL/Python and PL/v8 so it should be easy to code these functions quickly using existing libraries. Turns out, the version of PLv8 shipping everywhere (Ubuntu, Mac, AWS, Heroku) is an outdated one which doesn’t support Uint8Arrays which libraries like TweetNaCl.js need. Tried compiling V8 on my own, but no, Google has started using this fancy build system called GN which doesn’t quite work on my machine.

Source: gist.github.com