This question already has an answer here:

Maybe the answer to this question is a simple and unequivocal "No", followed by "How can you possibly think that this is possible?". And if I think about it rationally this seems to be the only answer. But programming and math have taught me that a lot of things one intuitively judges as impossible or pointless may have a surprising answer. So here comes one of those questions.

Is it possible to convert a gpg RSA key to an ECC key? Or, to generalize, is it possible to switch between different cryptography algorithms for one and the same key such that one retains the key's functionality; signing and encrypting etc. If so how does this work and if not, why not?

marked as duplicate by Jens Erat, RoraΖ, Eric G, ThoriumBR, M'vy Apr 22 '15 at 8:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from unix.stackexchange.com Apr 21 '15 at 9:32

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems.


No, not really. You can't switch because ECC and RSA are totally different algorithms that use totally different keys. The best you can do is generate a new ECC subkey which will be signed by your old RSA master key, then you can use that subkey for signing and/or encryption.

Not the answer you're looking for? Browse other questions tagged or ask your own question.