Skip to content

Commit a628b6b

Browse files
authored
* Pebble 2.9+ reports another error when terms of service agreement is not set. (#419)
Treating all "userActionRequired" errors as permanent now.
1 parent 63a40d1 commit a628b6b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* Pebble 2.9+ reports another error when terms of service agreement is not set.
2+
Treating all "userActionRequired" errors as permanent now.
3+
14
v2.6.8
25
----------------------------------------------------------------------------------------------------
36
* Fix the ARI related `replaces` property in ACME order creation to only

src/md_acme.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ struct acme_problem_status_t {
4949
};
5050

5151
static acme_problem_status_t Problems[] = {
52+
{ "acme:error:agreementRequired", APR_EGENERAL, 1 },
5253
{ "acme:error:badCSR", APR_EINVAL, 1 },
5354
{ "acme:error:badNonce", APR_EAGAIN, 0 },
5455
{ "acme:error:badSignatureAlgorithm", APR_EINVAL, 1 },
@@ -61,7 +62,7 @@ static acme_problem_status_t Problems[] = {
6162
{ "acme:error:serverInternal", APR_EGENERAL, 0 },
6263
{ "acme:error:unauthorized", APR_EACCES, 0 },
6364
{ "acme:error:unsupportedIdentifier", APR_BADARG, 1 },
64-
{ "acme:error:userActionRequired", APR_EAGAIN, 0 },
65+
{ "acme:error:userActionRequired", APR_EGENERAL, 1 },
6566
{ "acme:error:badRevocationReason", APR_EINVAL, 1 },
6667
{ "acme:error:caa", APR_EGENERAL, 0 },
6768
{ "acme:error:dns", APR_EGENERAL, 0 },

0 commit comments

Comments
 (0)