Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | t/cert-extensions: Fix tr(1) range syntax. | Guilhem Moulin | 2024-06-13 | 1 |
| | ||||
* | t/cert-install: Ensure the subjectName is lowercase. | Guilhem Moulin | 2024-06-13 | 1 |
| | | | | | | | | | Domain names are case insensitive so it shouldn't matter, but Let's Encrypt (staging) ACME server fails with 400 Bad Request (Invalid identifiers requested :: Cannot issue for "YXJCTT7S6K2RQLVO.lacme-test.guilhem.org": Domain name contains an invalid character) if the sub-domain part of the subjectName is left all-caps. | |||
* | test: Fix test name in error messages. | Guilhem Moulin | 2023-04-26 | 1 |
| | ||||
* | tests/account-encrypted-*: Set TERM="linux". | Guilhem Moulin | 2023-04-26 | 2 |
| | ||||
* | Prepare new release v0.8.2.v0.8.2 | Guilhem Moulin | 2023-04-25 | 4 |
| | ||||
* | tests: Point stretch's archive URL to archive.d.o. | Guilhem Moulin | 2023-04-25 | 1 |
| | | | | See https://lists.debian.org/msgid-search/87tty79lwo.fsf@43-1.org . | |||
* | client: Handle "ready" → "processing" → "valid" status change during ↵ | Guilhem Moulin | 2023-04-25 | 1 |
| | | | | | | | | | | | | | | | newOrder. Instead of just "ready" → "valid", which may be what we observe when the server is fast enough, but according to RFC 8555 sec. 7.1.6 the state actually transitions via "processing" state and we need to account for that. It appears Let's Encrypt staging environment now has different timing conditions and lacme is unable to request certificates due to this issue. Thanks to Alexander Borkowski for the report! | |||
* | Prepare new release v0.8.1.v0.8.1 | Guilhem Moulin | 2023-01-25 | 4 |
| | ||||
* | Adjust test suite against current Let's Encrypt staging environment. | Guilhem Moulin | 2023-01-25 | 7 |
| | ||||
* | Replace '$(dir $@)' with '$(@D)' in Makefile. | Guilhem Moulin | 2023-01-25 | 2 |
| | ||||
* | lacme: pass a temporary JSON file with the client configuration to the ↵ | Guilhem Moulin | 2021-02-25 | 4 |
| | | | | | | | | | internal client. So it doesn't have to parse the INI file again. Also, while lacme.conf is world-readable by default, one might restrict permissions and add private information in there, not realizing that everything, including comments, will be readable by the client. | |||
* | lacme: split certificates using Net::SSLeay::PEM_* instead of calling openssl. | Guilhem Moulin | 2021-02-25 | 2 |
| | ||||
* | lacme: improve install_cert()'s handling of temporary files. | Guilhem Moulin | 2021-02-24 | 1 |
| | ||||
* | lacme: Return an error when the 'mode'/'chown' isn't a number. | Guilhem Moulin | 2021-02-24 | 2 |
| | | | | oct("foobar") is 0, definitely not what we want. | |||
* | lacme: Add 'owner' resp. 'mode' as (prefered) alias for 'chown' resp. 'chmod'. | Guilhem Moulin | 2021-02-24 | 5 |
| | ||||
* | lacme: Default mode for certificate(-chain) creation is 0644 minus umask ↵ | Guilhem Moulin | 2021-02-24 | 5 |
| | | | | | | | | restrictions. Also, always spawn the client with umask 0022 so a starting lacme(8) with a restrictive umask doesn't impede serving challenge response files. | |||
* | lacme: Don't write certificate(-chain) file on chown/chmod failure. | Guilhem Moulin | 2021-02-24 | 3 |
| | | | | | | | | | Otherwise we end up with files with mode 0644 owned by root:root, and subsequent lacme(8) invocations will likely not renew them for a while. This change also saves a chown(2) call. And the new logic (chown resp. chmod from root:root resp. 0600) is safe if we ever include private key material in there too. | |||
* | If restricting access via umask() fails, don't include errno in the error ↵ | Guilhem Moulin | 2021-02-24 | 3 |
| | | | | | | | message. errno is not set on umask failure, see https://perldoc.perl.org/functions/umask. | |||
* | lacme: Ignore empty values in 'chown'/'chmod'/'certificate'/'certificate-chain'. | Guilhem Moulin | 2021-02-24 | 2 |
| | ||||
* | tests/cert-install: Include tests for failing chown(2). | Guilhem Moulin | 2021-02-24 | 2 |
| | | | | Due to unknown user/group name. | |||
* | tab damage | Guilhem Moulin | 2021-02-24 | 1 |
| | ||||
* | typofix | Guilhem Moulin | 2021-02-24 | 1 |
| | ||||
* | tests/drop-privileges: Ensure failure to drop privileges yields an error. | Guilhem Moulin | 2021-02-24 | 2 |
| | | | | And doesn't retain root privileges. | |||
* | lacme: When getpwnam()/getgrnam()'s errno is 0, exclude it from error messages. | Guilhem Moulin | 2021-02-24 | 2 |
| | ||||
* | lacme-accountd: Refactor logging logic. | Guilhem Moulin | 2021-02-23 | 2 |
| | ||||
* | lacme-accountd: don't log debug messages unless --debug is set. | Guilhem Moulin | 2021-02-23 | 2 |
| | ||||
* | Consolidate error messages. | Guilhem Moulin | 2021-02-23 | 2 |
| | ||||
* | lacme-accountd: panic() upon internal error of the signing routine. | Guilhem Moulin | 2021-02-22 | 1 |
| | | | | It might croak and we want to log that error also. | |||
* | test suite: Avoid setting twice the ACME API server URL. | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | test: Allow prefixing test names with 'tests/'. | Guilhem Moulin | 2021-02-22 | 1 |
| | | | | It's handy to be able to run `./test tests/accountd*` or similar. | |||
* | lacme-accountd: Refuse to sign JWS with an invalid Protected Header. | Guilhem Moulin | 2021-02-22 | 3 |
| | | | | | | | | | | | “The JWS Protected Header is a JSON object” — RFC 7515 sec. 2. “The JWS Protected Header MUST include the following fields: - "alg" - "nonce" - "url" - either "jwk" or "kid"” — RFC 8555 sec. 6.2. | |||
* | lacme-account: Improve log messages. | Guilhem Moulin | 2021-02-22 | 5 |
| | | | | Again… | |||
* | accountd::conn(): Minor refactoring. | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | In lacme's the [accountd] config, let lacme-accountd(1) do the %-expansion ↵ | Guilhem Moulin | 2021-02-22 | 3 |
| | | | | | | | | for 'config'. This matches the arguably expected behavior that ‘config = %h/foo’ is passed as ‘--config=%h/foo’ and resolved by lacme-accountd(1) (possibly remote and with another passwd database). | |||
* | Prepare new release v0.8.0.v0.8.0 | Guilhem Moulin | 2021-02-22 | 4 |
| | ||||
* | tests: Check presence of extra greeting data. | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | Fix `./test --deb`. | Guilhem Moulin | 2021-02-22 | 3 |
| | | | | The staging environment wasn't set properly for the Debian packages. | |||
* | Print error messages only once. | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | space damage | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | client: Print Terms of Service URL for 'account' command. | Guilhem Moulin | 2021-02-22 | 2 |
| | ||||
* | logfile: treat empty values as unset. | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | Add 'logfile' to lacme-account.conf. | Guilhem Moulin | 2021-02-22 | 1 |
| | ||||
* | lacme-accountd(1): new setting 'keyid'. | Guilhem Moulin | 2021-02-22 | 6 |
| | | | | | This saves a round trip and provides a safeguard against malicious clients. | |||
* | accountd: Improve log message for incoming requests. | Guilhem Moulin | 2021-02-21 | 3 |
| | ||||
* | accountd: Pass JWA and JWK thumbprint via extended greeting data. | Guilhem Moulin | 2021-02-21 | 3 |
| | | | | | | | | | | | | | | | Passing the JWA to the ACME client is required if we want to support account keys other than RSA. As of 0.7 both lacme-accountd(1) and lacme(8) hardcode “RS256” (SHA256withRSA per RFC 7518 sec. A.1). Passing the JWK thumbprint is handy as it gives more flexibility if RFC 8555 sec. 8.1 were to be updated with another digest algorithm (it's currently hardcoded to SHA-256). A single lacme-account(1) instance might be used to sign requests from many clients, and it's easier to upgrade a single ‘lacme-accountd’ than many ‘lacme’. Moreover, in some restricted environments lacme-accountd might hide the JWK from the client to prevent ‘newAccount’ requests (such as contact updates); passing its thumbprint is enough for ‘newOrder’ requests. | |||
* | Add IPC tests with an old lacme(8) resp. lacme-accountd(1). | Guilhem Moulin | 2021-02-21 | 2 |
| | ||||
* | wording | Guilhem Moulin | 2021-02-21 | 5 |
| | ||||
* | wording | Guilhem Moulin | 2021-02-21 | 2 |
| | ||||
* | accountd: Fix prototype. | Guilhem Moulin | 2021-02-21 | 1 |
| | ||||
* | test suite: Don't try to show stderr if it's empty. | Guilhem Moulin | 2021-02-21 | 1 |
| |