WEBVTT

00:00.000 --> 00:01.300
Hi, I'm Dreadware.

00:01.300 --> 00:06.900
I'm here with Jordan Casper and I'll try a brief introduction and keep me honest.

00:07.520 --> 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.

00:32.640 --> 00:33.500
I have been, yeah.

00:33.500 --> 00:34.200
Is that correct?

00:34.240 --> 00:37.640
I'm the easy spot to fed because I'm actually like wearing the outfit.

00:38.980 --> 00:40.260
That's wonderful.

00:40.680 --> 00:45.260
Can you tell us a little bit about how the government's utilizing open source software at the moment?

00:45.260 --> 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.

00:59.220 --> 01:03.460
And I would argue that every single one of them relies in some way on open source software.

01:04.020 --> 01:06.620
So, pretty big consumers, yeah.

01:07.080 --> 01:17.880
And is that something that definitely stuck yesterday about, you know, that consideration of rights and ownership?

01:18.720 --> 01:19.400
Right.

01:19.400 --> 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.

01:36.120 --> 01:39.480
Most of the time, federal IT systems are written by contractors.

01:39.780 --> 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.

01:46.640 --> 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.

01:56.640 --> 01:59.860
It's a weird nuance of patent and trademark law.

01:59.860 --> 02:02.280
So, we don't own the copyright.

02:02.660 --> 02:09.680
So, if we force a contractor to open source it, they're releasing their intellectual property rights.

02:09.800 --> 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.

02:14.920 --> 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.

02:24.400 --> 02:27.440
So, there's some contractual issues that we would have to work through for that.

02:27.440 --> 02:29.460
And it's a really interesting nuance.

02:29.880 --> 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.

02:35.360 --> 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.

02:51.560 --> 02:53.780
The short answer is yes, we can.

02:53.780 --> 02:55.160
That is awesome.

02:55.160 --> 03:01.940
And it sounds like a place for quite a spirited debate and discussion and arbitration.

03:01.940 --> 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.

03:12.060 --> 03:17.760
Also, someone who's interested in DEF CON, something like a little bit outside of the box.

03:18.160 --> 03:24.080
So, with someone in that role, how do you visualize that they can kind of utilize that?

03:24.080 --> 03:24.300
Yeah.

03:24.300 --> 03:29.060
So, I haven't been on the government contractor side.

03:29.380 --> 03:32.500
And that is maybe important, maybe not.

03:32.680 --> 03:40.000
But as a government employee, my advice to government contractors doing IT development is to, frankly, just do better.

03:40.140 --> 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.

03:48.300 --> 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.

04:00.420 --> 04:05.620
They're letting individual contributor developers decide, yes, I'm going to use that package.

04:05.620 --> 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.

04:20.040 --> 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.

04:31.600 --> 04:39.240
Things like using a mirror, things like having better selection processes for open source, and honestly, contributing back.

04:39.300 --> 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.

04:47.280 --> 04:55.400
And that was a light bulb moment when you were giving a great example and just talking about, I mean, permission.

04:55.420 --> 05:02.620
Even just knowing that you can go and make a pull request if there's a piece that you find.

05:02.640 --> 05:07.380
And that was something that was pretty surprising to me.

05:07.380 --> 05:10.040
I mean, because I don't even know that I could do that.

05:10.220 --> 05:10.600
Or how.

05:10.600 --> 05:12.320
Yeah, there's the permission side.

05:12.320 --> 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.

05:22.980 --> 05:26.020
Because the government is paying these contractors to build a system.

05:26.240 --> 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?

05:34.200 --> 05:35.560
The upstream repository.

05:35.580 --> 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.

05:42.260 --> 05:45.860
We just don't require the contractor to push that back up.

05:45.860 --> 05:49.600
So there's the permission to do it kind of from just a security process way.

05:49.600 --> 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?

05:55.060 --> 05:59.400
I guess the third realization was the individual permission.

05:59.400 --> 06:04.780
If someone sees something, how long would it take to make that pull request or even just send it out?

06:04.780 --> 06:06.180
Like, hey, maybe look at this.

06:06.180 --> 06:06.500
Right.

06:06.500 --> 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.

06:14.480 --> 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.

06:25.280 --> 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.

06:32.800 --> 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.

06:40.580 --> 06:42.220
You can just do it.

06:42.240 --> 06:45.000
And that's not something that happens in the federal government.

06:45.000 --> 06:49.120
I've never seen that in a sustainable way.

06:49.440 --> 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.

06:57.800 --> 07:01.500
And by doing that, you're actually investing in making things a lot more secure.

07:01.500 --> 07:05.800
And it's actually a pretty low cost investment because the developers are already working in the code.

07:05.800 --> 07:06.900
They're already fixing the bug.

07:06.900 --> 07:08.220
Yeah, it's already done.

07:08.280 --> 07:09.940
Opening the PR shouldn't be that much more.

07:09.940 --> 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.

07:19.200 --> 07:26.120
It should be obviously the tests and the documentation and possibly even some kind of informational.

