ConsenSysMesh / ConsenSysMesh/stow-box

permission form. "Unable to encrypt file for viewer. Is the viewer public key correct?"

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15
Forks
5
PR merge metrics
No merged PRs in 30d

Description

i go to the /permissions page.
i fill the form.
i entered public key '0x3cf47306fc3ef417a1a7562beff912c92cadfa06a2d894ea1d1804910c792e3d190999fdf863a49d985486b5e5530fb2297d351834712d624d1a270f8dd62401'
i click 'add permission'.
i receive error "Unable to encrypt file for viewer. Is the viewer public key correct?".

code does:
reencrypted = await encrypt(new Buffer(viewerEncyptionPublicKey, 'hex'), decryptedData);

issue solve if code is:
reencrypted = await encrypt(viewerEncyptionPublicKey, decryptedData);

see file actions/PermissionsActions.js line 167

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.