Merge pull request #3460 from lumjjb/ctrrecipients

Specify protocols in ctr encrypt recipients
This commit is contained in:
Derek McGowan
2019-08-01 15:37:40 -07:00
committed by GitHub
3 changed files with 40 additions and 12 deletions

View File

@@ -25,8 +25,8 @@ The option `--layer -1` specifies the layer filter for encryption, -1 indicating
```
$ ctr images encrypt \
--recipient /tmp/tmp.AGrSDkaSad/mypubkey.pem \
--recipient /tmp/tmp.AGrSDkaSad/clientcert.pem \
--recipient jwe:/tmp/tmp.AGrSDkaSad/mypubkey.pem \
--recipient pkcs7:/tmp/tmp.AGrSDkaSad/clientcert.pem \
--layer -1 \
docker.io/library/alpine:latest docker.io/library/alpine:enc