Wolfgang Bumiller
d07e4fdb9a
Option<Vec<>> -> Vec<>
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 10:13:46 +01:00
Folke Gleumes
53416e358f
add meta fields returned by the directory
...
According to the rfc, the meta field contains additional fields that
weren't covered by the Meta struct. Of the additional fields, only
external_account_required will be used in the near future, but others
were added for completeness and the case that they might be used in the
future.
Signed-off-by: Folke Gleumes <f.gleumes@proxmox.com>
2023-12-04 09:37:42 +01:00
Folke Gleumes
88f7e190ec
add external account binding
...
Functionality was added as a additional setter function, which hopefully
prevents any breakages. Since a placeholder Option an the AccountData
was already present, but has never been used, replacing the field with
an Option of a fully defined type should also be minimally intrusive.
Signed-off-by: Folke Gleumes <f.gleumes@proxmox.com>
2023-12-04 09:37:41 +01:00
Wolfgang Bumiller
7e6aa2733a
replace deprecated X509Extension::new_nid
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-03 13:45:10 +02:00
Fabian Grünbichler
ac1f71eddb
update d/control
...
after debcargo update
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-05 15:07:21 +01:00
Wolfgang Bumiller
ff3fcebda7
jws: allocate exact capacity
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-08-17 09:07:41 +02:00
Wolfgang Bumiller
e499b084c8
replace deprecated 'affine_coordinates_gfp' call
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-08-17 09:03:27 +02:00
Wolfgang Bumiller
65f05daf7e
doc fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-02 14:13:19 +01:00
Wolfgang Bumiller
4cab29c57a
make upload: drop buster
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-01 11:10:00 +01:00
Wolfgang Bumiller
abc0bdd09d
bump version to 0.4.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-01 10:26:20 +01:00
Wolfgang Bumiller
fe6294cd3a
bump edition to 2021
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-01 10:18:32 +01:00
Wolfgang Bumiller
7622380dd7
switch from curl to ureq
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-01 10:18:23 +01:00
Fabian Grünbichler
fb547f5935
bump version to 0.3.2
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-18 12:56:16 +01:00
Fabian Grünbichler
cbc90fe9fc
bump base64 dep to 0.13
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-18 12:48:40 +01:00
Wolfgang Bumiller
06f5106145
bump version to 0.3.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-18 09:50:03 +01:00
Wolfgang Bumiller
467d567545
clippy and formatting fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-18 09:46:01 +01:00
Stoiko Ivanov
ba2da9d125
client: add support for proxies
...
by storing the proxy url as string in the struct and setting it on
each invocation of `execute`, since execute calls reset on the
curl::easy::Easy object.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-18 09:40:31 +01:00
Wolfgang Bumiller
cb89d97df1
bump version to 0.3.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-21 13:14:10 +02:00
Dominik Csapak
4c5d899c3a
directory: make meta object optional
...
some custom ACME endpoints do not have a TOS, and thus do not return
a meta property at all
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-21 13:09:42 +02:00
Fabian Grünbichler
f28a85da5e
build: upload to buster and bullseye
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-06-11 14:00:55 +02:00
Wolfgang Bumiller
ee7fe8f93c
bump version to 0.2.2-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 13:54:36 +02:00
Wolfgang Bumiller
a145553557
finish client documentation
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 12:26:56 +02:00
Wolfgang Bumiller
5f4b571450
add Client::directory_url helper
...
allows to drop a `mut` requirement in pmg-rs without having
to store the URL twice
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 12:21:17 +02:00
Wolfgang Bumiller
1d1f80f5ca
and another *new* clippy fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 11:50:54 +02:00
Wolfgang Bumiller
f406e6fb34
formatting fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 11:49:26 +02:00
Wolfgang Bumiller
9538126247
clippy fixes
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 11:47:56 +02:00
Wolfgang Bumiller
dbabed6842
derive Copy for the simple status enums
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 11:47:45 +02:00
Wolfgang Bumiller
2dfc6a74bb
mark Error as must_use
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-07 11:39:04 +02:00
Wolfgang Bumiller
0ef3c33538
doc fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-05 11:21:16 +02:00
Wolfgang Bumiller
5f0ba96810
finish docs and #[deny(missing_docs)] at the top level
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-05 11:16:13 +02:00
Wolfgang Bumiller
357c0614cf
even more documentation
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-04 11:21:30 +02:00
Wolfgang Bumiller
7bd0bfe1b2
more documentation
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-04 11:20:11 +02:00
Wolfgang Bumiller
47af324d94
Some documentation
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-04 11:04:17 +02:00
Wolfgang Bumiller
7c67886e1f
add top level doc
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-05-04 09:11:18 +02:00
Wolfgang Bumiller
a6ff69404b
bump version to 0.2.1-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-04-14 14:57:46 +02:00
Wolfgang Bumiller
558f51a167
make revocation workflow accessible without client
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-04-14 14:56:40 +02:00
Wolfgang Bumiller
b624fa1f3c
bump version to 0.2.0-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-04-12 15:31:53 +02:00
Wolfgang Bumiller
a947050ec1
add util::Csr for CSR generation
...
This is essentially taken from pmg-rs and should be used
from there.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-04-12 14:54:21 +02:00
Wolfgang Bumiller
37b4c4f654
add is_valid to all Status enums
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-04-12 13:38:10 +02:00
Wolfgang Bumiller
5a70f0c392
add is_pending to all Status enums
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-04-12 13:32:40 +02:00
Wolfgang Bumiller
afc59f6d15
add more of the ACME workflow to 'Account'
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-18 11:36:42 +01:00
Wolfgang Bumiller
02ecbb499c
bump version to 0.1.4-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-17 15:28:55 +01:00
Wolfgang Bumiller
5aee14ac00
collect extra account fields in AccountData
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-17 15:20:50 +01:00
Wolfgang Bumiller
d369de8636
bump version to 0.1.3-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-17 13:35:49 +01:00
Wolfgang Bumiller
937a99a2e1
fix ec signature padding
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-17 13:32:57 +01:00
Wolfgang Bumiller
549b52cf68
don't serialize 'null' for 'expires' when ordering
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-17 12:24:21 +01:00
Wolfgang Bumiller
15fae62c15
bump version to 0.1.2-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-12 15:43:40 +01:00
Wolfgang Bumiller
ca0f57290f
explicitly pass Content-Length header
...
pebble refuses to cooperate without it
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-10 12:01:00 +01:00
Wolfgang Bumiller
c9f137a093
bump version to 0.1.1-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-09 13:23:27 +01:00
Wolfgang Bumiller
cbfeb58ce4
make AccountData fields public
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-09 13:22:52 +01:00