Security

PHP and OpenSSL key format (“key parameter is not a valid public key”)

Posted by on July 7, 2010 at 10:27 pm

PHP Warning: openssl_public_encrypt(): key parameter is not a valid public key in /script.php on line 175 If you experienced problems with OpenSSL and PHP, especially functions like openssl_pkey_get_public and openssl_pkey_get_private not willing to initialise from the provided public and private key strings, then you just need a few tweaks to get things running, because the [...]

Syncing Firefox bookmarks and passwords

Posted by on May 23, 2010 at 12:11 pm

I use a few computers and I like to have pretty much the same $ENV on them. Using various rsync methods helps keeping $HOME synced. Yet, sometimes that $HOME is way too big for syncing via the Internet. And what if I’d like to sync just some programes and not the whole damn $HOME dir?

Lighttpd and (network.c.529) SSL error

Posted by on May 23, 2010 at 12:05 pm

I just realized that the latest Lighttpd you may find in FreeBSD ports (and in all Linux distros actually) is a bit buggy. Apparently there is an error in network.c which will crash your HTTPS.