Permalink and keypair generation