-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
be more general when getting key from hex #52
Comments
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Mailchain team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the |
This should look at the |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 60.0 DAI (60.0 USD @ $1.0/DAI) attached to it.
|
can you elaborate a little more on what exactly to be more general here. |
I will start this issue. |
#381 needs to be completed before this can be merged |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
11 similar comments
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@Liquid369 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
Hi @robdefeo, could you assign it to me? |
@olimpias already started working on this issue? |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 2 months ago. 1) developerfred has been approved to start work. I would love to do this issue. Learn more on the Gitcoin Issue Details page. |
Hi @developerfred, I havent started yet. I m planning to work on it tomorrow. I guess, you want to work on it. Am I right? You can have it, if it is the case. |
yes, thanks @olimpias. needing something just call me |
…ge.go to include public-key-encoding and public-key-kind mailchain#52
…ge.go to include public-key-encoding and public-key-kind mailchain#52
…ge.go to include public-key-encoding and public-key-kind mailchain#52
…ge.go to include public-key-encoding and public-key-kind mailchain#52 *validate public_key_encoding use encoding/consts.go *use correct encoding method *use crypto/multikey.PublicKeyFromBytes *create tests using external files
…ge.go to include public-key-encoding and public-key-kind mailchain#52 *validate public_key_encoding use encoding/consts.go *use correct encoding method *use crypto/multikey.PublicKeyFromBytes *create tests using external files
…ge.go to include public-key-encoding and public-key-kind mailchain#52 *validate public_key_encoding use encoding/consts.go *use correct encoding method *use crypto/multikey.PublicKeyFromBytes *create tests using external files
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 60.0 SAI (60.0 USD @ $1.0/SAI) has been submitted by: @Web3Foundation please take a look at the submitted work:
|
* [x] use correct encoding method from encoding package to decode bytes #52 * expand PostMessage in cmd/mailchain/internal/http/handlers/send_message.go to include public-key-encoding and public-key-kind #52 *validate public_key_encoding use encoding/consts.go *use correct encoding method *use crypto/multikey.PublicKeyFromBytes *create tests using external files * feat: getting key from hex #52 * *add function encoding.PublicKeyEncoding * update send_message_test * add test file for PublicKeyEncoding() #52 * tests: increase test coverage Co-authored-by: Rob De Feo <robertodefeo@hotmail.com>
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Mailchain team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the |
Is your feature request related to a problem? Please describe.
With the introduction of substrate, when sending a message the public key type needs to be specified, the client will now send
public-key-encoding
andpublic-key-kind
mailchain/mailchain-web#146Describe the solution you'd like
PostMessage
incmd/mailchain/internal/http/handlers/send_message.go
to includepublic-key-encoding
andpublic-key-kind
public_key_encoding
useencoding/consts.go
public_key_kind
usecrypto/keys.go
encoding
package to decode bytes https://github.com/mailchain/mailchain/blob/master/cmd/mailchain/internal/http/handlers/send_message.go#L291crypto/multikey.PublicKeyFromBytes
to decode bytes to key https://github.com/mailchain/mailchain/blob/master/cmd/mailchain/internal/http/handlers/send_message.go#L291response
andrequest
prefix for filesThe text was updated successfully, but these errors were encountered: