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

Implement ZKP using BBS+ and JsonLD #4

Merged
merged 28 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5bcf384
POC
lebedenko-ubique Oct 3, 2024
b15afc0
POC finished
lebedenko-ubique Oct 3, 2024
8138656
Make clippy happy
lebedenko-ubique Oct 10, 2024
19b718e
WIP
lebedenko-ubique Oct 17, 2024
56baaaa
Very WIP
lebedenko-ubique Oct 17, 2024
a2accbf
RDF ZKP
lebedenko-ubique Oct 23, 2024
f809554
ZKP on JsonLD
lebedenko-ubique Oct 23, 2024
bb66e9d
Happy clippy :)
lebedenko-ubique Oct 23, 2024
a1d67c9
rdf to jsonld
lebedenko-ubique Oct 31, 2024
d68dcf4
rdf query
lebedenko-ubique Oct 31, 2024
28df43d
Happy clippy :)
lebedenko-ubique Oct 31, 2024
6dfe380
Use RdfQuery
lebedenko-ubique Oct 31, 2024
d9ce254
JsonLD proof can be presented
lebedenko-ubique Oct 31, 2024
4e1e87e
Check if proof contains needed value
lebedenko-ubique Oct 31, 2024
3a1a6b8
WIP json-ld zkp flow
lebedenko-ubique Nov 7, 2024
25f1d29
Cleanup dependencies
lebedenko-ubique Nov 7, 2024
006d187
bbs test
lebedenko-ubique Nov 7, 2024
03defe9
fix warnings
lebedenko-ubique Nov 7, 2024
45c16fc
Make sure it compiles on mobile devices
lebedenko-ubique Nov 14, 2024
5237c01
zkp
lebedenko-ubique Nov 14, 2024
ac05127
fix zkp
lebedenko-ubique Nov 14, 2024
255baff
fix circuits
lebedenko-ubique Nov 14, 2024
7fbb7ba
Refactor
lebedenko-ubique Nov 14, 2024
aa3aa31
Refactor
lebedenko-ubique Nov 14, 2024
efb716d
Implement zkp as a service
lebedenko-ubique Nov 14, 2024
e5b9f10
make clippy happy
lebedenko-ubique Nov 14, 2024
0994c73
bump version to v0.1.0
lebedenko-ubique Nov 14, 2024
81730e5
use updated rust workflows
lebedenko-ubique Nov 14, 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
58 changes: 6 additions & 52 deletions .github/workflows/rust_checks.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,15 @@
name: 'Rust Checks: rustfml, clippy & test'
'on':
on:
pull_request: null
workflow_dispatch: null
push:
branches:
- main
jobs:
rustfmt:
check-all:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- name: Run rustfmt
run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- name: Run clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: cargo
- name: Run tests
run: |
cargo +nightly test --workspace --all-targets --all-features -- -Z unstable-options --format json --report-time | tee results.json
- name: Prepare junit report
id: cargo_reporter
uses: innoq/action-cargo-test-report@v1
with:
cargo-test-report-json: results.json
- name: Publish Test Report
uses: mikepenz/[email protected]
if: always()
with:
check_name: Test Report
fail_on_failure: true
require_tests: true
summary: '${{ steps.cargo_reporter.outputs.summary }}'
- uses: actions/checkout@v4
- uses: UbiqueInnovation/[email protected]
- uses: UbiqueInnovation/[email protected]
- uses: UbiqueInnovation/[email protected]
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/.vscode

/target

.DS_STORE
Loading