Somehow I formatted the directory containing my secret key. But I still do have a sig file that was created using that key. Is it possible to somehow re-engineer the secret key from that? Or can I somehow sign another file using that one sig file?

  • I don't know of any system where you can format a directory; what is usual is a filesystem or (usually equivalent) a device/volume or partition. Depending on your OS, filesystem, device/etc, and exactly what you did, it is sometimes possible to recover at least some files at least partly after some kinds of format; you might want to purse that approach in an appropriate forum. Feb 19, 2017 at 13:07

1 Answer 1


Just imagine how much you could trust a signature if it would be possible that someone could create a mail signed by you just by having a mail which was originally signed by you. Therefore: while in theory it would be possible to correctly guess the private key it is impossible to do this in practice (i.e. will take way too long). And it would be very bad if this would be possible.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .