Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 58600e7163 chore(release): 0.1.0-develop.30 [skip ci]
# [0.1.0-develop.30](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.29...v0.1.0-develop.30) (2023-09-02)

### Bug Fixes

* correct argument order on ed25519.verify ([daf357c](daf357cd63))
2023-09-02 00:42:33 +00:00
Derrick Hammer 006c49409c
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 20:41:36 -04:00
Derrick Hammer daf357cd63
fix: correct argument order on ed25519.verify 2023-09-01 20:41:32 -04:00
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.30](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.29...v0.1.0-develop.30) (2023-09-02)
### Bug Fixes
* correct argument order on ed25519.verify ([daf357c](https://git.lumeweb.com/LumeWeb/libs5/commit/daf357cd639cb69ee5957e6628aad1b62a6bfc34))
# [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2023-09-02) # [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2023-09-02)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.29", "version": "0.1.0-develop.30",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.29", "version": "0.1.0-develop.30",
"dependencies": { "dependencies": {
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1", "@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.29", "version": "0.1.0-develop.30",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -244,7 +244,7 @@ export class RegistryService {
...sre.data, ...sre.data,
]); ]);
return ed25519.verify(list, sre.signature, sre.pk.slice(1)); return ed25519.verify(sre.signature, list, sre.pk.slice(1));
} }
public serializeRegistryEntry(sre: SignedRegistryEntry): Uint8Array { public serializeRegistryEntry(sre: SignedRegistryEntry): Uint8Array {
return Uint8Array.from([ return Uint8Array.from([