diff --git a/Cargo.toml b/Cargo.toml index 8b1ccf6..3f2e7c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Library for requesting certificates from an ACME provider (acme-l license = "MIT" repository = "https://github.com/kpcyrd/acme-micro" readme = "README.md" -version = "0.12.0" +version = "0.12.0+frk.1" authors = [ "Martin Algesten ", "kpcyrd ", @@ -13,6 +13,8 @@ keywords = ["letsencrypt", "acme"] categories = ["web-programming", "api-bindings"] edition = "2018" +publish = ["elleci"] + [dependencies] anyhow = "1.0" base64 = "0.13" diff --git a/src/api.rs b/src/api.rs index d23b74d..827e603 100644 --- a/src/api.rs +++ b/src/api.rs @@ -45,7 +45,7 @@ pub struct ApiProblem { impl ApiProblem { pub fn is_bad_nonce(&self) -> bool { - self._type == "badNonce" + self._type == "urn:ietf:params:acme:error:badNonce" } pub fn is_jwt_verification_error(&self) -> bool { (self._type == "urn:acme:error:malformed"