Increase default key size to 1024 bits

Fix #611