-
mj-xmr_
Hi, I was away for 2.5 weeks due to RL issues. I'm in the process of creating automated Valgrind reports right now.
-
mj-xmr_
so thanks for merging my Valgrind script.
-
usamat
Hello, is the commitment public key same as a stealth address?
-
usamat
"vout": [ {
-
usamat
"amount": 0,
-
usamat
"target": {
-
usamat
"key": "45ee17f65852f68ad73ce200dd16be92a5878cb4d86ecc740b02828664c2510e"
-
usamat
}
-
usamat
}, {
-
usamat
"amount": 0,
-
usamat
"target": {
-
usamat
"key": "9cf4c81578791734b2a1a311ac4798db040330d22e5bc9b6c8519eb47056cdaf"
-
usamat
}
-
usamat
}
-
usamat
],
-
usamat
and is it the "key" field of "vout"?
-
moneromooo
What you pasted are the output public keys.
-
usamat
Okay.
-
usamat
-
moneromooo
They're sometimes called one time addresses, yes
-
moneromooo
But since they're not addresses, I think it's a bad name,
-
ErCiccione[m]
So, i contacted the guy who maintains the monero package on debian and he answered today. He is having a bug in 0.17.1.9 that it's blocking the situation. He says that any help would be appreciated:
bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
-
ErCiccione[m]
note that it's very important to have this bug fixed asap so that the debain package can be upgraded to 0.17.1.9
-
ErCiccione[m]
this is necessary if we want monero to be included in debian bullseye and tails
-
ErCiccione[m]
-
ErCiccione[m]
We have until February 11
-
ErCiccione[m]
Anybody that could help with that?
-
mj-xmr
I have time
-
mj-xmr
<ErCiccione[m]> : I will take it up today and let you know in a couple of hours if I can handle it.
-
AClacy
exit
-
ErCiccione[m]
mj-xmr: Awesome, thanks :)
-
moneromooo
Just worked on deban 10 fwiw.
-
usamat
moneromooo could you please take a look at this:
-
usamat
-
moneromooo
Please rephrase.
-
moneromooo
I mean, clarify your question. I'm not sure what you're asking.
-
xiphon
-
xiphon
^ we need to provide basic_stream operator << implementation for wipeable_string,
paste.debian.net/plain/1182806 should work
-
xiphon
^ mj-xmr
-
moneromooo
Not sure we should. It kinda defeats the point of wipeable_string.
-
moneromooo
<< will leave traces in random places.
-
xiphon
well, then we should just fix the tests
-
xiphon
so they don't try to print the string
-
usamat
moneromooo you said that the "key" is the output public key.
-
usamat
"vout": [ {
-
usamat
"amount": 0,
-
usamat
"target": {
-
usamat
"key": "45ee17f65852f68ad73ce200dd16be92a5878cb4d86ecc740b02828664c2510e"
-
usamat
}
-
usamat
}, {
-
usamat
"amount": 0,
-
usamat
"target": {
-
usamat
"key": "9cf4c81578791734b2a1a311ac4798db040330d22e5bc9b6c8519eb47056cdaf"
-
usamat
}
-
usamat
}
-
usamat
],
-
moneromooo
It is.
-
moneromooo
And the recipient can recover the associated secret key when spending.
-
ErCiccione[m]
should i wait or should i tell them to try the patch?
-
usamat
Alright.
-
usamat
and the document zero to monero has no section on the keyword "output public key". Its talks about "one-time addresses".
-
usamat
So my question is, are they the same?
-
moneromooo
Yes, two names for the same thing.
-
moneromooo
But as I said they're not actually addresses so it's a misnomer really.
-
usamat
oh okay. Thank you so much :)
-
xiphon
"<ErCiccione[m]> should i wait or should i tell them to try the patch?" < wait, althogh the patch might fix the issue, is most probably not the way we want to fix it :)
-
ErCiccione[m]
got it
-
usamat
and could you please point me to some C++ or JS implementation of deriving this output public key from pub_key and rand_scalar?
-
moneromooo
You can start from cryptonote_tx_utils.cpp, construct_...with_key
-
usamat
Yea I was roaming about this file. I'll dig deeper then
-
usamat
thank you!
-
moneromooo
I just looked, it seems to be the call to hwdev.generate_output_ephemeral_keys from the function above.
-
mj-xmr
I will try to reproduce the Debian problem now.
-
mj-xmr
Then we can discuss various solutions.
-
moneromooo
The solution is likely to have custom messages on those asserts, the default is to print the args IIRC.
-
usamat
thank you moneromooo, would have taken me a lot longer to figure this out.
-
xiphon
-
mj-xmr
It builds on Debian 10 here as well. Perhaps the problem lies in their version of boost. Will recheck.
-
mj-xmr
Buster uses 1.67.0.1
-
mj-xmr
(boost)
-
mj-xmr
... building boost 1.67...
-
mj-xmr
Get: 140
127.0.0.1:3142/debian sid/main amd64
-
mj-xmr
It's SID, not Buster
-
mj-xmr
-
mj-xmr
OK. I'll need to build it via Docker.
-
mj-xmr
OK. Building.
-
mj-xmr
It builds OK under current unstable. I'll try sid explicitly.
-
mj-xmr
Then I'll take a closer look at the packages, that they used.
-
mj-xmr
It builds under sid as well. I'll use the same list of packages, that they use, but looking at their logs, I start to think that the culprit lies in one of the many patches, that they apply. It makes me wonder why they apply them, since it builds ok without them.
-
mj-xmr
Reproduced :)
-
mj-xmr
They're most probably missing one package. I'll try to bisect this.
-
moneromooo
The patches with 6934 in the name sound like a likely culprit fwiw.
-
mj-xmr
Their package list is missing libboost-dev. This package contains boost::optional (and no other package does). Trying with the package now.
-
jakoson0
Look on the bright side. At least you don't need to obsess over signs of life from FUK now.
-
mj-xmr
I got distracted by my wife. I will now write a pragmatic solution to the package maintainer.
-
mj-xmr
-
mj-xmr
<ErCiccione[m]>: Here's my reply. Closing the shop for today.