[java-metadata-aggregator] 01/02: MDA-297 - add a key generator

Ian Young ian at iay.org.uk
Fri Oct 20 18:57:59 UTC 2023


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch main
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=94177ae19bd4ae7e88fc5477a9bed701f9c7cfcb

commit 94177ae19bd4ae7e88fc5477a9bed701f9c7cfcb
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Oct 20 19:56:52 2023 +0100

    MDA-297 - add a key generator
    
    https://shibboleth.atlassian.net/browse/MDA-297
---
 doc/wiki/.gitignore                                 | 2 ++
 doc/wiki/make-keys.sh                               | 3 +++
 mda-distribution/src/main/assembly/assembly-tgz.xml | 2 ++
 mda-distribution/src/main/assembly/assembly-zip.xml | 2 ++
 4 files changed, 9 insertions(+)

diff --git a/doc/wiki/.gitignore b/doc/wiki/.gitignore
index 2616c9f..1ef0751 100644
--- a/doc/wiki/.gitignore
+++ b/doc/wiki/.gitignore
@@ -1,3 +1,5 @@
 .bash_history
+.rnd
+path/to/input/private-key.pem
 path/to/output/*
 !path/to/output/.gitkeep
diff --git a/doc/wiki/make-keys.sh b/doc/wiki/make-keys.sh
new file mode 100755
index 0000000..7de1008
--- /dev/null
+++ b/doc/wiki/make-keys.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/sh
+
+openssl genrsa >path/to/input/private-key.pem
diff --git a/mda-distribution/src/main/assembly/assembly-tgz.xml b/mda-distribution/src/main/assembly/assembly-tgz.xml
index 86f44d6..abc241c 100644
--- a/mda-distribution/src/main/assembly/assembly-tgz.xml
+++ b/mda-distribution/src/main/assembly/assembly-tgz.xml
@@ -50,6 +50,8 @@
                 <!-- Allow development within the documentation tree. -->
                 <exclude>**/.gitignore</exclude>
                 <exclude>**/.bash_history</exclude>
+                <!-- Don't ship private keys. -->
+                <exclude>wiki/path/to/input/private-key.pem</exclude>
                 <!-- Do not ship example OUTPUT files. -->
                 <exclude>wiki/path/to/output/*.json</exclude>
                 <exclude>wiki/path/to/output/*.xml</exclude>
diff --git a/mda-distribution/src/main/assembly/assembly-zip.xml b/mda-distribution/src/main/assembly/assembly-zip.xml
index e170639..599d804 100644
--- a/mda-distribution/src/main/assembly/assembly-zip.xml
+++ b/mda-distribution/src/main/assembly/assembly-zip.xml
@@ -50,6 +50,8 @@
                 <!-- Allow development within the documentation tree. -->
                 <exclude>**/.gitignore</exclude>
                 <exclude>**/.bash_history</exclude>
+                <!-- Don't ship private keys. -->
+                <exclude>wiki/path/to/input/private-key.pem</exclude>
                 <!-- Do not ship example OUTPUT files. -->
                 <exclude>wiki/path/to/output/*.json</exclude>
                 <exclude>wiki/path/to/output/*.xml</exclude>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list