Compare commits

..

9 Commits

Author SHA1 Message Date
kfox1111 fd7bd2f7e1
Merge pull request #131 from kfox1111/step-ssh-bump2
Bump spiffe-step-ssh version
2025-08-06 07:41:30 -07:00
Kevin Fox ec90c36ce3 Bump spiffe-step-ssh version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-08-06 07:02:25 -07:00
kfox1111 a57571e7d8
Merge pull request #130 from kfox1111/step-ssh-bump
Bump spiffe-step-ssh
2025-08-03 18:19:53 -07:00
Kevin Fox 4277230675 Bump spiffe-step-ssh
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-08-03 18:11:41 -07:00
kfox1111 9aa0582f42
Merge pull request #129 from kfox1111/ssh-server
Update spiffe-step-ssh
2025-08-03 17:42:15 -07:00
Kevin Fox ece44a9a95 Fix var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-08-03 17:34:09 -07:00
Kevin Fox c5eb29696f Fix var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-08-03 17:28:59 -07:00
Kevin Fox 95649a5cb0 Add missing dep
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-08-03 17:21:55 -07:00
Kevin Fox 7673bc5852 Update spiffe-step-ssh
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-08-03 17:08:09 -07:00
2 changed files with 27 additions and 2 deletions

View File

@ -1,7 +1,9 @@
ARG STEPVER="0.28.2"
ARG STEPCAVER="0.28.4"
FROM docker.io/library/almalinux:9 AS rpm-builder
ARG STEPVER
ARG STEPCAVER
WORKDIR /tmp
@ -49,10 +51,12 @@ RUN --mount=type=secret,id=gpg \
RUN \
dnf localinstall -y https://github.com/smallstep/cli/releases/download/v${STEPVER}/step-cli-${STEPVER}-1.$(uname -i).rpm && \
dnf localinstall -y https://github.com/smallstep/certificates/releases/download/v${STEPCAVER}/step-ca-${STEPCAVER}-1.$(uname -i).rpm && \
dnf localinstall -y /root/rpmbuild/RPMS/*/*.rpm
FROM docker.io/library/ubuntu:latest AS deb-builder
ARG STEPVER
ARG STEPCAVER
COPY --from=rpm-builder /root/rpmbuild/RPMS /root/rpmbuild/RPMS
@ -69,7 +73,9 @@ RUN \
RUN \
curl -L -o step-cli.deb https://github.com/smallstep/cli/releases/download/v${STEPVER}/step-cli_${STEPVER}-1_$(dpkg --print-architecture).deb && \
curl -L -o step-ca.deb https://github.com/smallstep/certificates/releases/download/v${STEPCAVER}/step-ca_${STEPCAVER}-1_$(dpkg --print-architecture).deb && \
apt-get install -y ./step-cli.deb && \
apt-get install -y ./step-ca.deb && \
apt-get install -y /root/debbuild/*/*.deb
FROM docker.io/library/nginx:latest

View File

@ -21,8 +21,8 @@
Summary: SPIFFE Step SSH
Name: spiffe-step-ssh
Version: 0.0.6
Release: 2
Version: 0.0.9
Release: 1
Group: Applications/Internet
License: Apache-2.0
URL: https://spiffe.io
@ -35,6 +35,13 @@ Requires: spiffe-helper
%description
SPIFFE Step SSH
%package -n spiffe-step-ssh-server
Summary: SPIFFE Step SSH Server
Requires: step-ca
Requires: spiffe-helper
%description -n spiffe-step-ssh-server
SPIFFE Step SSH Server
%global _missing_build_ids_terminate_build 0
%global debug_package %{nil}
@ -47,6 +54,7 @@ SPIFFE Step SSH
%install
cd spiffe-step-ssh-%{version}
make install DESTDIR="%{buildroot}"
make install-server DESTDIR="%{buildroot}"
%clean
rm -rf %{buildroot}
@ -57,3 +65,14 @@ rm -rf %{buildroot}
/usr/lib/systemd/system/spiffe-step-ssh@.service
/usr/lib/systemd/system/spiffe-step-ssh-cleanup.service
%config(noreplace) /etc/spiffe/step-ssh
%files -n spiffe-step-ssh-server
/usr/lib/systemd/system/spiffe-step-ssh-server@.service
/usr/lib/systemd/system/spiffe-step-ssh-fetchca@.service
/usr/libexec/spiffe/step-ssh-server/main
/usr/libexec/spiffe/step-ssh-server/ssh_x5c.tpl
/usr/libexec/spiffe/step-ssh-server/nginx-fetchca.conf
/usr/libexec/spiffe/step-ssh-server/helper-fetchca.conf
/usr/sbin/setup-spiffe-step-ssh-server
/usr/sbin/spiffe-step-ssh-get-cert-authority
%config(noreplace) /etc/spiffe/step-ssh-server