07:26.420 --> 07:27.660
So you'd have a regression test, right?

07:27.660 --> 07:28.680
You'd have the bug fix.

07:28.680 --> 07:30.220
You might have some documentation on that.

07:30.220 --> 07:32.220
And then there's going to be some back and forth.

07:32.220 --> 07:37.600
Maybe you have to add or change a configuration and a security scan in the upstream's continuous integration or something.

07:37.600 --> 07:38.420
You never know.

07:38.900 --> 07:45.200
All those additional steps is obviously more work that, again, the government has to pay the contractor to do.

07:45.260 --> 07:47.700
And so I think there's lots of opportunity for that.

07:48.460 --> 07:54.380
Again, kind of once you have that good process in place of, yes, I can just do this.

07:55.020 --> 07:56.240
It takes time.

07:56.240 --> 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,

08:11.980 --> 08:15.280
that is an upstream repository, you must contribute it back.

08:15.460 --> 08:16.380
Don't make it optional.

08:16.380 --> 08:18.400
Don't write it into the contracts.

08:18.580 --> 08:19.820
Then they have to.

08:20.740 --> 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.

08:28.480 --> 08:31.700
So, you know, something like that wouldn't have to be like... You could, absolutely.

08:31.700 --> 08:35.760
So when I was at DoD, we had a contract that said basically those things.

08:36.240 --> 08:41.820
It was a relatively low dollar contract, which is why we were able to push those envelopes a little bit more.

08:42.200 --> 08:44.920
The delivery of that IT program.

08:44.980 --> 08:49.140
So in the actual contract where it says, you know, contractor, you must deliver X, Y, and Z.

08:49.140 --> 08:52.460
In most cases, it says, you know, you have to deliver the software and this and this and this.

08:52.460 --> 08:59.580
And a lot of times in the past, not as much now, they deliver that software on CDs or DVDs.

08:59.580 --> 09:01.360
Yeah, that actually happens.

09:03.600 --> 09:05.020
And that's not as much now.

09:05.020 --> 09:06.320
Now they're working kind of inter-systems.

09:06.320 --> 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.

09:11.860 --> 09:14.260
So they had to push all the code onto GitHub.

09:14.420 --> 09:17.320
It had to be open on GitHub, couldn't be closed.

09:17.320 --> 09:21.900
And it had to have 100% of the things needed to be able to run that system.

09:22.020 --> 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.

09:37.140 --> 09:38.060
And you know what that does?

09:38.120 --> 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.

09:48.260 --> 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.

09:58.780 --> 10:01.480
And then privacy has to come in and review all those things.

10:01.480 --> 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.

10:06.780 --> 10:08.820
That sounds like an awesome case study.

10:08.960 --> 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.

10:17.700 --> 10:19.640
And that's the IRS direct file system.

10:20.500 --> 10:22.780
They were able to get that open sourced.

10:22.780 --> 10:26.460
It took them over a year for that process to happen.

10:27.320 --> 10:32.860
Whereas obviously the contract to the DoD that I worked on, it was open sourced right away, right?

10:32.860 --> 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.

10:41.820 --> 10:48.280
Modifying our contracts in small ways, maybe doing some pilots and testing those out and honestly just seeing how they go.

10:48.480 --> 10:49.720
You have to try something.

10:49.720 --> 10:50.740
You have to start somewhere.

10:50.740 --> 10:51.200
Right.

10:51.240 --> 10:54.160
That sounds like a really cool modernization effort too.

10:54.540 --> 10:57.080
Bad news for CD burners.

10:57.080 --> 10:57.880
That's right.

10:58.220 --> 11:00.540
But when was your first DEF CON?

11:00.980 --> 11:02.760
I came a few years ago.

11:03.600 --> 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.

11:13.500 --> 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.

11:20.320 --> 11:25.000
And he was like, hey, you should come out and design a CTF for us.

11:25.120 --> 11:26.660
I was like, I don't know what you're talking about.

11:26.680 --> 11:29.820
And he pulled me in.

11:30.140 --> 11:32.400
I did not know what I was getting into.

11:32.520 --> 11:35.480
I still don't know what I've gotten into.

11:35.820 --> 11:36.620
But now I do.

11:36.620 --> 11:37.400
I actually design.

11:37.400 --> 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.

11:43.180 --> 11:45.940
And I've done that now for a couple of DEF CONs.

11:45.940 --> 11:48.000
And I do it for another conference that we have in D.C.

11:48.000 --> 11:53.280
called District CON, which is another hacker conference, a little bit smaller, that happens in D.C.

11:53.280 --> 11:53.880
every year.

11:53.940 --> 11:56.840
So that's kind of how I got sucked into this environment.

11:57.380 --> 12:02.280
That's a lot this year, but it sounds pretty fun, too, at the same time.

12:02.320 --> 12:03.180
It's fun.

12:03.240 --> 12:04.660
I enjoy it.

12:05.220 --> 12:10.340
The amount of interesting people you meet here is unparalleled.

