Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
chore(build): include gpg keys in git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir authored and joshuawilson committed Mar 8, 2017
1 parent cbb8def commit e589bdb
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.builder
Expand Up @@ -2,6 +2,9 @@ FROM centos:7
MAINTAINER "Konrad Kleine <kkleine@redhat.com>"
ENV LANG=en_US.utf8

# load the gpg keys
COPY gpg /gpg
# gpg keys listed at https://github.com/nodejs/node
RUN set -ex \
&& for key in \
Expand All @@ -14,9 +17,7 @@ RUN set -ex \
B9AE9905FFD7803F25714661B63B535A4C206CA9 \
C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \
; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
gpg --import "/gpg/${key}.gpg" ; \
done

#ENV NPM_CONFIG_LOGLEVEL info
Expand Down
Binary file added gpg/0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93.gpg
Binary file not shown.
Binary file added gpg/71DCFD284A79C3B38668286BC97EC7A07EDE3FC1.gpg
Binary file not shown.
Binary file added gpg/94AE36675C464D64BAFA68DD7434390BDBE9B9C5.gpg
Binary file not shown.
Binary file added gpg/9554F04D7259F04124DE6B476D5A82AC7E37093B.gpg
Binary file not shown.
Binary file added gpg/B9AE9905FFD7803F25714661B63B535A4C206CA9.gpg
Binary file not shown.
Binary file added gpg/C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8.gpg
Binary file not shown.
Binary file added gpg/DD8F2338BAE7501E3DD5AC78C273792F7D83545D.gpg
Binary file not shown.
Binary file added gpg/FD3A5288F042B6850C66B31F09FE44734EB7990E.gpg
Binary file not shown.
18 changes: 18 additions & 0 deletions gpg/fetch_gpg_keys.sh
@@ -0,0 +1,18 @@
#!/bin/bash

# gpg keys listed at https://github.com/nodejs/node
for key in \
9554F04D7259F04124DE6B476D5A82AC7E37093B \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
B9AE9905FFD7803F25714661B63B535A4C206CA9 \
C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \
; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
gpg --export "$key" > $key.gpg;
done

0 comments on commit e589bdb

Please sign in to comment.