[[!comment format=mdwn username="gueux" subject="comment 3" date="2015-09-12T14:41:33Z" content=""" I'm not sure for the other key types, it affects ed25519 private keys (but not public keys), and apparently not rsa keys... But I'm not sure what other properties (present or future) would be affected: that seems like an ugly hack :(. Why not just removing the chomping stuff from setPrivDataTo? Pasting a password, pressing , and then is obviously different from pasting a password and pressing . Maybe another solution would be to print a warning with this information (\"do not press \" before unless you want to have a newline in your privdata\")? """]]