Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning #251

Merged
merged 83 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
81e9a0c
cleaning
OR13 Aug 10, 2024
102b704
0.8.34
OR13 Aug 10, 2024
86bc154
cleaning
OR13 Aug 10, 2024
f6a08a9
0.8.35
OR13 Aug 10, 2024
ebf9b5a
cleaning
OR13 Aug 10, 2024
6a2a0ef
cleaning
OR13 Aug 10, 2024
1966d05
cleaning
OR13 Aug 10, 2024
cd5e3f5
cleaning
OR13 Aug 10, 2024
d2ec170
cleaning
OR13 Aug 10, 2024
eae5cff
cleaning
OR13 Aug 10, 2024
8a55afb
explore action ci
OR13 Aug 10, 2024
0c49b9d
test
OR13 Aug 10, 2024
d0fa104
bump
OR13 Aug 10, 2024
4cf4c53
test
OR13 Aug 10, 2024
02eac18
test
OR13 Aug 10, 2024
10b57f8
setup
OR13 Aug 10, 2024
0bb8f0a
test
OR13 Aug 10, 2024
77f3df7
cleaning
OR13 Aug 10, 2024
d67658a
test
OR13 Aug 10, 2024
f9f4eae
test
OR13 Aug 10, 2024
702689f
test
OR13 Aug 10, 2024
d47ed37
test
OR13 Aug 10, 2024
664eaa7
test
OR13 Aug 10, 2024
27a510d
test
OR13 Aug 10, 2024
baba98f
test
OR13 Aug 10, 2024
0da3aba
test
OR13 Aug 10, 2024
f2bc8cc
test
OR13 Aug 10, 2024
7d715e9
test
OR13 Aug 10, 2024
7d7e97d
test
OR13 Aug 10, 2024
61a96a3
test
OR13 Aug 10, 2024
1e2c918
test
OR13 Aug 10, 2024
d7c4d2a
cleaning
OR13 Aug 10, 2024
d4f9789
add
OR13 Aug 10, 2024
fa5c49a
add
OR13 Aug 10, 2024
cbf559c
add
OR13 Aug 10, 2024
8649418
fixed
OR13 Aug 10, 2024
78d77ac
test
OR13 Aug 10, 2024
a9d15a8
fix
OR13 Aug 10, 2024
e5cd1b4
publish fixtures
OR13 Aug 10, 2024
19b1db8
test
OR13 Aug 10, 2024
c94bfe2
test
OR13 Aug 10, 2024
b49546c
cleaning
OR13 Aug 10, 2024
38bb562
add cbor
OR13 Aug 11, 2024
d8e73de
test ci
OR13 Aug 11, 2024
2d843f7
ignore jose for now
OR13 Aug 11, 2024
7c0d764
detached
OR13 Aug 11, 2024
79060a5
all
OR13 Aug 11, 2024
1e6cf6f
test ci
OR13 Aug 11, 2024
d8b74ef
scitt
OR13 Aug 11, 2024
4d57f4e
test ci
OR13 Aug 11, 2024
f698e49
receipt
OR13 Aug 11, 2024
41d9471
all scripts
OR13 Aug 11, 2024
e4e3ac6
test ci
OR13 Aug 11, 2024
8bb6dab
test
OR13 Aug 11, 2024
f4d9a3a
test
OR13 Aug 11, 2024
ca3dce8
all ci
OR13 Aug 11, 2024
8b65ab4
update facade
OR13 Aug 11, 2024
45232a2
test
OR13 Aug 11, 2024
43600e8
test
OR13 Aug 11, 2024
bff5d07
turn on export key
OR13 Aug 11, 2024
2b3df9f
test
OR13 Aug 11, 2024
9131665
cleaning
OR13 Aug 11, 2024
db04d7d
prep
OR13 Aug 11, 2024
195cac5
presentations
OR13 Aug 11, 2024
469b2b6
wip
OR13 Aug 11, 2024
ce6e548
sd
OR13 Aug 11, 2024
2320af9
cose
OR13 Aug 11, 2024
2e67ccd
all
OR13 Aug 11, 2024
b9333ea
add contexs
OR13 Aug 11, 2024
b2f1cc7
graph
OR13 Aug 11, 2024
dbfcecb
add graph
OR13 Aug 11, 2024
09e6445
prep graph test
OR13 Aug 11, 2024
d2631fc
rebuilt
OR13 Aug 11, 2024
9544688
test
OR13 Aug 11, 2024
059adde
test
OR13 Aug 11, 2024
6e6ab70
factoring
OR13 Aug 11, 2024
af88a8c
factoring
OR13 Aug 11, 2024
2b84f6c
factored
OR13 Aug 11, 2024
ffee87b
test
OR13 Aug 11, 2024
b1ef080
test
OR13 Aug 11, 2024
ba3cc2c
test
OR13 Aug 11, 2024
a1eca71
no verbose
OR13 Aug 11, 2024
d735929
update readme
OR13 Aug 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 0 additions & 76 deletions .github/workflows/act-preview-neo4j.yml

This file was deleted.

