{"action":"created","comment":{"url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/comments/58421810","id":58421810,"diff_hunk":"@@ -39,133 +39,256 @@ HELP_MSG=\"\"\"\n -h | --help (This help message)\n \"\"\"\n \n-for i in \"$@\"\n-do\n-case $i in\n+FORCE_OVERWRITE=false\n+for arg in \"$@\"; do\n+  case $arg in\n     -i=*|--control_ip=*)\n-    CONTROL_IP=\"${i#*=}\"\n-    shift # past argument=value\n-    ;;\n-    -d=*|--control_dns=*)\n-    CONTROL_DNS=\"${i#*=}\"\n-    shift # past argument=value\n-    ;;\n+      CONTROL_IP=\"${arg#*=}\"\n+      shift\n+      ;;\n+    -d=*|--control_fqdn=*)\n+      CONTROL_FQDN=\"${arg#*=}\"\n+      shift\n+      ;;\n     -c=*|--cluster_name=*)\n-    CLUSTER_NAME=\"${i#*=}\"\n-    shift # past argument=value\n-    ;;\n+      CLUSTER_NAME=\"${arg#*=}\"\n+      shift\n+      ;;\n     -f=*|--openssl_file=*)\n-    OPENSSL_FILE=\"${i#*=}\"\n-    shift # past argument with no value\n-    ;;\n+      OPENSSL_FILE=\"${arg#*=}\"\n+      shift\n+      ;;\n     -n=*|--nodes=*)\n-    NODES=\"${i#*=}\"\n-    shift # past argument with no value\n-    ;;\n+      NODES=\"${arg#*=}\"\n+      shift\n+      ;;\n+    -o=*|--output-dir=*)\n+      OUTPUT_DIR=\"${arg#*=}\"\n+      shift\n+      ;;\n+    --force)\n+      FORCE_OVERWRITE=true\n+      shift\n+      ;;\n+    -k=*|--key_size=*)\n+      KEY_SIZE=\"${arg#*=}\"\n+      shift\n+      ;;\n     -h|--help)\n-    echo -e $HELP_MSG && exit 0;\n-    shift # past argument with no value\n-    ;;\n+      echo \"${HELP_MSG}\" && exit 0;\n+      shift\n+      ;;\n     *)\n-            # unknown option\n-    ;;\n-esac\n+      # unknown option\n+      ;;\n+  esac\n done\n-# Config: The user must pass variables based on their cluster setup:\n-# or receive defaults\n-control_service_dns=${CONTROL_DNS:=\"\"}\n+\n+control_service_fqdn=${CONTROL_FQDN:=\"\"}\n control_service_ip=${CONTROL_IP:=\"\"}\n+key_size=${KEY_SIZE:=\"4096\"}\n \n-# fill in the nodes to generate certs for the nodes\n-# pass as a list of nodes\n-# Example:  --nodes=node1,node2,node3...\n-# maybe we want the ability to passa json/yaml/csv to this?\n-[ -z \"$NODES\" ] && echo \"Must provide nodes\" && exit 1;\n-[ -z \"${NODES// }\" ]  && echo \"Must provide at least one node\" && exit 1;\n-node_count=0\n-for n in $NODES\n-do\n-#echo \"$node_count:$n\"\n-nodes[$node_count]=$n\n-((node_count++))\n-done\n+# Sanity checks\n+if [ -z \"$NODES\" ] || [ -z \"${NODES// }\" ]; then\n+  echo \"No nodes provided! Exiting!\"\n+  echo \"${HELP_MSG}\"\n+  exit 1\n+fi\n+\n+if [ -z \"$CLUSTER_NAME\" ] || [ -z \"${CLUSTER_NAME// }\" ]; then\n+  echo \"No cluster name provided! Exiting!\"\n+  echo \"${HELP_MSG}\"\n+  exit 1\n+fi\n \n-# cluster name should be unique for each cluster you have\n-cluster_name=${CLUSTER_NAME:=\"mycluster\"}\n+# Split nodes into discrete values\n+IFS=\",\"\n+declare -a nodes\n+for node in $NODES; do\n+  nodes+=( $node )\n+done\n+unset IFS\n \n-# this is the path to\n-openssl_cnf_path=${OPENSSL_FILE:=\"./openssl.cnf\"}\n+cluster_name=${CLUSTER_NAME}\n+openssl_cnf_path=${OPENSSL_FILE:=\"openssl.cnf\"}\n \n-################################################################################\n # set the CERT_HOST_ID environment variable early on since its used in\n-# openssl.cnf. Use DNS first if its there.\n-if [ $control_service_dns != \"\" ]; then\n-    export CERT_HOST_ID=DNS:control-service,DNS:$control_service_dns\n-    control_host=$control_service_dns\n-elif [ $control_service_ip != \"\" ]; then\n-    export CERT_HOST_ID=DNS:control-service,IP:$control_service_ip\n-    control_host=$control_service_ip\n+# openssl.cnf. Use FQDN first if its there.\n+if [ \"$control_service_fqdn\" != \"\" ]; then\n+  export CERT_HOST_ID=DNS:control-service,DNS:$control_service_fqdn\n+  control_host=$control_service_fqdn\n+elif [ \"$control_service_ip\" != \"\" ]; then\n+  export CERT_HOST_ID=DNS:control-service,IP:$control_service_ip\n+  control_host=$control_service_ip\n else\n-    echo \"Need Control IP or Control DNS\" && exit 1;\n+  echo \"ERROR! No control service FQDN or IP provided! Exiting!\"\n+  echo \"${HELP_MSG}\"\n+  exit 1\n fi\n \n-# ----------------------------------------\n-# generate the CA:\n-# ----------------------------------------\n+echo \"Cleaning up old CA dirs\"\n+rm -rf ssl\n+\n+echo \"Create needed CA fs layout\"\n+mkdir -p ssl/csr\n+mkdir -p ssl/newcerts\n+\n+touch ssl/index.txt\n+echo '1000' > ssl/serial\n+echo 'unique_subject = no' > ssl/index.txt.attr\n+\n+generate_key(){\n+  # generate_key <output_path>\n+  local output_path=\"${1}\"\n+\n+  echo -n \"- Generating key $output_path\"\n+  openssl genrsa -out \"$output_path\" $key_size &>/dev/null\n+  echo \" [OK]\"\n+}\n+\n+generate_csr() {\n+  # generate_csr <key_path> <subject> <output_path>\n+  local key_path=\"${1}\"\n+  local subject=\"${2}\"\n+  local output_path=\"${3}\"\n+\n+  # Sanity check\n+  if [ $# -lt 3 ]; then\n+    echo \"ERROR! generate_csr not properly invoked! Exiting!\"\n+    exit 1\n+  fi\n+\n+  echo -n \"- Creating csr for $key_path\"\n+  openssl req -config \"$openssl_cnf_path\" \\\n+              -key \"$key_path\" \\\n+              -new \\\n+              -days 7300 \\\n+              -sha256 \\\n+              -subj \"$subject\" \\\n+              -out \"$output_path\" &>/dev/null\n+  echo \" ($output_path) [OK]\"\n+}\n+\n+sign_csr() {\n+  # sign_csr <csr_path> <ca_keypair> <output_path> [<extension>]\n+\n+  # Sanity check\n+  if [ $# -lt 3 ]; then\n+    echo \"ERROR! sign_csr not properly invoked! Exiting!\"\n+    exit 1\n+  fi\n+\n+  local csr_path=\"${1}\"\n+  local ca_key=\"${2}.key\"\n+  local ca_crt=\"${2}.crt\"\n+  local output_path=\"${3}\"\n+\n+  local extensions=\"\"\n+  if [ $# -gt 3 ] && [ ! -z \"${4}\" ]; then\n+    extensions=\"-extensions ${4}\"\n+  fi\n+\n+  openssl ca -batch \\\n+             -config \"$openssl_cnf_path\" \\\n+             -keyfile \"$ca_key\" \\\n+             -cert \"$ca_crt\" \\\n+             -days 7300 \\\n+             -notext \\\n+             -md sha256 \\\n+             $extensions \\\n+             -in \"$csr_path\" \\\n+             -out \"$output_path\"\n+}\n+\n+generate_and_sign_cert() {\n+  # generate_and_sign_cert <keypair_path> <subject> <ca_keypair> [<extensions>]\n+\n+  # Sanity check\n+  if [ $# -lt 3 ]; then\n+    echo \"ERROR! generate_and_sign_cert not properly invoked! Exiting!\"\n+    exit 1\n+  fi\n+\n+  local key_path=\"${1}.key\"\n+  local crt_output=\"${1}.crt\"\n+  local subject=\"${2}\"\n+  local ca_keypair=\"${3}\"\n+  local extensions=\"${4}\"\n+\n+  local temp_csr_path=$(mktemp -q \"$(basename $0).XXXXX.tmp\")\n+\n+  generate_key \"$key_path\"\n+  generate_csr \"$key_path\" \"$subject\" \"$temp_csr_path\"\n+  sign_csr \"$temp_csr_path\" \\\n+         \"$ca_keypair\" \\\n+         \"$crt_output\" \\\n+         \"$extensions\"\n+\n+  rm -f \"$temp_csr_path\"\n+}\n+\n cluster_uuid=$(uuidgen)\n-cluster_key_path=cluster.key\n-cluster_crt_path=cluster.crt\n-subject=\"/CN=$cluster_name/OU=$cluster_uuid\"\n-openssl genrsa -out $cluster_key_path 4096\n-openssl req -batch -config $openssl_cnf_path -key $cluster_key_path -new -x509 -days 7300 -sha256 -extensions v3_ca -subj \"$subject\" -out $cluster_crt_path\n-\n-# ----------------------------------------\n-# generate the control cert and keypair\n-# ----------------------------------------\n-# these end up getting copied to the nodes as control-service.(key|crt)\n-# but we'll create them like the docs tell us to...\n-control_key_path=control-$control_host.key\n-control_csr_path=csr/control-$control_host.csr\n-control_crt_path=control-$control_host.crt\n-subject=\"/CN=control-service/OU=$cluster_uuid\"\n-# key\n-openssl genrsa -out $control_key_path 4096\n-# cert request\n-#openssl req -config $openssl_cnf_path -key $control_key_path -new -days 7300 -sha256 -subj \"$subject\" -out $control_csr_path\n-openssl req -config $openssl_cnf_path -key $control_key_path -new -days 7300 -sha256 -subj \"$subject\" -extensions control_service_extension -out $control_csr_path\n-# cert\n-#openssl ca -batch -config $openssl_cnf_path -keyfile $cluster_key_path -cert $cluster_crt_path -days 7300 -notext -md sha256 -extfile $host_extension_path -in $control_csr_path -subj \"$subject\" -out $control_crt_path\n-openssl ca -batch -config $openssl_cnf_path -keyfile $cluster_key_path -cert $cluster_crt_path -days 7300 -notext -md sha256 -extensions control_service_extension -in $control_csr_path -subj \"$subject\" -out $control_crt_path\n-\n-#----------------------------------------\n-# Generate the node cert and keypair\n-#----------------------------------------\n-# you will need to do this for each node in your cluster\n+\n+# If we want an output path and its relative, we need to root it in our\n+# invocation directory and not where we are right now\n+if [ ! -z \"$OUTPUT_DIR\" ] && [ ! \"${OUTPUT_DIR:0:1}\" = \"/\" ]; then\n+  OUTPUT_DIR=\"$CURRENT_DIR/$OUTPUT_DIR\"\n+fi\n+\n+output_dir=${OUTPUT_DIR:=\"$CURRENT_DIR/clusters/$cluster_name\"}\n+echo \"Output directory is $output_dir\"\n+\n+if [ -d $output_dir ]; then\n+  if [ \"$FORCE_OVERWRITE\" == \"true\" ]; then\n+    echo \"Forcefuly removing old data from old cluster\"\n+    rm -rf \"$output_dir\"\n+  else\n+    echo \"ERROR! Cluster already created and '--force' not specified! Exiting!\"","path":"generate_flocker_certs.sh","position":350,"original_position":350,"commit_id":"f5c3031ad9547ba8df60b1b39f1ac66f9573ec72","original_commit_id":"f5c3031ad9547ba8df60b1b39f1ac66f9573ec72","user":{"login":"wallnerryan","id":1072151,"avatar_url":"https://avatars.githubusercontent.com/u/1072151?v=3","gravatar_id":"","url":"https://api.github.com/users/wallnerryan","html_url":"https://github.com/wallnerryan","followers_url":"https://api.github.com/users/wallnerryan/followers","following_url":"https://api.github.com/users/wallnerryan/following{/other_user}","gists_url":"https://api.github.com/users/wallnerryan/gists{/gist_id}","starred_url":"https://api.github.com/users/wallnerryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallnerryan/subscriptions","organizations_url":"https://api.github.com/users/wallnerryan/orgs","repos_url":"https://api.github.com/users/wallnerryan/repos","events_url":"https://api.github.com/users/wallnerryan/events{/privacy}","received_events_url":"https://api.github.com/users/wallnerryan/received_events","type":"User","site_admin":false},"body":"thanks, this is nice.","created_at":"2016-04-04T18:17:58Z","updated_at":"2016-04-04T18:17:58Z","html_url":"https://github.com/wallnerryan/flockeropenssl/pull/1#discussion_r58421810","pull_request_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/comments/58421810"},"html":{"href":"https://github.com/wallnerryan/flockeropenssl/pull/1#discussion_r58421810"},"pull_request":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1","id":64825242,"html_url":"https://github.com/wallnerryan/flockeropenssl/pull/1","diff_url":"https://github.com/wallnerryan/flockeropenssl/pull/1.diff","patch_url":"https://github.com/wallnerryan/flockeropenssl/pull/1.patch","issue_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues/1","number":1,"state":"open","locked":false,"title":"Various improvements to flockeropenssl scripts","user":{"login":"sgnn7","id":175811,"avatar_url":"https://avatars.githubusercontent.com/u/175811?v=3","gravatar_id":"","url":"https://api.github.com/users/sgnn7","html_url":"https://github.com/sgnn7","followers_url":"https://api.github.com/users/sgnn7/followers","following_url":"https://api.github.com/users/sgnn7/following{/other_user}","gists_url":"https://api.github.com/users/sgnn7/gists{/gist_id}","starred_url":"https://api.github.com/users/sgnn7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgnn7/subscriptions","organizations_url":"https://api.github.com/users/sgnn7/orgs","repos_url":"https://api.github.com/users/sgnn7/repos","events_url":"https://api.github.com/users/sgnn7/events{/privacy}","received_events_url":"https://api.github.com/users/sgnn7/received_events","type":"User","site_admin":false},"body":"https://phabricator.endlessm.com/T11072","created_at":"2016-03-31T17:10:35Z","updated_at":"2016-04-04T18:17:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30e5a6b304d1a3c54645f1b91cc819713bb99358","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1/commits","review_comments_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1/comments","review_comment_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues/1/comments","statuses_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/statuses/f5c3031ad9547ba8df60b1b39f1ac66f9573ec72","head":{"label":"endlessm:various_improvements","ref":"various_improvements","sha":"f5c3031ad9547ba8df60b1b39f1ac66f9573ec72","user":{"login":"endlessm","id":1930958,"avatar_url":"https://avatars.githubusercontent.com/u/1930958?v=3","gravatar_id":"","url":"https://api.github.com/users/endlessm","html_url":"https://github.com/endlessm","followers_url":"https://api.github.com/users/endlessm/followers","following_url":"https://api.github.com/users/endlessm/following{/other_user}","gists_url":"https://api.github.com/users/endlessm/gists{/gist_id}","starred_url":"https://api.github.com/users/endlessm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endlessm/subscriptions","organizations_url":"https://api.github.com/users/endlessm/orgs","repos_url":"https://api.github.com/users/endlessm/repos","events_url":"https://api.github.com/users/endlessm/events{/privacy}","received_events_url":"https://api.github.com/users/endlessm/received_events","type":"Organization","site_admin":false},"repo":{"id":54998248,"name":"flockeropenssl","full_name":"endlessm/flockeropenssl","owner":{"login":"endlessm","id":1930958,"avatar_url":"https://avatars.githubusercontent.com/u/1930958?v=3","gravatar_id":"","url":"https://api.github.com/users/endlessm","html_url":"https://github.com/endlessm","followers_url":"https://api.github.com/users/endlessm/followers","following_url":"https://api.github.com/users/endlessm/following{/other_user}","gists_url":"https://api.github.com/users/endlessm/gists{/gist_id}","starred_url":"https://api.github.com/users/endlessm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endlessm/subscriptions","organizations_url":"https://api.github.com/users/endlessm/orgs","repos_url":"https://api.github.com/users/endlessm/repos","events_url":"https://api.github.com/users/endlessm/events{/privacy}","received_events_url":"https://api.github.com/users/endlessm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/endlessm/flockeropenssl","description":"use openssl to generate flocker certificates","fork":true,"url":"https://api.github.com/repos/endlessm/flockeropenssl","forks_url":"https://api.github.com/repos/endlessm/flockeropenssl/forks","keys_url":"https://api.github.com/repos/endlessm/flockeropenssl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endlessm/flockeropenssl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endlessm/flockeropenssl/teams","hooks_url":"https://api.github.com/repos/endlessm/flockeropenssl/hooks","issue_events_url":"https://api.github.com/repos/endlessm/flockeropenssl/issues/events{/number}","events_url":"https://api.github.com/repos/endlessm/flockeropenssl/events","assignees_url":"https://api.github.com/repos/endlessm/flockeropenssl/assignees{/user}","branches_url":"https://api.github.com/repos/endlessm/flockeropenssl/branches{/branch}","tags_url":"https://api.github.com/repos/endlessm/flockeropenssl/tags","blobs_url":"https://api.github.com/repos/endlessm/flockeropenssl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endlessm/flockeropenssl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endlessm/flockeropenssl/git/refs{/sha}","trees_url":"https://api.github.com/repos/endlessm/flockeropenssl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endlessm/flockeropenssl/statuses/{sha}","languages_url":"https://api.github.com/repos/endlessm/flockeropenssl/languages","stargazers_url":"https://api.github.com/repos/endlessm/flockeropenssl/stargazers","contributors_url":"https://api.github.com/repos/endlessm/flockeropenssl/contributors","subscribers_url":"https://api.github.com/repos/endlessm/flockeropenssl/subscribers","subscription_url":"https://api.github.com/repos/endlessm/flockeropenssl/subscription","commits_url":"https://api.github.com/repos/endlessm/flockeropenssl/commits{/sha}","git_commits_url":"https://api.github.com/repos/endlessm/flockeropenssl/git/commits{/sha}","comments_url":"https://api.github.com/repos/endlessm/flockeropenssl/comments{/number}","issue_comment_url":"https://api.github.com/repos/endlessm/flockeropenssl/issues/comments{/number}","contents_url":"https://api.github.com/repos/endlessm/flockeropenssl/contents/{+path}","compare_url":"https://api.github.com/repos/endlessm/flockeropenssl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endlessm/flockeropenssl/merges","archive_url":"https://api.github.com/repos/endlessm/flockeropenssl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endlessm/flockeropenssl/downloads","issues_url":"https://api.github.com/repos/endlessm/flockeropenssl/issues{/number}","pulls_url":"https://api.github.com/repos/endlessm/flockeropenssl/pulls{/number}","milestones_url":"https://api.github.com/repos/endlessm/flockeropenssl/milestones{/number}","notifications_url":"https://api.github.com/repos/endlessm/flockeropenssl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endlessm/flockeropenssl/labels{/name}","releases_url":"https://api.github.com/repos/endlessm/flockeropenssl/releases{/id}","deployments_url":"https://api.github.com/repos/endlessm/flockeropenssl/deployments","created_at":"2016-03-29T17:56:40Z","updated_at":"2016-03-29T17:56:41Z","pushed_at":"2016-03-31T18:30:47Z","git_url":"git://github.com/endlessm/flockeropenssl.git","ssh_url":"git@github.com:endlessm/flockeropenssl.git","clone_url":"https://github.com/endlessm/flockeropenssl.git","svn_url":"https://github.com/endlessm/flockeropenssl","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wallnerryan:master","ref":"master","sha":"069e6024a9249cc87ca0c7f9cd4c73e389f19850","user":{"login":"wallnerryan","id":1072151,"avatar_url":"https://avatars.githubusercontent.com/u/1072151?v=3","gravatar_id":"","url":"https://api.github.com/users/wallnerryan","html_url":"https://github.com/wallnerryan","followers_url":"https://api.github.com/users/wallnerryan/followers","following_url":"https://api.github.com/users/wallnerryan/following{/other_user}","gists_url":"https://api.github.com/users/wallnerryan/gists{/gist_id}","starred_url":"https://api.github.com/users/wallnerryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallnerryan/subscriptions","organizations_url":"https://api.github.com/users/wallnerryan/orgs","repos_url":"https://api.github.com/users/wallnerryan/repos","events_url":"https://api.github.com/users/wallnerryan/events{/privacy}","received_events_url":"https://api.github.com/users/wallnerryan/received_events","type":"User","site_admin":false},"repo":{"id":53863964,"name":"flockeropenssl","full_name":"wallnerryan/flockeropenssl","owner":{"login":"wallnerryan","id":1072151,"avatar_url":"https://avatars.githubusercontent.com/u/1072151?v=3","gravatar_id":"","url":"https://api.github.com/users/wallnerryan","html_url":"https://github.com/wallnerryan","followers_url":"https://api.github.com/users/wallnerryan/followers","following_url":"https://api.github.com/users/wallnerryan/following{/other_user}","gists_url":"https://api.github.com/users/wallnerryan/gists{/gist_id}","starred_url":"https://api.github.com/users/wallnerryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallnerryan/subscriptions","organizations_url":"https://api.github.com/users/wallnerryan/orgs","repos_url":"https://api.github.com/users/wallnerryan/repos","events_url":"https://api.github.com/users/wallnerryan/events{/privacy}","received_events_url":"https://api.github.com/users/wallnerryan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallnerryan/flockeropenssl","description":"use openssl to generate flocker certificates","fork":false,"url":"https://api.github.com/repos/wallnerryan/flockeropenssl","forks_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/forks","keys_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/teams","hooks_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/hooks","issue_events_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues/events{/number}","events_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/events","assignees_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/assignees{/user}","branches_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/branches{/branch}","tags_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/tags","blobs_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/statuses/{sha}","languages_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/languages","stargazers_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/stargazers","contributors_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/contributors","subscribers_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/subscribers","subscription_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/subscription","commits_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/contents/{+path}","compare_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/merges","archive_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/downloads","issues_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues{/number}","pulls_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls{/number}","milestones_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/milestones{/number}","notifications_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/labels{/name}","releases_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/releases{/id}","deployments_url":"https://api.github.com/repos/wallnerryan/flockeropenssl/deployments","created_at":"2016-03-14T14:38:04Z","updated_at":"2016-03-14T14:38:28Z","pushed_at":"2016-03-31T18:29:54Z","git_url":"git://github.com/wallnerryan/flockeropenssl.git","ssh_url":"git@github.com:wallnerryan/flockeropenssl.git","clone_url":"https://github.com/wallnerryan/flockeropenssl.git","svn_url":"https://github.com/wallnerryan/flockeropenssl","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1"},"html":{"href":"https://github.com/wallnerryan/flockeropenssl/pull/1"},"issue":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues/1"},"comments":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/wallnerryan/flockeropenssl/statuses/f5c3031ad9547ba8df60b1b39f1ac66f9573ec72"}}}}