Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Feed API: Lack of information about wrong signature #983

@xrn

Description

@xrn

Here is my issue about CLI - #979

This one is about API interface
When the signature is not correct using the example from Swarm documentation - https://swarm-guide.readthedocs.io/en/latest/usage.html#javascript-example - and MetaMask signature

sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))

Where message = digest

I probably receive the wrong signature (pls let me know is comment if I should use for it Ethereum Signed.... or no). When I send it I receive status 200 but the feed is not updated. Here is an issue with missing signature ethereum/go-ethereum#18008 and it is fixed and returns 400 (could be 401 as well). In my opinion, the wrong signature case should return 403

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions