Skip to content

Better detection of encrypted keys using new key format #1

@W1M0R

Description

@W1M0R

The ssh-agents script does not properly detect keys that are encrypted using more recent versions of OpenSSH, since the header of a private key no longer needs to specify encryption information. This means that ssh-add is executed for those encrypted keys, prompting for passwords.

References:

  1. https://security.stackexchange.com/a/129729/153547

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