Bug 12425 - Package Dehydrated needs update
Summary: Package Dehydrated needs update
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all Unspecified
: - Unknown - Minor Usability
Assignee: Adolf Belka
QA Contact:
URL: https://community.ipfire.org/t/deyhdr...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-05 08:21 UTC by Michael
Modified: 2021-03-08 17:41 UTC (History)
3 users (show)

See Also:


Attachments
Dehydrated version currently working (68.15 KB, application/x-shellscript)
2020-06-05 11:25 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2020-06-05 08:21:48 UTC
Hi,

while registerning or applying for a LE certificate with dehydrated, I’m getting this error:

    {
    “type”: “urn:ietf:params:acme:error:malformed”,
    “detail”: “Malformed account ID in KeyID header URL: “https://acme-staging-v02.api.letsencrypt.org/acme/acct/””,
    “status”: 400
    }

It seems to be an issue with the current v2 API of Let’s Encrypt and more specific with Dehydrated, see https://github.com/dehydrated-io/dehydrated/issues/650 2

This means that the package Dehydrated probably needs an update.

IPFire package is on version 0.6.5, on git it still reads 0.6.5, but obviously a patch for this issue has been checked in. I compared the script in /usr/bin/dehydrated with the code in git , at least I tried to do so, and noticed a difference. Maybe the author did not change the version string in git/code?

To test further, I’ve downloaded the current script from github and rerun the cert generation which finished OK afterwards.

Thanks,
Michael
Comment 1 Michael Tremer 2020-06-05 10:24:53 UTC
Can you confirm that patching the release version with only this patch solves the problem?

> https://github.com/dehydrated-io/dehydrated/commit/be13dcd454d6f56c4345f819658e31ecc30c358c
Comment 2 Michael 2020-06-05 11:25:46 UTC
Created attachment 764 [details]
Dehydrated version currently working

I noticed this URL already, but could not merge the diff with IPFire's version of Dehydrated because of limited knowledge how to do.

So, I've downloaded the complete script file from Github.

I've attached the file I've downloaded and which I can confirm to have been properly working while applying fo a certificate.

Michael
Comment 3 Michael Tremer 2020-06-05 11:40:03 UTC
(In reply to Michael from comment #2)
> So, I've downloaded the complete script file from Github.

Yes I know. But it is probably not a very good idea to ship all sorts of experimental changes from upstream.

> I've attached the file I've downloaded and which I can confirm to have been
> properly working while applying fo a certificate.

That was not the question.

You can download the patch file, and then patch it as follows:

> wget -O fix https://github.com/dehydrated-io/dehydrated/commit/be13dcd454d6f56c4345f819658e31ecc30c358c.patch
> patch -i fix /usr/bin/dehydrated
Comment 4 Adolf Belka 2020-12-21 11:30:19 UTC
dehydrated package has been updated from 0.6.5 to 0.7.0 and a patch for this update has been submitted to the development list.

https://patchwork.ipfire.org/patch/3735/

This update includes the changes that were in the interim patch mentioned above.
Comment 7 Adolf Belka 2021-03-08 17:41:23 UTC
Patch has been released with Core Update 154