Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Add support for message encryption and decryption #536

Closed
slaweet opened this issue Jul 31, 2017 · 6 comments
Closed

Add support for message encryption and decryption #536

slaweet opened this issue Jul 31, 2017 · 6 comments

Comments

@slaweet
Copy link
Contributor

slaweet commented Jul 31, 2017

Expected behaviour

Users should be able to encrypt messages with someone public key and decrypt messages with their private key. The overall style should be similar to sign/verify message.

Actual behaviour

Not implemented

@slaweet slaweet added this to the Version 2.2.0 milestone Jul 31, 2017
@slaweet
Copy link
Contributor Author

slaweet commented Aug 3, 2017

@slaweet slaweet modified the milestones: Version 1.3.0, Version 1.2.0 Aug 7, 2017
@pcdinh
Copy link

pcdinh commented Sep 18, 2017

How large in size can the message be?

@pcdinh
Copy link

pcdinh commented Sep 18, 2017

Is the message here stored in "data" field implemented in the pull request? LiskArchive/lisk-sdk#470

@slaweet
Copy link
Contributor Author

slaweet commented Sep 18, 2017

This message encryption feature in this issue is not meant to store the message onto blockchain. Therefore I believe that there is no size limit.

Support for "data" field LiskArchive/lisk-sdk#470 will be implemented to Lisk Nano here: #595

It might be worth to integrate these two features together, but that would be another issue.

@pcdinh
Copy link

pcdinh commented Sep 18, 2017

Thanks for clarification. So what does this ticket intend to solve?

@slaweet
Copy link
Contributor Author

slaweet commented Sep 18, 2017

The goal of this issue is to implement the same form as lisk-js provides here:
https://liskhq.github.io/lisk-js/example/experiment.html#encrypt
https://liskhq.github.io/lisk-js/example/experiment.html#decrypt
Except for the "secret" field, because in Lisk Nano that is already known from login.

The intended use case is that message is encrypted in Nano and sent by some other means (email, etc.).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants