Close

Hack Chat Transcript, Part 1

A event log for All Things Engima Hack Chat

The unusual projects of an eccentric thinker

lutetiumLutetium 02/27/2019 at 21:090 Comments

Dan Maloney12:01 PM
Well let's get started. I want to welcome Simon Jansen to the Hack Chat today. He's he to talk about his awesome Enigma watch builds, but he's got a TON of other hacks under his belt too. So I'm sure we'll have a ton of questions for him.

Simon, can you tell us a little about yourself?

Simon Jansen12:01 PM
Hi, sure. Well, I live in Wellington, New Zealand.

Boian Mitov12:01 PM
Hello @Simon Jansen :-)

Jarrett12:02 PM
hello!

bitluni12:02 PM
NZ ftw!

Simon Jansen12:02 PM
My day job is as a software engineer and I have been a tester and a developer in the past. Now I specialise in test automation.

Jarrett12:02 PM
putting this link in here:

Jarrett12:02 PM

http://www.asciimation.co.nz/bb/2015/03/24/a-three-rotor-enigma-machine-wrist-watch

ASCIIMATION MATTEO TURCHETTO - WWW.ITALIASW.COM

Asciimation

March 24th, 2015 This is one of the most satisfying projects I have done I think. Mainly because this is a real device and something so historically important. It is a fully functioning Enigma machine you can wear on your wrist. This is a three rotor Enigma machine as used by German Wermacht in WW2 for encoding messages.

Read this on Asciimation

Simon Jansen12:02 PM
And I guess I have always been a science geek/tinkerer.

Dan Maloney12:03 PM
@Jarrett - Thanks! Just about to post that myself.

Simon Jansen12:03 PM
The Enigma interest is a fairly recent one for me.

Simon Jansen12:04 PM
I knew a little about it before since I was always into WW1/WW2 type stuff. And also being a computer scientist I of course knew about Alan Turing. When the Imitation Game film came out I went to see it of course. And was annoyed at all the things I knew were inaccurate in it.

bitluni12:04 PM
*subscribed*

Dan Maloney12:04 PM
Enigma fascinates me. The idea that so much hinged on one machine...

Simon Jansen12:05 PM
So it got me into finding out how the Turing Welchman Bombe really worked. And to understand that you first need to understand Enigma.

Dan Maloney12:05 PM
Was that the one with Benadryl Cumberbund?

Simon Jansen12:05 PM
It's an interesting machine since it is both so simple and so complicated at the same time.

Simon Jansen12:05 PM
Cumberbund Bitchslap, yes.

Dan Maloney12:06 PM
lol

Simon Jansen12:06 PM
Guy has the most mangleable name and everyone still knows who you mean!

Dan Maloney12:06 PM
Love playing with that name

Simon Jansen12:06 PM
The film is good, I enjoyed it. But of course it's not a documentary.

Dan Maloney12:07 PM
Enigma always impressed me a "just one more thing" build.

Dan Maloney12:07 PM
Like they just kept adding stuff until it was sufficiently complicated.

Simon Jansen12:08 PM
The Germans were quite arrogant and they were always convinced about it's security.

ꝺeshipu12:09 PM
aren't we all today as well?

Simon Jansen12:09 PM
I think only Karl Donitz had doubts about it which is why the naval one had extra complications.

Simon Jansen12:09 PM
These days I assume most things are insecure if someone really wants to get into it.

Simon Jansen12:10 PM
I like Enigma since it is an electromechanical machine and the mechanics add a few quirks into how it behaves.

ꝺeshipu12:10 PM
so you make a token effort of "reasonably" securing it by "industry standards" and don't really care more than that

ꝺeshipu12:10 PM
and that's exactly what they did back then as well

Mike12:10 PM
Absolutely. I guess social engineering was harder when at war with your target.

Simon Jansen12:10 PM
I think a lot of the IOT makers don't even do that.

ꝺeshipu12:11 PM
well, different people have different ideas about what "reasonable" means

