From e4ebfc95bba09ba373ada62f9d872ce1a8edba04 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Thu, 19 Mar 2015 12:05:49 -0400 Subject: [PATCH] endpoints.trigger: reminder to rm keys from config --- endpoints/trigger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoints/trigger.py b/endpoints/trigger.py index b75cc2952..257502d6b 100644 --- a/endpoints/trigger.py +++ b/endpoints/trigger.py @@ -520,6 +520,7 @@ class GitHubBuildTrigger(BuildTrigger): raise TriggerActivationException(msg) # Generate an SSH keypair and add the public key to the repository. + # TODO(jzelinskie): don't put this in the config! it's not secure! config['public_key'], config['private_key'] = generate_ssh_keypair() try: deploy_key = gh_repo.create_key('Quay.io Builder', config['public_key'])