-
m-relay
<rucknium:monero.social> MRL meeting in this room in two hours.
-
m-relay
<aaron:cypherstack.com> I can provide an update on the Generalized Bulletproofs security review
-
m-relay
<rucknium:monero.social> Aaron Feickert: Thank you. I will put you at the beginning of the "Research Pre-Seraphis Full-Chain Membership Proofs" agenda item.
-
m-relay
<jeffro256:monero.social> Thanks Aaron!
-
m-relay
<aaron:cypherstack.com> It's actually a pretty interesting update, so stay tuned :D
-
m-relay
<kayabanerve:matrix.org> 👋
-
m-relay
<rucknium:monero.social> Meeting time!
monero-project/meta #999
-
tevador
Hi
-
m-relay
<rucknium:monero.social> 1) Greetings
-
m-relay
<one-horse-wagon:monero.social> Hello!
-
m-relay
<sgp_:monero.social> hello
-
rbrunner
hello
-
m-relay
<aaron:cypherstack.com> Hello!
-
m-relay
<hinto:monero.social> hi
-
m-relay
<boog900:monero.social> hi
-
m-relay
<vtnerd:monero.social> hi
-
m-relay
<rucknium:monero.social> 2) Updates. What is everyone working on?
-
tevador
-
m-relay
<jeffro256:monero.social> howdy
-
m-relay
<jeffro256:monero.social> Me: (attempting) Reviewing FCMP-RCT and writing Seraphis integration code
-
m-relay
<vtnerd:monero.social> Worked primarily on debugging the p2p ssl code, and now hopefully finishing up the first cut at lws remote scanning
-
m-relay
<rucknium:monero.social> me: Starting to collect logs from people who `set_log net.p2p.msg:INFO` in `monerod` for analysis of possible node origin of the black marble flood transactions. Working on optimal ring size and fee/byte in terms of cost effectiveness during a black marble flood.
-
m-relay
<kayabanerve:matrix.org> I've been working on the FCMPs specification and implementation.
-
m-relay
<0xfffc:monero.social> Hi everyone
-
m-relay
<untraceable:monero.social> Hi
-
m-relay
<0xfffc:monero.social> Me: did start working on performance suite and investigating ways to find bottleneck for rwlock. ( In parallel, I submit minor/simple PRs here and there ). Starting today I am full-time on Monero.
-
m-relay
<rucknium:monero.social> 3) Potential measures against a black marble attack.
monero-project/research-lab #119
-
m-relay
<rucknium:monero.social> If anyone has more comments about reasonable parameters for evaluating the cost effectiveness of raising ring size and/or increasing fee/byte to defeat black marble flooding (
monero-project/meta #995#issuecomment-2077014407 ) , please tell me.
-
m-relay
<rucknium:monero.social> If anyone was collecting `net.p2p.msg:INFO` log data for black marble flood analysis, especially during April 12, 13, and 15, please DM me for submission instructions.
-
m-relay
<rucknium:monero.social> I evaluated the possibility of getting an analytical solution to the nonlinear optimization problem with inequality constraints by checking the Karush-Kuhn-Tucker conditions. IMHO, it is not worth the time to do that, but if someone has another opinion, please let me know. I already have a good, simple, numerical solution algorithm.
-
m-relay
<rucknium:monero.social> The benefit of having an analytical solution is that we would have more information about the "deep" meaning of the optimization problem, could carry out comparative statics, etc.
-
m-relay
<jeffro256:monero.social> Which optimization problem?
-
m-relay
<rucknium:monero.social> I noticed there was more discussion on the GitHub issue about a network/node-based PoW requirement to send transactions. I won't be evaluating that idea since it would take a long time to consider all the complexity. I will evaluate a simple tx-PoW requirement to have a tx confirmed on the blockchain.
-
m-relay
<rucknium:monero.social> jeffro256: Finding the best cost effectiveness in terms of user fee and node storage requirements for effective ring size when black marble flooding is occurring
-
m-relay
<rucknium:monero.social> The objective function is cost/effective_ring_size. You want to minimize that by choosing ring size and fee/byte.
-
m-relay
<rucknium:monero.social> More comments on potential measures against a black marble attack?
-
m-relay
<rucknium:monero.social> The numerical solution is a simple grid search basically. It makes nice contour plots :)
-
m-relay
<rucknium:monero.social> 4) Research Pre-Seraphis Full-Chain Membership Proofs.
getmonero.org/2024/04/27/fcmps.html
-
m-relay
<rucknium:monero.social> Aaron Feickert: You have updates on the Generalized Bulletproofs security proof progress
-
m-relay
<aaron:cypherstack.com> testing
-
m-relay
<aaron:cypherstack.com> Are these messages going through?
-
m-relay
<aaron:cypherstack.com> My Element client is acting funky
-
m-relay
<rucknium:monero.social> the "testing" message went through
-
m-relay
<untraceable:monero.social> Yes
-
rbrunner
I see them
-
m-relay
<rucknium:monero.social> and the two after that
-
m-relay
<aaron:cypherstack.com> OK, sorry about that
-
m-relay
<aaron:cypherstack.com> Yes, I have an update!
-
m-relay
<aaron:cypherstack.com> Cypher Stack has been reviewing the Generalized Bulletproofs design required for Curve Trees to work
-
m-relay
<aaron:cypherstack.com> We're about halfway through, and identified a minor issue
-
m-relay
-
m-relay
<aaron:cypherstack.com> The issue is that the proving relation informally described by the authors doesn't quite work with the soundness proof
-
m-relay
<aaron:cypherstack.com> A solution is to modify how vector commitments are represented in the relation, which technically means they can use more generators
-
m-relay
<aaron:cypherstack.com> Modifying that, and updating the proofs accordingly, fixes things
-
m-relay
<aaron:cypherstack.com> But
-
m-relay
<aaron:cypherstack.com> This change comes with a free benefit
-
m-relay
<aaron:cypherstack.com> Because the commitments can use additional generators, we can add constraint matrices to the design, which could allow for more efficient proofs
-
m-relay
<aaron:cypherstack.com> Adding these matrices is straightforward, and everything works fine even if you chose not to use them (just set them to zero and the algebra still works as expected)
-
m-relay
<aaron:cypherstack.com> I spoke with kayabanerve to confirm (a) that the original fix (which changes commitment generators) doesn't introduce any issues with Curve Trees, and (b) that the matrix addition could be helpful
-
m-relay
<rucknium:monero.social> Is this size-efficient proofs or verification-time-efficient or both?
-
m-relay
<aaron:cypherstack.com> Mostly size
-
m-relay
<aaron:cypherstack.com> But could also be time (I haven't run the numbers on that portion)
-
m-relay
<rucknium:monero.social> So probably no worse performance on time than the original design?
-
m-relay
<aaron:cypherstack.com> Nope, and totally optional to use
-
m-relay
<aaron:cypherstack.com> Adding the matrices also has minimal impact on the complexity of the security analysis
-
m-relay
<aaron:cypherstack.com> (above the changes already required for the initial design fix)
-
m-relay
<rucknium:monero.social> The summary is that the original design appears to not work, but an adjustment to the design will probably work and will be even more size efficient. Your next move it to try to write a security proof for the adjusted design. Does this fit within the allocated labor time and funds?
-
m-relay
<aaron:cypherstack.com> Anyway, this is all detailed in the report
-
m-relay
<aaron:cypherstack.com> To be clear, it's only the original design's (informal) proving relation, which could be problematic for other uses that might require certain generators
-
m-relay
<aaron:cypherstack.com> The initial adjustment absolutely works, and the matrix addition is just being finalized and integrated easily into the existing security proof work already done and in progress
-
m-relay
<aaron:cypherstack.com> We expect no change to the timeline
-
m-relay
<rucknium:monero.social> Fantastic. Thank you!
-
m-relay
<aaron:cypherstack.com> Like I said, the matrix change is very straightforward to include
-
m-relay
<rucknium:monero.social> "Anyway, this is all detailed in the report". Is this an internal draft or does it exist publicly?
-
m-relay
<kayabanerve:matrix.org> The decreased size usage does avoid increased verification time. If we have a set bandwidth target, we can either increase verification time OR increase bandwidth efficiency.
-
m-relay
<aaron:cypherstack.com> Oh, I should have said that it's included in the report as I'm writing it, and will therefore be included in the final report
-
m-relay
<rucknium:monero.social> What does "bandwidth" mean?
-
tevador
tx size
-
m-relay
<aaron:cypherstack.com> The effect of the matrix change is to double the number of vector commitment constraints for a given number of vector commitments included in a proof
-
m-relay
<aaron:cypherstack.com> without a size increase
-
m-relay
<aaron:cypherstack.com> (there are some subtleties though)
-
m-relay
<aaron:cypherstack.com> But barring anything unexpected, we expect that the report will provide a satisfactory security proof for the modified construction
-
m-relay
<kayabanerve:matrix.org> More data in less bytes Rucknium
-
m-relay
<aaron:cypherstack.com> (and which reduces to the "original" GBP design trivially if desired/needed)
-
m-relay
<aaron:cypherstack.com> Heck, it might end up being useful enough to warrant submission to a conference /shrug
-
m-relay
<aaron:cypherstack.com> I'd have to see if the original author(s) would be interested in such a thing, but that's for another day
-
m-relay
<rucknium:monero.social> Do kayabaNerve and tevador want to give updates on FCMP++?
-
» m-relay <aaron:cypherstack.com> quietly exits
-
tevador
Did anyone have time to review Jamtis-RCT?
-
m-relay
<jeffro256:monero.social> I've only skimmed it so far
-
m-relay
<kayabanerve:matrix.org> I need a few minutes to fully comment, sorry.
-
m-relay
<kayabanerve:matrix.org> *before I can fully comment.
-
tevador
We also discussed how to handle torsioned points in FCMPs and we came back to Ristretto, which was discussed here some time ago. Specifically, if we adopted Ristretto for point serialization, it could save a lot fo headache.
-
rbrunner
Maybe while we wait I can throw in a quick question
-
m-relay
<kayabanerve:matrix.org> I have yet to review JAMTIS RingCT but I'm extremely interested in the claim it mitigated Janus for existing addresses (except for main <-> subaddress relations).
-
m-relay
<kayabanerve:matrix.org> It means new address become about functionality, not privacy (barring that one remaining edge case)
-
rbrunner
Are Bulletproofs++ more or less "off the table" after that quite mixed result of the review, and the move to FCMPs with GBP?
-
m-relay
<kayabanerve:matrix.org> I'd shelve BP++ for now, which were never explicitly posited for FCMPs.
-
m-relay
<jeffro256:monero.social> What operations are involved in Ristretto decompressing, and is it faster than (mul x8) ? I saw tevador and kayabanerve have a little back and forth about that. [TBH i don't really care about tx builder side performance within reason]
-
tevador
Yes, it should be faster than mul8, pending benchmarks.
-
tevador
It avoids at least 1 field inversion and 6 point doublings per output.
-
m-relay
<kayabanerve:matrix.org> I have Python which is less than 100 lines for Ristretto.
-
m-relay
<aaron:cypherstack.com> Plus the Ristretto serialization is intended as a thin wrapper around existing Edwards operations
-
m-relay
<kayabanerve:matrix.org> Yep
-
m-relay
<kayabanerve:matrix.org> The specification has incorporated feedback. I won't claim it's complete, as I want to implement the math behind the gadgets and ensure a lack of typos in that manner, but I don't expect major changes.
-
m-relay
<jeffro256:monero.social> Who would we get to review the divisors? I
-
m-relay
<kayabanerve:matrix.org> I've started cleaning up the prior code ('productionizing it'), fixing edge cases and bugs, and making it something I'd endorse auditing.
-
m-relay
<rucknium:monero.social> jeffro256: Don't we have to prove the security of the divisors and then review the proofs?
-
m-relay
<kayabanerve:matrix.org> On divisors, I've already solicited two quotes/statements of work.
-
m-relay
<kayabanerve:matrix.org> Divisors come with a correctness proof. Arguably, we need it reviewed and an audit a literal protocol aligns with its mathematics.
-
m-relay
<kayabanerve:matrix.org> We don't need a ZK proof, solely a soundness proof, as we execute it in a ZK context. The section on correctness covers what we'd call soundness.
-
m-relay
<kayabanerve:matrix.org> And then the literal protocol, my draft proposal in the LaTeX I published, would be literally implemented (secure hash functions and so on) and audited.
-
m-relay
<kayabanerve:matrix.org> Also, Rucknium, clarifying: one of the reasons I've been a bit annoying on not formally proving all of this, and instead solely auditing, is as vast sections of the math is primitive.
-
m-relay
<kayabanerve:matrix.org> I probably have a page of latex which reduces to `a - b = 0; a - b + b = 0 + b; a = b` and similar
-
m-relay
<jeffro256:monero.social> How "modular" is the application of divisors? Can we review the soundness of an isolated Prove/Verify divisor "algorithm", which then guarantees all uses under certain conditions is sound? Or do just have to have a full contextual working protocol before we can audit our implementation/use of divisors within that protocol?
-
m-relay
<kayabanerve:matrix.org> (the first being the check, the last line being the statement, the intemediary being the proof)
-
m-relay
<kayabanerve:matrix.org> But moving forward, the plan is to review/audit the divisor proof (review the theory which has a section on correction, audit our literal instantiation and impl), and formally verify said primitive math.
-
m-relay
<kayabanerve:matrix.org> I've reviewed tooling and one of the entities I solicited a quote from is explicitly experienced with formally verifying circuits.
-
m-relay
<kayabanerve:matrix.org> jeffro256: They're a concept. I wrote a 'gadget' which assumes a challenge function with proper transcripting (trivial to instantiate with GBPs). The gadget is then a black box.
-
m-relay
<kayabanerve:matrix.org> Specifically, the gadget says there's some unreliable representation of a discrete logarithm which is usable to prove `X = x G`, for a public `G`, AND if `x` is reused, `x1 = x2`, where `1, 2` are the instance of use. The unreliability of the representation does not make it unreliable on reuse within a proof.
-
m-relay
<kayabanerve:matrix.org> It's a whole thing, it's documented
-
m-relay
<kayabanerve:matrix.org> Eagen's work does describe divisor construction, evaluation, and the challenge evaluation. We'd argue our gadget follows it.
-
m-relay
<kayabanerve:matrix.org> Once I confirm the lack of notational issues, we'd have the spec within the LaTeX audited.
-
m-relay
<kayabanerve:matrix.org> Later, we'd audit the impl to match the spec.
-
m-relay
<kayabanerve:matrix.org> I'll also note my work has been proceeding at a much quicker rate than I would've expected. I'm wondering if that time will be saved OR paid for on the back end (there's always *something* that still needs to be done)
-
m-relay
<kayabanerve:matrix.org> I've also been discussing with jberman about them starting their work on integration and topics such as FFI'ing, and what exactly is exposed over FFI (and what helpers provided)
-
m-relay
<kayabanerve:matrix.org> The tree has been the main discussion.
-
m-relay
<rucknium:monero.social> FFI = Foreign Function Interface?
-
m-relay
<kayabanerve:monero.social> Also, performance *if research holds* is looking to be quite favorable and only with minor overhead to a variant using Seraphis's linking tag definition
-
m-relay
<kayabanerve:monero.social> Yes re: FFI
-
m-relay
<kayabanerve:matrix.org> In summary, moving ahead in all aspects, and progress is going well.
-
m-relay
<rucknium:monero.social> More comments? Other topics?
-
m-relay
<rucknium:monero.social> We can end the meeting here. Thank you all!
-
m-relay
<jeffro256:monero.social> Thank you everyone! Thanks Aaron Feickert ! Fascinating stuff