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

fix: update pubkeys request signed to zenroom v4 #18

Merged
merged 2 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 4 additions & 5 deletions .github/workflows/make-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ jobs:
with:
submodules: recursive
- name: Download latest zenroom binary
uses: supplypike/setup-bin@v1
with:
uri: 'https://files.dyne.org/zenroom/nightly/zenroom-linux-amd64'
name: 'zenroom'
version: '3.0.0-nightly'
run: |
wget https://github.com/dyne/zenroom/releases/latest/download/zenroom -O zenroom
chmod +x zenroom
sudo cp zenroom /usr/local/bin/zenroom
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
Expand Down
12 changes: 6 additions & 6 deletions src/pubkeys-request-signed.zen
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Given I have a 'base58' named 'bitcoin public key'
When I create the 'string dictionary' named 'did document'
and I move '@context' in 'did document'
and I move 'description' in 'did document'
If 'identifier' is found in 'ifacer_id'
If I verify 'identifier' is found in 'ifacer_id'
When I move 'identifier' from 'ifacer_id' to 'did document'
EndIf

Expand Down Expand Up @@ -154,16 +154,16 @@ When I move 'verificationMethod' in 'did document'
### DID-Document ended

# did document signature
When I create the json of 'did document'
and I create the ecdh signature of 'json'
and I remove 'json'
When I create the json escaped string of 'did document'
and I create the ecdh signature of 'json escaped string'
and I remove 'json escaped string'

# result signature
When I create the 'string dictionary' named 'result'
and I copy 'did document' in 'result'
and I copy 'timestamp' in 'result'
and I create the json of 'result'
and I create the eddsa signature of 'json'
and I create the json escaped string of 'result'
and I create the eddsa signature of 'json escaped string'

# signer id
When I create the eddsa public key
Expand Down