12:10.920 --> 12:13.780
Just sitting around and people walk up and have conversations.

12:13.780 --> 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.

12:20.160 --> 12:23.580
You can sit there and put up a sign that says, hi, I'd like to talk to interesting people.

12:23.580 --> 12:26.840
And I guarantee you, you would get people every five minutes coming up and talking to you.

12:26.840 --> 12:27.300
Guaranteed.

12:27.300 --> 12:28.420
That's not a bad idea.

12:28.420 --> 12:34.460
That's also in the DEF CON ethos, you know, that handwritten, you know, taped sign to the backpack.

12:35.600 --> 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.

12:44.840 --> 12:49.400
So do you have any advice for first-time speakers or someone that's into an issue?

12:49.400 --> 12:52.540
In my talk, they did not have a projector and screen for my slides.

12:52.540 --> 12:54.100
They had a digital display.

12:54.780 --> 12:56.020
How modern of them.

12:56.020 --> 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.

13:02.200 --> 13:08.140
So instead, I had a giant yellow lit board behind me and no slides for the attendees.

13:08.780 --> 13:11.580
One of the things that... so I've been speaking for many years.

13:11.580 --> 13:17.260
I was a developer evangelist for three or four years and have done hundreds of events.

13:17.640 --> 13:20.740
I've done things in all sorts of different environments.

13:21.220 --> 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.

13:28.520 --> 13:30.800
They're not there to see your slides.

13:31.400 --> 13:34.300
They're there to hear the information from you directly.

13:34.300 --> 13:37.240
They could always just go read a blog article or watch the video after.

13:37.240 --> 13:39.640
No, they're there to interact with you and to hear you.

13:39.660 --> 13:42.540
And you should be confident in that.

13:42.540 --> 13:46.920
And the second thing is being able to just roll with those changes.

13:46.920 --> 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.

13:54.700 --> 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.

14:01.820 --> 14:03.560
Relatively simple to get to.

14:03.560 --> 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.

14:09.360 --> 14:11.460
In my case, I always have those slides online.

14:11.460 --> 14:13.600
I have them locally on my computer.

14:13.920 --> 14:15.920
I have them as a PDF.

14:16.960 --> 14:18.460
I have so many different ways.

14:18.460 --> 14:20.380
So having backup plans on backup plans.

14:20.380 --> 14:28.160
I've actually presented from my laptop, showing the slides from my laptop at All Things Open in Raleigh, North Carolina.

14:28.160 --> 14:28.980
It's a great conference.

14:28.980 --> 14:29.900
You should check it out.

14:30.000 --> 14:32.040
All about open source things.

14:32.140 --> 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.

14:41.240 --> 14:44.600
And I presented from my laptop to about 20 people who decided to stick around.

14:44.720 --> 14:45.600
Oh, man.

14:45.600 --> 14:46.060
Yeah.

14:46.060 --> 14:49.280
So you've definitely done it off the cuff a couple of times.

14:50.740 --> 14:53.720
So you said that I can file my taxes on GitHub.

14:56.200 --> 14:59.120
irs.directfile is in fact posted on GitHub.

14:59.240 --> 15:00.780
The entire system is there.

15:00.900 --> 15:03.060
But yeah, directfile is a great way to find your taxes.

15:03.060 --> 15:05.640
We don't know its future state right now.

15:05.640 --> 15:07.640
It's a bit in flux, so we'll see what happens.

15:07.640 --> 15:09.300
But it was a really great system.

15:09.420 --> 15:11.120
It is still... it was used this year.

15:11.120 --> 15:11.980
It was used last year.

15:11.980 --> 15:16.060
And we actually had someone in the crowd that had used it, I think it was great.

15:16.580 --> 15:23.340
And that was a part of a number of open source repositories that people could find.

15:23.340 --> 15:25.220
Yeah, there's a great site.

15:25.280 --> 15:27.180
Now, this one is just about GitHub repositories.

15:27.180 --> 15:30.720
And obviously, people are on GitLab or Bitbucket or other things.

15:30.800 --> 15:35.040
But government.github.com, great site to go and just see what's there.

15:35.040 --> 15:43.060
There are, just by that tracker, 164 federal agencies or organizations that have a GitHub presence.

15:43.060 --> 15:43.920
That's awesome.

15:43.920 --> 15:45.100
And there's tons of code out there.

15:45.100 --> 15:48.060
There's code out there at the state and local level as well that you can find on that site.

15:48.520 --> 15:50.940
And the list of those is actually open source.

15:50.940 --> 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.

15:56.000 --> 15:59.540
Submit a pull request to their repo so that you can get that added.

15:59.600 --> 16:03.000
And I've done that with a couple of organizations that I saw were not listed.

16:03.220 --> 16:04.400
That is super cool.

16:04.400 --> 16:04.780
Yeah.

16:04.780 --> 16:06.540
Well, thank you so much for talking to me.

16:06.680 --> 16:07.480
Yeah, it was a lot of fun.

16:07.480 --> 16:08.080
Thank you so much.

