Commits
- Commit:
5a39f5931f4b5be1d57d75c7f25cff8adae5f235
- From:
- Omar Polo <op@omarpolo.com>
- Date:
load and optionally remember client certificates
This adds use-certificate, a user function to start using a certificate
or switch to a different one. It asks whether to persist the
certificate, if not it will only be used for the current session.
use-certificate is implicitly called when the server replies with
a 6x status code.
- Commit:
d35e18b31b0e05c6178a6bfa891dd2e2dadf3db1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
first draft of client certificate support
At the moment telescope loads a mapping host:port/path -> certificate
from a file and always uses it, no ways to change it, use a temporary
one, generate a new one, etc are provided yet.
The format of ~/.telescope/certs/certs is
host port path certificate file name
where the certificate file name is the name of a file inside
~/.telescope/certs.
~/.telescope/certs/ is ~/.local/share/telescope/ when using XDG.
- Commit:
7d2a2ace4dcbea184a9363adac6ecb9731ada286
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add certs.[ch]
adapted from gmid. we'll soon use it to provide client certificates
support in telescope.