-
kayront
is openalias still a thing? ie do people use it etc, is it worth considering for new projects
-
kayront
the copyright line in the official site says 2014-2015 .. if it's still used, could use some updating :p
-
hyc
copyright statements should only be updated when some content changes. I doubt the openalias spec has needed any changes in recent years.
-
hyc
^ kayront
-
plebsersoze
is there a bug in the /getinfo rpc endpoint? the incoming connections count seems to display 0 at all times.
-
moneromooo
Are you running with restricted RPC ?
-
plebsersoze
ah, yeah. that's probably it.
-
plebsersoze
moneromooo: ok that makes a lot of sense actually. is there a way for me to get information like that while keeping the rpc restricted?
-
moneromooo
Change the code in core_rpc_server.cpp.
-
moneromooo
You can also run servers on two different ports, one restricted and one not. See --help for options.
-
moneromooo
I mean, two RPC servers from the same process.
-
plebsersoze
oh that's great. now i feel a bit silly for not checking first. yeah, that's exactly what i want so i can just block it from public on network level but still get the statistics, great! thanks :)
-
plebsersoze
another thing i was wondering is that are there plans to enable mining for rpc payments by default in cli/gui wallet if the node requires payment? i looked around the gui wallet and i didn't even see an option for that.
-
moneromooo
There's a setting in monero-wallet-cli for a credits/second threshold where it'll auto mine if the node gives more. Off by default. No support in the GUI.
-
moneromooo
(AFAIK)
-
plebsersoze
yeah that's what i figured aswell.
-
plebsersoze
moneromooo: might be a good idea to also allow binding restricted rpc to different ip aswel
-
moneromooo
I'd OK such a patch.
-
moneromooo
Not sure how intrusive it'd be off the top of my head.
-
rehrar
Meeting in ten minutes?
-
kayront
hyc: fair enough, though it gives the impression that the site is abandoned too. so I take it that it's still a thing?
-
kayront
been reading about the mms, seems legit, but i can't find any wallet rpc calls for it?
-
selsta
yes OpenAlias is still a thing the spec just didn’t need any updates
-
rbrunner
kayront: Well, there aren't. Check the history of this here:
monero-project/monero #6180 especially my closing comment
-
moneromooo
There are RPC calls in a github patch. But given it's a user friendliness layer over it, RPC doesn't make much sense.
-
kayront
got it selsta. and from an implementation standpoint, does monero-wallet-rpc end up receiving the address in the end, or does it resolve the openalias address itself?
-
moneromooo
Except maybe for hte bitmessage part, but it doesn't really belong in monero-wallet-cli really. Shrug.
-
rbrunner
Shrug indeed :)
-
kayront
btw, when printing accounts in simplewallet, it'll say Tag's description: <blank> when there is no description, could that line be omitted perhaps when there is no description?
-
kayront
will read rbrunner
-
kayront
rbrunner: " I am the first one to admit that this not a good solution, but I did not find a better alternative so far." --> curious, why is bitmessage not a good solution?
-
rbrunner
Basically, because third-party. One more moving part, one more thing that can have bugs that we would not have control over, one more thing to install and babysit, along those lines
-
rbrunner
Technically, it works wonderfully. Especially, imagine, message with *zero* meta info left.
-
kayront
well, I agree it would be ideal if somehow the functionality could be native
-
rbrunner
We can wish it into existence :)
-
kayront
but seems the mms is designed to account for future alternatives anyway
-
rbrunner
Yes, more or less
-
rehrar
We wanna do a quick check up meeting? :)
-
rbrunner
i2p-zero would probably be a good starting point, but also probably itself not yet the complete solution
-
kayront
i'm still reading the comments, but I think I get the idea. maybe it doesn't belong in the api, it should be possible to make a lib around the idea that ends up calling the wallet_rpc multisig methods instead, right?
-
rehrar
I, unfortunately, haven't gotten to putting up that meta discussion. I was working on the latest Revuo periodical issue, which got released yesterday.
-
rbrunner
Yeah, much is possible
-
kayront
very cool
-
selsta
not sure if there is much to talk about rehrar
-
rehrar
aight, no biggie
-
kayront
are the meetings here usually?
-
rbrunner
Yes, a long time ago ... :)
-
rbrunner
There were
-
selsta
there are still meetings before hardforks :D
-
rbrunner
Now everything running so smoothly, nobody has to put any fires out
-
rbrunner
Well, maybe we could speak about a concerted effort to really test Dandelion++ on testnet
-
rbrunner
with more nodes than today
-
rbrunner
I am speaking about this here:
monero-project/monero #6314
-
selsta
and we can maybe talk about how to advance with
monero-project/supercop #3
-
kayront
supercop?
-
kayront
lol
-
» kayront runs
-
rbrunner
Yeah, some more vtnerd programming wizardry
-
selsta
but don’t know who can review ASM
-
rbrunner
Way over my head to review. Maybe recruit some, er, guy from uk?
-
moneromooo
Last time I looked, it seemed ok. Mostly adding bases in insns. A lot of them though.
-
selsta
maybe you can add a comment mooo?
-
selsta
last time this supercop thing got stuck for over a year
-
moneromooo
Oh wait, not the same I saw.
-
rbrunner
Maybe monermooo can make normal ops slower, to introduce artificial pressure for a speedup, to make people cry for supercop
-
moneromooo
Ah, it was PR 2, which is now merged. I'll look at 3... at some indeterminate time in the future.
-
selsta
ok coo
-
selsta
cool :D
-
rbrunner
I wonder anyway how to really test that Dandelion++. I did not see an easy way to have it log what it does. Maybe I overlooked something.
-
kayront
not to interrupt, but just throwing it out there, I was going to write about it on github soon™ but since I appear to have crashed right into a dev meeting.. who else thinks it would be cool to add 2FA support to monero-wallet-cli ? i'm playing around with the api and it's very cool to be able to spend moneroj with a single command, but that could potentially be very dangerous too, imagine for example a backend server that was compromised.
-
kayront
. now it doesn't matter that it's using a fancy password and SSL to talk to monero-wallet-rpc (on another server, presumably), moneroj gonna be running
-
rbrunner
E.g. a log message when a daemon does not broadcast a tx but pass it on, dandelion style.
-
kayront
seems to me that adding that optional support in monero-wallet-rpc itself could improve security a lot, because then (barring some catastrophic bug with wallet-rpc itself) the end user, rather than just the server contacting the api, has to participate to spend
-
kayront
spend/sign
-
moneromooo
I think it makes sense to add it to monero-wallet-rpc, optionally (ie, a setting in the wallet keys file).
-
kayront
sorry, yes, I meant monero-wallet-rpc in the beginning
-
moneromooo
For monero-wallet-cli, it doesn't really.
-
rbrunner
If it was easier probably a case for multisig, or do I misunderstand? As many "factors" as you want
-
moneromooo
AIUI, it's to guard against the user desktop/phone being pwned, but it not running monero-wallet-rpc itself, but connecting to one running a (presumably secure) server.
-
kayront
2fa like in github (& elsewhere), t/otp I believe it's called
-
kayront
indeed
-
moneromooo
So useless if the monero-wallet-rpc user is some merchant website, but useful for light wallet type users.
-
rbrunner
So, simplified, double-login into the RPC server?
-
moneromooo
We do not have light wallets using monero-wallet-rpc though I think :)
-
moneromooo
Yet.
-
moneromooo
Yes, you can see it like that.
-
kayront
rbrunner, imagine there is some nice software that lets you run a mini monero bank (for example) .. your family creates accounts there
-
kayront
users -> server -> monero-wallet-rpc
-
kayront
the server has the wallets
-
kayront
server gets pwned -> all moneros fly away
-
kayront
if monero-wallet-rpc verified something that the users themselves own (a 2fa token), then no problem, unless big bug in monero-wallet-rpc, in which case probably all bets are off anyway
-
rbrunner
Hmm, looks like another scenario. Moo was talking about users getting pwned ...
-
rbrunner
Or maybe not
-
moneromooo
Server gets pwned == monero fly away with or without 2fa.
-
kayront
here server and monero-wallet-rpc are two different servers
-
moneromooo
The light client being pwned is what this defends against.
-
kayront
but yes, I guess you are right, because the server could sneakily modify the transfer parameters too
-
kayront
so it guards against the user being owned
-
kayront
that's what you meant right? interesting angle I hadn't considered
-
moneromooo
Yes.
-
rbrunner
Maybe depends whether there is any way for the user's system to connect directly to monero-wallet-rpc as well, bypassing the server
-
kayront
it would be a basic security precaution to firewall monero-wallet-rpc off to only the server
-
moneromooo
Wait, there are three computers now ?
-
moneromooo
(omitting eve)
-
kayront
they're all happy vms, let's say
-
kayront
minus the user, presumably
-
» moneromooo doesn't care about details here
-
kayront
:D
-
rbrunner
Containers, not vms.
-
kayront
rbrunner: does all this mm stuff work with hardware wallets?
-
kayront
one less seed to memorize is always a good thing
-
kayront
if possible
-
rbrunner
Not sure. Don't have one, never tried. Not even sure hardware wallets support basic / non-MMS Monero multisig. I somehow doubt it.
-
kayront
also, it wasn't clear (could've missed it) from the docs, are tx notes, account labels, address labels etc, synchronized also? less of a mms question and more about what export_multisig_info exports I suppose
-
rbrunner
No, the MMS cares only about the info about the signers
-
rbrunner
Don't think anybody syncs labels. It would surprise to find that info in the exported multisig info
-
UkoeHB_
How long would it take an average computer to verify just PoW on all the blocks?
-
moneromooo
~ $((2.4e6 / hash rate)) seconds.
-
moneromooo
Or am I missing something ?
-
moneromooo
(the 2.4 is to overstimate the number of blocks since monerod is a bit less fast than a pool miner I think)
-
UkoeHB_
Less than an hour? Seems too fast, thought someone mentioned it would take longer
-
tevador
it's more complicated than that because there are 5 algorithms with different hashrates, and RandomX needs to reinitialize every 2048 blocks
-
moneromooo
Ah forgot about this, it'll be less than than then since random x is faster now.
-
selsta
Someone claims to have created an integrated address out of a subaddress:
monero-project/monero-gui #2633
-
moneromooo
It was deemed not not useful enough. That won't get merged.
-
selsta
right but they used some website to create the integrated address and now the funds are lost?
-
moneromooo
o_O
-
» moneromooo looks
-
moneromooo
Who uses some random site to create their addresses...
-
moneromooo
He'll be lucky it it wasn't some phishing site.
-
moneromooo
There's a fair chance the monero is retrievable. Someone comfortable with hte crypto will know.
-
selsta
maybe luigi1111 can take a look
-
moneromooo
I am amazed the lengths people go to do something wrong.
-
luigi1111
why would the funds be lost?
-
luigi1111
or did he use an integrated tag but subaddress keys?
-
selsta
They entered an subaddress here:
dustinlemos.com/integrated-address-demo and send funds to the resulting address.
-
selsta
(if I understand the issue correctly)
-
UkoeHB_
It's possible he just needs to get the subaddy spend private key, turn it into a normal address seed, then scan with that
-
UkoeHB_
Oh he's just saying the GUI doesn't work
-
selsta
explain?
-
UkoeHB_
I thought the funds were lost
-
selsta
like I said maybe I didn’t understand the issue
-
selsta
> So to start off, when I go into the wallet-cli it will show an incorrect balance because that xmr transaction is not included
-
selsta
so it does not look like a GUI issue
-
UkoeHB_
Ah my brain is fuzzy. It would help if the tx id was there
-
moneromooo
Subaddresses and standard addresses use a different crypto scheme.
-
moneromooo
So the address was created by some website that does whatever with the address (assuming it doesn't substitute its own address). And it the tx was likely sent by custom software since monero doesn't support integrated subaddresses. I'll check htat last part though, it might parse them...
-
moneromooo
No, it won't parse one that's both.
-
selsta
`843W5VwRvu9gpLvoWFCSj2ihp4KstjFLn89y6QUHfVS13iuRuQz6m65SvU1sjZ2MJXayyXJzEuKUgM65mZkmTxeTDMgVUyc` results in `4Cv2kw75wkFgpLvoWFCSj2ihp4KstjFLn89y6QUHfVS13iuRuQz6m65SvU1sjZ2MJXayyXJzEuKUgM65mZkmTxeTKF38eY1mMG9HBF7dyk` on this website.
-
moneromooo
I suppose it the site was honest, it might have generated integrated "standard".
-
moneromooo
Then stock monero can parse that and sends as a normal address.
-
moneromooo
That looks similar. So I guess it's not a phishing site :D
-
selsta
it claims to use luigi’s code
-
UkoeHB_
ok looks like it's pretending the subaddress is a normal address
-
UkoeHB_
can you generate a wallet out of private view and spend keys?
-
moneromooo
Yes. --generate-from-keys IIRC. Or from json.
-
selsta
he uses Ledger which makes things more complicated
-
moneromooo
Not sure you can get a subaddress keys without changing the source though.
-
UkoeHB_
if he knows the basic view and spend keys he can calculate the subaddy keys
-
luigi1111
oh maybe I should check that
-
luigi1111
easily recoverable though
-
luigi1111
oh wait I don't have anything to convert addresses like that
-
luigi1111
anyway just need his subaddy index and regular private keys to recover
-
UkoeHB_
hi, trying to trace out the 'ordering' of outputs from a multisig tx. In a normal tx it is randomized when shuffle() gets called in construct_tx_with_tx_key(), but there is a flag 'shuffle_outs' that *sometimes* gets activated for multisig, and I THINK *sometimes* is not activated. In transfer_selected_rct() there is a construct_tx_and_get_tx_key() that is always called the same way (multisig or not), so shuffle()
-
UkoeHB_
definitely gets used. Then, there is a section of 'bonus' multisig tx that are created when the available signers are more than the minimum necessary (each sub-group is given a tx to sign, to increase the chances of a tx succeeding). In that bonus section construct_tx_with_tx_key() is called for each bonus tx, but this time 'shuffle_outs' == false. SO, my question is, when 'destinations' are passed to the original
-
UkoeHB_
construct_tx_and_get_tx_key(), and shuffled, is this a 'pass by reference' so the base array gets shuffled, and then that shuffled array makes its way into the bonus tx, ensuring that all multisig tx have a shuffled output list?
-
moneromooo
I don't know what a bonus tx is, but the party making the tx shuffles. Others don't.
-
moneromooo
(since they have to sign the same one)
-
UkoeHB_
the section after 'std::vector<tools::wallet2::multisig_sig> multisig_sigs;'
-
UkoeHB_
does splitted_dsts 'save' the shuffle, so those other tx get the shuffled list?
-
moneromooo
IIRC yes
-
UkoeHB_
ok good news! despite the code complexity it really has few if any fundamental problems, which is quite amazing
-
moneromooo
splitted_dsts seems to be saved in the constuction_data after back from construct_tx_.
-
UkoeHB_
well I think as long as it's passed by reference then 'shuffle' actually affects the original array