decrypt with correct secret
This commit is contained in:
parent
7306a52f8e
commit
f96114b7fc
1 changed files with 2 additions and 1 deletions
|
|
@ -139,8 +139,9 @@ const onIncoming = cb => {
|
|||
return
|
||||
}
|
||||
const ourSecret = await SEA.secret(await Utils.pubToEpub(pub), user._.sea)
|
||||
const mySecret = await Utils.mySecret()
|
||||
|
||||
const feed = await SEA.decrypt(encFeed, ourSecret)
|
||||
const feed = await SEA.decrypt(encFeed, mySecret)
|
||||
|
||||
if (pubFeedPairsWithIncomingListeners.add(pub + '--' + feed)) {
|
||||
require('../../Mediator')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue