SSH Agent keys >4096 bit?

Ali Lown ali at
Thu May 3 19:14:52 CEST 2012

I am trying to use gpg-agent for my ssh keys as well as my gpg keys,
but am unable to add my 8192 bit ssh key to the agent.

Agent log reports: "2012-05-03 17:48:02 gpg-agent[2190] ssh keys
greater than 4096 bits are not supported"

The limit appears to be arbitarily set in agent/command-ssh.c
following a max mpi_data_size.

Does anyone know why the limit is set at 4096 bits, and whether there
are any plans for supporting SSH keys of lengths greater than 4096bit
in the gpg-agent?


More information about the Gnupg-users mailing list