Commit 7d28a44
committed
Encrypt the private SSH key as a Travis secure environment variable
This is to demonstrate that this doesn't actually work. See
#349 (comment). The private
key is too large to be encrypted with the Travis public key.
Instead we have to do what we are currently doing. Create a symmetric
encryption key to encrypt the actual SSH key, and then encrypt that symmetric
key into the secure environment variable (and save the encrypted SSH private
key to a file).1 parent 6b30470 commit 7d28a44
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
514 | 516 | | |
515 | 517 | | |
516 | | - | |
| 518 | + | |
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
| |||
565 | 567 | | |
566 | 568 | | |
567 | 569 | | |
568 | | - | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
0 commit comments