Files
mc/cmd
Andreas Auernhammer 3252573ed2 alias: fetch peer certificate when adding an alias (#4010)
This commit adds an extension to the `alias set`
command. When adding an alias fails due to a TLS
trust error - i.e. remote peer certificate verification
fails - `mc` fetches the remote peer certificate,
computes the public key fingerprint and asks the user
to confirm the fingerprint.

When the user confirms the fingerprint, the certificate
is added to the `CAs` directory.

This allows users to use a TOFU authentication with
self-signed certificates - similar to SSH.

Signed-off-by: Andreas Auernhammer <hi@aead.dev>
2022-03-16 10:00:25 -07:00
..
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:46:41 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2022-02-11 10:15:02 -08:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-09-28 09:19:52 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-29 09:30:33 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2022-02-03 09:39:15 -08:00
2021-05-11 17:45:08 -07:00
2021-05-29 09:30:33 -07:00
2021-05-29 09:30:33 -07:00
2022-01-03 23:56:55 -08:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-12-07 15:06:06 -08:00
2021-05-11 17:45:08 -07:00
2021-09-24 09:32:39 -07:00
2021-05-29 09:30:33 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-06-11 14:40:16 -07:00
2021-05-11 17:45:08 -07:00
2021-05-29 09:30:33 -07:00
2021-05-11 17:45:08 -07:00
2021-05-29 09:30:33 -07:00
2021-05-29 09:30:33 -07:00
2021-05-11 17:45:08 -07:00
2021-05-29 09:30:33 -07:00
2021-05-11 17:45:08 -07:00
2021-05-29 09:30:33 -07:00
2021-05-11 17:45:08 -07:00
2021-09-28 09:19:52 -07:00
2021-09-28 09:19:52 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00
2021-05-11 17:45:08 -07:00