Comments (5)
can you confirm if are you doing this in the cli or gui? you are trying to verify a signed message? (there is an open issue about this being not correctly implemented in the gui, or rather, for view only wallets* please confirm)
sorry, you are using this rpc call correct? https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#verify
from monero.
wallet rpc testnet sign/verify works. i use the wallets main address:
curl http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"sign","params":{"data":"This is sample data to be signed"}}' -H 'Content-Type: application/json'
{
"id": "0",
"jsonrpc": "2.0",
"result": {
"signature": "SigV2PECWS3q4j4jCFZqFneMM5KGfmWwgfrg27LF9QdaY6hofPFJQvL7jCJphvW1nfkv34BD3yp7gh4LMjS7GAPQjpPjF"
}
}
curl http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"verify","params":{"data":"This is sample data to be signed","address":"A2JaqzYKf75MS17Ast12NhejooK6d29wRF6kvwqvxvUUT68BkSnBY57XAgqibjgQPyVM9TyT8RsFn1FXEsPcZE64LonF1iK","signature":"SigV2PECWS3q4j4jCFZqFneMM5KGfmWwgfrg27LF9QdaY6hofPFJQvL7jCJphvW1nfkv34BD3yp7gh4LMjS7GAPQjpPjF"}}' -H 'Content-Type: application/json'
{
"id": "0",
"jsonrpc": "2.0",
"result": {
"good": true,
"old": false,
"signature_type": "spend",
"version": 2
}
}
curl http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"verify","params":{"data":"This is sample data to be signed","address":"A2JaqzYKf75MS17Ast12NhejooK6d29wRF6kvwqvxvUUT68BkSnBY57XAgqibjgQPyVM9TyT8RsFn1FXEsPcZE64LonF1iK","signature":"BADigV2PECWS3q4j4jCFZqFneMM5KGfmWwgfrg27LF9QdaY6hofPFJQvL7jCJphvW1nfkv34BD3yp7gh4LMjS7GAPQjpPjF"}}' -H 'Content-Type: application/json'
{
"id": "0",
"jsonrpc": "2.0",
"result": {
"good": false,
"old": false,
"signature_type": "spend",
"version": 0
}
}
from monero.
Resolved. Thanks a lot.
from monero.
Paste the request data you used to obtain a good: true response
from monero.
Sorry, I've already replaced it with the above. It was most likely just incorrect params placement. But seems to work well now.
from monero.
Related Issues (20)
- [Bug] `core_tests` failed on linux HOT 13
- Mining on cutted blockchain HOT 2
- Synchronization on my SSD-blockchain HOT 2
- Different SEED after recovering wallet! HOT 4
- any fixes, (monorod won't start or is missing) HOT 9
- Is https://unstoppableswap.net/ reliable ? HOT 1
- Can I find out about an outgoing transaction, knowing only the address and the private view key? HOT 1
- In regtest, generateblocks returns status:BUSY if using --no-sync HOT 4
- Bug: it's possible to set --no-zmq and zmq pub / bind ip and ports in Monerod config without having any errors
- Why are there 4 numbers in the versioning scheme? HOT 6
- Month-long reorgs in logs HOT 2
- Problem linking with libicu when building on Arch HOT 23
- Monerod Syncing problem HOT 25
- Proposal: Reduce size of block hashing blobs for PoW validation HOT 8
- monero-cli: non-interactive wallet generation HOT 8
- wallet2.cpp-3e34503d.o.tmp infected with malware HOT 2
- I'm getting lots of stacktrace exceptions (running sethforprivacy's monero Docker) HOT 3
- Relying on `--data-dir` can be problematic. HOT 1
- monero-wallet-rpc can't work via socks5 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monero.