I have a new edge case for #369. That commit mostly solved the comment workaround but...
If you attach public & private key but don't follow the "standard" naming convention, the public key isn't matched and therefore won't lookup the comment.
Works:
id_repro1 & id_repro1.pub
Doesn't work:
-
id_repro1.key & id_repro1.pub
-
filename.xxx & filename.pub
-
filename.anything & filename.pub
Steps to reproduce:
Use the keypairs same files from the zip file attached to that issue
-
Rename id_repro1 to id_repro1.key (or anything other than the bare, extension-less, typical name for a private key file)
-
attach the id_repro1.key
-
attach the id_repro1.pub
-
allow keyagent to use the entry
-
Manage keyfiles, pick the id_repro1.key
-
Comment does not appear.