History log of /openbsd-src/usr.sbin/acme-client/json.c (Results 1 – 21 of 21)
Revision Date Author Comments
# 6736ff2b 14-Sep-2020 florian <florian@openbsd.org>

We need to be able to provide contact information to use the
buypass.com acme api.
From Bartosz Kuzma (bartosz.kuzma AT release11.com), thanks!
OK beck, deraadt


# ec77e55d 14-Sep-2020 florian <florian@openbsd.org>

Report what's wrong when account creation fails instead of a generic
http error.
OK beck


# 3f87ca5f 07-Jun-2020 florian <florian@openbsd.org>

whitespace


# 7f1c0488 07-Jun-2020 florian <florian@openbsd.org>

Swap arguments of calloc(3).
While it doesn't matter for calloc, it's easier on the eyes to always
list the number of elements first and then the size.
From Donovan Watteau ( contrib AT dwatteau.fr),

Swap arguments of calloc(3).
While it doesn't matter for calloc, it's easier on the eyes to always
list the number of elements first and then the size.
From Donovan Watteau ( contrib AT dwatteau.fr), Thanks!

show more ...


# 42c2cc51 10-May-2020 florian <florian@openbsd.org>

In case the order fails print the human readable reason from the
challenge objects that the server hopefully provides.
input & OK deraadt
OK beck, benno


# 1de67d34 22-Jan-2020 tedu <tedu@openbsd.org>

use the correct length to allocate the right amount, broken by previous.
noticed by Matthew Martin
ok deraadt


# ba08a668 22-Jan-2020 tedu <tedu@openbsd.org>

set array length after allocation succeeds so free path doesn't deref null.
ok deraadt


# fd36792f 18-Jun-2019 florian <florian@openbsd.org>

When the parser detects that it needs more tokens it returns
JSMN_ERROR_NOMEM.
We then need to allocate more tokens and call the parser with its
current state again. It will continue where it left of

When the parser detects that it needs more tokens it returns
JSMN_ERROR_NOMEM.
We then need to allocate more tokens and call the parser with its
current state again. It will continue where it left of.
For this to work we also need to pass in the old tokens from the
previous run and not just more space.

Found the hard way by Renaud Allard.
OK millert

show more ...


# 4f8b772f 17-Jun-2019 florian <florian@openbsd.org>

Implement elliptic curve account keys.
OK benno
Input & OK tb


# 7b00f4e9 07-Jun-2019 florian <florian@openbsd.org>

Implement RFC 8555 "Automatic Certificate Management Environment
(ACME)" to be able to talk to the v02 Let's Encrypt API.

With this acme-client(1) will no longer be able to talk to the v01
API. User

Implement RFC 8555 "Automatic Certificate Management Environment
(ACME)" to be able to talk to the v02 Let's Encrypt API.

With this acme-client(1) will no longer be able to talk to the v01
API. Users must change the api url in /etc/acme-client.conf to
https://acme-v02.api.letsencrypt.org/directory
Existing accounts (and certs of course) stay valid and after the url
change acme-client will be able to renew certs.

Tested by Renaud Allard and benno
Input & OK benno

show more ...


# 045b9945 31-Jan-2019 benno <benno@openbsd.org>

make struct chng.status a enum for readability.
ok florian@


# 0b28b247 27-Nov-2017 florian <florian@openbsd.org>

Deprecate agreement url config option and get the information from the
directory call. This way we don't need to update the acme-client.conf
file every time it changes. Still parse the option, ignore

Deprecate agreement url config option and get the information from the
directory call. This way we don't need to update the acme-client.conf
file every time it changes. Still parse the option, ignore and warn about
it for a release. Sysmerge should be able to handle the removal.
"nice" deraadt@
OK benno

show more ...


# 34335c11 24-Jan-2017 jsing <jsing@openbsd.org>

Make returns consistent and remove parentheses per style(9).

Transformed with coccinelle.

Requested by and ok tb@


# 4de82fa3 24-Jan-2017 deraadt <deraadt@openbsd.org>

Complete jsing's coccinelle cleanup... by hand
ok jsing


# 7cd8f039 24-Jan-2017 jsing <jsing@openbsd.org>

Replace comparisons between a constant or enum and an expression, with
a comparison between the expression and the constant or enum. This
significantly improves readability.

Transformed with coccine

Replace comparisons between a constant or enum and an expression, with
a comparison between the expression and the constant or enum. This
significantly improves readability.

Transformed with coccinelle.

Requested by deraadt@

show more ...


# cd15ff9a 13-Sep-2016 tedu <tedu@openbsd.org>

convert some ifs to switches. ok millert tb


# 55599e87 13-Sep-2016 deraadt <deraadt@openbsd.org>

A small amount more KNF to make this easier on our eyes. Not going further
than this.
ok florian


# a8699559 13-Sep-2016 deraadt <deraadt@openbsd.org>

Inconsistant use of case (value): idiom drives me nuts, I have no idea
what purpose it was intended to serve.


# 2ad748d6 01-Sep-2016 florian <florian@openbsd.org>

we don't have config.h


# 25f96a35 31-Aug-2016 benno <benno@openbsd.org>

whitespace


# de579d12 31-Aug-2016 florian <florian@openbsd.org>

Import Kristaps' letskencrypt and call it acme-client in tree.
OK to get it in deraadt@ (and probably beck@)

At least deraadt@, beck@ and otto@ are fine with the name and the
disagreements stopped.