Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Merge requests
!128
Project/base32768
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Project/base32768
project/base32768
into
project/HavenBeta
Overview
0
Commits
19
Pipelines
0
Changes
29
Merged
Jonah Husson
requested to merge
project/base32768
into
project/HavenBeta
1 year ago
Overview
0
Commits
19
Pipelines
0
Changes
29
Expand
0
0
Merge request reports
Compare
project/HavenBeta
version 8
3e160fa6
1 year ago
version 7
ae5903ed
1 year ago
version 6
8d783660
1 year ago
version 5
8f6efbd4
1 year ago
version 4
698869e2
1 year ago
version 3
9ee7b6c4
1 year ago
version 2
674e171e
1 year ago
version 1
f725f95d
1 year ago
project/HavenBeta (base)
and
latest version
latest version
9dc7c711
19 commits,
1 year ago
version 8
3e160fa6
18 commits,
1 year ago
version 7
ae5903ed
17 commits,
1 year ago
version 6
8d783660
16 commits,
1 year ago
version 5
8f6efbd4
15 commits,
1 year ago
version 4
698869e2
14 commits,
1 year ago
version 3
9ee7b6c4
13 commits,
1 year ago
version 2
674e171e
2 commits,
1 year ago
version 1
f725f95d
68 commits,
1 year ago
29 files
+
391
−
574
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
29
Search (e.g. *.vue) (Ctrl+P)
indexedDb/impl/channels/callbacks.go
+
2
−
2
Options
@@ -18,8 +18,8 @@ import (
"gitlab.com/elixxir/client/v4/channels"
"gitlab.com/elixxir/client/v4/cmix/rounds"
cryptoBroadcast
"gitlab.com/elixxir/crypto/broadcast"
cryptoChannel
"gitlab.com/elixxir/crypto/channel"
"gitlab.com/elixxir/crypto/fastRNG"
idbCrypto
"gitlab.com/elixxir/crypto/indexedDb"
"gitlab.com/elixxir/crypto/message"
wChannels
"gitlab.com/elixxir/xxdk-wasm/indexedDb/worker/channels"
"gitlab.com/elixxir/xxdk-wasm/worker"
@@ -64,7 +64,7 @@ func (m *manager) newWASMEventModelCB(data []byte) ([]byte, error) {
// Create new encryption cipher
rng
:=
fastRNG
.
NewStreamGenerator
(
12
,
1024
,
csprng
.
NewSystemRNG
)
encryption
,
err
:=
c
rypto
Channel
.
NewCipherFromJSON
(
encryption
,
err
:=
idbC
rypto
.
NewCipherFromJSON
(
[]
byte
(
msg
.
EncryptionJSON
),
rng
.
GetStream
())
if
err
!=
nil
{
return
[]
byte
{},
errors
.
Errorf
(
Loading