S
S
Sergey Pribylskiy2012-12-13 21:18:28
SSH
Sergey Pribylskiy, 2012-12-13 21:18:28

SSH key length

Goodnight!
I noticed a feature of the puttygen program. When generating a key pair SSH2-RSA 2048, the output is a key of 2047 bits
ssh-rsa 2047 dd:92:ac:59:f9:60:e5: ххххххххххххх
But if you generate a key pair on the server - and then load it into puttygen - the key is normal - 2048 bits
What is the reason for such a feature of the loss of one bit during generation?
When generating a keychain of 1024 bits, everything matches the specified key length.



ps test key generated

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nochkin, 2012-12-13
@ASP

This feature is with RSA only, there is no such thing on DSA.
More details here:
http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter8.html#puttygen-strength

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question