summaryrefslogtreecommitdiffstats
path: root/packaging/certificates/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/certificates/README.md')
-rw-r--r--packaging/certificates/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/packaging/certificates/README.md b/packaging/certificates/README.md
new file mode 100644
index 0000000000..7e171873c7
--- /dev/null
+++ b/packaging/certificates/README.md
@@ -0,0 +1,20 @@
+
+# Key Rotation
+
+# downloads-hostgator.mixxx.org
+
+SSH access is granted via an RSA key stored in `build/certificates/downloads-hostgator.mixxx.org.key`.
+
+To rotate this key, generate a new RSA key with a strong password (e.g. 32 character randomly generated).
+
+```
+ssh-keygen -t rsa -b 4096 -f downloads-hostgator.mixxx.org.key
+```
+
+Copy the **public** key to `$HOME/.ssh/authorized_keys`, replacing the old file to remove access for the current key.
+
+Encrypt the password using `travis encrypt` and update `.travis.yml`.
+
+```
+travis encrypt DOWNLOADS_HOSTGATOR_DOT_MIXXX_DOT_ORG_KEY_PASSWORD=hunter2 -r mixxxdj/mixxx
+```