153 changes: 145 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,150 @@
name: CI
on: [push]
jobs:
bump:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run coverage
- name: Badges
uses: jpb06/jest-badges-action@latest
with:
branches: main
- uses: actions/checkout@v4
- run: npm ci
- run: npm run coverage
jose:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Private Key
id: generate_private_key
uses: ./
with:
transmute: |
jose keygen --alg ES256 --verbose --output ./tests/fixtures/private.sig.jwk.json
- name: Attempt to Log Private Key
run: echo "${{ steps.generate_private_key.outputs.json }}"
- name: Public Key
id: extract_public_key
uses: ./
with:
transmute: |
jose keypub ./tests/fixtures/private.sig.jwk.json --output ./tests/fixtures/public.sig.jwk.json
- name: Log Public Key
run: cat ./tests/fixtures/public.sig.jwk.json
- name: Sign Message
id: sign_message
uses: ./
with:
transmute: |
jose sign ./tests/fixtures/private.sig.jwk.json ./tests/fixtures/message.json --detached --compact --output ./tests/fixtures/message.signature.detached.compact.jws
- name: Attempt to Log Signature
run: echo "${{ steps.sign_message.outputs.jws }}"
- name: Verify Message
id: verify_message
uses: ./
with:
transmute: |
jose verify ./tests/fixtures/public.sig.jwk.json ./tests/fixtures/message.signature.detached.compact.jws ./tests/fixtures/message.json --detached --compact
- name: Log Message Verification
run: echo "${{ steps.verify_message.outputs.json }}"
- name: Encrypt Message
id: encrypt_message
uses: ./
with:
transmute: |
jose encrypt ./tests/fixtures/public.enc.jwk.json ./tests/fixtures/message.json --enc A128GCM --compact --output ./tests/fixtures/message.ciphertext.compact.jwe
- name: Log Ciphertext
run: echo "${{ steps.encrypt_message.outputs.jwe }}"
- name: Decrypt Message
id: decrypt_message
uses: ./
with:
transmute: |
jose decrypt ./tests/fixtures/private.enc.jwk.json ./tests/fixtures/message.ciphertext.compact.jwe --compact
- name: Log Message Decryption
run: echo "${{ steps.decrypt_message.outputs.json }}"
cose:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Private Key
id: generate_private_key
uses: ./
with:
transmute: |
cose keygen --alg ES256 --verbose --output ./tests/fixtures/private.sig.key.cbor
- name: Attempt to Log Private Key
run: echo "${{ steps.generate_private_key.outputs.cbor }}"
- name: Public Key
id: extract_public_key
uses: ./
with:
transmute: |
cose keypub ./tests/fixtures/private.sig.key.cbor --output ./tests/fixtures/public.sig.key.cbor
- name: Log Public Key
run: echo "${{ steps.extract_public_key.outputs.cbor }}"
- name: Sign Message
id: sign_message
uses: ./
with:
transmute: |
cose sign ./tests/fixtures/private.sig.key.cbor ./tests/fixtures/message.json --detached --output ./tests/fixtures/message.signature.detached.cbor
- name: Verify Message
id: verify_message
uses: ./
with:
transmute: |
cose verify ./tests/fixtures/public.sig.key.cbor ./tests/fixtures/message.signature.detached.cbor ./tests/fixtures/message.json --detached
- name: Log Message Verification
run: echo "${{ steps.verify_message.outputs.cbor }}"
scitt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Issue Statement
id: issue_statement
uses: ./
with:
transmute: |
scitt issue-statement ./tests/fixtures/private.sig.key.cbor ./tests/fixtures/message.json --output ./tests/fixtures/message.hash-envelope.cbor
- name: Verify Statement Hash
id: verify_message
uses: ./
with:
transmute: |
scitt verify-statement-hash ./tests/fixtures/public.sig.key.cbor ./tests/fixtures/message.hash-envelope.cbor 3073d614f853aaec9a1146872c7bab75495ee678c8864ed3562f8787555c1e22
- name: Log Statement Verification
run: echo "${{ steps.verify_message.outputs.cbor }}"
- name: Issue Receipt
id: issue_receipt
uses: ./
with:
transmute: |
scitt issue-receipt ./tests/fixtures/private.notary.key.cbor ./tests/fixtures/message.hash-envelope.cbor --log ./tests/fixtures/trans.json
- name: Verify Receipt Hash
id: verify_receipt
uses: ./
with:
transmute: |
scitt verify-receipt-hash ./tests/fixtures/public.notary.key.cbor ./tests/fixtures/message.hash-envelope-with-receipt.cbor 3073d614f853aaec9a1146872c7bab75495ee678c8864ed3562f8787555c1e22
graph:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push Graph Fragment
id: push_single_graph
uses: ./
with:
neo4j-uri: ${{ secrets.NEO4J_URI }}
neo4j-user: ${{ secrets.NEO4J_USERNAME }}
neo4j-password: ${{ secrets.NEO4J_PASSWORD }}
transmute: |
graph assist ./tests/fixtures/issuer-claims.json --verbose --credential-type application/vc --graph-type application/gql --push
- name: Push Presentations
id: push_multiple_graphs
uses: ./
with:
neo4j-uri: ${{ secrets.NEO4J_URI }}
neo4j-user: ${{ secrets.NEO4J_USERNAME }}
neo4j-password: ${{ secrets.NEO4J_PASSWORD }}
transmute-client-id: ${{ secrets.CLIENT_ID }}
transmute-client-secret: ${{ secrets.CLIENT_SECRET }}
transmute-api: ${{ secrets.API_BASE_URL }}
transmute: |
graph assist --graph-type application/gql --push
76 changes: 0 additions & 76 deletions .github/workflows/neo4j-demo.yml

This file was deleted.

8 changes: 0 additions & 8 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ Install a local build of the cli globally using:
```sh
npm i -g .
```

Test a local build with this npm script alias:

```sh
npm run transmute -- controller key generate \
--alg ES384 \
--output examples/keys/private.ES384.json
```
Loading