-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update protonmail/crypto (#680)
* feat: update protonmail/crypto Signed-off-by: Carlos Alexandro Becker <[email protected]> * chore: update Signed-off-by: Carlos Alexandro Becker <[email protected]> * fix: actually run the centos tests Signed-off-by: Carlos Alexandro Becker <[email protected]> * chore: improve test ordering Signed-off-by: Carlos Alexandro Becker <[email protected]> * fix: signing rpms Signed-off-by: Carlos Alexandro Becker <[email protected]> * feat: rpm.signature.format Signed-off-by: Carlos Alexandro Becker <[email protected]> * test: improvements * Revert "feat: rpm.signature.format" This reverts commit 9c46a58. * fix: revert unneeded changes Signed-off-by: Carlos Alexandro Becker <[email protected]> * fix: use my fork Signed-off-by: Carlos Alexandro Becker <[email protected]> * revert: some unneeded changes * test: fix order * chore: finally fixed Signed-off-by: Carlos Alexandro Becker <[email protected]> --------- Signed-off-by: Carlos Alexandro Becker <[email protected]>
- Loading branch information
Showing
12 changed files
with
104 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM fedora:38 AS test_base | ||
RUN yum install -y createrepo yum-utils | ||
ARG package | ||
RUN echo "${package}" | ||
COPY ${package} /tmp/foo.rpm | ||
|
||
FROM test_base AS signed | ||
COPY keys/pubkey.asc /tmp/pubkey.asc | ||
RUN rpm --import /tmp/pubkey.asc | ||
RUN rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' | ||
RUN rpm -vK /tmp/foo.rpm | ||
RUN rpm -vK /tmp/foo.rpm | grep "RSA/SHA256 Signature, key ID 15bd80b3: OK" | ||
RUN rpm -K /tmp/foo.rpm | ||
RUN rpm -K /tmp/foo.rpm | grep -E "(?:pgp|digests signatures) OK" | ||
|
||
RUN rm -rf /etc/yum.repos.d/*.repo | ||
COPY keys/test.rpm.repo /etc/yum.repos.d/test.rpm.repo | ||
RUN createrepo /tmp | ||
RUN yum install -y foo | ||
|