Endpoint Encryption

 View Only
Expand all | Collapse all

Renaming the public key file - Is there any issue for decrypt?.

  • 1.  Renaming the public key file - Is there any issue for decrypt?.

    Posted Oct 31, 2016 12:58 PM

    Hi,

    We create a service that will automatically import public key file from the specified public key name (lets say file name should be ClientPublicKey.asc file). After import the key from the specified public key file(ClientPublicKey.asc), encryption will start.

    Client would have send the public key in any file name(AnyFileName.asc). I would have renamed client’s public key file name to a specified file name(i.e. Renaming file from "AnyFileName.asc" to "ClientPublickey.asc" file) so that the service will identify and automatically import that public key to the system for encryption.

    My question is that, if I would have rename the file to my specified file name (rename from "AnyFileName.asc" to "ClientPublickey.asc" file) then will the client decrypt the .pgp file without any issue?. Is rename and import public key file(.asc) would create any issue for client to decrypt the file?. I just want to clarify this.

     

    Thanks,

    Ash

     



  • 2.  RE: Renaming the public key file - Is there any issue for decrypt?.

    Posted Nov 07, 2016 06:12 PM

    1.) The name of the ASC file is not important. ( When you import the key, several important fields will match the key to the right user... E-mail address, as well as KEYID are important fields that are contained in the key file. )

    2.) Public key is not used for decrypting. It is used for encrypting mostly. (also used for verifying signatures) 

    3.) If you exported the whole keypair (Public and Private) you could use that for decrypting. Again, here the filename is not important, and all functions will work even if the ASC file is renamed.

     

    Hope that helps. Let me know if you need any further clarification on the subject.

     

    Best Regards,

    Phil