Commit Graph

171 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
Adrien Delorme d16fd8a2b1 allow to build on solaris
7 years ago
Megan Marsh df916e805e borrow wrappedreadline workarounds from terraform and implement a similar check for piped commands; this makes the cli experience much cleaner
7 years ago
Adrien Delorme e96409954a add execution policy type and use it to default the powershell cmd
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme 82c4b76639 [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method
7 years ago
Adrien Delorme cccbd7f316 contextualize basic runner
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Megan Marsh 8f3313d81e Create new docker communicator for windows containers
7 years ago
Adrien Delorme 7737458d17 fix log output
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme 025fc87278 StepConnectSSH: show connection address in debug output
7 years ago
Adrien Delorme c214f6735b make everything a uint
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 3dc1dafe58
Merge pull request #7287 from stephen-fox/ephemeral-ssh-key-pair-issue-7225
7 years ago
Stephen Fox d51e300fcd Clarified comment for 'defaultRsaBits' constant.
7 years ago
Stephen Fox 7e1cbc6d89 Rename references to key pair name to comment.
7 years ago
Stephen Fox 094c87e395 Remove 'SSHPublicKeyUrlEncoded', use 'urlquery' instead.
7 years ago
Stephen Fox 856810e82e Coalesce private key type switch cases per review feedback.
7 years ago
Stephen Fox 672b22bd13 Move 'CreateKeyPairConfig' closer to callers.
7 years ago
Stephen Fox 302828905d Move 'FromPrivateKeyConfig' closer to caller.
7 years ago
Stephen Fox ed06656613 Update 'authorizedKeysLine' doc per review feedback.
7 years ago
Stephen Fox 415ef26768 Removed TODO about key pair description per review feedback.
7 years ago
Megan Marsh 9db844a807 move pause to after connection can be established.
7 years ago
Stephen Fox 2ef6b9247d Initial take on code review feedback from @azr.
7 years ago
Megan Marsh 31c8acc5bc add a configurable pause before step_connect to work around bootstrap race conditions
7 years ago
Stephen Fox 2ab2ea6ef1 Fixed interface documentation typo.
7 years ago
Stephen Fox ed1d224b97 Remove defaultKeyPair type. Be more specific in errors.
7 years ago
chris marget 97268b3041 .
7 years ago
chris marget 3515afa994 better variable names in test function
7 years ago
chris marget 75bd3c6951 constants don't need to be [P]ublic
7 years ago
chris marget b476e54db1 whitespace
7 years ago
chris marget be01ca70f4 on error return empty defaultKeyPair{} rather than nil
7 years ago
chris marget 484aa4768f Remove unused keyheader data type
7 years ago
chris marget 13cc73d600 keypair parsing and testing
7 years ago
Stephen Fox 72b7d63a6a Restructured the SSH key pair's description.
7 years ago
Stephen Fox 4b649f7ce4 Use individual key pair implementations.
7 years ago
Stephen Fox d7510ecdf7 Tweaked 'PublicKeyAuthorizedKeysLine()' comment.
7 years ago
Stephen Fox 58c692a587 Get bits from private key rather than user input.
7 years ago
Stephen Fox f3128143fa Simplified building of authorized_keys public key.
7 years ago
Stephen Fox f2c11b55be Renamed authorized_keys public key function.
7 years ago
Stephen Fox d465231e63 Fixed bad curve ecdsa curve bug.
7 years ago
Stephen Fox 9328c9f9e0 Renamed "new*" SSH key pair methods.
7 years ago
Stephen Fox f8db84334d Alias 'golang.org/x/crypto/ssh' as 'gossh'.
7 years ago
Stephen Fox 9a9bc18fab Renamed SSH key pair source files per pattern.
7 years ago
Stephen Fox 7f6b307dd6 Remove 'Ssh' suffix from 'KeyPairType' constants.
7 years ago
Stephen Fox c6ae8654d9 Moved SSH key pair code into 'helper/ssh'.
7 years ago
Stephen Fox 7b857929ab Added 'SSHPublicKeyUrlEncoded()' to comm.Config.
7 years ago
Megan Marsh c63b54a1e7 move http with proxy call into a helper function
7 years ago