Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Rep:
The revocation certificate in gpg
I am running Fedora Core5. I want a new pair of keys in gpg.
I created a new pair of keys. It worked fine. I saved the the keys on to a USB module. I just copied the entire 'gnupg' folder on to a USB module.
I want to save the revocation certificate.
The following is my revocation certificate which I saved as a file using the 'gedit' program.
--------------------------------
iGkEIBECACkFAkZUOIciHQBJIHdhbnQgdGhlIHJldm9jYXRpb2 4gY2VydGlmaWN0
ZQAKCRD9LhUma+4aBqWoAJ9QFGq/ViLXqpGF+ZmYBhdNk3CeDACeLnuXiOBMssGw
m6cCMzcwHttKS1Y=
=z71u
------------------------------------
I am not sure about how to copy the revocation certificate. I can just copy the above on to the USB module.
Is that enough?
I just want to copy the revocation certificate on to the USB module. Please advice me.
Should it be a 'txt' file?
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
Quote:
I just want to copy the revocation certificate on to the USB module.
Please advice me.
Should it be a 'txt' file?
The .txt suffix is OK, but I recommend .asc suffix. In a perfect world your revocation certification should be stored in a different place other than your private key location and accessible only to you when you really need it. And now that you've publicly shown your revocation certificate you'd be well advised to generate a new key.
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
Quote:
How do I save a file as .asc one?
It is possible to save as a .txt one using the notepad.
Oh, using Windows?
I'm a command line junkie so after you save the file.txt, use DOS to change the suffix.
Start -> Run
Enter cmd
Click OK
Code:
C:\Documents and Settings\%username%>
cd Directory_where_file.txt_lives
dir
file.txt
rename file.txt file.asc
dir
file.asc
exit
You could also do this from within the Windows Explorer by unchecking "Hide extensions for known file types" in Folder Options..., then rename the file with the different suffix.
And in Notepad, Save As..., click pull-down Save as type:, set to All Files, then in File name block put the filename.suffix (file.asc), click Save.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
I am not sure about the way of doing this.
I can send this file to a Windows computer. This is a very small file so I can send as an attached file. Do you mean in Windows one could change to the .asc ?
I can't run Windows on this computer. I am running Fedora Core5.
I gave the name 'Revocation22.txt' at the beginning.
Now it is 'Revocation22.asc'
I just looked at the properties of this file. It says a plain text file. I am not sure whether it has converted to an '.asc' file.
Please tell me.
There is a 'File Browser' on your system. You can look at the nature of your files using the 'File Browser'.
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
Quote:
I just looked at the properties of this file. It says a plain text file.
I am not sure whether it has converted to an '.asc' file.
Please tell me.
When you generate a revocation using the example I provided with either output of file.txt or file.asc, the file contents are the same. The .asc suffix means ASCII armored text (i.e. Clear Text). Using the .asc suffix helps .asc aware application software how to handle the file.
This article has good information about what ASCII armored text is and what it's used for: http://www.desktoplinux.com/articles/AT3341468184.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.