Skip to content

Commit 349b5b7

Browse files
authored
Enable sharing of notes in vetKD encrypted notes (#624)
Enables sharing of notes in the vetKD-variant of the encrypted notes dapp. To do this, the backend is entirely restructured so that notes are stored by their ID and vetKeys are derived using the note ID (and the note owner) as derivation ID.
1 parent 08ee78e commit 349b5b7

25 files changed

+1011
-928
lines changed

Diff for: .github/workflows/motoko-encrypted-notes-vetkd-example.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: motoko-encrypted-notes
1+
name: motoko-encrypted-notes-vetkd
22
on:
33
push:
44
branches:
55
- master
66
pull_request:
77
paths:
88
- motoko/encrypted-notes-dapp-vetkd/**
9-
- .github/workflows/provision-darwin.sh
9+
- motoko/encrypted-notes-dapp-vetkd/provision-darwin.sh
1010
- .github/workflows/provision-linux.sh
11-
- .github/workflows/motoko-encrypted-notes-example.yml
11+
- .github/workflows/motoko-encrypted-notes-vetkd-example.yml
1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414
cancel-in-progress: true

Diff for: .github/workflows/motoko-encrypted-notes-vetkd-skip.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: motoko-encrypted-notes
1+
name: motoko-encrypted-notes-vetkd
22
on:
33
pull_request:
44
paths-ignore:
55
- motoko/encrypted-notes-dapp-vetkd/**
6-
- .github/workflows/provision-darwin.sh
6+
- motoko/encrypted-notes-dapp-vetkd/provision-darwin.sh
77
- .github/workflows/provision-linux.sh
8-
- .github/workflows/motoko-encrypted-notes-example.yml
8+
- .github/workflows/motoko-encrypted-notes-vetkd-example.yml
99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true

Diff for: .github/workflows/rust-encrypted-notes-vetkd-example.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: rust-encrypted-notes
1+
name: rust-encrypted-notes-vetkd
22
on:
33
push:
44
branches:
55
- master
66
pull_request:
77
paths:
88
- motoko/encrypted-notes-dapp-vetkd/**
9-
- .github/workflows/provision-darwin.sh
9+
- motoko/encrypted-notes-dapp-vetkd/provision-darwin.sh
1010
- .github/workflows/provision-linux.sh
11-
- .github/workflows/rust-encrypted-notes-example.yml
11+
- .github/workflows/rust-encrypted-notes-vetkd-example.yml
1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414
cancel-in-progress: true

Diff for: .github/workflows/rust-encrypted-notes-vetkd-skip.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: rust-encrypted-notes
1+
name: rust-encrypted-notes-vetkd
22
on:
33
pull_request:
44
paths-ignore:
5-
- rust/encrypted-notes-dapp-vetkd/**
6-
- .github/workflows/provision-darwin.sh
5+
- motoko/encrypted-notes-dapp-vetkd/**
6+
- motoko/encrypted-notes-dapp-vetkd/provision-darwin.sh
77
- .github/workflows/provision-linux.sh
8-
- .github/workflows/rust-encrypted-notes-example.yml
8+
- .github/workflows/rust-encrypted-notes-vetkd-example.yml
99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true

0 commit comments

Comments
 (0)