Skip to main content

According to gitlabgitlab

The book Practical Cryptography With Go suggests that ED25519 keys are more secure and performant than RSA keys.

and recommendsrecommends

If you use an RSA keys for SSHkey ... that you userecommends a key size of at least 2048 bits.

the ED25519 key is better

ssh-keygen -t ed25519 -C "<comment>"

If rsa is used, the minimum size is 2048 But it is better to use size 4096:

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.

According to gitlab

The book Practical Cryptography With Go suggests that ED25519 keys are more secure and performant than RSA keys.

and recommends

If you use RSA keys for SSH ... that you use a key size of at least 2048 bits.

the ED25519 key is better

ssh-keygen -t ed25519 -C "<comment>"

If rsa is used, the minimum size is 2048 But it is better to use size 4096:

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.

According to gitlab

The book Practical Cryptography With Go suggests that ED25519 keys are more secure and performant than RSA keys.

and recommends

If you use an RSA key ... recommends a key size of at least 2048 bits.

the ED25519 key is better

ssh-keygen -t ed25519 -C "<comment>"

If rsa is used, the minimum size is 2048 But it is better to use size 4096:

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.

Updated w/ blockquotes from gitlab. Added ed25519 code
Source Link

According to thegitlab

The book Practical Cryptography With Go suggests that ED25519 keys are more secure and performant than RSA keys.

and gitlabrecommends site,

If you use RSA keys for SSH ... that you use a key size of at least 2048 bits.

the ED25519 key is better If

ssh-keygen -t ed25519 -C "<comment>"

If rsa is used, the minimum size is 2048 But it is better to use size 4096 Or use the following code:

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.

According to the gitlab site, the ED25519 key is better If rsa is used, the minimum size is 2048 But it is better to use size 4096 Or use the following code

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.

According to gitlab

The book Practical Cryptography With Go suggests that ED25519 keys are more secure and performant than RSA keys.

and recommends

If you use RSA keys for SSH ... that you use a key size of at least 2048 bits.

the ED25519 key is better

ssh-keygen -t ed25519 -C "<comment>"

If rsa is used, the minimum size is 2048 But it is better to use size 4096:

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.

Source Link
M-892
  • 461
  • 4
  • 2

According to the gitlab site, the ED25519 key is better If rsa is used, the minimum size is 2048 But it is better to use size 4096 Or use the following code

ssh-keygen -o -t rsa -b 4096 -C "[email protected]"

ED25519 already encrypts keys to the more secure OpenSSH format.