[Slackbuilds-users] letsencrypt-4.0.0 requires josepy-2.0

fsLeg fsleg at t-rg.ws
Fri May 2 18:18:17 UTC 2025


Last night a script I recently wrote to renew my certificates finally 
triggered. But instead of renewed certificates I got this error for 
every domain:

```
Failed to renew certificate domain.tld with error: 
'cryptography.hazmat.bindings._rust.x509.Certificat' object has no 
attribute 'wrapped'
```

I looked through /var/log/letsencrypt.log and found that the culprit was 
josepy. Then I navigated to certbot's github and found out that since 
April 2 they require josepy-2.0. However, SBo has josepy-1.15.0. 
According to git log, there was an attempt to update josepy to version 
2.0.0 in February, however it was then reverted back to 1.15.0 in March. 
Reverse search showed that letsencrypt is the only package which 
requires josepy, so I think it's safe to update it now.

Can't really test it, though, since first I downgraded letsencrypt to 
3.3.0 to be able to renew my certificates, then started digging, so now 
there's nothing to renew anymore, and it seems that josepy is called 
then working with actual certificates.


More information about the SlackBuilds-users mailing list