Commits
- Commit:
2815e3a0bd30fa577f03de5af1a60086ee286e4a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typos; courtesy of codespell
- Commit:
f0e62b859a56026db832e80814a11b27f6a7332f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
draft of telescope-identity(1)
This is intended to generate and manage certificates outside of
telescope. Some operations are already available in the telescope
UI, such as use and forget a certificate for a specific page, but
generate and removal are hard at the moment to implement inside
telescope limited UI, so provide an helper program for that.
- Commit:
a09bdf2b3cd4f7f82a5faa13dc791d73bbafc234
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework a bit the certificate handling
Two stores are not a good idea to handle all the edge-cases since
telescope supports certificates (or absence of these) per-session.
- Commit:
71bc16365736f1cc3212d46f3947806c1e33867b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add client_cert_temp flag to the struct tab
This way we can improve unload-certificate prompt. While here,
move the cert handling in make_request().
- Commit:
e15b9d4ea0230fd52d19bff289c19fcabd8a9a24
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix cert_delete_for w/ the temp_store
- Commit:
4fdc9933599cda6387d6c15f757faf4dda1bbd0a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add unload-certificate to stop using a certificate
- 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:
edd3a6b9e2a5999ac270b930363d705bb1d51371
- From:
- Omar Polo <op@omarpolo.com>
- Date:
load all the certs in ~/.telescope/certs
- Commit:
c60ec51d0a6cf6349f4f437d0c865860981b2069
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify cert sorting
No need to overly-optimize this: since mergesort() is not standard
and can fail, just use qsort().
- Commit:
fc63839cd43f440da32bbccd9c24d96f1776a406
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use something better to decide if a path is under another
- 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.