Difference between revisions of "Public key cryptography"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Draft}}
+
[[wikipedia:Public key cryptography]]
  
 +
* [[RSA]]/[[DSA]]
 +
* [[BLS digital signature]]
 +
 +
 +
== Commands ==
 +
Generate public key from [[private key]]:
 +
* <code>[[ssh-keygen -y]] -f ~/.ssh/id_rsa > ~/[[.ssh/]]id_rsa[[.pub]]</code>
  
 
Generate a public key from a [[PEM]] private key
 
Generate a public key from a [[PEM]] private key
 
* <code>[[openssl]] [[rsa]] -in mykey.pem -pubout > mykey.pub</code>
 
* <code>[[openssl]] [[rsa]] -in mykey.pem -pubout > mykey.pub</code>
  
Generate fingerpring
+
Generate [[fingerpring]]:
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
 
* <code> [[ssh-keygen]] -l -f /etc/ssh/ssh_host_XXXXkey.pub</code>
  
Generate public key from [[private key]]:
+
 
* <code>ssh-keygen -y -f ~/.ssh/id_rsa > ~./.ssh/id_rsa.pub</code>
+
* <code>[[gpg --gen-key]]</code>
  
  
 
[[OpenSSH 7.6]] (2017)
 
[[OpenSSH 7.6]] (2017)
* Refuse [[keys]] <1024 bits in length and improve reporting for keys that do not meet this requirement.
+
* Refuse [[keys]] <1024 bits in [[key length | lengh]] and improve reporting for keys that do not meet this requirement.
  
 
== Related terms ==
 
== Related terms ==
 +
* [[X.509]]
 
* <code>[[ssh-copy-id]]</code>
 
* <code>[[ssh-copy-id]]</code>
 
* <code>[[ssh-keygen]]</code> and <code>[[puttygen]]</code>
 
* <code>[[ssh-keygen]]</code> and <code>[[puttygen]]</code>
 +
* <code>[[ssh-keyscan]]</code>
 
* [[sshd logs]]: [[Failed publickey for]]
 
* [[sshd logs]]: [[Failed publickey for]]
 
* [[Athena IDProtect card]]
 
* [[Athena IDProtect card]]
Line 24: Line 33:
 
* [[Whitfield Diffie]]
 
* [[Whitfield Diffie]]
 
* [[Key length]]
 
* [[Key length]]
* [[RSA]], [[DSA]], [[ECDSA]] and [[ed25519]].
+
* [[EdDSA]]: [[ed25519]], [[RSA]], [[DSA]]
 +
* [[ECDSA]]: [[Bitcoin]]
 +
* [[SHA]]
 +
* [[TLS]], [[S/MIME]], [[PGP]], [[GPG]]
 +
* [[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]]
 +
* <code>[[sops]]</code>
 +
* [[WebAuthn]]
  
 
== See also ==
 
== See also ==
 
* {{Key}}
 
* {{Key}}
 
* {{ssh}}
 
* {{ssh}}
* [[Public key certificate]]
+
* {{RSA}}
 +
* {{Public key}}
 
* {{CA}}
 
* {{CA}}
* {{RSA}}
+
 
  
 
[[Category:Security]]
 
[[Category:Security]]

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: