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

NIST-BRSKI policy app using claim cascade system #85

Merged
merged 110 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
f5a1785
feat(CAHN Demo): :tada: Skeleton client and server
A9-dev Aug 12, 2024
3a6229d
feat(CAHN Demo Server): :sparkles: server functionality
A9-dev Aug 13, 2024
af4a251
feat(CAHN Demo): :sparkles: client skeleton layout, json schemas
A9-dev Aug 13, 2024
63bd5e0
feat(CAHN Demo): :art: improve structure of providers, change theme (…
A9-dev Aug 14, 2024
9808aad
feat(CAHN Demo): :sparkles: template structure for home page
A9-dev Aug 14, 2024
1dc2f73
feat(CAHN Demo): :iphone: better responsiveness
A9-dev Aug 14, 2024
d9eaecf
feat(CAHN Demo): :sparkles: add device selector, example device infor…
A9-dev Aug 14, 2024
80a7dd6
style(CAHN Demo): :lipstick: small changes
A9-dev Aug 14, 2024
cfc86bf
feat(CAHN Demo): :iphone: improve responsiveness, fix sizing of compo…
A9-dev Aug 15, 2024
16b5353
feat(CAHN Demo): :iphone: improve responsiveness (responsiveFontSizes)
A9-dev Aug 15, 2024
d375b95
refactor(CAHN Demo): :fire: cleanup
A9-dev Aug 15, 2024
64504d6
Merge pull request #71 from nqminds/main
A9-dev Aug 15, 2024
d03078e
feat: add links to device, manufacturer, and device type in DeviceInf…
A9-dev Aug 15, 2024
4368e03
Merge branch '70-implement-brski-policy-app-using-claim-cascade-syste…
A9-dev Aug 15, 2024
7defb27
feat(CAHN Demo Server): :card_file_box: schemas and claims
A9-dev Aug 15, 2024
495a73c
chore(CAHN Demo Server): :truck: move folder
A9-dev Aug 15, 2024
fc333e4
fix(CAHN Demo Server): :card_file_box: change claims and schemas to w…
A9-dev Aug 15, 2024
2597205
fix(CAHN Demo Server): :bug: fix inconsistent naming, add endpoint to…
A9-dev Aug 15, 2024
9a52546
feat: improve page layout for device type and manufacturer pages
A9-dev Aug 21, 2024
7a1d636
feat(CAHN Demo Server): :sparkles: endpoint to retrieve all devices t…
A9-dev Aug 21, 2024
83f0da7
feat(CAHN Demo Server): :sparkles: rewrite rule to not need UserId, u…
A9-dev Aug 21, 2024
107315a
chore(CAHN Demo Server): add todo
A9-dev Aug 21, 2024
7e807a9
feat(CAHN Demo Server): :sparkles: endpoint for getting list of devic…
A9-dev Aug 21, 2024
3ba901f
feat(CAHN Demo): :sparkles: add endpoints for data retrieval, add dat…
A9-dev Aug 22, 2024
246e7ca
fix(CAHN Demo Server): :bug: fix all_devices_data endpoint
A9-dev Aug 22, 2024
d5b45ac
feat(CAHN Demo Server): update output_device_data rule
A9-dev Aug 22, 2024
cc5abc8
chore: remove console.log
A9-dev Aug 22, 2024
9b32471
feat(CAHN Demo): :sparkles: rule and request in client for device spe…
A9-dev Aug 22, 2024
829fe3a
feat(CAHN Demo): :sparkles: table in device page
A9-dev Aug 22, 2024
41e3ee7
feat(CAHN Demo): :lipstick: change date representation, styling changes
A9-dev Aug 22, 2024
6136f17
feat(CAHN Demo): :lipstick: styling and cleanup
A9-dev Aug 23, 2024
d0725bc
feat(CAHN Demo Server): :sparkles: prolog and endpoint for manufactur…
A9-dev Aug 23, 2024
1881a0c
feat(CAHN Demo): :sparkles: manufacturer page tables
A9-dev Aug 23, 2024
f12a93f
feat(CAHN Demo): :lipstick: add divider between device tables
A9-dev Aug 23, 2024
d270899
refactor: update manufacturer information table cell label
A9-dev Aug 23, 2024
5e6fea0
feat(CAHN Demo Server): :sparkles: get device type data prolog rule
A9-dev Aug 23, 2024
1244a14
feat(CAHN Demo Server): finish json parsing of device type data
A9-dev Aug 23, 2024
3e8df75
feat(CAHN Demo): :sparkles: device type page
A9-dev Aug 23, 2024
7826e4c
feat(CAHN Demo): :sparkles: loading skeletons, component renaming and…
A9-dev Aug 27, 2024
463f616
fix: import changes
A9-dev Aug 27, 2024
62d5cec
fix: heading in device type page
A9-dev Aug 27, 2024
7c8bbca
feat(CAHN Demo): :sparkles: add authentication layer to require email…
A9-dev Aug 27, 2024
a89a21b
refactor(CAHN Demo Server): :fire: remove unused endpoints
A9-dev Aug 27, 2024
ffed5ee
feat(CAHN Demo): :sparkles: login flow
A9-dev Aug 27, 2024
ae42444
feat(CAHN Demo): :sparkles: wasm key generation, fix hydration error
A9-dev Aug 27, 2024
e25bb99
Merge pull request #72 from nqminds/implement-login
A9-dev Aug 27, 2024
817095b
fix(CAHN Demo Server): :bug: change to public key and fix login stuff
A9-dev Aug 27, 2024
0124774
chore: add private key
A9-dev Aug 27, 2024
ac0a5ce
refactor(CAHN Demo Server): :zap: improve prolog, remove unused rules
A9-dev Aug 27, 2024
53b876e
fix: typo
A9-dev Aug 27, 2024
82552fb
feat(CAHN Demo): :sparkles: example device trust section
A9-dev Aug 28, 2024
2371d23
feat(CAHN Demo): :sparkles: VC creation for adding trust
A9-dev Aug 28, 2024
41f378d
feat(CAHN Demo): :sparkles: uploading vc
A9-dev Aug 28, 2024
893a4f4
feat(CAHN Demo Server): :sparkles: VC mode and turned claims into VCs
A9-dev Aug 28, 2024
87692ef
Merge pull request #73 from nqminds/vc-impl
A9-dev Aug 28, 2024
cb31ec5
feat(CAHN Demo Server): :sparkles: get VCs for trust given authoriser…
A9-dev Aug 28, 2024
40317e3
feat(CAHN Demo): :sparkles: trust retraction
A9-dev Aug 29, 2024
6f0866a
fix(CAHN Demo): :bug: only show retraction creation for VCs the user …
A9-dev Aug 29, 2024
f4b06a0
feat(CAHN Demo): :sparkles: add AppBar component
A9-dev Aug 29, 2024
811db96
feat(CAHN Demo): :lipstick: changes to cards
A9-dev Aug 29, 2024
5842cf5
feat(CAHN Demo): :lipstick: move add trust button
A9-dev Aug 29, 2024
70b2ea4
feat(CAHN Demo): :sparkles: basic sbom tables, remove non vcs (unused)
A9-dev Aug 29, 2024
04b561f
feat: update device type and manufacturer tables
A9-dev Aug 29, 2024
3b02671
fix(CAHN Demo): :pencil2: heading capitalisation
A9-dev Aug 29, 2024
5c0ca7e
Merge pull request #76 from nqminds/74-cahn-app-include-sbom-data-in-…
A9-dev Aug 29, 2024
6114d1d
feat(CAHN Demo): :lipstick: table changes
A9-dev Aug 29, 2024
873c805
feat(CAHN Demo): :lipstick: app bar sticky, fix key error
A9-dev Aug 29, 2024
414f393
Merge pull request #77 from nqminds/70-implement-brski-policy-app-usi…
A9-dev Aug 29, 2024
4d37588
feat(CAHN Demo): :sparkles: trust vc management uses claim cascade
A9-dev Aug 30, 2024
6411993
Merge pull request #78 from nqminds/75-cahn-app-change-trust-operatio…
A9-dev Aug 30, 2024
3f416fa
feat(CAHN Demo): :sparkles: trust management for device type
A9-dev Aug 30, 2024
f0c0ba4
feat(CAHN Demo): :sparkles: trust management for manufacturer
A9-dev Aug 30, 2024
223589a
feat(CAHN Demo): :fire: remove prolog text boxes
A9-dev Sep 2, 2024
146f9c1
Merge pull request #81 from nqminds/79-cahn-app-copy-trust-capabiliti…
A9-dev Sep 2, 2024
c190e37
feat(CAHN Demo): :sparkles: template UI, save VC for new user
A9-dev Sep 2, 2024
0fab3f0
feat(CAHN Demo): :sparkles: populate settings form with current data,…
A9-dev Sep 2, 2024
9e359f6
feat(CAHN Demo): :sparkles: saving new VCs upon user settings change
A9-dev Sep 2, 2024
d7783e5
feat(CAHN Demo): :sparkles: update user to include device type trust
A9-dev Sep 2, 2024
28e81df
feat(DeviceTypeInfoTable): update column header to 'Has Trust From Us…
A9-dev Sep 2, 2024
108d60c
broken: current state, allowed_to_connect doesn't work properly
A9-dev Sep 2, 2024
b4c9dde
fix(CAHN Demo Server): :bug: new allowed_to_connect rule
A9-dev Sep 2, 2024
f381150
Merge pull request #82 from nqminds/ash-fix-prolog-rule
A9-dev Sep 2, 2024
808ce41
feat(CAHN Demo): :sparkles: chips for permissioned users
A9-dev Sep 2, 2024
acb74e2
Merge pull request #83 from nqminds/80-cahn-app-user-management-ui
A9-dev Sep 2, 2024
c25ce40
feat(CAHN Demo): :sparkles: refresh data on trust submission/retraction
A9-dev Sep 2, 2024
4730473
feat(CAHN Demo): :lipstick: table changes
A9-dev Sep 2, 2024
2f4bd59
chore: clean custom folder
A9-dev Sep 2, 2024
89c96d7
chore: new db
A9-dev Sep 2, 2024
06a8e54
chore(CAHN Demo): :fire: cleanup
A9-dev Sep 2, 2024
5119d3d
chore: change to hastrust for /manufacturer
A9-dev Sep 3, 2024
115ebb9
chore: ordering of api functions
A9-dev Sep 3, 2024
620adff
chore: extract shared code into functions
A9-dev Sep 3, 2024
f633798
refactor(CAHN Demo Server): :truck: move lots of functions to utils.js
A9-dev Sep 3, 2024
ce1a29d
fix(CAHN Demo Server): :bug: directory fixes in functions
A9-dev Sep 3, 2024
2c5e5c1
refactor(CAHN Demo Server): :fire: remove unused require statements a…
A9-dev Sep 3, 2024
cd467ca
refactor(CAHN Demo Server): :recycle: function to remove duplication
A9-dev Sep 3, 2024
3adc325
Merge pull request #86 from nqminds/cleanup
A9-dev Sep 3, 2024
154a8b4
feat(CAHN Demo): :bug: fix disparity in naming for trust_vc endpoints
A9-dev Sep 5, 2024
d2ecc63
refactor(CAHN Demo): :recycle: extract styled table and unix helper f…
A9-dev Sep 5, 2024
f46747a
refactor(CAHN Demo): :truck: move schemas and remove comment
A9-dev Sep 5, 2024
5da9f4a
feat(CAHN Demo): :sparkles: use imports for schemas and fix deleting …
A9-dev Sep 5, 2024
0dce2c0
feat(CAHN Demo): :sparkles: VCs generated from schema
A9-dev Sep 5, 2024
0c16f6c
fix(CAHN Demo Server): :ambulance: reset emailToPublicKeys
A9-dev Sep 5, 2024
257194d
feat(CAHN Demo Server): :bug: update server schemas
A9-dev Sep 5, 2024
1803e41
chore(CAHN Demo Server): :fire: remove console log
A9-dev Sep 5, 2024
387cf34
feat(CAHN Demo): :recycle: implement TrustSubmissions component
A9-dev Sep 5, 2024
b56d483
feat(CAHN Demo): :recycle: WASM initialisation in another file
A9-dev Sep 5, 2024
5a3152d
feat(CAHN Demo): :recycle: util function, fix ordering of parameters …
A9-dev Sep 6, 2024
19d9b98
fix(CAHN Demo Server): :bug: ordering of parameters in manufacturer_t…
A9-dev Sep 6, 2024
8a74b17
fix(CAHN Demo): :bug: fix key issue
A9-dev Sep 6, 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
7 changes: 3 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"wisekey",
"wolfssl"
],
"rust-analyzer.linkedProjects": [
"./packages/nist_policy/Cargo.toml"
]
}
"rust-analyzer.linkedProjects": ["./packages/nist_policy/Cargo.toml"],
"conventionalCommits.scopes": ["CAHN Demo", "CAHN Demo Server"]
}
33 changes: 22 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/cahn_demo/client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/babel", "next/core-web-vitals"]
}
36 changes: 36 additions & 0 deletions packages/cahn_demo/client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
36 changes: 36 additions & 0 deletions packages/cahn_demo/client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
7 changes: 7 additions & 0 deletions packages/cahn_demo/client/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
}
4 changes: 4 additions & 0 deletions packages/cahn_demo/client/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
Loading
Loading