1 00:00:00,000 --> 00:00:04,840 Right, everyone. I know it's a little bit early, but I'm going to start a little bit ahead of time 2 00:00:04,840 --> 00:00:09,020 because there is a lot of information for me to cover about ring signatures today. 3 00:00:09,200 --> 00:00:12,500 So before I begin, can I just have a quick poll of the room? 4 00:00:12,620 --> 00:00:14,700 How many of you know what ring signatures are? 5 00:00:15,620 --> 00:00:18,680 Perfect. So unfortunately, since I have so little time, 6 00:00:18,880 --> 00:00:23,100 I'm going to kind of jump right into ring signatures without an initial explanation. 7 00:00:23,580 --> 00:00:28,280 There are a lot of other resources you can use if you want to have an initial explanation about ring signatures. 8 00:00:28,280 --> 00:00:32,800 But we're going to be looking specifically essentially why ring signatures suck 9 00:00:32,800 --> 00:00:35,520 and what you can do about it 10 00:00:35,520 --> 00:00:39,740 and under which use cases should you be concerned about how ring signatures work 11 00:00:39,740 --> 00:00:45,040 and ultimately what sort of entropy they provide with Monero transactions. 12 00:00:46,020 --> 00:00:52,860 So ring signatures, they are one of the four primary components of privacy that Monero offers. 13 00:00:52,920 --> 00:00:57,340 The ring signatures are used to obfuscate the sender in the transaction 14 00:00:57,340 --> 00:00:58,260 or the sender in the transaction. 15 00:00:58,280 --> 00:01:02,220 More accurately, which output is used in the transaction. 16 00:01:02,580 --> 00:01:06,480 It makes it seem as if several outputs are each independently being spent. 17 00:01:06,720 --> 00:01:09,980 You don't know which source of funds is actually being used. 18 00:01:10,820 --> 00:01:14,060 So we're just going to talk about that one component today. 19 00:01:14,640 --> 00:01:17,860 So if you look at a ring signature, it kind of looks like this. 20 00:01:18,320 --> 00:01:20,480 First, it's important to understand outputs. 21 00:01:20,940 --> 00:01:24,020 Outputs are like pots of gold. 22 00:01:24,420 --> 00:01:26,640 They're single-use pots of gold. 23 00:01:26,860 --> 00:01:28,260 When you send a transaction, 24 00:01:28,280 --> 00:01:31,560 you create a new pot for them 25 00:01:31,560 --> 00:01:35,640 and you dump whatever gold or Monero you want them to keep 26 00:01:35,640 --> 00:01:37,960 and then you make a new pot for yourself 27 00:01:37,960 --> 00:01:40,380 that you dump all the change back into yourself for. 28 00:01:40,560 --> 00:01:42,700 That is how Monero money is held. 29 00:01:42,820 --> 00:01:44,160 It's held in these outputs. 30 00:01:44,560 --> 00:01:48,160 It's really important to understand how outputs just generally work. 31 00:01:48,280 --> 00:01:51,580 They're stored as essentially pots of gold, so to speak. 32 00:01:51,920 --> 00:01:55,860 And so on the screen here, you can see an example of a ring signature. 33 00:01:56,140 --> 00:01:58,260 A ring signature contains several of these outputs. 34 00:01:58,280 --> 00:02:02,140 The highlighted one, let's say, is the real source of funds you want to spend. 35 00:02:02,340 --> 00:02:06,840 If you want to give someone $5, you need to give them a $5 bill. 36 00:02:07,040 --> 00:02:10,280 Similarly with Monero, if you want to give someone Monero, 37 00:02:10,460 --> 00:02:12,480 you actually need to spend money that you have. 38 00:02:12,680 --> 00:02:16,840 That is the output you do control and the output that you are spending in the transaction. 39 00:02:17,260 --> 00:02:21,360 These other black pots, so to speak, these other outputs, are called decoys. 40 00:02:21,600 --> 00:02:26,200 You do not control these outputs, and they're just essentially money other people control, 41 00:02:26,420 --> 00:02:28,260 but you select these from these outputs. 42 00:02:28,280 --> 00:02:31,840 They're in the blockchain to make it seem as if these sources of funds 43 00:02:31,840 --> 00:02:33,300 are also used in the transaction. 44 00:02:33,960 --> 00:02:37,720 Collectively, you have this ring of, in this case, seven outputs. 45 00:02:37,960 --> 00:02:41,180 Seven is the current minimum ring size for Monero 46 00:02:41,180 --> 00:02:46,260 of potential sources of funds that are used in the transaction. 47 00:02:46,520 --> 00:02:50,740 These seven potential outputs are the sources of funds that could be used in this transaction. 48 00:02:51,820 --> 00:02:53,400 That's the general idea of a ring signature. 49 00:02:53,880 --> 00:02:56,640 It's important to also understand the key image. 50 00:02:56,640 --> 00:03:01,020 The key image is a reference to the actual output you do control. 51 00:03:01,240 --> 00:03:03,400 It has nothing to do with any of the decoys. 52 00:03:03,660 --> 00:03:07,860 This is important because otherwise you could just fabricate a transaction 53 00:03:07,860 --> 00:03:11,220 with everyone else's money and make it seem like you're spending other people's money. 54 00:03:11,380 --> 00:03:15,760 You need the key image in order to actually make sure someone's putting something up for stake. 55 00:03:15,880 --> 00:03:18,880 They actually have the right to spend the funds that they say they are spending, 56 00:03:19,340 --> 00:03:23,220 but the key image is really important because there are potential attack vectors 57 00:03:23,220 --> 00:03:26,260 with how the key image can be used across several different chains. 58 00:03:26,260 --> 00:03:28,600 We'll speak about all of that during this talk today. 59 00:03:29,100 --> 00:03:31,440 A history of the ring sizes of Monero. 60 00:03:31,920 --> 00:03:34,140 Monero was launched in early 2014. 61 00:03:34,620 --> 00:03:36,980 When it launched, it had a ring signature feature, 62 00:03:37,240 --> 00:03:42,560 but there was no requirement that you actually included decoys in your ring signature. 63 00:03:42,800 --> 00:03:46,340 You could create a transaction essentially without using the feature 64 00:03:46,340 --> 00:03:51,060 where you had no other decoy outputs in your transaction. 65 00:03:51,440 --> 00:03:52,460 That was pretty bad. 66 00:03:52,680 --> 00:03:54,780 There are several research papers I highly recommend. 67 00:03:54,780 --> 00:03:59,840 You read MRL-1 and MRL-4, which are two research papers on this topic, 68 00:03:59,960 --> 00:04:02,540 or else you can talk to either me or Sarang after. 69 00:04:03,820 --> 00:04:09,420 As a result, we decided in order to actually protect the integrity of the privacy in Monero, 70 00:04:09,560 --> 00:04:10,820 we need to have a minimum ring size. 71 00:04:11,500 --> 00:04:16,440 In March 2016, the minimum was increased to 3, 72 00:04:16,600 --> 00:04:19,740 and then in September the minimum was increased to 5. 73 00:04:20,300 --> 00:04:23,040 In early this year, we learned of a new attack vector, 74 00:04:23,200 --> 00:04:24,500 and it was there forever. 75 00:04:24,780 --> 00:04:30,040 It was increased to 7 in order to provide protection against this attack vector. 76 00:04:30,160 --> 00:04:31,400 I'll speak about this vector later. 77 00:04:32,020 --> 00:04:36,480 Going forward, we don't have a super concrete set plan, 78 00:04:36,680 --> 00:04:39,260 so I'll speak about how we weigh the pros and cons, 79 00:04:39,520 --> 00:04:43,820 and how we decide what considerations are necessary to increase the ring size. 80 00:04:46,540 --> 00:04:49,100 This is the first attack I really want to cover. 81 00:04:49,280 --> 00:04:52,660 It's really critical to understand the idea of a zero decoy attack 82 00:04:52,660 --> 00:04:58,760 because every single other one of the attacks replicates the same sort of effect, 83 00:04:59,040 --> 00:05:00,600 but just does it in a different way. 84 00:05:00,880 --> 00:05:04,560 Once you understand the impact of how zero decoy attacks work, 85 00:05:04,820 --> 00:05:06,900 you can pretty much understand anything else. 86 00:05:07,960 --> 00:05:10,360 We have the ring signature there, for example. 87 00:05:10,600 --> 00:05:12,580 There are seven outputs in the ring signature. 88 00:05:12,800 --> 00:05:13,880 Six of them are decoys. 89 00:05:14,120 --> 00:05:18,820 In Monero's past, you could create transactions without any other decoys. 90 00:05:19,040 --> 00:05:20,060 This is an example here. 91 00:05:20,060 --> 00:05:22,680 Suppose you had a ring with just this one decoy. 92 00:05:22,800 --> 00:05:25,240 In this case, there's absolutely no ambiguity. 93 00:05:25,640 --> 00:05:29,880 You know that this output was spent in that specific transaction. 94 00:05:30,280 --> 00:05:37,040 If my ring size 7 transaction included this output in my ring signature, 95 00:05:37,340 --> 00:05:42,900 you would know, since that output was known to be spent in that other transaction, 96 00:05:43,260 --> 00:05:45,880 it could not have been spent in this ring signature. 97 00:05:46,240 --> 00:05:49,140 Instead of having an effective ring size of 7, 98 00:05:49,140 --> 00:05:51,780 you're now down to an effective ring size of 6, 99 00:05:52,020 --> 00:05:55,540 because this one output is known to not possibly be a real one. 100 00:05:55,600 --> 00:05:56,760 It's known to be a decoy. 101 00:05:57,080 --> 00:06:04,640 If you repeat this process for the other six outputs, 102 00:06:04,900 --> 00:06:10,840 you then are able to determine that none of the other decoys are the real one. 103 00:06:11,020 --> 00:06:13,220 You know that they are actually decoys. 104 00:06:13,320 --> 00:06:17,320 You're able to know that the output that you sent in the transaction, 105 00:06:17,620 --> 00:06:18,620 the real money you spent, 106 00:06:18,620 --> 00:06:20,700 was actually spent in this ring. 107 00:06:20,880 --> 00:06:23,580 This is where the chain reaction effect comes in. 108 00:06:23,960 --> 00:06:27,180 Even though your transaction used a ring signature, 109 00:06:27,440 --> 00:06:29,680 since your ring signature was compromised, 110 00:06:30,100 --> 00:06:32,600 it actually negatively impacts other transactions 111 00:06:32,600 --> 00:06:35,660 which use your output in their ring signature. 112 00:06:36,080 --> 00:06:38,760 As an example here, you have another ring signature, 113 00:06:38,980 --> 00:06:42,560 and one of the outputs that they selected was one of yours. 114 00:06:43,240 --> 00:06:47,240 Since this output is known to be spent in the transaction on the left, 115 00:06:47,240 --> 00:06:51,300 it is known as a decoy for the transaction on the right. 116 00:06:51,380 --> 00:06:53,640 You know it is not a convincing possible output 117 00:06:53,640 --> 00:06:55,540 that realistically could have been spent. 118 00:06:57,320 --> 00:07:00,080 That's the general idea of a zero decoy transaction. 119 00:07:00,500 --> 00:07:03,980 In effect, it's a mechanism to attribute outputs 120 00:07:03,980 --> 00:07:06,660 as known to be spent in other transactions 121 00:07:07,240 --> 00:07:10,040 in order to ultimately learn more 122 00:07:10,040 --> 00:07:12,580 and ultimately break down the ring signature 123 00:07:12,580 --> 00:07:15,960 so you know what real output is actually spent in these transactions. 124 00:07:16,580 --> 00:07:19,220 Going over a few other potential attack vectors, 125 00:07:19,800 --> 00:07:23,420 this is something that we just discovered earlier this year. 126 00:07:23,600 --> 00:07:24,740 It sort of came out of nowhere. 127 00:07:25,140 --> 00:07:27,940 Air drops were all the rage earlier this year, 128 00:07:28,060 --> 00:07:30,760 and someone decided that Monero is a pretty big coin, 129 00:07:30,860 --> 00:07:31,980 I'm just going to do one for Monero, 130 00:07:32,160 --> 00:07:37,280 and we're like, oh, that actually has a potential for a lot of damage. 131 00:07:37,960 --> 00:07:42,060 I don't know of anyone who hypothesized this ahead of time, 132 00:07:42,160 --> 00:07:44,420 so we sort of had to adapt to this sort of situation. 133 00:07:44,420 --> 00:07:51,500 So if there's a split where Monero might have its existing blockchain 134 00:07:51,500 --> 00:07:52,980 and someone forks off, 135 00:07:53,880 --> 00:07:58,680 there are a lot of considerations if people spend funds on both of these chains. 136 00:07:59,140 --> 00:08:01,540 Because if they spend funds on both of these chains, 137 00:08:01,900 --> 00:08:06,300 they have the same output that they have on both of the chains. 138 00:08:06,420 --> 00:08:09,600 So if I have my one output of Monero before the split, 139 00:08:09,820 --> 00:08:11,800 I have the same output on both chains, 140 00:08:12,040 --> 00:08:14,400 so when you would send a transaction on both chains, 141 00:08:14,420 --> 00:08:16,720 the key image would be the same. 142 00:08:16,860 --> 00:08:18,740 You would have the same key image on both. 143 00:08:19,940 --> 00:08:22,620 Now what you could do is look to say, 144 00:08:22,800 --> 00:08:26,080 okay, well, I know that since it's the same key image, 145 00:08:26,240 --> 00:08:28,900 I know that each transaction on both chains, 146 00:08:29,020 --> 00:08:31,300 if you made a transaction on each of these chains, 147 00:08:31,540 --> 00:08:35,960 would contain one output that was spent on both of these chains, 148 00:08:36,000 --> 00:08:38,640 because the key images are derived from these outputs. 149 00:08:39,660 --> 00:08:44,040 So as a result, you can check to see if there are any shared outputs 150 00:08:44,040 --> 00:08:46,280 among these different ring signatures. 151 00:08:46,640 --> 00:08:48,360 And you can see here, for example, 152 00:08:48,540 --> 00:08:52,000 that there's one output that is shared. 153 00:08:52,200 --> 00:08:55,760 They have the same TX10 output on both. 154 00:08:55,900 --> 00:08:57,800 But all the other ones are different. 155 00:08:57,940 --> 00:08:59,920 There's no other overlap in these outputs. 156 00:09:00,240 --> 00:09:03,760 So you're able to say, okay, since this is the only possible output 157 00:09:03,760 --> 00:09:05,400 that could have been spent in both transactions, 158 00:09:05,780 --> 00:09:08,360 I know to eliminate all of the other ones here. 159 00:09:08,540 --> 00:09:10,680 And therefore you have a situation where, 160 00:09:10,780 --> 00:09:12,680 since you have the same key image 161 00:09:12,680 --> 00:09:14,440 and only one match of the output, 162 00:09:14,700 --> 00:09:16,220 that you're immediately able to tell 163 00:09:16,220 --> 00:09:18,340 which output is actually spent in this transaction. 164 00:09:20,200 --> 00:09:23,800 If instead you use a tool that have been developed 165 00:09:23,800 --> 00:09:26,380 in the meantime after we realized this was a potential attack, 166 00:09:26,800 --> 00:09:30,420 you could create two transactions on both chains 167 00:09:30,420 --> 00:09:33,740 with the same exact ring signature for both. 168 00:09:33,960 --> 00:09:37,220 That way you're able to compare the key images. 169 00:09:37,380 --> 00:09:38,460 The key images are the same, 170 00:09:38,600 --> 00:09:41,240 but there are several matches of these outputs. 171 00:09:41,420 --> 00:09:42,660 All of these outputs are potential. 172 00:09:42,680 --> 00:09:43,640 So you could potentially spend on both. 173 00:09:43,820 --> 00:09:45,320 Now it's important to remember 174 00:09:45,320 --> 00:09:49,420 that if you are spending transactions on two chains, 175 00:09:49,740 --> 00:09:52,260 that you increase your attack surface. 176 00:09:52,740 --> 00:09:55,480 Because if on either of these networks 177 00:09:55,480 --> 00:09:58,420 one of the outputs is known to be spent 178 00:09:58,420 --> 00:09:59,980 in a different transaction, 179 00:10:00,360 --> 00:10:03,560 it reduces the ring size for both of these transactions. 180 00:10:03,880 --> 00:10:06,960 Because if for a fork of Monero 181 00:10:07,680 --> 00:10:09,580 it's known that one of these outputs is spent, 182 00:10:09,740 --> 00:10:12,160 that also impacts your Monero transactions. 183 00:10:12,680 --> 00:10:14,200 So it's a really important consideration, 184 00:10:14,520 --> 00:10:17,600 and we're luckily able to understand the attack 185 00:10:17,600 --> 00:10:18,500 a little bit better now, 186 00:10:18,620 --> 00:10:20,460 but this is something we really needed to address. 187 00:10:20,780 --> 00:10:23,240 Luckily this is a tool that is enabled by default. 188 00:10:23,520 --> 00:10:26,540 As long as you're using a recent fork of Monero, 189 00:10:26,600 --> 00:10:27,560 if there are recent forks, 190 00:10:27,620 --> 00:10:30,000 they should include this functionality out of the box. 191 00:10:31,960 --> 00:10:34,440 Speaking to another new consideration, 192 00:10:34,780 --> 00:10:36,620 the idea of public mining pool data. 193 00:10:36,880 --> 00:10:38,740 For the sake of providing transparency 194 00:10:38,740 --> 00:10:40,780 to the miners who mine Monero, 195 00:10:41,620 --> 00:10:42,660 the miners who mine Monero, 196 00:10:42,680 --> 00:10:45,180 miners prefer to know when the pool's mined blocks, 197 00:10:45,460 --> 00:10:47,960 and they prefer to know when they receive payments, 198 00:10:48,140 --> 00:10:50,860 in order to have some transparency for the pool, 199 00:10:51,040 --> 00:10:53,660 so that they know there's a lower chance of corruption 200 00:10:53,660 --> 00:10:55,100 from the pool stealing their hashes 201 00:10:55,100 --> 00:10:56,220 or stealing some of their Monero. 202 00:10:56,920 --> 00:10:59,660 And this is fine from that perspective, 203 00:10:59,800 --> 00:11:02,800 but unfortunately, since a lot of transaction data is public, 204 00:11:03,560 --> 00:11:06,840 it actually makes a situation 205 00:11:06,840 --> 00:11:08,540 where many of the outputs that they touch 206 00:11:08,540 --> 00:11:11,800 might degrade the integrity of these outputs, 207 00:11:11,920 --> 00:11:12,660 so that you would know 208 00:11:12,680 --> 00:11:14,940 that they could not reasonably be used in other transactions. 209 00:11:15,360 --> 00:11:17,300 So here's an example for supportXMR, 210 00:11:17,440 --> 00:11:18,620 which is a common Monero pool, 211 00:11:18,840 --> 00:11:21,340 and they have a list of all the Coinbase blocks that they mine, 212 00:11:21,440 --> 00:11:23,760 and they have a list of all the payments that are made. 213 00:11:24,560 --> 00:11:26,580 And so, unfortunately, 214 00:11:26,680 --> 00:11:28,640 you can use both of these pieces of information 215 00:11:28,640 --> 00:11:32,040 to determine, okay, well, they mined this block, 216 00:11:32,300 --> 00:11:34,920 they have this Coinbase output that was generated. 217 00:11:35,220 --> 00:11:38,940 If this Coinbase output is included in a ring signature somewhere, 218 00:11:39,200 --> 00:11:41,560 but it is not on this transaction list, 219 00:11:41,560 --> 00:11:43,340 I know that it is a decoy. 220 00:11:43,420 --> 00:11:46,420 I know that I can claim that this is fake in this case, 221 00:11:46,540 --> 00:11:49,180 because otherwise it would have shown up in this transaction list. 222 00:11:49,720 --> 00:11:52,120 So to address this, there are several techniques we can use. 223 00:11:52,520 --> 00:11:53,620 So first... 224 00:11:54,800 --> 00:11:56,780 And so you have the case there where... 225 00:11:57,700 --> 00:11:59,440 Sorry. Yeah, we have several techniques we can use. 226 00:11:59,700 --> 00:12:01,720 So regarding the Coinbase, unfortunately, 227 00:12:01,760 --> 00:12:03,840 there's not too much you realistically can do, 228 00:12:04,640 --> 00:12:08,200 because you know that the pool would just reasonably mine it. 229 00:12:08,460 --> 00:12:11,140 But as a pool, you can churn the output, 230 00:12:11,140 --> 00:12:14,420 you can essentially create a transaction, several transactions, 231 00:12:14,660 --> 00:12:17,160 without publishing this on the transaction list. 232 00:12:17,520 --> 00:12:20,160 Or perhaps even simpler, as a wallet client, 233 00:12:20,360 --> 00:12:21,960 there could be an option to say, 234 00:12:22,140 --> 00:12:24,340 did you mine any Monero with this address? 235 00:12:24,640 --> 00:12:25,740 If you just check no, 236 00:12:26,020 --> 00:12:29,460 then it will exclude Coinbase outputs in your ring signature. 237 00:12:29,720 --> 00:12:31,680 That's a pretty simple, straightforward mechanism. 238 00:12:32,460 --> 00:12:35,220 For the payments made, there's a really unique thing we can do, 239 00:12:35,300 --> 00:12:38,100 is have a different way of selecting what outputs are included 240 00:12:38,100 --> 00:12:39,700 in these ring signatures. 241 00:12:39,700 --> 00:12:42,060 And so I'll speak about this one because it's pretty interesting. 242 00:12:42,860 --> 00:12:45,660 So pools, when they send transactions to people, 243 00:12:45,880 --> 00:12:48,160 receive an output back to themselves as change. 244 00:12:48,480 --> 00:12:50,720 So suppose they mine two blocks, 245 00:12:51,000 --> 00:12:52,600 and there's a certain payment threshold 246 00:12:52,600 --> 00:12:54,400 such that they're paying three of their miners, 247 00:12:54,580 --> 00:12:56,840 but they're not paying out all of the money that they have, 248 00:12:57,000 --> 00:12:59,740 they would receive certain ones of these outputs 249 00:12:59,740 --> 00:13:01,240 as change back to the pool. 250 00:13:01,440 --> 00:13:03,560 And what the pool can do is, 251 00:13:03,740 --> 00:13:04,980 for subsequent transactions, 252 00:13:06,100 --> 00:13:09,020 select exclusively from the outputs that they created, 253 00:13:09,020 --> 00:13:11,080 including the outputs that they sent to the miners. 254 00:13:11,380 --> 00:13:13,760 So if, for the example of a transaction here, 255 00:13:13,940 --> 00:13:16,920 for a pool payout, they pay out to two miners here, 256 00:13:17,000 --> 00:13:18,820 and one is a change output back to the pool, 257 00:13:19,040 --> 00:13:20,880 they could create subsequent transactions 258 00:13:20,880 --> 00:13:24,920 with all of these outputs as potential spenders. 259 00:13:25,080 --> 00:13:29,480 And this is great because it preserves the integrity 260 00:13:29,880 --> 00:13:31,240 of these change outputs. 261 00:13:31,620 --> 00:13:33,600 It makes it so there's no practical difference 262 00:13:33,600 --> 00:13:39,000 between the change output and the outputs that are sent to the miners. 263 00:13:39,020 --> 00:13:41,120 So in a case here, 264 00:13:41,860 --> 00:13:44,220 you can see for a standard transaction 265 00:13:44,220 --> 00:13:46,240 that a pool would have going forward, 266 00:13:47,080 --> 00:13:48,740 that someone would have, 267 00:13:49,760 --> 00:13:52,080 that it would just look like a standard ring size, 268 00:13:52,160 --> 00:13:54,440 you don't need to instead worry about this output 269 00:13:54,440 --> 00:13:57,020 because it is not known to be spent 270 00:13:57,020 --> 00:13:59,060 in any specific transaction anymore. 271 00:13:59,320 --> 00:14:02,260 So just simply by changing the selection algorithm 272 00:14:02,260 --> 00:14:02,980 for these pools, 273 00:14:03,840 --> 00:14:06,000 we can increase the privacy 274 00:14:06,000 --> 00:14:08,080 and preserve the integrity of additional outputs. 275 00:14:09,560 --> 00:14:12,120 So the last one I really want to talk about, 276 00:14:12,240 --> 00:14:13,660 and this is pretty straightforward too, 277 00:14:13,840 --> 00:14:17,180 is the idea of an exchange or a wallet provider 278 00:14:17,180 --> 00:14:19,180 touching a lot of outputs 279 00:14:19,180 --> 00:14:20,900 and therefore having high visibility 280 00:14:20,900 --> 00:14:22,500 of a large proportion of outputs. 281 00:14:22,820 --> 00:14:24,820 If I'm an exchange and I possess 282 00:14:24,820 --> 00:14:26,540 a very large amount of Monero outputs, 283 00:14:26,820 --> 00:14:30,080 and you include my outputs in your ring signature, 284 00:14:30,780 --> 00:14:32,300 since I own that output, 285 00:14:32,400 --> 00:14:33,720 I know you did not spend it. 286 00:14:34,040 --> 00:14:36,340 So it's like, I know you can't spend my money, 287 00:14:36,420 --> 00:14:37,840 so I know it is a decoy. 288 00:14:37,840 --> 00:14:39,840 And if you have large players, 289 00:14:40,080 --> 00:14:41,180 this is a potential concern, 290 00:14:41,420 --> 00:14:43,540 especially if they're able to use this data 291 00:14:43,540 --> 00:14:46,160 on top of other public information that's revealed. 292 00:14:46,540 --> 00:14:48,400 So if I create a ring signature here 293 00:14:48,400 --> 00:14:50,900 and all of my decoys are used 294 00:14:51,460 --> 00:14:54,120 from this attacker's holdings, 295 00:14:54,300 --> 00:14:57,740 it compromises the ring signature from this perspective 296 00:14:57,740 --> 00:14:59,480 because the attacker knows 297 00:14:59,480 --> 00:15:01,720 you could not have spent the money that they have. 298 00:15:02,060 --> 00:15:04,060 And so this is another concern going forward. 299 00:15:04,160 --> 00:15:05,700 It's a reason why we need, 300 00:15:05,820 --> 00:15:07,540 with Monero we need to make sure 301 00:15:07,840 --> 00:15:09,720 that a single entity doesn't control 302 00:15:09,720 --> 00:15:11,660 all of the outputs that Monero has. 303 00:15:13,180 --> 00:15:15,000 So what can you do 304 00:15:15,000 --> 00:15:16,360 at sort of addressing these concerns? 305 00:15:16,520 --> 00:15:18,760 What are general mechanisms you can take 306 00:15:18,760 --> 00:15:21,140 to protect yourself more than the ring signature 307 00:15:21,140 --> 00:15:22,100 can currently provide? 308 00:15:22,980 --> 00:15:24,920 So first you can, what we call, 309 00:15:24,980 --> 00:15:28,120 blackball or blacklist known bad outputs. 310 00:15:28,480 --> 00:15:30,620 So if you, like in Monero's early history, 311 00:15:30,700 --> 00:15:32,540 you had a lot of zero decoy transactions, 312 00:15:33,100 --> 00:15:35,540 you know, just don't include those outputs 313 00:15:35,540 --> 00:15:36,420 in your ring signature. 314 00:15:36,420 --> 00:15:38,340 You specifically avoid them. 315 00:15:38,500 --> 00:15:40,220 There is a tool that has been built out 316 00:15:40,220 --> 00:15:42,180 so you can do the same thing for two different chains. 317 00:15:42,400 --> 00:15:44,360 You can point the tool at the Monero blockchain 318 00:15:44,360 --> 00:15:46,580 and a different fork of Monero and say, 319 00:15:46,680 --> 00:15:49,280 look for any issues with the key images, 320 00:15:49,420 --> 00:15:50,200 the key image reuse, 321 00:15:50,460 --> 00:15:51,920 and it will blacklist outputs 322 00:15:51,920 --> 00:15:53,280 if they are known to be spent 323 00:15:53,280 --> 00:15:54,660 in either of those transactions. 324 00:15:55,180 --> 00:15:57,060 And so this is generally just something you can do. 325 00:15:57,260 --> 00:15:59,040 Most wallet software will include this. 326 00:15:59,120 --> 00:16:00,420 It's currently not intuitive. 327 00:16:00,680 --> 00:16:04,420 It still takes additional effort from you to actually use. 328 00:16:04,660 --> 00:16:05,480 But generally, 329 00:16:06,180 --> 00:16:09,280 it's best if you don't accidentally include money 330 00:16:09,280 --> 00:16:10,700 that you already knew 331 00:16:10,700 --> 00:16:14,060 could not have been a plausible spend for you to make. 332 00:16:14,400 --> 00:16:16,000 And so you could use the black, 333 00:16:16,020 --> 00:16:18,420 you can use the blackball list to exclude anything. 334 00:16:18,660 --> 00:16:20,500 You can include anything in this list that you want. 335 00:16:20,640 --> 00:16:23,360 But generally you should include the zero decoy out, 336 00:16:23,460 --> 00:16:24,960 the zero decoy transactions, 337 00:16:25,260 --> 00:16:27,020 which are no longer an issue with Monero, 338 00:16:27,100 --> 00:16:28,740 so it's unlikely you would select them anyway. 339 00:16:28,940 --> 00:16:30,740 But you can still blacklist them. 340 00:16:30,900 --> 00:16:33,940 You can blacklist the identical key image issue 341 00:16:33,940 --> 00:16:35,100 I just explained earlier. 342 00:16:35,480 --> 00:16:37,640 You can blacklist public pool data. 343 00:16:37,840 --> 00:16:38,920 So if a pool has an API, 344 00:16:39,320 --> 00:16:41,680 you could potentially use that to blacklist certain items. 345 00:16:41,940 --> 00:16:44,080 And then if you know that, like, 346 00:16:44,080 --> 00:16:47,120 large wallets and exchanges have a certain output list, 347 00:16:47,220 --> 00:16:48,180 which is highly unlikely, 348 00:16:48,360 --> 00:16:49,520 you could blacklist these. 349 00:16:49,960 --> 00:16:52,280 Unfortunately, this is probably going to be private information 350 00:16:52,280 --> 00:16:53,580 you would not have access to. 351 00:16:55,060 --> 00:16:56,780 Another thing you can do is called churn. 352 00:16:56,920 --> 00:16:59,060 And I don't want you to look or think too much 353 00:16:59,060 --> 00:17:00,320 into the actual entropy here. 354 00:17:00,400 --> 00:17:01,540 That's kind of a best-case scenario. 355 00:17:01,720 --> 00:17:03,740 It's not exactly realistic in each case. 356 00:17:03,740 --> 00:17:06,860 But churning is the process of sending money to yourself. 357 00:17:07,480 --> 00:17:12,160 So in doing so, you're able to essentially have, 358 00:17:12,280 --> 00:17:14,780 instead of one transaction with a ring size of 7, 359 00:17:15,080 --> 00:17:17,440 you have additional transactions 360 00:17:17,440 --> 00:17:18,740 that each have their own entropy, 361 00:17:18,980 --> 00:17:21,240 each have other transactions that reference 362 00:17:21,240 --> 00:17:22,380 all of these different outputs. 363 00:17:22,620 --> 00:17:24,940 So overall, it increases the entropy 364 00:17:24,940 --> 00:17:26,060 from your ring signature. 365 00:17:26,320 --> 00:17:28,280 Instead of increasing your ring signature size, 366 00:17:28,580 --> 00:17:30,400 you can just send several transactions. 367 00:17:30,540 --> 00:17:32,700 So that way, if one of these ring signatures 368 00:17:32,700 --> 00:17:33,580 is compromised, 369 00:17:34,260 --> 00:17:36,300 then you're protected by all the others. 370 00:17:36,700 --> 00:17:38,560 So in general, it's recommended, 371 00:17:39,160 --> 00:17:41,840 these numbers are still essentially being ironed out. 372 00:17:41,920 --> 00:17:43,840 We don't have a lot of definitive research here. 373 00:17:44,060 --> 00:17:44,960 But if you're worried, 374 00:17:45,520 --> 00:17:48,200 you can use churning to protect against different heuristics, 375 00:17:48,260 --> 00:17:50,540 where people might suspect funds are bad. 376 00:17:51,280 --> 00:17:52,880 And in those cases, 377 00:17:52,940 --> 00:17:56,780 we would recommend churning between 5 and 8 times, 378 00:17:56,840 --> 00:17:58,080 depending on your use case. 379 00:17:58,360 --> 00:18:01,040 And ultimately, this all comes back to the use case again. 380 00:18:01,460 --> 00:18:02,680 And I'll speak to that later. 381 00:18:02,700 --> 00:18:04,160 I'll speak about that in the next few slides, 382 00:18:04,260 --> 00:18:06,260 about ultimately what does this mean for you 383 00:18:06,260 --> 00:18:07,100 if you're using Monero. 384 00:18:08,740 --> 00:18:10,520 And then, so finally, 385 00:18:10,760 --> 00:18:13,520 make sure that you spend during good times. 386 00:18:13,720 --> 00:18:15,600 Unfortunately, you won't necessarily always know 387 00:18:15,600 --> 00:18:16,320 the answer to this. 388 00:18:16,480 --> 00:18:19,640 But essentially, if you know that it is a bad time 389 00:18:19,640 --> 00:18:20,540 to spend Monero, 390 00:18:20,680 --> 00:18:22,720 you should try to avoid it if possible. 391 00:18:22,920 --> 00:18:24,680 So if you know that there's an upcoming 392 00:18:24,680 --> 00:18:25,840 chain split for Monero, 393 00:18:26,020 --> 00:18:27,740 you should hold off spending funds 394 00:18:27,740 --> 00:18:29,780 shortly before or after this chain split. 395 00:18:29,940 --> 00:18:31,460 Because during this time period, 396 00:18:31,460 --> 00:18:33,120 there's a higher likelihood 397 00:18:33,120 --> 00:18:35,800 that a higher proportion of outputs 398 00:18:35,800 --> 00:18:37,200 would be compromised. 399 00:18:37,600 --> 00:18:40,620 So you should try and avoid these certain scenarios 400 00:18:40,620 --> 00:18:41,840 if possible. 401 00:18:42,060 --> 00:18:45,060 But if Monero was under attack right now, 402 00:18:45,140 --> 00:18:46,960 you would not necessarily even know that. 403 00:18:47,440 --> 00:18:48,560 So it's hard to... 404 00:18:49,260 --> 00:18:51,840 You can only do this for things you already know of. 405 00:18:52,940 --> 00:18:55,100 So let's talk about the different types of linkability 406 00:18:55,100 --> 00:18:55,960 that is available 407 00:18:56,520 --> 00:18:58,900 with how these outputs are connected to each other 408 00:18:58,900 --> 00:19:00,320 and what you really can do about it. 409 00:19:00,320 --> 00:19:02,980 So first is the idea of linking sub-addresses 410 00:19:02,980 --> 00:19:03,860 and transactions. 411 00:19:04,380 --> 00:19:08,100 There are two very popular Monero ecosystem parts. 412 00:19:08,360 --> 00:19:10,840 One is Moneruyo, which is an Android wallet, 413 00:19:11,020 --> 00:19:12,680 and one is The Monero Art. 414 00:19:12,880 --> 00:19:15,580 I have no reason to believe they're connected to each other, 415 00:19:15,660 --> 00:19:17,440 but let's suppose you're one person, 416 00:19:17,480 --> 00:19:18,800 you control both of these services, 417 00:19:19,140 --> 00:19:21,460 but you don't want any association 418 00:19:21,460 --> 00:19:22,820 between these two services. 419 00:19:23,140 --> 00:19:25,740 With Monero, you have a mechanism called a sub-address 420 00:19:25,740 --> 00:19:27,100 where you can publish an address 421 00:19:27,100 --> 00:19:29,140 on both of these different websites, 422 00:19:29,140 --> 00:19:31,940 and ideally, since there's no link 423 00:19:31,940 --> 00:19:33,340 between the sub-addresses at all, 424 00:19:33,560 --> 00:19:35,640 that it would keep these identities separate. 425 00:19:35,980 --> 00:19:37,920 Unfortunately, it becomes a little complicated 426 00:19:37,920 --> 00:19:39,980 depending on your spending habits on the blockchain. 427 00:19:40,300 --> 00:19:41,920 So suppose I made a donation 428 00:19:41,920 --> 00:19:43,800 to each of these sub-addresses. 429 00:19:43,960 --> 00:19:45,700 I did not know that they were linked together, 430 00:19:45,960 --> 00:19:48,580 but suppose that later I see that 431 00:19:48,580 --> 00:19:50,340 there's a single transaction 432 00:19:50,340 --> 00:19:53,520 that includes both of my outputs 433 00:19:53,520 --> 00:19:54,660 in two different rings. 434 00:19:55,140 --> 00:19:56,640 That would be highly suspicious 435 00:19:56,640 --> 00:19:58,660 because it would be incredibly unlikely 436 00:19:59,140 --> 00:19:59,760 that this would happen by chance. 437 00:19:59,980 --> 00:20:02,120 It would be unlikely for one transaction 438 00:20:02,120 --> 00:20:03,900 to contain both of these outputs. 439 00:20:05,280 --> 00:20:07,380 And so this is a situation 440 00:20:07,380 --> 00:20:09,320 that is a big concern with sub-addresses 441 00:20:09,320 --> 00:20:11,300 because we tell people that this is a good way 442 00:20:11,300 --> 00:20:12,440 to keep your identities private 443 00:20:12,440 --> 00:20:14,460 or the different addresses private, 444 00:20:14,760 --> 00:20:18,080 but depending on how you use Monero on the blockchain, 445 00:20:18,280 --> 00:20:19,520 you have plausible deniability, 446 00:20:19,780 --> 00:20:21,340 but you might still look suspicious. 447 00:20:22,880 --> 00:20:24,660 And so there's several things you can do. 448 00:20:25,980 --> 00:20:28,600 In general, for this sort of case, 449 00:20:28,600 --> 00:20:30,800 I would recommend keep the funds 450 00:20:30,800 --> 00:20:32,280 sent to each sub-address separate, 451 00:20:32,400 --> 00:20:36,540 and you need to churn each sub-address funds separately. 452 00:20:36,900 --> 00:20:38,700 And if you don't want to use sub-addresses, 453 00:20:38,940 --> 00:20:40,960 it might be simpler just to use 454 00:20:40,960 --> 00:20:43,900 two completely different Monero wallets entirely 455 00:20:43,900 --> 00:20:45,880 because it might be easier 456 00:20:45,880 --> 00:20:47,400 to keep those outputs separate and churn. 457 00:20:47,540 --> 00:20:50,740 So if I receive five payments to Moneruyo 458 00:20:50,740 --> 00:20:53,480 and someone receives three payments to Monero Art, 459 00:20:53,720 --> 00:20:56,440 you should churn each set separately. 460 00:20:56,620 --> 00:20:58,100 Just make sure they don't touch each other. 461 00:20:58,600 --> 00:20:59,460 Make sure there's additional entropy 462 00:20:59,460 --> 00:21:01,320 before you put these funds back together. 463 00:21:03,520 --> 00:21:04,840 On the second situation, 464 00:21:05,200 --> 00:21:07,780 you have a situation where you're linking sub-addresses 465 00:21:07,780 --> 00:21:09,720 or addresses to a real-world identity. 466 00:21:10,380 --> 00:21:13,080 So suppose that, in this case, 467 00:21:13,220 --> 00:21:15,200 you need to add additional entropy 468 00:21:15,200 --> 00:21:16,700 before you interact with anyone 469 00:21:16,700 --> 00:21:18,300 that knows your real-world identity. 470 00:21:18,880 --> 00:21:23,400 So it's one thing for your online profiles to be linked, 471 00:21:23,500 --> 00:21:25,260 but if it's also linked to you individually, 472 00:21:25,500 --> 00:21:28,040 that's a large consideration that many people have. 473 00:21:28,600 --> 00:21:29,600 And in that case, 474 00:21:29,700 --> 00:21:32,640 especially if you're sending funds to a KYC AML exchange, 475 00:21:33,040 --> 00:21:34,460 you need additional entropy 476 00:21:34,460 --> 00:21:36,300 before you send funds to an exchange 477 00:21:36,300 --> 00:21:38,500 if you don't want any suspicion 478 00:21:38,500 --> 00:21:40,520 of the funds coming from you. 479 00:21:40,700 --> 00:21:44,100 So you should churn before sending funds to these exchanges 480 00:21:44,520 --> 00:21:46,380 because it will provide you with additional entropy, 481 00:21:46,500 --> 00:21:49,460 additional possible sources that these funds could come from 482 00:21:49,460 --> 00:21:51,400 rather than just the standard ring signature. 483 00:21:52,620 --> 00:21:54,900 And then in the most extreme case, 484 00:21:55,200 --> 00:21:56,380 you might want to say, 485 00:21:56,500 --> 00:21:58,520 every single output I touch 486 00:21:58,600 --> 00:22:01,420 should have no connection to any other output. 487 00:22:01,820 --> 00:22:03,280 And ideally, you're like, 488 00:22:03,400 --> 00:22:04,000 OK, wait a minute. 489 00:22:04,160 --> 00:22:06,440 Isn't this essentially fungibility? 490 00:22:06,780 --> 00:22:11,240 That every output is not connected to each other, 491 00:22:11,280 --> 00:22:12,540 there's no past history? 492 00:22:12,820 --> 00:22:14,740 And you're right that ideally, 493 00:22:14,880 --> 00:22:16,560 under a perfectly fungible system, 494 00:22:17,020 --> 00:22:18,440 it would have a situation 495 00:22:18,440 --> 00:22:20,660 where every output is completely independent. 496 00:22:21,220 --> 00:22:24,400 Unfortunately, that's just not the case at the moment. 497 00:22:24,580 --> 00:22:25,620 With Monero currently, 498 00:22:25,900 --> 00:22:28,520 you have fungibility through plausible deniability. 499 00:22:28,600 --> 00:22:30,880 Not through protection against every heuristic. 500 00:22:31,040 --> 00:22:32,260 So it still is possible 501 00:22:32,260 --> 00:22:35,660 that certain outputs might appear more suspicious 502 00:22:35,660 --> 00:22:36,580 than other outputs. 503 00:22:36,780 --> 00:22:38,900 And so this is a big consideration you have. 504 00:22:39,140 --> 00:22:41,060 And it's something to really keep in mind 505 00:22:41,060 --> 00:22:41,860 when you're spending Monero. 506 00:22:42,180 --> 00:22:44,160 So in this extreme case, 507 00:22:44,320 --> 00:22:46,200 you would have to keep every output separate 508 00:22:46,200 --> 00:22:49,120 and add an entropy for each of these outputs independently, 509 00:22:49,500 --> 00:22:52,580 which would involve churning each of these outputs independently. 510 00:22:52,860 --> 00:22:53,900 Which is a lot of work, 511 00:22:54,020 --> 00:22:56,980 but it's required if you don't want any sort of on-chain connection 512 00:22:56,980 --> 00:22:59,520 or any reasonable on-chain connection 513 00:22:59,520 --> 00:23:01,280 between any of these outputs. 514 00:23:02,880 --> 00:23:04,980 So what are some of the challenges that we have 515 00:23:04,980 --> 00:23:07,160 for increasing ring size in general? 516 00:23:07,760 --> 00:23:12,420 So first, there are real costs to increasing the ring size. 517 00:23:12,540 --> 00:23:14,980 We can't just make a ring size of, I don't know, 518 00:23:15,000 --> 00:23:16,400 a million for every transaction, 519 00:23:16,620 --> 00:23:18,660 because although that would be great for privacy, 520 00:23:18,760 --> 00:23:21,380 you wouldn't really need to worry about any of these concerns anymore. 521 00:23:21,980 --> 00:23:23,280 It's just not practical. 522 00:23:23,420 --> 00:23:25,600 There are real costs in verification time, 523 00:23:25,600 --> 00:23:27,780 and real costs in transaction size. 524 00:23:28,100 --> 00:23:31,420 And each of these also leads to a cost of additional fees 525 00:23:31,420 --> 00:23:32,380 in sending the transaction. 526 00:23:32,680 --> 00:23:36,320 So we need to specifically weigh all of the benefits people have 527 00:23:36,320 --> 00:23:39,180 from the increased ring size of privacy in Monero 528 00:23:39,180 --> 00:23:40,940 against these real costs. 529 00:23:41,340 --> 00:23:43,780 So technically, from a really strict level, 530 00:23:44,140 --> 00:23:45,700 the higher ring size is better. 531 00:23:45,860 --> 00:23:48,540 If you're able to increase your ring size strictly, that's better. 532 00:23:48,700 --> 00:23:51,740 But when you're specifically trying to weigh pros and cons, 533 00:23:52,080 --> 00:23:54,420 it's much more effective if you're able to tie 534 00:23:54,420 --> 00:23:57,060 these considerations to specific use cases. 535 00:23:57,540 --> 00:23:59,300 So for example, with ring size 7, 536 00:23:59,480 --> 00:24:02,380 that was selected specifically to protect against 537 00:24:02,380 --> 00:24:05,260 the chain split potential attack. 538 00:24:05,520 --> 00:24:07,940 That was a specific threat model that we had in mind, 539 00:24:08,060 --> 00:24:11,060 and so ring size 7 was selected for that specific purpose. 540 00:24:11,320 --> 00:24:13,240 If we were to further increase the ring size, 541 00:24:13,500 --> 00:24:16,340 we should similarly justify it in a similar way 542 00:24:16,340 --> 00:24:19,640 in order to say we're increasing it for the reason 543 00:24:19,640 --> 00:24:22,440 because it has an actual impact that people have. 544 00:24:23,720 --> 00:24:26,460 So in summary, we covered four different ways 545 00:24:26,460 --> 00:24:28,360 for ring signatures to be compromised. 546 00:24:28,960 --> 00:24:31,200 We considered several considerations 547 00:24:31,200 --> 00:24:33,020 for the heuristic tests, 548 00:24:33,200 --> 00:24:35,660 ways for money to seem more suspicious than not, 549 00:24:35,840 --> 00:24:38,240 and we covered some of the best practices 550 00:24:38,240 --> 00:24:40,020 for using Monero's ring signatures correctly 551 00:24:40,020 --> 00:24:41,800 in a variety of use cases, 552 00:24:42,020 --> 00:24:44,760 and we covered the challenges of increasing Monero's ring size. 553 00:24:45,000 --> 00:24:46,940 If I had more time, I would talk about 554 00:24:46,940 --> 00:24:49,660 the difficulties of Monero's selection algorithm 555 00:24:49,660 --> 00:24:52,280 and many other components that go into ring signatures. 556 00:24:52,440 --> 00:24:54,860 But ultimately, the bottom line is that 557 00:24:54,860 --> 00:24:57,520 ring signatures are the weakest point of Monero's privacy. 558 00:24:58,120 --> 00:25:01,060 Unfortunately, they're the only system we have at the moment 559 00:25:01,060 --> 00:25:03,560 that provides a sort of trustless privacy 560 00:25:03,560 --> 00:25:05,080 for hiding the sending output, 561 00:25:05,420 --> 00:25:08,160 and hopefully we can move to a different system 562 00:25:08,160 --> 00:25:12,060 or find additional benefits in order to further increase 563 00:25:12,060 --> 00:25:14,780 the entropy set for all transactions with Monero. 564 00:25:15,040 --> 00:25:17,740 And so bulletproofs are an example of an improvement 565 00:25:17,740 --> 00:25:19,420 that we have, we have a real opportunity 566 00:25:19,420 --> 00:25:22,160 to reduce the verification time, 567 00:25:22,160 --> 00:25:23,620 the transaction cost with Monero, 568 00:25:23,780 --> 00:25:26,140 but ultimately, even with these improvements, 569 00:25:26,360 --> 00:25:29,320 we still need more in order to protect Monero 570 00:25:29,320 --> 00:25:32,640 against these sort of heuristics that might come up. 571 00:25:33,500 --> 00:25:35,100 So that's all the information I had. 572 00:25:35,460 --> 00:25:38,060 I know it's a lot, I was jumping right into it. 573 00:25:38,820 --> 00:25:40,980 We have the standard Monero information on there. 574 00:25:41,220 --> 00:25:43,420 More specifically, that's my email in case you need 575 00:25:43,420 --> 00:25:45,180 to reach out to me with any additional questions. 576 00:25:45,560 --> 00:25:47,880 I'll be around, again, Sarang and I can answer 577 00:25:47,880 --> 00:25:48,740 a lot of other questions. 578 00:25:49,660 --> 00:25:51,240 I'm going to check on time real quick. 579 00:25:51,240 --> 00:25:54,520 I have a few minutes, about seven minutes for questions, 580 00:25:54,660 --> 00:25:58,480 so I can take those now, but I appreciate speaking 581 00:25:58,480 --> 00:26:00,640 kind of the big concerns with Monero's 582 00:26:00,640 --> 00:26:01,460 ring signature mechanism. 583 00:26:02,160 --> 00:26:02,400 Yes? 584 00:26:02,680 --> 00:26:05,580 Why did you choose zero-knowledge proof? 585 00:26:06,280 --> 00:26:07,540 Instead of the ring signature? 586 00:26:07,820 --> 00:26:10,240 So the reasons zero-knowledge proofs were not chosen, 587 00:26:10,360 --> 00:26:13,480 so one, Monero started before zero-knowledge proofs 588 00:26:13,480 --> 00:26:17,980 became a big thing, and two, it's not a trustless system. 589 00:26:18,120 --> 00:26:20,540 So you still need to have a trusted party 590 00:26:20,540 --> 00:26:22,560 to provide the entropy for that system. 591 00:26:22,720 --> 00:26:24,980 No one in the Monero community feels comfortable 592 00:26:24,980 --> 00:26:28,700 providing the initial setup required to have this system. 593 00:26:28,900 --> 00:26:31,340 So to have like a ZK-SNARK implementation, 594 00:26:31,820 --> 00:26:34,960 you need to have a specific group of people 595 00:26:34,960 --> 00:26:37,360 that create this entropy, and you need to make sure 596 00:26:37,360 --> 00:26:40,300 that they destroy this entropy, otherwise, 597 00:26:40,560 --> 00:26:43,060 destroy this essentially toxic waste, as it's called. 598 00:26:43,300 --> 00:26:46,540 And if they don't, then they can produce money 599 00:26:46,540 --> 00:26:48,960 out of thin air, and there's no way to detect that. 600 00:26:48,960 --> 00:26:51,040 So with Monero, we don't want that obligation. 601 00:26:51,420 --> 00:26:53,520 We want to say, okay, this is what we can do 602 00:26:53,520 --> 00:26:56,160 without you having to trust that the Monero team 603 00:26:56,160 --> 00:26:57,200 can print money out of thin air. 604 00:26:57,400 --> 00:26:59,500 And this is currently the best scheme 605 00:26:59,500 --> 00:27:00,580 that we realistically have. 606 00:27:01,820 --> 00:27:02,220 Yes? 607 00:27:03,440 --> 00:27:03,840 . 608 00:27:05,240 --> 00:27:05,880 . 609 00:27:17,640 --> 00:27:18,280 Absolutely. 610 00:27:18,520 --> 00:27:20,780 So the privacy of Monero is provided by 611 00:27:21,560 --> 00:27:23,600 the privacy of its users, frankly. 612 00:27:23,940 --> 00:27:27,740 And I think this is most clearly evidenced 613 00:27:27,740 --> 00:27:30,580 as Monero had an opportunity for you to send 614 00:27:30,580 --> 00:27:32,000 a zero decoy transaction. 615 00:27:32,000 --> 00:27:36,140 And at the time, some 70% of transactions 616 00:27:36,140 --> 00:27:38,020 did not use any decoys. 617 00:27:38,320 --> 00:27:40,800 And the best thing you can really do to approach 618 00:27:40,800 --> 00:27:43,260 that situation is make tools readily available, 619 00:27:43,480 --> 00:27:45,320 and for the zero decoy case, it's okay, 620 00:27:45,380 --> 00:27:46,100 we're prohibiting these. 621 00:27:46,300 --> 00:27:48,200 You can't send these that hurt other people's privacy. 622 00:27:49,580 --> 00:27:52,400 Because yes, it's fine, you can argue that it's nice 623 00:27:52,400 --> 00:27:54,360 for someone to have the choice of being public, 624 00:27:54,640 --> 00:27:56,460 but if that hurts other people's transactions, 625 00:27:56,800 --> 00:27:58,880 realistically, you have to make it a requirement. 626 00:27:59,160 --> 00:28:01,980 For chain splits, we're still, there's a possibility 627 00:28:02,000 --> 00:28:04,280 for some better mechanisms going forward, 628 00:28:04,440 --> 00:28:07,660 but by default, the wallet clients that currently exist 629 00:28:07,660 --> 00:28:10,740 will use the same ring set on both, 630 00:28:10,940 --> 00:28:13,720 so there's a very, a much lower risk. 631 00:28:14,140 --> 00:28:17,180 And based off the current ring size that we have, 632 00:28:17,340 --> 00:28:21,180 if there ever was an issue where a large proportion 633 00:28:21,180 --> 00:28:22,520 of outputs were being compromised, 634 00:28:22,920 --> 00:28:25,940 we would be able to at least have a high probability 635 00:28:25,940 --> 00:28:29,020 of detecting that before it would cause any major issues, 636 00:28:29,100 --> 00:28:30,160 if we could at least warn people. 637 00:28:30,160 --> 00:28:33,540 So you're right, that it definitely comes back to, 638 00:28:33,660 --> 00:28:36,220 you need to make sure other people are spending funds 639 00:28:36,220 --> 00:28:38,400 in a not completely absurd way, 640 00:28:40,060 --> 00:28:42,260 and we just need to do our best to make sure 641 00:28:42,260 --> 00:28:44,540 that that's how people are generally spending their funds. 642 00:28:45,940 --> 00:28:46,380 Yes? 643 00:28:50,220 --> 00:28:57,520 So in some ways, yes. 644 00:28:57,740 --> 00:29:00,000 So mixing with Bitcoin, it's the idea is, 645 00:29:00,000 --> 00:29:02,120 you take several sources of funds, 646 00:29:02,240 --> 00:29:04,060 you send it to a specific party, 647 00:29:04,240 --> 00:29:06,320 they jumble up who's is who, 648 00:29:06,420 --> 00:29:08,360 and then they send outputs back to each person, 649 00:29:08,440 --> 00:29:10,640 and you don't necessarily know which outputs 650 00:29:10,640 --> 00:29:12,100 were allocated to which persons. 651 00:29:12,380 --> 00:29:15,280 For Monero, it's similar in some ways 652 00:29:15,280 --> 00:29:18,340 because you make it seem as if you're spending other funds. 653 00:29:18,520 --> 00:29:20,980 The ring signature is most similar to a mixer. 654 00:29:21,180 --> 00:29:24,100 The big difference is you don't need to trust a person 655 00:29:24,100 --> 00:29:25,040 to provide this functionality. 656 00:29:25,400 --> 00:29:28,060 You could sign the ring signature offline, 657 00:29:28,200 --> 00:29:29,920 just with a copy of the blockchain, 658 00:29:30,000 --> 00:29:32,400 and then broadcast it later to the network. 659 00:29:32,760 --> 00:29:35,140 So in some ways, it's a fair comparison. 660 00:29:35,380 --> 00:29:38,140 In other ways, there are significant differences 661 00:29:38,140 --> 00:29:39,800 in how it's actually implemented. 662 00:29:41,780 --> 00:29:42,340 Yes? 663 00:29:42,700 --> 00:29:44,660 Would it be possible to make churning mandatory? 664 00:29:46,620 --> 00:29:47,520 Realistically, no. 665 00:29:47,620 --> 00:29:49,000 In order to make something mandatory, 666 00:29:49,760 --> 00:29:51,680 ultimately you need to make something 667 00:29:51,680 --> 00:29:54,220 a requirement on the consensus layer. 668 00:29:54,600 --> 00:29:57,620 I don't know of any way that that would be realistic. 669 00:29:58,240 --> 00:29:59,640 And I think that churning 670 00:30:00,000 --> 00:30:02,300 is not necessarily something that most people 671 00:30:02,300 --> 00:30:03,700 even have in their threat models. 672 00:30:04,020 --> 00:30:06,520 Unless you are highly concerned, 673 00:30:06,680 --> 00:30:11,360 unless you are someone with a really high consideration 674 00:30:11,360 --> 00:30:12,280 for your privacy, 675 00:30:12,620 --> 00:30:14,700 like if you live in North Korea or something, 676 00:30:17,000 --> 00:30:18,340 churning is important to you then, 677 00:30:18,420 --> 00:30:19,980 but if I'm just making a simple transaction, 678 00:30:20,360 --> 00:30:21,900 I still have plausible deniability 679 00:30:21,900 --> 00:30:24,100 under any reasonable circumstance 680 00:30:24,100 --> 00:30:25,200 we can come up with now. 681 00:30:26,340 --> 00:30:29,220 So the reason we can't really make it mandatory, though, 682 00:30:29,220 --> 00:30:31,480 is because churning transactions, by definition, 683 00:30:31,820 --> 00:30:35,600 they look exactly the same as any other transaction. 684 00:30:36,180 --> 00:30:38,980 And so you can't really force people 685 00:30:38,980 --> 00:30:40,780 to make transactions, necessarily. 686 00:30:41,080 --> 00:30:42,800 That's the sort of requirement it would take. 687 00:30:43,340 --> 00:30:45,240 Okay, so I think I'm going to take one more question, 688 00:30:45,460 --> 00:30:47,100 and then I can hand it off to the next speaker. 689 00:30:47,500 --> 00:30:48,280 Did you have one? 690 00:30:48,520 --> 00:30:48,680 Yeah. 691 00:30:49,100 --> 00:30:50,320 So my question is, 692 00:30:50,340 --> 00:30:52,000 it's really interesting to see how 693 00:30:52,000 --> 00:30:54,480 what the wall calls do by default 694 00:30:54,480 --> 00:30:56,680 ends up having a pretty big effect on privacy. 695 00:30:57,120 --> 00:30:58,540 To what extent are you able 696 00:30:58,540 --> 00:30:59,340 to influence that, 697 00:30:59,380 --> 00:31:01,700 or encourage developers to write wallets? 698 00:31:02,220 --> 00:31:04,460 Okay, so that's definitely a big consideration. 699 00:31:05,020 --> 00:31:08,720 And I think it manifests itself mostly in two ways. 700 00:31:08,900 --> 00:31:12,320 So I didn't really talk about the input selection algorithm, 701 00:31:12,640 --> 00:31:15,460 but the selection algorithm is not consensus-driven, 702 00:31:15,620 --> 00:31:17,160 so that is up to the wallet 703 00:31:17,160 --> 00:31:18,720 to decide which outputs to select. 704 00:31:19,040 --> 00:31:22,160 And if your wallet selects outputs really poorly, 705 00:31:22,400 --> 00:31:25,280 then it really harms you and the network. 706 00:31:25,680 --> 00:31:28,180 And especially if the wallet was widely used. 707 00:31:28,180 --> 00:31:29,640 If it was a widely used wallet, 708 00:31:29,780 --> 00:31:32,280 suppose an exchange when they had payouts 709 00:31:32,280 --> 00:31:35,320 purposely chose bad outputs to sabotage people. 710 00:31:35,540 --> 00:31:37,060 So that's an important consideration there. 711 00:31:37,200 --> 00:31:39,420 There are some changes you can do to consensus 712 00:31:39,420 --> 00:31:41,980 to make sure that X percent of outputs 713 00:31:41,980 --> 00:31:43,380 are from a certain percent of days, 714 00:31:43,440 --> 00:31:45,200 to make sure people are generally honest, 715 00:31:45,360 --> 00:31:46,680 but that's currently not implemented. 716 00:31:47,000 --> 00:31:49,240 And currently there are no wallets I know of 717 00:31:49,240 --> 00:31:52,240 that have that sort of undermining situation. 718 00:31:52,920 --> 00:31:54,980 MyMonero used to have a different selection algorithm, 719 00:31:55,180 --> 00:31:58,160 but they have updated to the latest version 720 00:31:58,180 --> 00:31:59,600 of the latest Monero selection algorithm. 721 00:31:59,880 --> 00:32:01,880 And then the second one is just a different ring size. 722 00:32:02,400 --> 00:32:04,180 Ultimately, if you have a different ring size, 723 00:32:04,360 --> 00:32:05,660 you have a different piece of metadata 724 00:32:05,660 --> 00:32:06,860 that stands out in the network, 725 00:32:07,040 --> 00:32:08,400 and so there are some discussions 726 00:32:08,400 --> 00:32:09,960 to move to a fixed ring size. 727 00:32:11,920 --> 00:32:13,200 Okay. Well, thank you. 728 00:32:13,360 --> 00:32:15,180 I'm always here to answer questions later, 729 00:32:15,380 --> 00:32:18,260 and I appreciate you coming to hear about ring signatures. 730 00:32:18,920 --> 00:32:20,120 Let's give Mr. P a hand. 731 00:32:20,340 --> 00:32:21,260 Thank you so much.