Difference between revisions of "Public key cryptography"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[wikipedia:Public key cryptography]]
 
[[wikipedia:Public key cryptography]]
  
 +
* [[RSA]]/[[DSA]]
 +
* [[BLS digital signature]]
 +
 +
 +
== Commands ==
 
Generate public key from [[private key]]:
 
Generate public key from [[private key]]:
 
* <code>[[ssh-keygen -y]] -f ~/.ssh/id_rsa > ~/[[.ssh/]]id_rsa[[.pub]]</code>
 
* <code>[[ssh-keygen -y]] -f ~/.ssh/id_rsa > ~/[[.ssh/]]id_rsa[[.pub]]</code>
Line 10: Line 15:
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
  
 +
 +
* <code>[[gpg --gen-key]]</code>
  
  
Line 32: Line 39:
 
* [[AWS]]: <code>[[aws ec2 import-key-pair]]</code>, <code>[[aws ec2 create-key-pair]]</code>, <code>[[aws ec2 describe-key-pairs]]</code>
 
* [[AWS]]: <code>[[aws ec2 import-key-pair]]</code>, <code>[[aws ec2 create-key-pair]]</code>, <code>[[aws ec2 describe-key-pairs]]</code>
 
* [[BLS digital signature]]
 
* [[BLS digital signature]]
 +
* <code>[[sops]]</code>
 +
* [[WebAuthn]]
  
 
== See also ==
 
== See also ==

Latest revision as of 08:14, 19 January 2023

wikipedia:Public key cryptography


Commands[edit]

Generate public key from private key:

Generate a public key from a PEM private key

Generate fingerpring:



OpenSSH 7.6 (2017)

  • Refuse keys <1024 bits in lengh and improve reporting for keys that do not meet this requirement.

Related terms[edit]

See also[edit]

Advertising: