I discovered a few hours ago that my key passphrase wasn't working. At first I thought I had simply forgotten it, but remembered that I type it in every time I send an e-mail (Enigmail in TB), so that is highly unlikely. However, I did have a system freeze earlier, and had to do a hard shutdown (blame ATI, enough said). My current guess is that in that process my secret key became corrupted. What I would like to know is, does anybody know a way to restore my ~/.gnupg directory to its status as of yesterday? My /home directory is on an ext3 filesystem on LVM, btw, so there should be a journal that can be played with, but I'm not sure how to manually mess with that. I saw some computer forensics tools in the repos, but have no idea how to use them. I have already tried doing a fsck, both the one automatically done on the boot after failure and a second with 'sudo touch /forcefsck' and a proper reboot.
If all else fails, I did create a .asc file prior, which I believe is what I need to revoke it if necessary. I would of course like to avoid this if at all possible, as I did have a small handful of full-trust signatures from a keysigning meetup that would likely be hard to redo. I'm on a bit of a schedule too, since I found out it wasn't working when I tried to build a package - rotten luck that.
Comments
Things to try: *) check for
Things to try:
*) check for lock files in the usual places (/tmp/, ~/.gnupg, etc)
*) check that the keys you think you're typing are the keys the computer thinks you're typing (i.e. caps lock, keyboard language settings, LOCALE, etc)
*) check the timestamp on your private key. this is _very_ rarely written and is unlike to have been damaged during a crash, unless it just happened to be on a sector that died.
cheers
stuart
Sounds like a possible
Sounds like a possible lockfile like i had before... I'll poke you on IRC and try and help you out.
The ext3 journal only stores
The ext3 journal only stores metadata, it doesn't actually contain any actual file contents. I'm not gonna rub salt in your wounds and lecture about backups, but unfortunately there's not many other options in this case.
Not sure if the isntructions
Not sure if the isntructions are usable for you, but if you did follow the setup instructions, or you can piece together the features based upon what you do have, ...
These are for OpenPGP, so...
http://wiki.openskills.net/OpenSkills/OpenPGP+Key+Backup
[...] Share This Share and
[...] Share This Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]