sfrias112:11 PM
Hi all

morgan12:11 PM
was the Enigma machine German made? I recall thinking it was Swiss

ꝺeshipu12:11 PM
it was German

Simon Jansen12:11 PM
@Mike Walters The story around what the British called Ultra, the intelligence they got from Enigma, describes a lot about that.

morgan12:12 PM
I see

Dan Maloney12:12 PM
But it was the social reverse engineering around Enigma I find fascinating. The way the Allies had to hide what they gleaned from German traffic so as not to tip their hands.

ꝺeshipu12:12 PM
and it actually existed before the war, as a commercial offering

Simon Jansen12:12 PM
It's complicated. The idea was patented by someone then someone else took it over.

ꝺeshipu12:12 PM
that's how they were able to figure out the construction

morgan12:12 PM
yeah, banking used it I believe

Simon Jansen12:12 PM
And yes, it was a commercial machine initially.

Simon Jansen12:12 PM
Without the plug board.

ꝺeshipu12:12 PM
the military version was more complex, adding more cylinders

ꝺeshipu12:13 PM
is the plug board that important, though?

ꝺeshipu12:13 PM
I mean, it's just a simple caesar cipher, no?

Simon Jansen12:13 PM
They knew the basic construction from patents and the Poles also managed to 'hold one up in customs' and examine it.

Dan Maloney12:13 PM

https://hackaday.com/2017/08/22/the-enigma-enigma-how-the-enigma-machine-worked/

HACKADAY STEVEN DUFRESNE

The Enigma Enigma: How The Enigma Machine Worked

To many, the Enigma machine is an enigma. But it's really quite simple. The following is a step-by-step explanation of how it works, from the basics to the full machine. Possibly the greatest dedicated cipher machine in human history the Enigma machine is a typewriter-sized machine, with keyboard included, that the Germans used to encrypt and decrypt messages during World War II.

Read this on Hackaday

Simon Jansen12:13 PM
It's like multiple ciphers.

ꝺeshipu12:14 PM
I always find it fascinating that if you go to Polish museums or books, you will learn that the whole thing was basically cracked by the Polish people, and the British just added some minor optimizations

Simon Jansen12:14 PM
It's simple substitutions done multiple times with the settings changing each time.

ꝺeshipu12:15 PM
I meant the plug board itself was like a caesar cipher

ꝺeshipu12:15 PM
not adding much in terms of security

Simon Jansen12:15 PM
Yes, the Polish mathematicians don't get enough credit.

ꝺeshipu12:15 PM
I think it's just a case of each country tooting their own horn

Simon Jansen12:15 PM
The reason they thought ti secure is just the huge number of possible combinations of settings.

Simon Jansen12:16 PM
Well, they couldn't. An awful lot of what happened was kept secret for a long time.

Mike12:16 PM
Recreating it, what was the most difficult part to design and get right?

Simon Jansen12:16 PM
Churchill was wary since he'd made the mistake of letting it be know in his writing that in WW1 Britain had cracked German codes.

Simon Jansen12:17 PM
Recreating in SW or HW do you mean?

bitluni12:17 PM
@Simon Jansen the craftsmanship of your device is exceptional. you even went trough the effort to etch the logo

Simon Jansen12:17 PM
One of my other hobbies is metalworking. I like to pick up little skills where I can, the etching came from knowing how to etch PCBs.

Dan Maloney12:18 PM
https://hackaday.com/2018/12/03/an-arduino-wrapped-in-an-oled-wrapped-inside-an-enigma-pocket-watch/

For those who have not yet feasted their eyes...

Simon Jansen12:18 PM
Software wise the algorithm for Enigma is fairly simple. You just need to know the double stepping trick.

Mike12:19 PM
The hardware - I find that some things I design/print come out right the first time, but others I need so many iterations that it can be frustrating.

Simon Jansen12:19 PM
Hardware it's just a matter of making it small enough. I spent a long time trying to work out how to power the pocketwatch. What sort of batteries were practical and how to fit them.

