What causes “Neither PUB key nor PRIV key:: nested asn1 error” when building a public key in ruby?
I’ve got the same problem and it had a different cause. Now guess what 🙂 … The damn password was wrong 🙁 Searched 3 days for that “solution”. Could have been a “Sorry dude, that’s the wrong password!” instead of “nested asn1 error” imho but anyways, maybe this will help somebody.