Fixed bug in generating seed keypairs for signing