-
derpy_bridge
<[keybase] unseddd>: pong sarang
-
sarang
I haven't run local fuzz tests before (shame on me) and I'm getting an error asking for an input file
-
sarang
The gen_corpus flag is being parsed as a filename
-
sarang
wat do unseddd
-
sarang
(this is for your CLSAG fuzz PR)
-
derpy_bridge
<[keybase] unseddd>: what's up?
-
derpy_bridge
<[keybase] unseddd>: hrm, maybe I checked in a previous version of the test... my bad, will fix and push
-
derpy_bridge
<[keybase] unseddd>: idk what the problem would be. does not happen on my end. will do a fresh pull, and try re-running the test
-
derpy_bridge
<[keybase] unseddd>: sarang: I am dumb, wrote `--gen_corpus` when it should be `--gen-corpus`. doc error...
-
derpy_bridge
<[keybase] unseddd>: let me know if that fixes it for you
-
sarang
unseddd: please update the CLSAG fuzzer to integrate with moneromooo's fuzz shell script runner
-
derpy_bridge
<[keybase] unseddd>: sure, was not aware of the fuzzer script. will take a look after the meeting
-
sarang
Meeting here begins at 17:00 UTC (about 10 minutes from now)
-
sarang
OK, let's get started with the research meeting!
-
sarang
First, GREETINGS
-
sarang
hi
-
ArticMine
hi
-
derpy_bridge
<[keybase] unseddd>: o7
-
UkoeHB_
hi
-
» Isthmus boots up
-
sarang
Let's go ahead and continue with the ROUNDTABLE
-
sarang
Anyone is welcome to share research topics of interest
-
sarang
I suppose that I can share a few things
-
sarang
Relating to timelocks, I extended CLSAG and Triptych to support them
-
sarang
-
sarang
-
sarang
-
sarang
3-CLSAG and 3-Triptych are the timelock-friendly data series
-
sarang
The other data series are unchanged from when I first shared them
-
sarang
I suspect that 3-CLSAG could be optimized by perhaps another 10% or so from what appears on the plot
-
sarang
Unrelated to this, I'm updating how in-memory key encryption is handled, which is taking a bit longer than expected
-
sarang
and am reviewing the new CLSAG fuzzer tool that unseddd provided
-
sarang
That's about it from me!
-
sarang
Are there any questions that I can answer?
-
Isthmus
Nice work
-
sarang
Thanks!
-
ArticMine
CLSAG optimization in verification time, size or both
-
derpy_bridge
<[keybase] unseddd>: seconded, nice stuff sarang
-
sarang
ArticMine: in verification time, and only for the new 3-CLSAG variant that would apply to encrypted timelocks
-
ArticMine
Great work by the way
-
ArticMine
Thanks
-
sarang
When I wrote 3-CLSAG, I used a particular multiscalar multiplication that could likely be made faster for this particular case
-
sarang
Also, huge thanks to unseddd for reviewing CLSAG and writing the fuzzer tool
-
derpy_bridge
<[keybase] unseddd>: is 3-CLSAG limiting the multisig to three parties?
-
derpy_bridge
<[keybase] unseddd>: np :)
-
sarang
No, it adds another key component that would be used for timelocks
-
sarang
Right now we have two key components: one for the usual signing, and the other for balance purposes
-
derpy_bridge
<[keybase] unseddd>: ah, thanks for the clarification
-
sarang
Does anyone else wish to share research of interest?
-
UkoeHB_
it seems like 3-triptych would reduce the ringsize likely to be selected by a power of 2
-
derpy_bridge
<[keybase] unseddd>: not much interesting on my end. just reading formal verification papers + some pq-crypto stuff from Mike Hamburg
-
sarang
Adding encrypted timelocks is a nontrivial verification hit
-
ArticMine
What is the time ans size cost
-
sarang
What might be interesting as an alternative would be to allow cleartext timelocks, but update decoy selection to account for known spend patterns
-
sarang
It would not eliminate fingerprinting, but could help to mitigate age-related selection heuristics
-
derpy_bridge
<[keybase] unseddd>: are there any leakage issues having the timelock in the clear?
-
sarang
ArticMine: going from CLSAG to 3-CLSAG is about 1.4x increase in verification time
-
sarang
Which could probably be reduced slightly with some extra work
-
sarang
In terms of size it's fairly trivial... adding an extra auxiliary key image (this does not account for other non-signature data)
-
sarang
unseddd: for sure
-
sarang
I'm not saying that I advocate for such an approach, only that it could be an option
-
sarang
and would not imply any size/time hits
-
UkoeHB_
it's a ways down the road, but I'd like to mention it now; when deciding ring sizes for next gen tx protocol I feel it should be based on a broader analysis of theoretical maximum tx throughput of the network; this is because the max tx volume is when rings are _least_ useful to defend against non-scaling graph heuristics, and because larger ring sizes actually reduce the max tx volume; it's an optimization
-
UkoeHB_
problem
-
derpy_bridge
<[keybase] unseddd>: right, from a naive perspective, triptych seems like it has enough savings for the hit from timelocks
-
sgp_
sorry I'm late. catching up
-
ArticMine
UkoeHB_ The maximum tx throughput is also dependent on external factor tat keep improving over time
-
UkoeHB_
unfortunately that optimization depends on the efficacy of ring sizes.. which we don't have a complete understanding of; I hope suraeNoether can return to that topic at some point
-
UkoeHB_
ArticMine: true, there are a lot of factors to consider!
-
sarang
At the very least, we now have concrete numbers for the spacetime effects of ring size increases
-
atoc
hi
-
sgp_
the cost of encrypted timelocks seems extreme to me tbh. I don't want to go there unless we know we need to support them for a good use-case
-
sarang
Getting timelock-related spend age data from transparent chains might be helpful if it's decided to continue to allow cleartext timelocks
-
sarang
Then output selection could be improved to account for it, and reduce the usefulness of spend-age heuristics
-
derpy_bridge
<[keybase] unseddd>: use-case: timelocks necessary for atomic swap, encrypting is the most private
-
derpy_bridge
<[keybase] unseddd>: could also see the counter-point for clear timelocks if they are necessary for atomic swaps (interop w/ clear chains maybe)
-
sgp_
sarang: I agree, but given the current low utilization, I consider this low priority. The impact to the wider network is negligible
-
ArticMine
Payment channels come to mind here
-
ArticMine
also escrow
-
sgp_
if there's a payment channel, then we can move to make encrypted mandatory. when that happens
-
sarang
Getting that kind of transparent chain data seems pretty straightforward
-
Isthmus
@sarang, it's on my to-do list for XMR and BTC
-
sarang
:D
-
sarang
How do you plan to examine spend-age data for XMR?
-
sarang
It was examined in Miller for "deducible" outputs (pretty sure that's the term they used) that were the result of chain reactions, which we find don't occur anymore
-
Isthmus
Oh, I just meant comparing the unlock time height to block height to see how many of them even make sense
-
Isthmus
Not that current usage tells us much about future applications.
-
sarang
Ah, got it
-
Isthmus
What is it that you were interested in?
-
atoc
Isthmus are you thinking about atomic swaps these days at all/
-
Isthmus
@sarang sorry I'm in a zoom call and IRC meeting at the same time, and missing little pieces of both
-
sarang
I'd like to see the age distribution of spent outputs in a transparent asset (like BTC) relative to lock expiration, to see if it differs substantially from the overall age distribution
-
sarang
No problem Isthmus!
-
Isthmus
ahhh, yea I can't officially do that for Monero yet. I'll pull it for BTC though.
-
UkoeHB_
can't officially? it's possible?
-
sarang
Thanks! The overall distribution likely is still similar to the Miller data
-
sarang
(for BTC, of course)
-
sarang
and having that data would be an interesting check of that
-
Isthmus
@UkoeHB_ yeah, I mean my research over the past few years reveals anonymity puddles covering like 20% of transactions. Then change outputs bleed everything, so there's a ton of data on obviously real spend times. BUT no guarantee that it's representative.
-
Isthmus
I'll be supper curious to see the BTC distributions, will try to get that in the next week or so.
-
Isthmus
*super
-
sarang
Yeah, Miller's team used two different large sets of blocks in BTC for their analysis
-
sarang
and found the distributions to be similar
-
sarang
but it doesn't appear they accounted for locks
-
sarang
OK, did anyone else have a topic to discuss?
-
Isthmus
Insight is interested in researching practical post-quantum cryptography for Monero, especially privacy features that will remain secure against retrospective deanonymization by future adversaries that can utilize Shor's algorithm, Grover's algorithm, etc. I want to know what our options are, and their costs (complexity, proof size, generation/verification time, etc)
-
Isthmus
-
Isthmus
Looking for feedback on the research plan.
-
Isthmus
Our goals are to (1) study and simulate the threats listed above to assess vulnerability to quantum computers, (2) evaluate post-quantum cryptography scheme candidates to create a roadmap for hardening Monero against quantum adversaries, and (3) provide open-source proof-of-concept code and demos where applicable.
-
derpy_bridge
<[keybase] unseddd>: i like pq stuff :) will take a look
-
sarang
Sounds like a fascinating project
-
sarang
I'd be very curious to see what exactly the Phase 3 deliverables would look like
-
Isthmus
Me too! ^_^
-
sarang
and I think it'd be important to assess any transtion points between constructions/protocols
-
sarang
e.g. it was possible to transition from pre-CT to post-CT
-
Isthmus
Yeah, we'll have to document both the transition and post-transition costs/tradeoffs
-
sarang
New constructions are great, but if it's not possible/feasible to transition on the same chain, that's a sticking point
-
derpy_bridge
<[keybase] unseddd>: here is the Hamburg paper i am reading through:
shiftleft.org/papers/qromcca
-
ArticMine
Yes this is a very interesting project
-
» Isthmus bookmarks paper
-
sarang
Are you confident about the timeline?
-
sarang
Particularly surrounding the Phase 3 stuff
-
sarang
(not that practical quantum computers are expected by the end of summer...)
-
Isthmus
There's two types of things we could prototype
-
UkoeHB_
it does say May - June, only a couple days away, not sure if a CCS could be approved and funded in time
-
derpy_bridge
<[keybase] unseddd>: ten million qubits by fall!!!
-
» Isthmus makes a note to update the date, thanks.
-
Isthmus
(1) demo of a quantum computer breaking a Monero encryption feature (at a reduced keysize, or something like that)
-
UkoeHB_
s/June/July
-
monerobux
UkoeHB_ meant to say: it does say May - July, only a couple days away, not sure if a CCS could be approved and funded in time
-
Isthmus
Adam did this before, got an IBM quantum computer mining bitcoin at shorter hash length
-
Isthmus
So that's demo breaking classical crypto
-
Isthmus
(2) prototype a possible solution
-
Isthmus
(so we'd use traditional computers and prototype a future solution)
-
derpy_bridge
<[keybase] unseddd>: _thoroughly impressed_
-
Isthmus
Now honestly, I think that #2 would be way cooler. But it also may be hopeful thinking
-
Isthmus
I've seen Adam rapidly convert math papers to code before, but this is going to be a pretty serious endeavor
-
sarang
Either way, would be fascinating
-
Isthmus
here was my note in the writeup
-
Isthmus
"Phase 3 deliverables: The best use of time during this final stage depends strongly on results from the exploratory research. Likely deliverables are a proof of concept or prototype tooling for demonstrating a vulnerability or potential solution"
-
UkoeHB_
would (1) also include a comparison with a classical computer on the same task? at reduced keysizes, the encryption is weaker on classical computers too
-
derpy_bridge
<[keybase] unseddd>: Isthmus: are Adam and you regularly in IRC? what is best communication channel?
-
Isthmus
@UkoeHB_ exactly
-
Isthmus
Adam'll be on IRC shortly :- )
-
Isthmus
We'll probably do a lot of the research in this room, if that's okay with people?
-
Isthmus
Or could make #pq-mrl
-
» Isthmus ops just in case
-
sarang
Up to you!
-
Isthmus
👍
-
sarang
OK, any other topics to address before finishing up the meeting?
-
UkoeHB_
does anyone have new thoughts on
monero-project/monero #6456?
-
derpy_bridge
<[keybase] unseddd>: UkoeHB_: unfortunately no, have been consumed elsewhere. many apologies
-
sarang
UkoeHB_: I got unexpectedly caught up in other coding, and didn't review in detail yet :/
-
Isthmus
Oh! Yeah, I'll look at that by Monday. Hopefullly today
-
sarang
my aopologies
-
sarang
s/aopologies/apologies
-
monerobux
sarang meant to say: my apologies
-
sarang
All righty, any ACTION ITEMS for the next week to share?
-
sarang
I will be reviewing 6456, reviewing some CLSAG tests, updating some in-memory encryption code, etc.
-
Isthmus
I'll probably bump the pq-monero proposal over to CCS by EOW, so shoot me a message (irc or isthmus⊙go works) if you have any suggestions for updates or additions
-
UkoeHB_
on a certain level I have nothing else to contribute to the proposal; whether it gets implemented or not is out of my control; keep in mind it likely won't be superseded by anything, so for 'tx extra', 'janus mitigation', 'tx pub keys', and 'view tag', that's the 'final answer' for the forseeable future
-
atoc
I'm working on some slides (summary) that details how Grin does their grin-btc atomic swap
-
atoc
looking to see if we can get some insight for xmr-btc swaps
-
hyc
Iǘe become convinced that itś never in any XMR holders'interest to swap for BTC, due to BTC taint issues
-
hyc
but I'd be curious to see how it can work, for future XMR(earth)/XMR(mars) swaps
-
derpy_bridge
<[keybase] unseddd>: hyc: even for true DEX scenario?
-
derpy_bridge
<[keybase] unseddd>: marsero
-
hyc
especially for true DEX, wher eyou can't vet the BTC
-
hyc
the benefits are all one-sided, in favor of the BTC seller
-
Isthmus
Eh if I've got a wallet full of Monero, but the sandwich shop I'm standing in only takes BTC, I might find that swap useful.
-
ArticMine
I have to agree with hyc Selling XMR for BTC on a swap is very dangerous
-
derpy_bridge
<[keybase] unseddd>: yeah, i see your point. do you have the same opinion for other swap pairs?
-
hyc
if the other pairs also involve transparent coins, yes
-
sgp_
+1 concern here
-
sarang
Well, in the interest of time (our hour is up), I'll adjourn the meeting for log purposes, but discussion can of course continue
-
atoc
i still think swaps for dex is better as currently many use centralized exchanges for xmr-btc swap
-
derpy_bridge
<[keybase] unseddd>: thanks for the meeting and lively discussion :)
-
UkoeHB_
I don't really understand the benefit of swaps, since you can already exchange xmr/btc fairly easily
-
hyc
I think in the case of BTC it's safer for users to use centralized exchanges
-
hyc
who guarantee the BTC you receive is clean
-
atoc
true UkoeHB_
-
atoc
hmm good point
-
hyc
there may be other coins worth swapping with. maybe zcash if they every migrate to z-only
-
derpy_bridge
<[keybase] unseddd>: atoc: i agree with you. while xmr-btc is riskier from a "might-be-dirty" perspective, atomic swaps are a practical improvement from a trust perspective
-
atoc
btc-xmr atomic swap is a research topic which is why I have been investigating
-
atoc
and yeah hopefully it can be applied to other coins
-
derpy_bridge
<[keybase] unseddd>: the protocol could also include built-in taint analysis for "dirty" coins
-
hyc
ah that's an interesting idea
-
atoc
as far as btc-xmr in particular we should note implications you describe
-
sgp_
the only swap I'm interested in tbh is XMR/zZEC
-
hyc
if you actually *can* screen the BTC before the swap commits, that could be ok
-
atoc
hmm that would be interesting
-
Isthmus
What about BTC coinbase <> XMR swaps
-
sgp_
BTC coinbase, maybe
-
atoc
idk how that screening algo (taint analysis) would work
-
hyc
hm, that sounds ok
-
atoc
and hopefully there are no false-positives
-
atoc
yeah that's good
-
sgp_
atoc: it would be terrible unless you pay for a "big three" blockchain analytics firm (and perhaps some smaller ones)
-
atoc
Isthmus
-
Isthmus
taint analysis requires blacklists or oracles, so coinbase-only is the only way I can think of to do it a priori without centralization
-
UkoeHB_
would swapping to XMR automatically taint coins? is a swap identifiable?
-
Isthmus
taint is in the eye of the beholder
-
sgp_
Isthmus: sure, but....... not really
-
atoc
good question UkoeHB_ and yeah Isthmus lol
-
derpy_bridge
<[keybase] unseddd>: atoc: no idea how it would work either (not a chain analyst). but those c*nts have some algos that work, so we could repurpose them for good ;)
-
sgp_
UkoeHB_: it might taint the BTC
-
UkoeHB_
well using a mixer already taints BTC so I imagine xmr<->btc would too
-
Isthmus
Hey @atoc - circling back to earlier. I haven't thought about atomic swaps much but I'd be happy to :- ) What are the interesting questions there these days.
-
atoc
@unseddd indeed
-
hyc
I would guess you can't hide that it's a swap txn on the BTC chain
-
atoc
we are currently trying to use this implementation
-
atoc
or rather
-
atoc
get an implementation for these ideas by h4sh3d
-
atoc
-
atoc
we are missing ideas for a general zkp that proves the pre-images of discrete log groups
-
atoc
well there are some ideas
-
atoc
however we need to try and see if they work
-
atoc
Grin claims to have successfully done a grin-btc atomic swap in a similar fashion along the same lines
-
atoc
so right now I am looking to get a better understanding of their implementation
-
atoc
and see how it could work for xmr-btc
-
derpy_bridge
<[keybase] unseddd>: xmr-grin-btc could create some interesting tx-flows
-
sgp_
I'm iffy about even xmr/grin
-
derpy_bridge
<[keybase] unseddd>: (derp thought, not serious)
-
atoc
discrete log groups equality (ideas of @andytoshi, documented by @sarang) here:
web.getmonero.org/resources/research-lab/pubs/MRL-0010.pdf
-
atoc
has useful ideas for this as well
-
atoc
@unseddd hmm that would be interesting
-
atoc
I haven't considered that
-
derpy_bridge
<[keybase] unseddd>: lol mb, think it would be funny to see an analysts face, like "wtf is even happening?"
-
atoc
hopefully that gives an idea of current questions Isthmus :)
-
hyc
presumably after you solve it for XMR-BTC others will follow easily
-
» Isthmus is on a video call, will be back in a bit
-
atoc
yes this is what I am thinking about grin-btc
-
atoc
it seems they have a relatively general approach
-
atoc
-
monerobux
[ 06 @jaspervdm: Atomic Swaps - YouTube ] - www.youtube.com
-
atoc
@unseddd yeah lol
-
derpy_bridge
<[keybase] unseddd>: think i will follow Isthmus out the room. thanks again for such a cool conversation
-
atoc
yes thanks everyone
-
scoobybejesus
.time pdt
-
monerobux
Could not find timezone pdt.
-
hyc
11:16am
-
hyc
pretty shit timezone lookup
-
scoobybejesus
.time pst
-
monerobux
Could not find timezone pst.
-
scoobybejesus
one last try....
-
moneromooo
.time `ls`
-
monerobux
Could not find timezone `ls`.
-
scoobybejesus
.time est
-
monerobux
2020-04-29 - 13:17:04EST
-
scoobybejesus
it's not including daylight savings i guess.. off an hour... anyway /spam
-
atoc
btw what's the story behind monerobux
-
atoc
is this bot opensource and worked on by the Monero community?
-
atoc
cool feature
-
hyc
jwinterm is author, I believe
-
atoc
ah nice
-
sarang
I invited it to help with time, substitutions, etc.
-
sarang
My favorite color is green
-
sarang
s/green/blue
-
monerobux
sarang meant to say: My favorite color is blue
-
hyc
lol
-
hyc
but as you might guess from the name, was originally written to give us coin stats in the -markets channel
-
atoc
i like the meant to say feature
-
atoc
lol
-
atoc
s/meant to say/bux
-
monerobux
atoc meant to say: i like the bux feature
-
moneromooo
s/`/\\/
-
monerobux
moneromooo meant to say: .time \/ls`
-
hyc
I guess once you get atomic swap working, screening could be an extensible addon
-
hyc
first default screener would be "coinbase coins only"
-
hyc
users could opt to set "any coins, except blacklist at foo.bar.com"
-
atoc
yeah - that would be good
-
moneromooo
You dont' want to refer to outside resources for consensus.
-
atoc
yeah whitelisting and blacklisting servers is useful too (similar to email feature)
-
hyc
is this consensus? I think this is a mutual choice between the two swap parties
-
hyc
Alice can abort the txn if she doesn't like the BTC Bob is offering
-
moneromooo
Depends how it's done I guess. I was imagining Alice puts up a partial tx, which Bob can then fill.
-
atoc
well typically you only want to abort if something went wrong
-
atoc
i guess this could be included in some exception
-
atoc
if it's done how moneromooo suggests then it doesn't need abort
-
atoc
rather wait for the correct criteria
-
atoc
aborting results in some loss (to account for fees)
-
jwinterm
atoc, not exactly, it is based on sopel irc bot, which is based on willy irc bot
-
jwinterm
I mostly added price and network and silly commands
-
sarang
The bot is in #monero-research-lounge now too
-
atoc
jwinterm nice
-
atoc
how do we get price?
-
sarang
Please do not use this channel for price stuff
-
jwinterm
yea, join #monero-markets or #monero-pools for other stuff