#1102387 irssi: Pinned pubkeys are permanent and cannot be removed

Package:
irssi
Source:
irssi
Description:
terminal based IRC client
Submitter:
Manny
Date:
2025-04-08 13:51:02 UTC
Severity:
normal
Tags:
#1102387#5
Date:
2025-04-08 13:48:51 UTC
From:
To:
A command like this was given:

  /server add -tls_cert ~/certs/oftc.pem -notls_verify -noauto -network toroftc
              -tls_pinned_pubkey 63:0F:19:BB:AF:61:5A:9F:B1:03:98:0A:70:4A:DA:E9:E6:C9:73:9E:1F:53:AD:DD:83:43:E4:E1:71:3A:50:B5
              127.0.0.1 16002

The public key that was supplied turned out to be unusable. So the
following was given to clear it:

  /server modify -tls_pinned_pubkey '' 127.0.0.1 16002

The command had no effect. This was also attempted:

  /server modify -notls_pinned_pubkey 127.0.0.1 16002

that resulted in an error. There is apparently no way to clear a
pinned key.

Workaround:

The config file must be opened in a text editor and the
tls_pinned_pubkey field must be located and removed manually.