Skip to content

Commit f000132

Browse files
committed
dist/deploy_key.enc: Add an encrypted SSH key for deployment via Travis
This uses Travis' support for encrypted files to add a passwordless RSA SSH key that can be used to perform various actions when new verisons are released. This is intended to support automatic updating of the Arch Linux repository. I thought about making the filename of the key specific to Arch (i.e., so that we'd make new keys for each deployment scenario), but it seems more reasonable and no less secure to just use one key. If a key gets compromised, you'd have to act as if they all were compromised anyway, I think.
1 parent 328213e commit f000132

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ matrix:
2020
- rust: nightly
2121

2222
before_install:
23+
- openssl aes-256-cbc -K $encrypted_bc40b17e21fa_key -iv $encrypted_bc40b17e21fa_iv
24+
-in dist/deploy_key.enc -out dist/deploy_key -d
2325
- brew update
2426

2527
install:

dist/deploy_key.enc

1.64 KB
Binary file not shown.

dist/deploy_key.pub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7wVMCqB1/4opOJ4vrN/t9FMc+J32XqeqaPft2iSajqB4vpUuPzA5TwFsWWbOr6kKfpy2tHD47VLnHqTFJI6GiDNvCWTHm6pigk3UwB2jucM7fNytRewbRs8NL4mv5licxgszw8nifp8wZTyHPmMIrguROwuR7/WGefX/baTMmS9P7ykO5mmta4fPN+cYaU53648zZLyeSK5LV7pmKwjjosvC0Z2RYxBAQxb9Rfd2lhYgmKaHE7bYlBbazMA2Gn+NLKBVTwn4H/s/e5tsKCB8dhMfRrvZzhFimJ/U6bOFS6dB+EfjdE3TMKZbgjiSDiqESm14lFGSqS0DnrsNOmwEN [email protected]

0 commit comments

Comments
 (0)