mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-07 02:55:24 +00:00
4584aff32baff269324b347f541adf20044aec09
A credential that carries an SSH key can already hold a CA-signed certificate, but the only way to fill it in is the credentials editor. A plugin that issues certificates has no way to keep the credential in step, so after a renewal it keeps presenting the previous certificate and the connection fails much later with a generic authentication error. ctx.credentials.setSshKeyCertificate stores one on a key credential the acting user owns, or clears it with null. It needs credentials:write and the core credentials.update permission, refuses anything that is not a key credential because core never sends a certificate for the other auth types, and is audited like the other ctx.credentials writes. Co-authored-by: Stefan Wienert <stefan@piratopedia.de> Co-authored-by: LukeGus <bugattiguy527@gmail.com>
Description
Mirror of Termix (Apache-2.0) — parked for future Service Desk integration
107 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
94.6%
JavaScript
4.9%
CSS
0.2%
Shell
0.1%