-
UkoeHB_
can sc_reduce32 return 0?
-
khayrullo
hello
-
khayrullo
recommend node js library to talk to monero node please
-
khayrullo
most libraries ive googled seem to be vulnrable
-
khayrullo
-
lza_menace
huh? what does nodejs library have to do with this khayrullo? this would indicate that these wallet projects just need to improve their implementation of running the local wallet RPC process
-
lza_menace
these projects are super old anyways...
-
lza_menace
wouldn't the right recommendation be to run the monero wallet RPC with at least authentication? and at most with full DNS and TLS cert setup?
-
lza_menace
wouldn't the attacker have to guess the right amount, too? it will fail to send the TX if it's more funds than are available
-
xiphon
are there any v0.15.0.5 reproducible builds available?
-
xiphon
^ hyc: iDunk: selsta: or anybody else doing reproducible builds
-
selsta
-
selsta
but they are also on getmonero.org
-
xiphon
thanks
-
selsta
xiphon: are you looking at the glibc issue? we used a newer gcc version, I guess that’s the problem
-
xiphon
"we used a newer gcc version" -> it won't affect glibc version
-
xiphon
i would say that reproducible builds doesn't support anything older Ubuntu bionic 18.04
-
selsta
weird that no one complained until now
-
selsta
xiphon: ok, people are reporting that v0.15.0.1 works on Ubuntu 16.04, the only thing we changed is newer gcc and updated libsodium
-
xiphon
selsta: yeah, my bad - apparently inspecting the binaries i misread `gnu_get_libc_version@@GLIBC_2.2.5` as `GLIBC_2.25`
-
xiphon
libsodium 1.0.18 uses getrandom(...) which is availabe only since glibc 2.25
-
dEBRUYNE
Some PRs that require (final) review or approval (after rebase), would appreciate if people could have a look
-
dEBRUYNE
Needs review:
-
dEBRUYNE
6269 6296 6298 6304
-
dEBRUYNE
Needs final approval (after rebase):
-
dEBRUYNE
6227 6260
-
dEBRUYNE
Needs final review:
-
dEBRUYNE
6214 6278 6299
-
xiphon
selsta: could you do linux x64 reproducible build with
monero-project/monero #6397 ?
-
selsta
I can do a depends build which should be equal.
-
moneromooo
That... prevents building if you're using an old glibc ?
-
selsta
I don’t know how to do a reproduce build only for 1 platform.
-
xiphon
moneromooo: it prevents invoking these functions, i would expect libsodium will use some workaround then
-
xiphon
like getrandom syscall
-
xiphon
selsta: "I can do a depends build which should be equal" <- sounds good
-
moneromooo
So this is making configure think there is no getrandom call. It looks like purposefully undermining random quality, no ?
-
moneromooo
Then again we're using /dev directly. Any places we use sodium random ?
-
xiphon
"It looks like purposefully undermining random quality, no ?" -> nope, why do you think so?
-
moneromooo
Because if a configure test fails, I expect it won't be using that symbol.
-
moneromooo
That's usually what those tests are used for anyway.
-
moneromooo
What is this intended to do anyway ?
-
xiphon
"Then again we're using /dev directly. Any places we use sodium random ?" -> will have a look, maybe we can drop the code using sodium random
-
xiphon
"What is this intended to do anyway ?" -> to not link agains getrandom/getentropy that require glibc 2.25
-
xiphon
and let monero wallet binaries run on Ubuntu 16.04, for example
-
moneromooo
OK, still seems like a landmine if we end up using libsodium's random later, we'd need to not forget to undo that...
-
xiphon
yep, would be better just drop fairly outdated OSes support
-
omartijn
Well 16.04 is still supported because it's LTS
-
xiphon
i know
-
xiphon
moneromooo: "OK, still seems like a landmine if we end up using libsodium's random later" -> we can integrate a check in to build process
-
xiphon
the check will get the glibc version required by resulted monero binaries and fail if it is greater than the version we want
-
xiphon
^ if we follow the way of dropping the code that uses sodium random, of course
-
xiphon
Inspected the code
-
xiphon
Libsodium uses getrandom() during initialization
-
xiphon
No way we can drop this, once you call sodium_init(), it will initialize its entropy buffers and invoke getrandom() (if it is available)
-
TheCharlatan
building your patch now xiphon
-
xiphon
TheCharlatan: sounds good, let me know the results
-
TheCharlatan
Left one more comment on the pr xiphon. With that done, I have verified that getrandom is no longer in the symbol table. Should obv. test creating a wallet etc.
-
selsta
xiphon: do you still need the build?
-
xiphon
selsta: nope, seems TheCharlatan already checked the patch
-
selsta
oki