Correctly consume the `nistp256` identifier when parsing p256 keys

Robin_Jadoul
May 15, 2023, 4:50 PM
LLGVFVFCZMGNQCOQ5SPR5W7TG4ZB432ET6YJRWXNJL2CCUVAH6RAC

Dependencies

  • [2] UHAEQPZU Support ecdsa-sha2-nistp256 keys for authentication
  • [*] 7FRJYUI6 Reboot because of a bad change

Change contents

  • edit in thrussh-keys/src/key.rs at line 579
    [2.8731]
    [2.8731]
    if pos.read_string()? != b"nistp256" {
    return Err(Error::CouldNotReadKey);
    }