This repository was archived by the owner on Mar 8, 2024. It is now read-only.
Commit 4cd75ed
authored
CLI - Chapter 1 - The beginning of a CLI (#22)
* functions and types for signing and validating a VerifiablePayID
* get pem and x5c working
simplify verify call to use Embedded option
* lint fixes and refactored SigningParams types from interface to classes
* exports
* packages.json cleanup
* WIP: get PKI with certificate chain validation workiing
* lint fixes
use generated Root CA, Intermediate CA, and server cert in tests
* add 'name' to crit section
* splitting web-pki into multiple branches
* logic to parse a chain of certificates from the x5c section of a JWS
* add test to verify self-signed certs pass signature check but fail chain of certificate check
* initial stab at some CLI commands
* refactoring of commands
add commands for signing and verifying signatures
* command to save key
upper case the network and environment
* refactor inspection logic into a standalone class
* more refactoring
* linting fixes
* jsdoc, refactorings and test coverage
* npm audit fix
* npm audit fix
* revert signing and verfication and inspection changes
moving to a separate PR
* reverting signing and verification related code for a later PR
* code review feedback
change command 'url to-payid' to 'payid from-url'
* remove eslint disablement rule from eslint rc in favor of doing it in the one class that violates the rule
* reorder fields to match constructor per PR review
* documentation1 parent 5bf69bd commit 4cd75ed
11 files changed
Lines changed: 999 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
31 | 43 | | |
0 commit comments