Phil Estes
f0821348b4
Merge pull request #3475 from stefanberger/gpg2-passphrase-via-file
...
ECI: gpg: Pass the passphrase to the gpg2 tool using a pipe
2019-08-02 13:59:17 -04:00
Stefan Berger
5cf79913e4
gpg: Use a Pipe() rather than a file
...
Use a Pipe() rather than a file to pass the passphrase to the command
line tool. Pass the file descriptor to read the passphrase from as fd '3'.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com >
2019-07-31 16:07:25 -04:00
Stefan Berger
6a25128791
gpg: Pass the passphrase to the gpg2 tool using a file
...
Rather than passing the passphrase via command line write it into
a temp. file and pass the name of the file using passphrase-file option.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com >
2019-07-31 16:07:25 -04:00
Kevin Parsons
b16e7c5de1
Update pkg/ttrpcutil with improved pipe dial logic
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com >
2019-07-30 18:46:36 -07:00
Brandon Lum
3d1fa69694
Implemented constructors for both encryption and decryption
...
Signed-off-by: Brandon Lum <lumjjb@gmail.com >
2019-07-24 22:19:39 -04:00
Brandon Lum
05a2b63e84
Create CryptoConfig constructors in place of dcparameters
...
Signed-off-by: Brandon Lum <lumjjb@gmail.com >
2019-07-24 21:51:47 -04:00
Stefan Berger
364de4c35d
Wrap creation of CryptoConfig in constructors
...
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com >
2019-07-23 19:53:23 -04:00
Derek McGowan
dde436e65b
Crypto library movement and changes to content helper interfaces
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2019-07-17 15:21:29 -04:00
Maksym Pavlenko
ef7f46eb7b
Fix linter errors
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com >
2019-07-14 20:49:40 -07:00
Michael Crosby
6601b406b7
Refactor runtime code for code sharing
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2019-07-08 11:47:53 -04:00
Derek McGowan
25daa7355c
Merge pull request #3192 from thaJeztah/bump_grpc_1.19.1
...
bump google.golang.org/grpc v1.20.1
2019-05-22 11:58:52 -07:00
Maksym Pavlenko
7f79fbb245
Move ttrpc client to pkg/ttrpcutil
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com >
2019-05-20 16:44:49 -07:00
Sebastiaan van Stijn
2ed8e60fa1
bump google.golang.org/grpc v1.20.1
...
full diff: https://github.com/grpc/grpc-go/compare/v1.12.2...v1.20.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-05-05 12:39:23 -07:00
Iskander (Alex) Sharipov
dfebb404cb
remove excessive []byte(s) conversion
...
`copy` permits using to mix `[]byte` and `string` arguments without
explicit conversion. I removed explicit conversion to make the code simpler.
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com >
2019-01-28 19:50:28 +03:00
Wei Fu
132ee9b826
fix: linter issue
...
megacheck, gosimple and unused has been deprecated and subsumed by
staticcheck. And staticcheck also has been upgraded. we need to update
code for the linter issue.
close : #2945
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2019-01-23 22:54:51 +08:00
Akihiro Suda
5349fa31df
remove pkg/testutil/loopback_linux.go and use continuity/testutil/loopback
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2018-10-02 13:12:25 +09:00
Derek McGowan
cce0a46c8a
Seed random on ctr and containerd startup
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-07-12 17:51:55 -07:00
Vincent Demeester
832b05ae67
Update tests to use gotest.tools angel
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-06-08 21:02:01 +02:00
Michael Crosby
009ba4d797
Move testutils to pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2018-05-22 17:08:38 -04:00
Michael Crosby
927517de36
Move dialer to pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2018-05-22 13:32:25 -04:00
Michael Crosby
ae4b78d1cc
Move progress into pkg
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2018-05-22 13:32:25 -04:00