Skip to content

Releases: capeprivacy/cli

v0.0.4

10 Aug 15:02
eaade20
Compare
Choose a tag to compare

Changelog

  • 3bdfeb8 Add --key-policy-hash and --function-hash flags
  • d38af8d Add CLI function to generate JWTs signed by the associated private key
  • dfa41d7 Add KeyPolicyHash to UserData
  • 632f97e Add command to get PCRS
  • d8083cd Add refresh token logic to CLI login/identity
  • aa3fcea Add version command
  • a789ad2 Close connections on enclave requests (#122)
  • 3dafaa4 Make deploy display the function hash being sent (#100)
  • 3f66c89 Merge branch 'main' into eric/fix-segfault-when-running-with-no-user-data
  • 05ffbfd Merge branch 'main' into eric/fix-segfault-when-running-with-no-user-data
  • 409f01a Merge branch 'main' into jenny/CAPE-812/deploy-limit
  • de25716 Merge branch 'main' into jenny/CAPE-812/deploy-limit
  • 74b4e18 Merge branch 'main' into thor/version
  • 735acac Merge pull request #102 from capeprivacy/thor/version
  • db45449 Merge pull request #105 from capeprivacy/eric/CAPE-644-verbose-error-output-in-cape-test-by-default
  • 4b0fe1b Merge pull request #107 from capeprivacy/eric/show-function-hash-after-success-deploy
  • a0c1231 Merge pull request #108 from capeprivacy/eric/fix-segfault-when-running-with-no-user-data
  • 518e1c7 Merge pull request #113 from capeprivacy/gavinuhma/getkeypolicy
  • 8e97e01 Merge pull request #114 from capeprivacy/justin/remove-cape-binary
  • 0f88889 Merge pull request #115 from capeprivacy/justin/get-pcrs
  • 5f866e9 Merge pull request #116 from capeprivacy/justin/pass-pcrs
  • 4f49869 Merge pull request #117 from capeprivacy/jenny/CAPE-812/deploy-limit
  • eaade20 Merge pull request #123 from capeprivacy/justin/only-zip-root
  • 3fa90b2 Merge pull request #75 from capeprivacy/lee/refresh-token-v2
  • 07f0fee Merge pull request #90 from capeprivacy/lee/generate-jwt
  • 75554bc Merge pull request #96 from capeprivacy/annie/fix-token-bug
  • c8b942e Merge remote-tracking branch 'origin/jenny/CAPE-812/deploy-limit' into jenny/CAPE-812/deploy-limit
  • 0452628 Merge remote-tracking branch 'origin/main' into thor/version
  • 9718b7d Rahul/cli file preset (#93)
  • 3b8d531 Remove auto-generated license header
  • 542ed43 Remove redundant return statement
  • e0b8edd Style and consistency across cli help (#112)
  • d8feafd Update go and golangci-lint version for CI
  • 0bd1356 add docker login so can pull eif builder. Can delete after made public
  • 8868604 add separate check for function hash with better error msg
  • e3b9ca1 add test
  • 6cec28b add verbose logging for cape test
  • 353df0d add verify pcrs to test flow
  • d039236 added config option to cli (#99)
  • 241c680 added distinct defaults and config paths for auth and enclave urls (#103)
  • 8b9fb01 allow passing pcrs to be verified
  • cf00528 change function hash logging to debug
  • 9d1297a changed default hostname (#101)
  • 870bf24 clean up log messages
  • d48cccb debug print statement
  • 1a47147 fix bug in order of deploy args (#111)
  • d763396 fix nil pointer access when no user_data is provided
  • 78fdba4 if uncompressed, get full deployment size. log warning for zips
  • 7e06fe6 limit deployment size
  • 570f4bf only zip the base dir and not all the dirs
  • 87be610 print function hash after successful deploy
  • 88c195d print out config values (#109)
  • b54c931 remove .idea from tracked file (#98)
  • 4d8cdc8 remove cape binary
  • d2dbbbd removed success line from run result (#110)
  • e13c0d8 return err
  • 4b854a2 trying again
  • 468f216 udpate readme with example of verifying pcrs
  • acab8bb updated readme with new parameters (#104)
  • 7ca99a4 use StartRequest for all first calls (#97)
  • 76b83ca use protocol class from sentinel for deploy (#106)

v0.0.3

19 Jul 14:48
134b345
Compare
Choose a tag to compare

Changelog

  • e6807b5 Add function token public key to deploy request.
  • e34455e Merge branch 'main' into annie/export-run
  • bf10bd3 Merge pull request #70 from capeprivacy/lee/add-token-key
  • 0657904 Merge pull request #92 from capeprivacy/justin/verify-root
  • a3fd9dc Merge pull request #94 from capeprivacy/justin/root-cert-logs
  • 134b345 Merge pull request #95 from capeprivacy/annie/export-run
  • 444ef53 add aws root pem test file
  • cdf108a add logs for downloading verifying root cert
  • 07910fa export run for tuner
  • a8d9e62 verify root certificate by downloading it from known location

v0.0.2

15 Jul 14:47
24913e1
Compare
Choose a tag to compare

Changelog

  • afde7cf Add 'cape token' command that checkes/generates key material, outputs public key to command line.
  • 7aee8a3 CAPE-628 add env var for insecure, change prefix to CAPE (#84)
  • f0ed87e Changes to make cape test work (#74)
  • 8b144cc Fix lint error
  • 8cc4ddb Fix lint errors
  • fbf11ad Merge pull request #57 from capeprivacy/lee/tokens-rsa
  • 6d47b4f Merge pull request #68 from capeprivacy/justin/download-docs
  • 9d78c63 Merge pull request #69 from capeprivacy/justin/version-cmd
  • 0fc989e Merge pull request #71 from capeprivacy/justin/stdout
  • 2f7fd7d Merge pull request #72 from capeprivacy/justin/stdin
  • 7cfe4a1 Merge pull request #73 from capeprivacy/revert-54-annie/refactor-login
  • f2c2c05 Merge pull request #83 from capeprivacy/justin/local-encrypt-deploy
  • d3ae06d Merge pull request #86 from capeprivacy/gavinuhma/hpke
  • 02f21bb Merge pull request #89 from capeprivacy/eric/add-nil-check
  • cdfe6f9 Revert "refactor login"
  • 0b526f1 WIP: Replace Tink with Circl/hpke
  • a638540 add error check around response handling
  • 1fa8653 add version command to cli
  • fbb1171 added input file support for test (#82)
  • 614cb73 added support for reading data from command line, stdin or file (#79)
  • a2c3e84 cleanup refactors: insecure (#85)
  • b58fbdd comments
  • 6ce3ac8 comments
  • d224f74 fix goimports
  • 245113c go mod tidy
  • cee4200 have CLI process error values returned by error-sentinel and sentinel (#88)
  • 755c87d have CLI process error values returned by error-sentinel and sentinel (#88)
  • 2bd19cf just use copy instead of scanner
  • 7dd4407 local encrypt with tink before sending zipped function on deploy
  • 95b1a0d make it more obvious results are sent to stdout
  • 23adf06 optional read from stdin or from a file passed as arg
  • 80e9d9b remove useless code
  • 2ee975e update docs with how to download binaries without go
  • 24913e1 verbose output for deploy, run, test (#80)

v0.0.1

22 Jun 12:37
0e2823e
Compare
Choose a tag to compare

Changelog

  • 037e216 Add cape identity command to check user identity against platform
  • 1f7c7c3 Add cape run to CLI (#16)
  • d914874 Add new device code request and open browser with Auth0 verification URL
  • d4c0584 Add nonce to requests to server
  • 4d0f8cc Add polling interval for CLI login token, persist to flat file in home directory
  • 8617abc Add tests for attestation
  • 7aa0d42 CR
  • dd61104 CR
  • d58516b CR
  • 5e764e5 CR
  • 35a8168 Couple UX mods
  • 8fc2a16 Couple of goreleaser adjustments
  • 8353ca4 Default directory to function name (#26)
  • d74cea7 Friendly error message when not logged in (#47)
  • 67bc01b Goreleaser was still including files
  • 2b962f0 Initial commit
  • f995d9c Make the function output slightly more pretty (#53)
  • 59873a4 Merge branch 'annie/CAPE-430' of https://github.com/capeprivacy/cli into annie/CAPE-430
  • 5dddbb0 Merge branch 'main' into annie/CAPE-328
  • d49c91d Merge branch 'main' into annie/CAPE-328
  • a151e82 Merge branch 'main' into annie/CAPE-328
  • ccddad9 Merge branch 'main' into annie/CAPE-328
  • 79e4e8d Merge branch 'main' into annie/CAPE-430
  • 7348985 Merge branch 'main' into annie/CAPE-433-cli
  • 366cad0 Merge branch 'main' into annie/cli-tests
  • 58c9ba7 Merge branch 'main' into annie/cli-tests
  • b83a1bf Merge branch 'main' into justin/deploy-function-with-name
  • 0008309 Merge branch 'main' into justin/deploy-function-with-name
  • 837cdc8 Merge branch 'main' into justin/forgotten-token
  • 95c0054 Merge branch 'main' of github.com:capeprivacy/cli into justin/eif-builder
  • 2645e12 Merge pull request #1 from capeprivacy/justin/sync-with-server
  • f402a6c Merge pull request #10 from capeprivacy/lee/login-device-flow-part-1
  • 4390167 Merge pull request #11 from capeprivacy/lee/fetch-token
  • 91f8870 Merge pull request #12 from capeprivacy/justin/deploy
  • fb5e2c9 Merge pull request #13 from capeprivacy/justin/deploy-status-code
  • e5b458d Merge pull request #14 from capeprivacy/justin/deploy-function-with-name
  • 0eea6c9 Merge pull request #15 from capeprivacy/chris/CAPE-326
  • 5404669 Merge pull request #18 from capeprivacy/justin/make-sure-to-send-data
  • 233277a Merge pull request #19 from capeprivacy/cape-379-expose-local-encrypt
  • 3dd2e76 Merge pull request #2 from capeprivacy/justin/remove-encrypt
  • ed4289c Merge pull request #20 from capeprivacy/justin/log-updates
  • 7670b5a Merge pull request #22 from capeprivacy/annie/CAPE-433-cli
  • e8565eb Merge pull request #24 from capeprivacy/ben/progress-bar
  • 6bf3dfe Merge pull request #25 from capeprivacy/justin/fixup-some-output
  • 126e91e Merge pull request #29 from capeprivacy/annie/CAPE-430
  • 1a0dbe7 Merge pull request #3 from capeprivacy/justin/attest-tests
  • 93c930f Merge pull request #30 from capeprivacy/lee/identity
  • 8ab823e Merge pull request #32 from capeprivacy/annie/cli-tests
  • 5f6b201 Merge pull request #36 from capeprivacy/annie/CAPE-331
  • 12ddcea Merge pull request #38 from capeprivacy/annie/CAPE-516
  • 579de06 Merge pull request #39 from capeprivacy/annie/deploy
  • 3c74d6e Merge pull request #4 from capeprivacy/justin/add-nonce-to-requests
  • 06ef362 Merge pull request #40 from capeprivacy/justin/websockets
  • 1ce4097 Merge pull request #41 from capeprivacy/shweta/auth
  • c450ea9 Merge pull request #42 from capeprivacy/justin/fix-url-issue
  • f006abf Merge pull request #43 from capeprivacy/CAPE-535-get-token-response-tries-to-read-from-a-non-existant-file
  • 14d0284 Merge pull request #46 from capeprivacy/thor/login-uri
  • 2309184 Merge pull request #49 from capeprivacy/justin/match-attestation-json
  • 802f735 Merge pull request #5 from capeprivacy/annie/CAPE-328
  • c7393a7 Merge pull request #50 from capeprivacy/thor/command-name
  • 15c118c Merge pull request #51 from capeprivacy/justin/insecure-flag
  • 61e3ad9 Merge pull request #54 from capeprivacy/annie/refactor-login
  • be173d4 Merge pull request #59 from capeprivacy/annie/fix-identity
  • 3a41edd Merge pull request #61 from capeprivacy/justin/readme-updates
  • e73f2df Merge pull request #62 from capeprivacy/justin/go-releaser
  • 71a82e7 Merge pull request #63 from capeprivacy/justin/enable-staticcheck
  • b24adda Merge pull request #64 from capeprivacy/justin/forgotten-token
  • b00206d Merge pull request #65 from capeprivacy/justin/private-repo
  • 1653fbf Merge pull request #66 from capeprivacy/justin/goreleaser-adjustments
  • 0e2823e Merge pull request #67 from capeprivacy/justin/goreleaser-still-including-files
  • 6cb2db7 Merge pull request #7 from capeprivacy/cape-392-rename-enclave-apis
  • 44d0e44 Merge pull request #9 from capeprivacy/justin/eif-builder
  • a91ccb9 Merge remote-tracking branch 'origin/main' into thor/command-name
  • a56f3dd Merge remote-tracking branch 'origin/main' into thor/command-name
  • 62027f2 Move files for binary into subdir
  • 9452499 Print URL to complete login process
  • 84ef5fa Remove encrypt as not needed now
  • e465635 Update README to reflect new structure
  • c8c39c9 Update cmd/deploy.go
  • 206e88b Use viper for environment variable reading (#37)
  • 10347be Using current time for attestation
  • b256796 accidentally removed quotation mark
  • 563d576 add back deploy, along with initial client hello msg with nonce
  • 6075c18 add deploy call which zips directory and sends it to the server
  • 8e97e31 add eif builder for future use to validate PCRs
  • 77bd4b5 add goreleaser, releases on tags for now
  • f8d38a7 add insecure flag to disable TLS verification for development
  • 0f74854 add name and json annotations
  • 086b68a add token to requests
  • a2f98c8 add two checks in deploy
  • a8f1ed2 added a progress bar to upload
  • 30e98d4 adds cli functionality for cape test (#55)
  • 884b241 bigger window
  • 7a0a88a change run to test (#6)
  • 3d23fc3 cleaner parsing
  • 3b5b7a5 cleanup spinner on sigint (#34)
  • cf789f8 comments
  • e048c6f don't encrypt function when deploying (#17)
  • 61bf666 enable go releaser to use private repos
  • ce09846 enable staticcheck linter
  • 94f200c encrypt on test server with aes and provided secret
  • ded77b8 expose a library directory
  • 745008d fix logs to be more accurate
  • 1e2ce36 fix merge conflict
  • 1432fdd fix output
  • 79a28ae fix path
  • d02b68e fix status code to match what server is returning
  • 450fd90 fix table output to use the writer on cmd instead
  • 7e750fe fix up some output
  • d06a06b fix url bug
  • 70ed898 fix url issue
  • 2b6a80d fixed cr and added check that argument is a directory
  • 1b4e43a fixed json field
  • 65f8f10 forgotten github token for goreleaser
  • 2b54859 go mod tidy
  • a1e41e2 ifshort
  • 498d3e6 implement deploy flow (#44)
  • 907157b initial encrypt cli
  • 08ed4ba lint
  • b3933db list function names
  • cb994b3 maintain directory structure when zipping upload (#23)
  • b376a08 make sure to actually send data on deploy
  • e18791d match expected attestation document json returned
  • 428ffbc migrate to tink for rsa encryption
  • 994e7d6 missed a return
  • 5225d59 more refactoring
  • 378eb9e more returns
  • 33bb56c more returns...
  • 2340534 refactor
  • 254b9a1 refactor
  • bb57d74 refactor deploy to return deployment ID and error
  • 3785937 refactor login
  • 00dc560 remove .DS_Store file
  • 81c2ad8 remove 0 value declaration
  • 0df2d84 remove _cmd suffix from run & test files
  • 64ac274 remove print lines
  • 1211c83 remove prints
  • 09ad46c rename
  • e010a29 rename lib to crypto
  • a4f6580 render the table...
  • 07c4026 replace more sprintf
  • 8a821ee return Outputs to user
  • 854a8f3 run command
  • 57f83a9 small overview in readme and forgotten cmd/run file
  • 566b1c6 syncs with whats currently in the server
  • 10b2987 test verifying output for list cmd
  • 42d5d00 typoe
  • 5b717e3 update api endpoints to /start and /test
  • 4cc9bbf update error msg
  • e7b4df6 update readme
  • cee664f update readme with how to use the commands
  • d97d565 update run response to new type (#52)
  • eadb546 use capebot for linting
  • a79697a use fancy table writer
  • 8587f39 use join
  • f8ffcfe use runE on run (#27)
  • 3809b64 use v6
  • 079de7f websockets support for run
  • ccc1989 write expected result to writer
  • 86ef245 zip file support (#28)