Re: [pve-devel] [PATCH v2 acme] Fix EBA MAC key decoding

2024-01-29 Thread Folke Gleumes
On Thu, 2024-01-25 at 16:28 +0800, YU Jincheng wrote: > Accroding to RFC 8555: > > > The MAC key SHOULD be provided in base64url-encoded form... > > However, currently we are only decoding the MAC key as base64. > This patch chooses the correct function to decode the user provided > MAC key. This

[pve-devel] [PATCH v2 acme] Fix EBA MAC key decoding

2024-01-25 Thread YU Jincheng
Accroding to RFC 8555: > The MAC key SHOULD be provided in base64url-encoded form... However, currently we are only decoding the MAC key as base64. This patch chooses the correct function to decode the user provided MAC key. This can fix authentication error when a user uses command `pvenode acme