Simon Jansen12:19 PM
I did use 3D printing a lot to mock up parts to arrange them in the case.

ꝺeshipu12:19 PM
batteries are always the worst for wearables :(

Simon Jansen12:20 PM
I looked at small LiPos but they are hard to buy here and then you need some way to charge them.

bitluni12:20 PM
love the pocket watch even more

bitluni12:20 PM
steampunky

Simon Jansen12:20 PM
I actually wear the pocket watch every day. I added a RTC chip to it and it does actually tell the time.

Simon Jansen12:21 PM
Ohhh, I'm not a fan of steampunk to be honest :)

Mike12:21 PM
If it didn't tell the time, would it still be a pocket watch?

Simon Jansen12:21 PM
No, it would be a pocket folly I guess.

ꝺeshipu12:21 PM
does a submarine swim?

bitluni12:22 PM
ok.. then let's call ist retro

Simon Jansen12:22 PM

http://www.harkavagrant.com/index.php?id=266

HARKAVAGRANT

Hark, a vagrant: 266

Read this on Harkavagrant

Mike12:22 PM
I like steampunk, but only when done well. The 'let's glue gears to a top hat' people make me angry.

Simon Jansen12:22 PM
Steampunk alway makes me thing of that.

Simon Jansen12:22 PM
Yes, done well it's cool.

ꝺeshipu12:22 PM

https://www.youtube.com/watch?v=TFCuE5rHbPA

YOUTUBE REGINALD PIKEDEVANT

Simon Jansen12:23 PM
I suppose everyone has to start somewhere. Shouldn't discourage people from trying!

Simon Jansen12:23 PM
I guess I am a more practical engineer. I go for function first but try to make the functional appealing too.

Kris Winer12:23 PM
Cool build! Did you find a practical use for the Enigma watch too?

Mike12:24 PM
Telling the time is practical!

Simon Jansen12:24 PM
Not really. The watch was just a first try at making a small Enigma. Got to practice some simple metal working, leatherwork to make a strap, wrinkle finish paint and so on.

Mike12:24 PM
Also, it would be useful if WW2 starts up again.

bitluni12:25 PM
🤣

Simon Jansen12:25 PM
And they dust off the old Enigmas. Bletchley Park would be raided for them!

Dan Maloney12:25 PM
I love that crinkle finish. Is there a trick to it or is it a commercially available product?

Kris Winer12:26 PM
Is there any value in making an electronic version of the Enigma? I thought I saw something like this recently...

Simon Jansen12:26 PM
It's VHT wrinkle paint. You get it from automotive places. They use it on rocker covers and things like that.

Simon Jansen12:26 PM
It can be tricky to use. You need a very even coat and even heating to get it to wrinkle correctly.

ꝺeshipu12:26 PM
@Kris Winer is ther any value in making anything?

Simon Jansen12:26 PM
There are quite a number of electronic Enigmas about.

bitluni12:27 PM
I thought it was leather

Mike12:27 PM
I guess there's value in making something that's 100% pointless, if you learn something and find it interesting.

Kris Winer12:27 PM
@deshipu Of course. Some things more than others... Maybe I should have said challenge in making an electronic version of Enigma.

Simon Jansen12:27 PM
Oh, mentioning Bletchley Park, if you have any interest in Enigma and the Bombe and that sort of thing and are in the UK go there.

Dan Maloney12:27 PM
Love crinkle paint, love Bakelite, love hammertone. Just a romantic, I guess

Mike12:27 PM
I visited. I enjoyed it.

Simon Jansen12:27 PM
Amazing place since you can really imagine everything happening there in WW2.

Mike12:28 PM
Definitely. The fact that it's a bit run down actually adds to the atmosphere.

Mike12:28 PM
Or it was. That was a few years ago.

Simon Jansen12:28 PM
The challenge for me was just coming up with the algorithm to use in the desktop Bombe I made really. The Bombe is really just a series of Enigmas all strung together.

Discussions