Skip to content

Comments from key files not properly respected - breaks based on file name #426

@numericOverflow

Description

@numericOverflow

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)

    • image
  • attach the id_repro1.key

  • attach the id_repro1.pub

    • image
  • allow keyagent to use the entry

  • Manage keyfiles, pick the id_repro1.key

    • image
  • Comment does not appear.

    • image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions