Commits
- Commit:
4c73b0e4524c9bb1be347c1197807e6297943147
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
d252d87ccdef3bf3619959f93601a9e74ffcc28f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include cmd.h only where it is really needed
- Commit:
6b6304293f8fd3ff967c28a82fa63bcb7240d46a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
guard against wprintw(window, "%.*s", 0, NULL)
even if textlen is zero, it still complains in syslog that the
string passed is NULL (which kind of makes sense actually.)
- Commit:
4655add68bea2925dae643694004d6a3ac73c5d8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add client-certificate-info
- 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:
12472189518006a105ca309e5443be98a646b8a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check explicitly for -1
- Commit:
609eaf39a9373e7f4e7e225a6a14c0819fa7271f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix certs_file_tmp path
- Commit:
6541a7edcfd86f4c6c9e46f1d101c3fb9e81756f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
edd3a6b9e2a5999ac270b930363d705bb1d51371
- From:
- Omar Polo <op@omarpolo.com>
- Date:
load all the certs in ~/.telescope/certs
- Commit:
64b6a4519290e0406fc9140c25418363cfc9bf4e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename the cert mapping file to certs.conf
- 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:
d2734f084af031fafd9d269c6f91b70460772e68
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move fs_init() closer to config_init()
- Commit:
0ec5e323572bb5548370a1cbc339457205871ce6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix dst buffer size; no-op in practice