1 00:00:00,000 --> 00:00:01,300 Hi, I'm Dreadware. 2 00:00:01,300 --> 00:00:06,900 I'm here with Jordan Casper and I'll try a brief introduction and keep me honest. 3 00:00:07,520 --> 00:00:32,620 Okay, so you have been in open source software for quite some time and a solid contributor too, but for the past eight years you've been working in government with the DOD and Department of Homeland Security, doing a number of different advising tasks for teams and also writing policy. 4 00:00:32,640 --> 00:00:33,500 I have been, yeah. 5 00:00:33,500 --> 00:00:34,200 Is that correct? 6 00:00:34,240 --> 00:00:37,640 I'm the easy spot to fed because I'm actually like wearing the outfit. 7 00:00:38,980 --> 00:00:40,260 That's wonderful. 8 00:00:40,680 --> 00:00:45,260 Can you tell us a little bit about how the government's utilizing open source software at the moment? 9 00:00:45,260 --> 00:00:59,060 Yeah, I mean, I think if you think about the number of IT systems in the federal government, the number of agencies, both on the executive branch and then you get to the legislative branch and even in the judicial branch, we have hundreds of thousands of IT systems. 10 00:00:59,220 --> 00:01:03,460 And I would argue that every single one of them relies in some way on open source software. 11 00:01:04,020 --> 00:01:06,620 So, pretty big consumers, yeah. 12 00:01:07,080 --> 00:01:17,880 And is that something that definitely stuck yesterday about, you know, that consideration of rights and ownership? 13 00:01:18,720 --> 00:01:19,400 Right. 14 00:01:19,400 --> 00:01:34,440 So, when we're talking about the publication of open source software by the government, which I firmly believe we should be doing more of because the software written for the people was paid for by the people and we should let them see it. 15 00:01:36,120 --> 00:01:39,480 Most of the time, federal IT systems are written by contractors. 16 00:01:39,780 --> 00:01:46,640 And the way that our contracts are structured is that the government has full rights to use that software any way we want, including publishing it as open source. 17 00:01:46,640 --> 00:01:56,640 However, we almost never get the copyright signed over to the federal government, in part because the federal government actually can't own copyright within the bounds of the United States. 18 00:01:56,640 --> 00:01:59,860 It's a weird nuance of patent and trademark law. 19 00:01:59,860 --> 00:02:02,280 So, we don't own the copyright. 20 00:02:02,660 --> 00:02:09,680 So, if we force a contractor to open source it, they're releasing their intellectual property rights. 21 00:02:09,800 --> 00:02:14,920 And so, there's a weird balance there where we could publish it because we have the data rights to publish it. 22 00:02:14,920 --> 00:02:23,780 But if we ask the contractor to publish it, the people that wrote it, well, if we just ask them to do that blindly, they could easily say, no, that's our intellectual property. 23 00:02:24,400 --> 00:02:27,440 So, there's some contractual issues that we would have to work through for that. 24 00:02:27,440 --> 00:02:29,460 And it's a really interesting nuance. 25 00:02:29,880 --> 00:02:35,360 But at the same time, there's the flip side of the coin, which I know you might ask me in a second, but there's the consumption part. 26 00:02:35,360 --> 00:02:51,560 And there's also actually an intellectual property license issue there because it tends to be the case that government officials don't understand how open source licenses work and whether it's legal or not for us to actually use open source in our systems. 27 00:02:51,560 --> 00:02:53,780 The short answer is yes, we can. 28 00:02:53,780 --> 00:02:55,160 That is awesome. 29 00:02:55,160 --> 00:03:01,940 And it sounds like a place for quite a spirited debate and discussion and arbitration. 30 00:03:01,940 --> 00:03:11,920 But while that occurs, let's say hypothetically, I'm like a software engineer, government contractor in the position to kind of act on what you were talking about. 31 00:03:12,060 --> 00:03:17,760 Also, someone who's interested in DEF CON, something like a little bit outside of the box. 32 00:03:18,160 --> 00:03:24,080 So, with someone in that role, how do you visualize that they can kind of utilize that? 33 00:03:24,080 --> 00:03:24,300 Yeah. 34 00:03:24,300 --> 00:03:29,060 So, I haven't been on the government contractor side. 35 00:03:29,380 --> 00:03:32,500 And that is maybe important, maybe not. 36 00:03:32,680 --> 00:03:40,000 But as a government employee, my advice to government contractors doing IT development is to, frankly, just do better. 37 00:03:40,140 --> 00:03:48,300 It is too often the case that a contractor is doing the minimal they need to do in order to consume open source software. 38 00:03:48,300 --> 00:04:00,420 And so, you'll see oftentimes people blindly pulling in open source packages from some package manager, NPM, PyPy, Maven, whatever you use, and with almost no checks. 39 00:04:00,420 --> 00:04:05,620 They're letting individual contributor developers decide, yes, I'm going to use that package. 40 00:04:05,620 --> 00:04:19,940 Now, the government scans our systems, but oftentimes we miss the open source packages because they get compiled in, because we aren't able to isolate an individual open source package necessarily because we're not doing that open source consumption properly. 41 00:04:20,040 --> 00:04:31,600 And so, contractors can help both the government, but also the American people to secure the systems that we rely on by implementing some of the best practices for open source consumption. 42 00:04:31,600 --> 00:04:39,240 Things like using a mirror, things like having better selection processes for open source, and honestly, contributing back. 43 00:04:39,300 --> 00:04:47,240 When we fix the security vulnerability, give that back, push that back upstream, which is absolutely not the case in the majority of the time. 44 00:04:47,280 --> 00:04:55,400 And that was a light bulb moment when you were giving a great example and just talking about, I mean, permission. 45 00:04:55,420 --> 00:05:02,620 Even just knowing that you can go and make a pull request if there's a piece that you find. 46 00:05:02,640 --> 00:05:07,380 And that was something that was pretty surprising to me. 47 00:05:07,380 --> 00:05:10,040 I mean, because I don't even know that I could do that. 48 00:05:10,220 --> 00:05:10,600 Or how. 49 00:05:10,600 --> 00:05:12,320 Yeah, there's the permission side. 50 00:05:12,320 --> 00:05:22,740 And then when you talk about, again, all of the systems being built by contractors, there's the permission, like security permission, and then there's the funding permission. 51 00:05:22,980 --> 00:05:26,020 Because the government is paying these contractors to build a system. 52 00:05:26,240 --> 00:05:34,200 And generally speaking, on the government side, you find a lot of people that say, well, we're not paying the contractor to fix someone else's code, right? 53 00:05:34,200 --> 00:05:35,560 The upstream repository. 54 00:05:35,580 --> 00:05:42,260 But here's the thing, we have to fix the bugs and the security holes and everything in the upstream library for our own stuff. 55 00:05:42,260 --> 00:05:45,860 We just don't require the contractor to push that back up. 56 00:05:45,860 --> 00:05:49,600 So there's the permission to do it kind of from just a security process way. 57 00:05:49,600 --> 00:05:54,540 And then there's the permission to do it from a, will the government actually pay the contractor to do that work? 58 00:05:55,060 --> 00:05:59,400 I guess the third realization was the individual permission. 59 00:05:59,400 --> 00:06:04,780 If someone sees something, how long would it take to make that pull request or even just send it out? 60 00:06:04,780 --> 00:06:06,180 Like, hey, maybe look at this. 61 00:06:06,180 --> 00:06:06,500 Right. 62 00:06:06,500 --> 00:06:14,480 And so one of the things that I think is really important is for, there should be some kind of checks and balances there on the government side. 63 00:06:14,480 --> 00:06:25,260 But I think there needs to be a little bit more of a broader permission of saying, hey, government IT program and contractor, we have reviewed how you interact with open source libraries. 64 00:06:25,280 --> 00:06:32,620 And because you have these processes in place, you kind of have that blanket permission to, yes, you can push open PR upstream. 65 00:06:32,800 --> 00:06:40,580 And yes, because of the processes we have in place, you don't have to get every single one of those contributions reviewed by privacy and security and program management. 66 00:06:40,580 --> 00:06:42,220 You can just do it. 67 00:06:42,240 --> 00:06:45,000 And that's not something that happens in the federal government. 68 00:06:45,000 --> 00:06:49,120 I've never seen that in a sustainable way. 69 00:06:49,440 --> 00:06:57,800 It seems like the thought there, I guess, just for me to summarize it and place it somewhere, it's like in a nutshell, like rising tide kind of lifts all boats. 70 00:06:57,800 --> 00:07:01,500 And by doing that, you're actually investing in making things a lot more secure. 71 00:07:01,500 --> 00:07:05,800 And it's actually a pretty low cost investment because the developers are already working in the code. 72 00:07:05,800 --> 00:07:06,900 They're already fixing the bug. 73 00:07:06,900 --> 00:07:08,220 Yeah, it's already done. 74 00:07:08,280 --> 00:07:09,940 Opening the PR shouldn't be that much more. 75 00:07:09,940 --> 00:07:18,520 Now, I will say that when you push up a fix, a bug fix, right, to an upstream repository, it's not just the code fix. 76 00:07:19,200 --> 00:07:26,120 It should be obviously the tests and the documentation and possibly even some kind of informational. 77 00:07:26,420 --> 00:07:27,660 So you'd have a regression test, right? 78 00:07:27,660 --> 00:07:28,680 You'd have the bug fix. 79 00:07:28,680 --> 00:07:30,220 You might have some documentation on that. 80 00:07:30,220 --> 00:07:32,220 And then there's going to be some back and forth. 81 00:07:32,220 --> 00:07:37,600 Maybe you have to add or change a configuration and a security scan in the upstream's continuous integration or something. 82 00:07:37,600 --> 00:07:38,420 You never know. 83 00:07:38,900 --> 00:07:45,200 All those additional steps is obviously more work that, again, the government has to pay the contractor to do. 84 00:07:45,260 --> 00:07:47,700 And so I think there's lots of opportunity for that. 85 00:07:48,460 --> 00:07:54,380 Again, kind of once you have that good process in place of, yes, I can just do this. 86 00:07:55,020 --> 00:07:56,240 It takes time. 87 00:07:56,240 --> 00:08:11,980 It takes willingness on the part of the government and the contractor, or it requires some force from the government side to work that into the contract, actually have it in the contract that says, no, you contractor, anytime you do a security fix on code that is not yours, 88 00:08:11,980 --> 00:08:15,280 that is an upstream repository, you must contribute it back. 89 00:08:15,460 --> 00:08:16,380 Don't make it optional. 90 00:08:16,380 --> 00:08:18,400 Don't write it into the contracts. 91 00:08:18,580 --> 00:08:19,820 Then they have to. 92 00:08:20,740 --> 00:08:28,480 And it sounds like, I mean, even something like a short, I don't know, you were talking about a pilot program and they've tried other pilot programs. 93 00:08:28,480 --> 00:08:31,700 So, you know, something like that wouldn't have to be like... You could, absolutely. 94 00:08:31,700 --> 00:08:35,760 So when I was at DoD, we had a contract that said basically those things. 95 00:08:36,240 --> 00:08:41,820 It was a relatively low dollar contract, which is why we were able to push those envelopes a little bit more. 96 00:08:42,200 --> 00:08:44,920 The delivery of that IT program. 97 00:08:44,980 --> 00:08:49,140 So in the actual contract where it says, you know, contractor, you must deliver X, Y, and Z. 98 00:08:49,140 --> 00:08:52,460 In most cases, it says, you know, you have to deliver the software and this and this and this. 99 00:08:52,460 --> 00:08:59,580 And a lot of times in the past, not as much now, they deliver that software on CDs or DVDs. 100 00:08:59,580 --> 00:09:01,360 Yeah, that actually happens. 101 00:09:03,600 --> 00:09:05,020 And that's not as much now. 102 00:09:05,020 --> 00:09:06,320 Now they're working kind of inter-systems. 103 00:09:06,320 --> 00:09:11,520 But one of the things that we did on that contract is we said that the delivery was by open source URL. 104 00:09:11,860 --> 00:09:14,260 So they had to push all the code onto GitHub. 105 00:09:14,420 --> 00:09:17,320 It had to be open on GitHub, couldn't be closed. 106 00:09:17,320 --> 00:09:21,900 And it had to have 100% of the things needed to be able to run that system. 107 00:09:22,020 --> 00:09:37,060 So the software, obviously, the tests, the CI infrastructure, the cloud infrastructure as code, all of the documentation, all of the design artifacts had to be in that repository and delivered as an open source repository by default to start. 108 00:09:37,140 --> 00:09:38,060 And you know what that does? 109 00:09:38,120 --> 00:09:47,560 It sidesteps all of those privacy checks and security checks that the government would impose in an administrative way because they had to set up good processes to be able to deliver it as open source in the first place. 110 00:09:48,260 --> 00:09:58,780 So the security approval was the process before any code existed, not after the fact where now security has to review all of the code, all of the design artifacts, all of the infrastructure artifacts. 111 00:09:58,780 --> 00:10:01,480 And then privacy has to come in and review all those things. 112 00:10:01,480 --> 00:10:06,420 And then program management has to come in and review all the things and then make a decision to approve to open source. 113 00:10:06,780 --> 00:10:08,820 That sounds like an awesome case study. 114 00:10:08,960 --> 00:10:17,700 So there is a good example of this happening in a post-facto way in terms of they designed, developed it and then open sourced it. 115 00:10:17,700 --> 00:10:19,640 And that's the IRS direct file system. 116 00:10:20,500 --> 00:10:22,780 They were able to get that open sourced. 117 00:10:22,780 --> 00:10:26,460 It took them over a year for that process to happen. 118 00:10:27,320 --> 00:10:32,860 Whereas obviously the contract to the DoD that I worked on, it was open sourced right away, right? 119 00:10:32,860 --> 00:10:41,280 But so, you know, if we want to do more of this, which I believe we do as a country, as a government, I think there's a lot of levers we have to pull. 120 00:10:41,820 --> 00:10:48,280 Modifying our contracts in small ways, maybe doing some pilots and testing those out and honestly just seeing how they go. 121 00:10:48,480 --> 00:10:49,720 You have to try something. 122 00:10:49,720 --> 00:10:50,740 You have to start somewhere. 123 00:10:50,740 --> 00:10:51,200 Right. 124 00:10:51,240 --> 00:10:54,160 That sounds like a really cool modernization effort too. 125 00:10:54,540 --> 00:10:57,080 Bad news for CD burners. 126 00:10:57,080 --> 00:10:57,880 That's right. 127 00:10:58,220 --> 00:11:00,540 But when was your first DEF CON? 128 00:11:00,980 --> 00:11:02,760 I came a few years ago. 129 00:11:03,600 --> 00:11:13,500 When I was working in the DoD, I met a longtime goon who actually runs the policy at DEF CON room in village Roro. 130 00:11:13,500 --> 00:11:20,320 And we were working together and he knew that I was kind of into board games and puzzles and things like that. 131 00:11:20,320 --> 00:11:25,000 And he was like, hey, you should come out and design a CTF for us. 132 00:11:25,120 --> 00:11:26,660 I was like, I don't know what you're talking about. 133 00:11:26,680 --> 00:11:29,820 And he pulled me in. 134 00:11:30,140 --> 00:11:32,400 I did not know what I was getting into. 135 00:11:32,520 --> 00:11:35,480 I still don't know what I've gotten into. 136 00:11:35,820 --> 00:11:36,620 But now I do. 137 00:11:36,620 --> 00:11:37,400 I actually design. 138 00:11:37,400 --> 00:11:42,800 So I'm here speaking on open source software, but I'm also running the CTF for the policy village, which is where my talk came from. 139 00:11:43,180 --> 00:11:45,940 And I've done that now for a couple of DEF CONs. 140 00:11:45,940 --> 00:11:48,000 And I do it for another conference that we have in D.C. 141 00:11:48,000 --> 00:11:53,280 called District CON, which is another hacker conference, a little bit smaller, that happens in D.C. 142 00:11:53,280 --> 00:11:53,880 every year. 143 00:11:53,940 --> 00:11:56,840 So that's kind of how I got sucked into this environment. 144 00:11:57,380 --> 00:12:02,280 That's a lot this year, but it sounds pretty fun, too, at the same time. 145 00:12:02,320 --> 00:12:03,180 It's fun. 146 00:12:03,240 --> 00:12:04,660 I enjoy it. 147 00:12:05,220 --> 00:12:10,340 The amount of interesting people you meet here is unparalleled. 148 00:12:10,920 --> 00:12:13,780 Just sitting around and people walk up and have conversations. 149 00:12:13,780 --> 00:12:20,120 I think that's one of the most interesting parts of DEF CON is that people are very open to just having conversations about anything, any topic. 150 00:12:20,160 --> 00:12:23,580 You can sit there and put up a sign that says, hi, I'd like to talk to interesting people. 151 00:12:23,580 --> 00:12:26,840 And I guarantee you, you would get people every five minutes coming up and talking to you. 152 00:12:26,840 --> 00:12:27,300 Guaranteed. 153 00:12:27,300 --> 00:12:28,420 That's not a bad idea. 154 00:12:28,420 --> 00:12:34,460 That's also in the DEF CON ethos, you know, that handwritten, you know, taped sign to the backpack. 155 00:12:35,600 --> 00:12:44,840 So you had told me a story yesterday, too, about facing a few issues while speaking, and you handled them quite elegantly, too. 156 00:12:44,840 --> 00:12:49,400 So do you have any advice for first-time speakers or someone that's into an issue? 157 00:12:49,400 --> 00:12:52,540 In my talk, they did not have a projector and screen for my slides. 158 00:12:52,540 --> 00:12:54,100 They had a digital display. 159 00:12:54,780 --> 00:12:56,020 How modern of them. 160 00:12:56,020 --> 00:13:02,200 Unfortunately, that digital display did not actually connect to the HDMI cable at the speaker podium for some reason, or the cable is bad, or who knows. 161 00:13:02,200 --> 00:13:08,140 So instead, I had a giant yellow lit board behind me and no slides for the attendees. 162 00:13:08,780 --> 00:13:11,580 One of the things that... so I've been speaking for many years. 163 00:13:11,580 --> 00:13:17,260 I was a developer evangelist for three or four years and have done hundreds of events. 164 00:13:17,640 --> 00:13:20,740 I've done things in all sorts of different environments. 165 00:13:21,220 --> 00:13:28,440 And the things that I've learned is, one, you've got to keep your cool and realize that the people are there to hear you talk. 166 00:13:28,520 --> 00:13:30,800 They're not there to see your slides. 167 00:13:31,400 --> 00:13:34,300 They're there to hear the information from you directly. 168 00:13:34,300 --> 00:13:37,240 They could always just go read a blog article or watch the video after. 169 00:13:37,240 --> 00:13:39,640 No, they're there to interact with you and to hear you. 170 00:13:39,660 --> 00:13:42,540 And you should be confident in that. 171 00:13:42,540 --> 00:13:46,920 And the second thing is being able to just roll with those changes. 172 00:13:46,920 --> 00:13:54,700 So in my case, I make sure that all of my slides are always on my domain, I always know where those are going to be. 173 00:13:54,700 --> 00:14:01,640 And I can always say, okay, everyone, go to JordanKesper.com, in this case, JordanKesper.com slash OSS dash in dash gov. 174 00:14:01,820 --> 00:14:03,560 Relatively simple to get to. 175 00:14:03,560 --> 00:14:09,360 And everyone could then pull them up on their phone if they wanted to follow along with the slides and making sure that you have that backup. 176 00:14:09,360 --> 00:14:11,460 In my case, I always have those slides online. 177 00:14:11,460 --> 00:14:13,600 I have them locally on my computer. 178 00:14:13,920 --> 00:14:15,920 I have them as a PDF. 179 00:14:16,960 --> 00:14:18,460 I have so many different ways. 180 00:14:18,460 --> 00:14:20,380 So having backup plans on backup plans. 181 00:14:20,380 --> 00:14:28,160 I've actually presented from my laptop, showing the slides from my laptop at All Things Open in Raleigh, North Carolina. 182 00:14:28,160 --> 00:14:28,980 It's a great conference. 183 00:14:28,980 --> 00:14:29,900 You should check it out. 184 00:14:30,000 --> 00:14:32,040 All about open source things. 185 00:14:32,140 --> 00:14:41,040 Where the day of my talk at about 8 a.m., we lost power for a seven-mile radius around the campus of North Carolina State. 186 00:14:41,240 --> 00:14:44,600 And I presented from my laptop to about 20 people who decided to stick around. 187 00:14:44,720 --> 00:14:45,600 Oh, man. 188 00:14:45,600 --> 00:14:46,060 Yeah. 189 00:14:46,060 --> 00:14:49,280 So you've definitely done it off the cuff a couple of times. 190 00:14:50,740 --> 00:14:53,720 So you said that I can file my taxes on GitHub. 191 00:14:56,200 --> 00:14:59,120 irs.directfile is in fact posted on GitHub. 192 00:14:59,240 --> 00:15:00,780 The entire system is there. 193 00:15:00,900 --> 00:15:03,060 But yeah, directfile is a great way to find your taxes. 194 00:15:03,060 --> 00:15:05,640 We don't know its future state right now. 195 00:15:05,640 --> 00:15:07,640 It's a bit in flux, so we'll see what happens. 196 00:15:07,640 --> 00:15:09,300 But it was a really great system. 197 00:15:09,420 --> 00:15:11,120 It is still... it was used this year. 198 00:15:11,120 --> 00:15:11,980 It was used last year. 199 00:15:11,980 --> 00:15:16,060 And we actually had someone in the crowd that had used it, I think it was great. 200 00:15:16,580 --> 00:15:23,340 And that was a part of a number of open source repositories that people could find. 201 00:15:23,340 --> 00:15:25,220 Yeah, there's a great site. 202 00:15:25,280 --> 00:15:27,180 Now, this one is just about GitHub repositories. 203 00:15:27,180 --> 00:15:30,720 And obviously, people are on GitLab or Bitbucket or other things. 204 00:15:30,800 --> 00:15:35,040 But government.github.com, great site to go and just see what's there. 205 00:15:35,040 --> 00:15:43,060 There are, just by that tracker, 164 federal agencies or organizations that have a GitHub presence. 206 00:15:43,060 --> 00:15:43,920 That's awesome. 207 00:15:43,920 --> 00:15:45,100 And there's tons of code out there. 208 00:15:45,100 --> 00:15:48,060 There's code out there at the state and local level as well that you can find on that site. 209 00:15:48,520 --> 00:15:50,940 And the list of those is actually open source. 210 00:15:50,940 --> 00:15:55,880 And you can submit a pull request if you happen to be a government employee and have a GitHub organization that's not on there. 211 00:15:56,000 --> 00:15:59,540 Submit a pull request to their repo so that you can get that added. 212 00:15:59,600 --> 00:16:03,000 And I've done that with a couple of organizations that I saw were not listed. 213 00:16:03,220 --> 00:16:04,400 That is super cool. 214 00:16:04,400 --> 00:16:04,780 Yeah. 215 00:16:04,780 --> 00:16:06,540 Well, thank you so much for talking to me. 216 00:16:06,680 --> 00:16:07,480 Yeah, it was a lot of fun. 217 00:16:07,480 --> 00:16:08,080 Thank you so much.