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

[V3] Upgrade ACC-based encryption + JWT signing #145

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
52e5e2c
Integrate new BLS WASM
hwrdtm Jun 14, 2023
c48f68e
Update crypto wrappers around BLS WASM
hwrdtm Jun 14, 2023
1ce2602
Add return types to utility functions
hwrdtm Jun 14, 2023
8134bf8
Use generics in IEither
hwrdtm Jun 14, 2023
c51cf9a
Use generics in IEither
hwrdtm Jun 14, 2023
a4f6b2b
Refactor param validation, add coverage, use IEither to return error …
hwrdtm Jun 14, 2023
d9d782f
Fix map
hwrdtm Jun 14, 2023
f2212fc
Fix crypto package logic + tests
hwrdtm Jun 14, 2023
4fe63af
Update encryption helpers and integrate new BLS encryption to lit-nod…
hwrdtm Jun 14, 2023
dde3868
Remove jalapeno support and make serrano the default
hwrdtm Jun 14, 2023
3df13fb
Build fixes + bug fixes
hwrdtm Jun 15, 2023
17b1558
Make demo app use TS
hwrdtm Jun 15, 2023
7dc7d04
Use better names, fixes
hwrdtm Jun 15, 2023
a9bd44d
Fix bug, make errors more verbose
hwrdtm Jun 16, 2023
c67df58
Update encryption logic in demo app
hwrdtm Jun 16, 2023
cda0f1d
Couple of important bug fixes + tidy up
hwrdtm Jun 16, 2023
802851e
Demo using human-readable strings
hwrdtm Jun 16, 2023
3e5b46a
Update comments and JSDocs
hwrdtm Jun 17, 2023
4d751ad
Fix bugs, update all e2e & manual tests, simplify encryptString to ju…
hwrdtm Jun 21, 2023
4bb0a14
Update bls-sdk,crypto with verify_signature, implement demo-locked-ex…
hwrdtm Jun 24, 2023
ae35bcd
Add getSignedToken + verification to e2e tests
hwrdtm Jun 24, 2023
ff937b5
Update manual_tests for signed JWT tests
hwrdtm Jun 24, 2023
85f7671
Cleanup
hwrdtm Jun 24, 2023
60b621b
Fix types
hwrdtm Jul 7, 2023
af3f59b
Use cayenne as default
hwrdtm Jul 10, 2023
9ad5af3
Update to cayenne contracts
hwrdtm Jul 10, 2023
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Environment:**
- Lit SDK version (including the network (ie, "serrano") if different, and type - browser or backend)
- Lit SDK version (including the network (ie, "cayenne") if different, and type - browser or backend)
- Node version
- Framework (React, Vue, Angular, Svelte - just Plain HTML!, etc)
- Specific tooling (Webpack, Vite, browserify, etc)
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-email-sms-auth/src/Otp.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {newSessionCapabilityObject, LitAccessControlConditionResource, LitAbilit
export function Otp() {
let [state, setState] = useState('start');
const litNodeClient = new LitNodeClient({
litNetwork: "serrano",
litNetwork: "cayenne",
debug: true
});
const authClient = new LitAuthClient({
Expand Down
7 changes: 6 additions & 1 deletion apps/demo-encrypt-decrypt-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
"private": true,
"dependencies": {
"@lit-protocol/lit-node-client": "^2.1.158",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: need to update version once published.

"@monaco-editor/react": "^4.4.6",
"@monaco-editor/react": "^4.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.19",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
331 changes: 0 additions & 331 deletions apps/demo-encrypt-decrypt-react/src/App.js

This file was deleted.

Loading