Endpoint Encryption

 View Only

RSA Keys, and how to use them to create a .asc file

  • 1.  RSA Keys, and how to use them to create a .asc file

    Posted Feb 16, 2016 08:19 AM

    I have been sent an rsa key (just text in an email) and I need to know how to import this key with PGP Command line.  Can anyone help? Normally, the vendor sends me a .asc file and I just run the import command but this vendor did not send it that way...  Just sent the text of the key in an email.  The vendor says the key was generated using “ssh-keygen -t rsa” command.   Any ideas? I'm relatively new to PGP and encryption.

    The text is similar to this...

     

    machine - vendor.ab.xxxxx.com

    Public rsa Key –

    ssh-rsa

    AAAAB3NzaC1yc2EAAAADAQABAAABAQDnf3dhLoBYuGX8y2zGO8

    VqbLnYcfnQFYBEsjVHicKHPdfHdIHNvaVlv9VUxVRhrBshrx8ey4CWDm

    bmk9djpXz6gWT9WSUexD0K1vbFmb5+hynEfj01OU3s3NzaC1yc2EA

    AAADAQABAAABAQDnf3dhLoBYuG6u+oRGs6EVASWsZPs4kD/7Uxh

    4+7Y+SS8k3Yt7sz5SaY5sqfIRgAb8I/PXpu8C264t vendorftp@sftp-p01

    ssh-rsa

    AAAAB3NzaC1yc2EAAAADAQABAAABAQDnf3dhuG65jUEDXXAy2zGO8

    VqbLnYcfnQFYBEsjVHicKHxpZNwUWAx3z/H0B8MbOZLjL8ey4OKCWDm

    bmk9djpXz6gWT9WSUexD0K1vbFmb5+hynEfj01OU3seDxpB3NzaC1yc2EA

    AAADAQABAAABAQDnf3dhLoBYuG6u+oRGs6EVASWf5NxMrsZPs4kD/7Uxh

    4+7Y+SS8k3Yt7sz5SaY5sqfIRgAoJINtZsfn0quNpu8C264t vendorftp@sftp-p02

     

    Thanks in advance!