- 09 Nov, 2021 1 commit
-
-
Vincent Pelletier authored
-
- 20 Oct, 2021 1 commit
-
-
Vincent Pelletier authored
-
- 15 Feb, 2021 1 commit
-
-
Vincent Pelletier authored
Emit Certificate Revocation Lists signed by all valid CAs. Apparently openssl (or at least how it is used in stunnel4) fails to validate a certificate when CRL validation is enabled and the key which signed the CRL differs from the key which signed the certificate. Also, add Authority Key Identifier CRL extension, required to be standard- compliant. Also, fix revocation entry expiration: the RFC requires them to be kept at least one renewal cycle after the certificate's expiration. As a consequence of this whole change: - the protocol for retrieving the curren CRL changes to return the concatenated list of CRLs, which breaks the CRL distribution (...but the distributed CRLs were invalid anyway) - stop storing the CRL PEM in caucased's database so that it gets re-generated with fresh code. As caucased is not expected to be restarted very often, the extra CRL generation on every start should not make a difference.
-
- 12 Feb, 2021 7 commits
-
-
Vincent Pelletier authored
So it can be reused elsewhere.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, some word-wrapping.
-
Vincent Pelletier authored
Makes the code easier to read.
-
Vincent Pelletier authored
-
- 02 Feb, 2021 2 commits
-
-
Vincent Pelletier authored
Tests are supposed to help spot errors, and caucased access traces help with this too.
-
Vincent Pelletier authored
So that stdout may be more reliably used for scripting.
-
- 25 Nov, 2020 2 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 27 Jun, 2020 1 commit
-
-
Vincent Pelletier authored
-
- 26 Jun, 2020 2 commits
-
-
Vincent Pelletier authored
Not all programs support having multiple CA certificates per file, so add support for creating and maintaining certificate directories containing a single certificate each.
-
Vincent Pelletier authored
Reference machine: Raspberry Pi 1 B+. caucased can take around 40s to start (CA generation, ...).
-
- 25 Jun, 2020 4 commits
-
-
Vincent Pelletier authored
So caucase.sh gets some regular exercise.
-
Vincent Pelletier authored
Avoid repeating function name in these.
-
Vincent Pelletier authored
Get an auto-issued user certificate and use it to exercise an authenticated action.
-
Vincent Pelletier authored
Should have been part of: commit 17325dc0 Author: Vincent Pelletier <plr.vincent@gmail.com> Date: Sat Jul 14 18:40:41 2018 +0900 all: Make caucased https certificate independent from CAS. Also, remove CURL, PUT and PUTNoOut aliases. They are replaced with private function with a naming consistent with the rest of this script.
-
- 24 Jun, 2020 5 commits
-
-
Vincent Pelletier authored
Is no value is provided to a return statement, the status of the last command ran is returned, making "$?" superfluous.
-
Vincent Pelletier authored
If there is no return statement, shell functions return the status of the last command they ran. So "return $?" as last function statement is superfluous.
-
Vincent Pelletier authored
Simplify code a bit. Change directory when starting caucased, so all files are stored inside test's temporary directory (and not just the database). Tolerate caucased not immediately starting. Fix CA presence tests (well this is embarrassing). List test directory content when failing, as it will get deleted shortly after.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
In shell/caucase.sh line 1134: trap "kill \"$caucased_pid\"; wait; rm -rf \"$tmp_dir\"" EXIT ^-----------^ SC2064: Use single quotes, otherwise this expands now rather than when signalled. ^------^ SC2064: Use single quotes, otherwise this expands now rather than when signalled. These variables are local, so immediate expantion is expected.
-
- 06 May, 2020 2 commits
-
-
Kirill Smelkov authored
Rerun with updated nxd-relicense. This actually changes license text in every file. Before: W: caucase/__init__.py: cannot find license start W: caucase/_version.py: no copyright W: caucase/ca.py: cannot find license start W: caucase/cli.py: cannot find license start W: caucase/client.py: cannot find license start W: caucase/exceptions.py: cannot find license start W: caucase/http.py: cannot find license start W: caucase/http_wsgibase.py: cannot find license start W: caucase/storage.py: cannot find license start W: caucase/test.py: cannot find license start W: caucase/utils.py: cannot find license start W: caucase/version.py: cannot find license start W: caucase/wsgi.py: cannot find license start W: setup.py: cannot find license start W: shell/caucase.sh: cannot find license start W: versioneer.py: no copyright After: W: caucase/_version.py: no copyright W: versioneer.py: no copyright
-
Vincent Pelletier authored
Add FOSS licence exception. Fix copyright holder name.
-
- 03 Jan, 2019 7 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Reduces backslash-doubling crazyness.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 13 Dec, 2018 2 commits
-
-
Vincent Pelletier authored
More consistent with address extraction.
-
Vincent Pelletier authored
-
- 12 Jul, 2018 3 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, remove irrelevant key usage extension, as during certificate renewal the extensions of the existing certificate are used, not the ones of the certificate signing request.
-
Vincent Pelletier authored
Found by shellcheck.
-