Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sequoia-sq to 1.0 for CLI switch stability #3523

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions macros.in
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,9 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
%__sq_sign_cmd() %{shescape:%{__sq}} \
sign \
%{?_sq_path:--homedir %{shescape:%{_sq_path}}} \
%{?_openpgp_sign_id:--signer-key %{_openpgp_sign_id}} \
%{?_openpgp_sign_id:--signer %{_openpgp_sign_id}} \
%{?_sq_sign_cmd_extra_args} \
--binary --detached --output %{shescape:%{2}} -- %{shescape:%{1}}
--binary --signature-file %{shescape:%{2}} -- %{shescape:%{1}}

%__openpgp_sign_cmd %{expand:%{__%{_openpgp_sign}_sign_cmd}}

Expand Down
4 changes: 3 additions & 1 deletion tests/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ RUN dnf -y install \
sequoia-sq \
libasan \
libubsan
# Incapacitate IMA, needed until #3234 lands in fedora
RUN rm -f /usr/lib/rpm/macros.d/macros.transaction_ima
# If updates to specific packages are needed, do it here
# RUN dnf --enablerepo=updates update ...
RUN dnf -y --enablerepo=updates install "sequoia-sq >= 1.0"
RUN dnf clean all

RUN echo "%_dbpath $(rpm --eval '%_dbpath')" > /root/.rpmmacros
Expand Down
2 changes: 1 addition & 1 deletion tests/rpmsigdig.at
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ runroot rpmkeys -Kv /data/RPMS/hello-2.0-1.x86_64-signed-with-new-subkey.rpm
[])

RPMTEST_CHECK([[
runroot_other sq --cert-store=/usr/lib/sysimage/rpm/pubkeys pki list --gossip 2>&1 | grep -e "^[[:xdigit:]]\{40\}"
runroot_other sq --cert-store=/usr/lib/sysimage/rpm/pubkeys cert list --gossip 2>&1 | grep -e "^ - [[:xdigit:]]\{40\}" | cut -c4-
]],
[0],
[771B18D3D7BAA28734333C424344591E1964C5FC
Expand Down