Skip to content

Commit

Permalink
Get vectors from envelope-spec instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Powersource committed Oct 25, 2023
1 parent 2f2b032 commit b3f9331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"devDependencies": {
"c8": "^7.11.0",
"envelope-spec": "github:ssbc/envelope-spec#group-test-vectors",
"eslint": "^8.32.0",
"fast-deep-equal": "3.1.3",
"husky": "^4.3.0",
Expand All @@ -48,7 +49,6 @@
"ssb-meta-feeds": "~0.38.0",
"ssb-query": "^2.4.5",
"ssb-tribes": "^2.7.4",
"ssb-tribes-vectors": "github:ssbc/ssb-tribes",
"tap-arc": "^0.3.4",
"tape": "^5.2.2"
},
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ test('encrypt accepts keys as recps', (t) => {

test('decrypt group vectors', async (t) => {
const vectors = [
require('ssb-tribes-vectors/test/vectors/unbox1.json'),
require('ssb-tribes-vectors/test/vectors/unbox2.json')
require('envelope-spec/vectors/unbox-group1.json'),
require('envelope-spec/vectors/unbox-group2.json')
]

for (let i = 0; i < vectors.length; i++) {
Expand Down

0 comments on commit b3f9331

Please sign in to comment.