diff options
author | RJ Skerry-Ryan <rryan@mixxx.org> | 2020-07-19 22:34:53 -0700 |
---|---|---|
committer | RJ Skerry-Ryan <rryan@mixxx.org> | 2020-07-20 11:26:37 -0700 |
commit | 9226812ccb63d6d65aae5a25013d8647c3d6863d (patch) | |
tree | 3fd1b0299526e8d065ba36dcebf546b695274866 /build/certificates | |
parent | 4669ad2bdffe610acbcb2f41c996ab19c003458a (diff) |
Deploy dmg and deb files built on Travis to downloads.mixxx.org.
Adds an RSA key that is authorized to login to
downloads-hostgator.mixxx.org. This key is encrypted with a password which is
provided as a Travis secure variable.
Diffstat (limited to 'build/certificates')
-rw-r--r-- | build/certificates/README.md | 20 | ||||
-rw-r--r-- | build/certificates/downloads-hostgator.mixxx.org.key | 54 | ||||
-rw-r--r-- | build/certificates/downloads-hostgator.mixxx.org.key.pub | 1 |
3 files changed, 75 insertions, 0 deletions
diff --git a/build/certificates/README.md b/build/certificates/README.md new file mode 100644 index 0000000000..7e171873c7 --- /dev/null +++ b/build/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 +``` diff --git a/build/certificates/downloads-hostgator.mixxx.org.key b/build/certificates/downloads-hostgator.mixxx.org.key new file mode 100644 index 0000000000..5bc5cc8f05 --- /dev/null +++ b/build/certificates/downloads-hostgator.mixxx.org.key @@ -0,0 +1,54 @@ +-----BEGIN RSA PRIVATE KEY----- +Proc-Type: 4,ENCRYPTED +DEK-Info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ATE KEY----- diff --git a/build/certificates/downloads-hostgator.mixxx.org.key.pub b/build/certificates/downloads-hostgator.mixxx.org.key.pub new file mode 100644 index 0000000000..4f47da8738 --- /dev/null +++ b/build/certificates/downloads-hostgator.mixxx.org.key.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDP1q+/ayZvi1NCqVZBmajI1TP2qAO1H5pNLx80z/qfNkFMWspgrT3//xaItMfhyIjAycQfDBYOatxFCNST5y12Pjm8H1SF74dHLIVhBdAGfb7JtOt4vAqxeJp7E7T3gn7ZmcNCJnnVPnX0Wl4NRNvS/sE7Q5a/UUNOJGWyvKfrfvuvp91J+XQqhB6shUkmGmchL5ISHbq1i6EbH3ZyRqmPQSAROJ9yyQIVBuCuSisgl3teOnqDxibFP8yMOJhysw3VA8U29ERP8gtvSjcTfDJXeiMM6y6Ty4SrYJe3KUU2OQI3u4W31KREUGj9zH9SBcfh/EvUjw/bw/OSgKxsCaJIeH8bOnFz037ipgGCTbYcdvhEKIJRFqy0/kjm7hf4rWITNJ9Wvkn83MAhvEeOVPoV6cajQZd/0r54Fg8/6/mhp7J5yBBNjKNRYDW5wDpYPjwRvxVEIYS5QD1wwUHmRF1qy1YiAJK37YmoWr4Fd8fWNF5g+ozhCacaxIMcWjKneStwCsjxIG4mTBEnJAIt6mFptoX0ewA8ozgw7POBNLSW469LiGDZOf9GTBL6YsGyaV2WzWjSIFYn2dqL+TfSaKNqDBFoHLJ2SZ+Utp5a63NCaLAY5TbGUbzAMmq8j4qrJa1wu6y7GUKiYs5BByik+j9szW0/i28FkQjnZYMPtTSJ/w== mixxx@downloads-hostgator.mixxx.org |