[Rpm-maint] [rpm-software-management/rpm] Update sq cli to 1.x (Issue #3506)

Jakub Jelen notifications at github.com
Tue Jan 7 11:48:09 UTC 2025


**Describe the bug**
We will be updating sq to 1.x version in EL 10, which should provide more stable API. Current macros in 

https://github.com/rpm-software-management/rpm/blob/master/macros.in#L639

no longer work with 1.x, bu the following CLI should do:

```
sq sign --binary --signer-userid rpmsign  --signature-file %{shescape:%{2}} -- %{shescape:%{1}}
```
(among other CLI options used in the macro)

**To Reproduce**
Steps to reproduce the behavior:
1. Try to sign package with Sequoia
2. Errors encountered

Please link or attach the packages or spec files involved.

**Expected behavior**
Signature is created

**Output**
error like
```
error: unexpected argument '--signer-key' found

  tip: a similar argument exists: '--signer'
```

**Environment**
 - OS / Distribution: Fedora 40 with sq 1.0.0
 - Version: -

**Additional context**
Note, that there might be some more tweaks needed for sq 1.1.0, which is latest, but I hope not.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3506
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3506 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250107/027e3410/attachment.htm>


More information about the Rpm-maint mailing list