{"type":"rich","version":"1.0","title":"AdamISZ [ARCHIVE] wrote","author_name":"AdamISZ [ARCHIVE] (npub1nv…kqw2t)","author_url":"https://yabu.me/npub1nv7tjpn2g8tvt8qfq5ccyl00ucfcu98ch998sq4g5xp65vy6fc4sykqw2t","provider_name":"njump","provider_url":"https://yabu.me","html":"📅 Original date posted:2023-07-24\n🗒️ Summary of this message: Wagner's attack is discussed in the conversation, and it is suggested that using the 3rd round of MuSig1 can help avoid it. There are also discussions about blind signing schemes and the need for proof of a well-formed signing request.\n📝 Original message:\n@ZmnSCPxj:\n\nyes, Wagner is the attack you were thinking of.\n\nAnd yeah, to avoid it, you should have the 3rd round of MuSig1, i.e. the R commitments.\n\n@Tom:\nAs per above it seems you were more considering MuSig1 here, not MuSig2. At least in this version. So you need the initial commitments to R.\n\nJonas' reply clearly has covered a lot of what matters here, but I wanted to mention (using your notation):\n\nin s1 = c * a1 * x1 + r1, you expressed the idea that the challenge c could be given to the server, to construct s1, but since a1 = H(L, X1) and L is the serialization of all (in this case, 2) keys, that wouldn't work for blinding the final key, right?\nBut, is it possible that this addresses the other problem?\nIf the server is given c1*a1 instead as the challenge for signing (with their \"pure\" key x1), then perhaps it avoids the issue? Given what's on the blockchain ends up allowing calculation of 'c' and the aggregate key a1X1 + a2X2, is it the case that you cannot find a1 and therefore you cannot correlate the transaction with just the quantity 'c1*a1' which the server sees?\n\nBut I agree with Jonas that this is just the start, i.e. the fundamental requirement of a blind signing scheme is there has to be some guarantee of no 'one more forgery' possibility, so presumably there has to be some proof that the signing request is 'well formed' (Jonas expresses it below as a ZKP of a SHA2 preimage .. it does not seem pretty but I agree that on the face of it, that is what's needed).\n\n@Jonas, Erik:\n'posk' is probably meant as 'proof of secret key' which may(?) be a mixup with what is sometimes referred to in the literature as \"KOSK\" (iirc they used it in FROST for example). It isn't clear to me yet how that factors into this scenario, although ofc it is for sure a potential building block of these constructions.\n\nSent with Proton Mail secure email.\n\n------- Original Message -------\nOn Monday, July 24th, 2023 at 08:12, Jonas Nick via bitcoin-dev \u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\n\n\u003e Hi Tom,\n\u003e \n\u003e I'm not convinced that this works. As far as I know blind musig is still an open\n\u003e research problem. What the scheme you propose appears to try to prevent is that\n\u003e the server signs K times, but the client ends up with K+1 Schnorr signatures for\n\u003e the aggregate of the server's and the clients key. I think it's possible to\n\u003e apply a variant of the attack that makes MuSig1 insecure if the nonce commitment\n\u003e round was skipped or if the message isn't determined before sending the nonce.\n\u003e Here's how a malicious client would do that:\n\u003e \n\u003e - Obtain K R-values R1[0], ..., R1[K-1] from the server\n\u003e - Let\n\u003e R[i] := R1[i] + R2[i] for all i \u003c= K-1\n\u003e R[K] := R1[0] + ... + R1[K-1]\n\u003e c[i] := H(X, R[i], m[i]) for all i \u003c= K.\n\u003e Using Wagner's algorithm, choose R2[0], ..., R2[K-1] such that\n\u003e c[0] + ... + c[K-1] = c[K].\n\u003e - Send c[0], ..., c[K-1] to the server to obtain s[0], ..., s[K-1].\n\u003e - Let\n\u003e s[K] = s[0] + ... + s[K-1].\n\u003e Then (s[K], R[K]) is a valid signature from the server, since\n\u003e s[K]G = R[K] + c[K]a1X1,\n\u003e which the client can complete to a signature for public key X.\n\u003e \n\u003e What may work in your case is the following scheme:\n\u003e - Client sends commitment to the public key X2, nonce R2 and message m to the\n\u003e server.\n\u003e - Server replies with nonce R1 = k1G\n\u003e - Client sends c to the server and proves in zero knowledge that c =\n\u003e SHA256(X1 + X2, R1 + R2, m).\n\u003e - Server replies with s1 = k1 + c*x1\n\u003e \n\u003e However, this is just some quick intuition and I'm not sure if this actually\n\u003e works, but maybe worth exploring.\n\u003e _______________________________________________\n\u003e bitcoin-dev mailing list\n\u003e bitcoin-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev"}
