This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Checks out specified release tag and builds the binary | |
# | |
VERBOSITY=0 | |
TEMP_D="" | |
error() { echo "$@" 1>&2; } | |
fail() { [ $# -eq 0 ] || error "$@"; exit 1; } | |
bad_usage() { usage 1>&2; [ $# -eq 0 ] || error "$@"; return 1; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sync" | |
"github.com/awnumar/memguard" | |
) | |
func loadSecret(wg *sync.WaitGroup, enclave *memguard.Enclave) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script template | |
# | |
# Copyright 2017 Canonical Ltd. | |
# Joshua Powers <[email protected]> | |
VERBOSITY=0 | |
TEMP_D="" | |
error() { echo "$@" 1>&2; } |