[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging rfc3161-client



The

On 8/26/25 2:50 PM, Simon Josefsson wrote:
Folks,

Is there someone who like to help on the rfc3161-client package, which
involves both Rust and Python?  Starting point is here:

https://salsa.debian.org/python-team/packages/python-rfc3161-client

Build failure here:
https://salsa.debian.org/python-team/packages/python-rfc3161-client/-/jobs/8106868

I haven't had time to look into the pointers given earlier, I am hoping
this is easy to solve for anyone familiar with Rust & Python packaging.

It seems the problem is the following in your Cargo.toml:

[workspace.dependencies]
asn1 = "0.21.3"
cryptography-x509 = { git = "https://github.com/pyca/cryptography.git";, tag = "45.0.4" }
hex = "0.4"

https://salsa.debian.org/python-team/packages/python-rfc3161-client/-/blob/52d6e962cf9f9b77e34579df0dfa96b8e7e80778/Cargo.toml#L11

This is attempting a `git clone` of https://github.com/pyca/cryptography.git, which is not allowed.

The python library is packaged in Debian as python3-cryptography, but the `cryptography-x509` crate isn't published to crates.io by the github.com/pyca team. Doing this would make things easier for us.

cheers,
kpcyrd


Reply to: