Getting data securely to me, starting from (almost) nothing:

If I’m out and about and my bike gets stolen, along with all of my gear – or worse yet, I get accosted by highwaymen who steal all my things by force and leave me stranded – my concern will be immediate physical safety.

Beyond that, and assuming there is at least some honest infrastructure I can use, my concern will be replacing my equipment. I have some important things memorized, but I also have a bandana I made with various secret information encoded on it.

So, assuming the criminals don’t strip the clothing off my head, I can contact friends and family, share identifying information, and authenticate with some online services. Another thing I can do with the bandana is exchange sensitive data over the internet by encrypting it, because it’s got a slightly obfuscated copy of my private RSA encryption key on it.

How does that work?

Let’s assume I’ve lost everything but the bandana, so I’m starting from scratch with some new blank laptop I bought in a local shop.

Using that I can connect to the internet and download various pre-encrypted things I’ve created, and access them with the key in the bandana. But I can also have people encrypt things and send them to me.

That’s why I made this post: The explanation below is the bare minimum people will need to safely send me things, large and small:

First thing you need is this public key:

-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwAGrQGlUBYTz+1nbQjUk
NSCb4qdOZ76JI8W6Jgcx6uh0w7RYgp933VvVa0+gOezIN9n1C3lQd01uT14vp0EO
9t/aSipH+I4px5zZBBcdu6aKtuDEgUiaaTmV7+w66QCxcN7ACitkoqW/pmv8l4mg
bPhbSsyb3+e0bHCQ2f90MX1szsplEsu8LElEVL9Y2lR5tHZ2UlqA3mVqHqK7a9ue
SU7rEfNIPV3EEkU59L5lAPwKqFsekPxRhToQD2AK9tuyRMtZCam6jMEtxNQm5Qrz
Wgqvbin39u30HMR39Q5AZ+vNhb9aD+Iibl5jZe8x5TH18/Z0wd/8jtdSk/5mcjZC
XyMW0hguL1EX+E8mNbTZklVbjMhPq53rwgNm9O5RYcHPkaB3AcI+zxv+6AzzXl/Q
5VP0EfDyqSfzge3Yyxdj9T2QV275KCyEKKs7pEucUN0d5OKOQuXXtoojjH0kWEMx
oh/B0Z7B0leDcAMqgoe/l5avw8i56bWoNZ6gJ7BeT8/Wubk7wNyZYKBDb3JHRNYY
dQeXnQxiYObnq5T2JqyFfG0ITHq5Q7KzIv9kWG5rapGSBdtkVCEGDY9zPt7oHoeM
eTujgVYXux0FoyHrG86GKhlVVVxHY0pHeDwlsW2rjJr9E5iizLAkcDF50OdbjIa9
F9Hrzo6RF0XI5YbrR+Z9KBMCAwEAAQ==
-----END PUBLIC KEY-----

Grab this text and paste it into a file called id_rsa.pub.pkcs8

To send:

Let’s say you have a big thing you want to send: secret.zip, a zipfile full of stuff.

We’re going to make a temporary key, encrypt that file with the key, encrypt the temporary key with my public RSA key, and package secret.zip and the encrypted temporary key together, like so:

$ openssl rand 64 | base64 -b 0 > key
$ openssl aes-256-cbc -in secret.zip -out secret.zip.enc -pass file:key
$ openssl rsautl -encrypt -oaep -pubin -inkey id_rsa.pub.pkcs8 -in key -out key.enc
$ tar -zcvf secret.tgz *.enc

The resulting file, secret.tgz, is what you’ll want to send me.

To receive:

When I get secret.tgz, I decompress it and find two files inside:

key.enc
secret.zip.enc

Then I run the following:

$ openssl rsautl -decrypt -oaep -inkey ~/.ssh/id_rsa -in key.enc -out key
$ openssl aes-256-cbc -d -in secret.zip.enc -out secret.zip -pass file:key

That gets me secret.zip, and the exchange is done.

It’s incredibly unlikely that I’ll ask anyone to send me things this way, but this page is here just in case.

A variation of this is how I intend to get all my data back in my hands even if I’m in a part of the world where everything I send or receive online is subject to eavesdropping or logging by weird state actors or random criminals.

References:

https://gist.github.com/fcoury/4890d7831d7e83ba1782 , https://www.bjornjohansen.com/encrypt-file-using-ssh-key

Andrew Delivers Me

I guess it will have to do…
https://live.staticflickr.com/65535/52922321108_fa3bbd8e87_b.jpg
https://www.flickr.com/photos/57897385@N07/52922321108/
https://live.staticflickr.com/65535/52922321108_fa3bbd8e87_s.jpg
2023-05-14-084337-IMG_E6426

I guess it will have to do…

Michael Palin on a touring bike viewed through some bushes
Michael Palin says it’s time for another adventure!
Classy transport to the airport.
https://live.staticflickr.com/65535/52922784545_272e4c3781_b.jpg
https://www.flickr.com/photos/57897385@N07/52922784545/
https://live.staticflickr.com/65535/52922784545_272e4c3781_s.jpg
2023-05-14-091457-IMG_6428

Classy transport to the airport.

Hooray for vans! Everything fits.
https://live.staticflickr.com/65535/52922784585_4c5edc2b2c_b.jpg
https://www.flickr.com/photos/57897385@N07/52922784585/
https://live.staticflickr.com/65535/52922784585_4c5edc2b2c_s.jpg
2023-05-14-092057-IMG_6430

Hooray for vans! Everything fits.

LET’S DO THIS.
https://live.staticflickr.com/65535/52922556969_a6a938d328_b.jpg
https://www.flickr.com/photos/57897385@N07/52922556969/
https://live.staticflickr.com/65535/52922556969_a6a938d328_s.jpg
2023-05-14-092655-IMG_6432

LET’S DO THIS.

I don’t know which adds more personality… This or the pile of random parts next to it.
https://live.staticflickr.com/65535/52921817962_b2749738ee_b.jpg
https://www.flickr.com/photos/57897385@N07/52921817962/
https://live.staticflickr.com/65535/52921817962_b2749738ee_s.jpg
2023-05-14-092653-IMG_6431

I don’t know which adds more personality… This or the pile of random parts next to it.

Look at those tiny little wheels! They actually did the job!
https://live.staticflickr.com/65535/52922855743_4bb3dd413f_b.jpg
https://www.flickr.com/photos/57897385@N07/52922855743/
https://live.staticflickr.com/65535/52922855743_4bb3dd413f_s.jpg
2023-05-14-101106-IMG_6433

Look at those tiny little wheels! They actually did the job!

https://live.staticflickr.com/65535/52922787010_0a265d7bc8_b.jpg
https://www.flickr.com/photos/57897385@N07/52922787010/
https://live.staticflickr.com/65535/52922787010_0a265d7bc8_s.jpg
2023-05-14-104436-IMG_6434
What, are they trying to make me homesick before I leave?
https://live.staticflickr.com/65535/52922400451_83ce8dd383_b.jpg
https://www.flickr.com/photos/57897385@N07/52922400451/
https://live.staticflickr.com/65535/52922400451_83ce8dd383_s.jpg
2023-05-14-114843-IMG_6442

What, are they trying to make me homesick before I leave?

Ready to move luggage or star in a Space Invaders sequel…
https://live.staticflickr.com/65535/52922558199_417b457551_b.jpg
https://www.flickr.com/photos/57897385@N07/52922558199/
https://live.staticflickr.com/65535/52922558199_417b457551_s.jpg
2023-05-15-073721-IMG_6445

Ready to move luggage or star in a Space Invaders sequel…

Rehydrating and staying awake…
https://live.staticflickr.com/65535/52922581394_f7372169e8_b.jpg
https://www.flickr.com/photos/57897385@N07/52922581394/
https://live.staticflickr.com/65535/52922581394_f7372169e8_s.jpg
2023-05-15-104447-IMG_6454

Rehydrating and staying awake…

Big Breakfast Box With Baked Beans!!
https://live.staticflickr.com/65535/52922398181_a30fba7974_b.jpg
https://www.flickr.com/photos/57897385@N07/52922398181/
https://live.staticflickr.com/65535/52922398181_a30fba7974_s.jpg
2023-05-15-075717-IMG_E6448

Big Breakfast Box With Baked Beans!!

SLEEP DEPRIVATION
https://live.staticflickr.com/65535/52922582334_c55e5d09c0_b.jpg
https://www.flickr.com/photos/57897385@N07/52922582334/
https://live.staticflickr.com/65535/52922582334_c55e5d09c0_s.jpg
2023-05-15-091946-IMG_6450

SLEEP DEPRIVATION

The skin of the plane.
https://live.staticflickr.com/65535/52922424511_dbde45b691_b.jpg
https://www.flickr.com/photos/57897385@N07/52922424511/
https://live.staticflickr.com/65535/52922424511_dbde45b691_s.jpg
2023-05-15-114456-2023-05-15_11-44-56-06_01-00_3I2A9900

The skin of the plane.

HURR I WILL MOVE ALL YOUR CRAPOLA
https://staging-jubilee.flickr.com/65535/52921844727_d2ae58f59a_b.jpg
https://www.flickr.com/photos/57897385@N07/52921844727/
https://staging-jubilee.flickr.com/65535/52921844727_d2ae58f59a_s.jpg
2023-05-15-114506-2023-05-15_11-45-06-07_01-00_3I2A9901

HURR I WILL MOVE ALL YOUR CRAPOLA

I’ve always been fascinated by the complexity of the hardware inside jet wings.
https://live.staticflickr.com/65535/52921850072_503e20911c_b.jpg
https://www.flickr.com/photos/57897385@N07/52921850072/
https://live.staticflickr.com/65535/52921850072_503e20911c_s.jpg
2023-05-15-123357-2023-05-15_12-33-57-90_01-00_3I2A9917

I’ve always been fascinated by the complexity of the hardware inside jet wings.

Bye England! See you again soon!
https://live.staticflickr.com/65535/52922427306_5334b5c07a_b.jpg
https://www.flickr.com/photos/57897385@N07/52922427306/
https://live.staticflickr.com/65535/52922427306_5334b5c07a_s.jpg
2023-05-15-115528-2023-05-15_11-55-28-58_01-00_3I2A9909

Bye England! See you again soon!

Oh look, my bike is already on the plane ahead of me! Airtags are awesome.
https://live.staticflickr.com/65535/52922421606_1a5b9915ee_b.jpg
https://www.flickr.com/photos/57897385@N07/52922421606/
https://live.staticflickr.com/65535/52922421606_1a5b9915ee_s.jpg
2023-05-15-141818-IMG_E6461

Oh look, my bike is already on the plane ahead of me! Airtags are awesome.

Have data, will travel.
https://live.staticflickr.com/65535/52922852388_ee4847e982_b.jpg
https://www.flickr.com/photos/57897385@N07/52922852388/
https://live.staticflickr.com/65535/52922852388_ee4847e982_s.jpg
2023-05-14-112753-IMG_E6436

Have data, will travel.

Reclaimed on the other side of the gauntlet.
https://live.staticflickr.com/65535/52921846652_2e70314860_b.jpg
https://www.flickr.com/photos/57897385@N07/52921846652/
https://live.staticflickr.com/65535/52921846652_2e70314860_s.jpg
2023-05-15-155446-IMG_6466

Reclaimed on the other side of the gauntlet.

The hotel gave me a shuttle run exclusively for my box and gear.
https://live.staticflickr.com/65535/52922583134_bb2c06f396_b.jpg
https://www.flickr.com/photos/57897385@N07/52922583134/
https://live.staticflickr.com/65535/52922583134_bb2c06f396_s.jpg
2023-05-15-163754-IMG_6472

The hotel gave me a shuttle run exclusively for my box and gear.

Assembly begins later. First I need to get another bike…
https://live.staticflickr.com/65535/52922816760_ae5abd6f3e_b.jpg
https://www.flickr.com/photos/57897385@N07/52922816760/
https://live.staticflickr.com/65535/52922816760_ae5abd6f3e_s.jpg
2023-05-15-165711-IMG_6474

Assembly begins later. First I need to get another bike…

Setting Out For Europe

It’s like I’m already in Scotland!
https://live.staticflickr.com/65535/52921855861_01a4cd9f16_o.jpg
https://www.flickr.com/photos/57897385@N07/52921855861/
https://live.staticflickr.com/65535/52921855861_e61b772fa8_s.jpg
2023-05-09-141724-2023-05-09-Its_like_Im_already_in_Scotland

It’s like I’m already in Scotland!

My cute little collection of money from Foreign Parts
https://live.staticflickr.com/65535/52921284857_752b2edecf_b.jpg
https://www.flickr.com/photos/57897385@N07/52921284857/
https://live.staticflickr.com/65535/52921284857_752b2edecf_s.jpg
2023-04-20-211640-IMG_E6184

My cute little collection of money from Foreign Parts

Very compactable duffel bags for flying with the bulky touring stuff.
https://live.staticflickr.com/65535/52922318728_e38959f7bd_b.jpg
https://www.flickr.com/photos/57897385@N07/52922318728/
https://live.staticflickr.com/65535/52922318728_e38959f7bd_s.jpg
2023-04-28-123105-IMG_6237

Very compactable duffel bags for flying with the bulky touring stuff.

An extra bag and mattress… But how to fit them in the luggage?
https://live.staticflickr.com/65535/52922250110_b283e62efd_b.jpg
https://www.flickr.com/photos/57897385@N07/52922250110/
https://live.staticflickr.com/65535/52922250110_b283e62efd_s.jpg
2023-05-13-211713-IMG_6418

An extra bag and mattress… But how to fit them in the luggage?

Partway through the final disassembly.
https://live.staticflickr.com/65535/52921868151_86c4f16cf6_b.jpg
https://www.flickr.com/photos/57897385@N07/52921868151/
https://live.staticflickr.com/65535/52921868151_86c4f16cf6_s.jpg
2023-05-14-001040-IMG_6419

Partway through the final disassembly.

This tangle of extra weight put the box over 70 pounds. Drat!
https://live.staticflickr.com/65535/52921284247_d5f89a5c9c_b.jpg
https://www.flickr.com/photos/57897385@N07/52921284247/
https://live.staticflickr.com/65535/52921284247_d5f89a5c9c_s.jpg
2023-05-14-001117-IMG_6420

This tangle of extra weight put the box over 70 pounds. Drat!

Okay, this time I need to remember how all these bolts go. Perhaps this photo will help.
https://live.staticflickr.com/65535/52921867251_95794bf6f6_b.jpg
https://www.flickr.com/photos/57897385@N07/52921867251/
https://live.staticflickr.com/65535/52921867251_95794bf6f6_s.jpg
2023-05-14-005245-IMG_6421

Okay, this time I need to remember how all these bolts go. Perhaps this photo will help.

The duck horn is on the ‘must not lose’ list for sure.
https://live.staticflickr.com/65535/52922252330_9be476b439_b.jpg
https://www.flickr.com/photos/57897385@N07/52922252330/
https://live.staticflickr.com/65535/52922252330_9be476b439_s.jpg
2023-05-14-021935-IMG_6422

The duck horn is on the ‘must not lose’ list for sure.

Almost done wrangling all these parts…
https://live.staticflickr.com/65535/52921869071_cc799ef05f_b.jpg
https://www.flickr.com/photos/57897385@N07/52921869071/
https://live.staticflickr.com/65535/52921869071_cc799ef05f_s.jpg
2023-05-14-022825-IMG_6423

Almost done wrangling all these parts…

Ready for closing, at last!
https://live.staticflickr.com/65535/52922026189_c3a2c0791b_b.jpg
https://www.flickr.com/photos/57897385@N07/52922026189/
https://live.staticflickr.com/65535/52922026189_c3a2c0791b_s.jpg
2023-05-14-024439-IMG_6424

Ready for closing, at last!

Good grief. Is there usually this much stuff to wrangle?
https://live.staticflickr.com/65535/52922553934_eabc51ebe5_b.jpg
https://www.flickr.com/photos/57897385@N07/52922553934/
https://live.staticflickr.com/65535/52922553934_eabc51ebe5_s.jpg
2023-05-14-032812-IMG_6425

Good grief. Is there usually this much stuff to wrangle?

Traveling With A Crateworks Bike Box

Here, have a pile of weirdly specific instructional videos on how to ship an ordinary touring bike with a modified Crateworks box!

Preparing your Crateworks box to pack a bicycle into it.

Disassembling a bicycle to fit into a Crateworks box.

Packing the disassembled bike into the Crateworks box.

Getting your bike out of the Crateworks box and reassembling it.

Re-folding the Crateworks box and preparing it for shipping without the bike.

Powering Stuff On A Long Bike Tour

I’ve been doing long bike tours for over 15 years now, and for almost all of them I’ve carried a laptop so I can compute on the road, including pretty serious remote work as a software developer.

The metaphorical landscape has changed massively since I started doing this. All the tools have gotten way better. But one of the challenges I am constantly dealing with is: How the heck do you power and charge everything?

I’m always looking for ways to make my solution better, but I’ve hit on a nice one just now, and after going on a few trips to test it out, I figure I should pause here and document it for my own obsessive reference.

Two full-power USB-C ports on one power socket.
https://live.staticflickr.com/65535/53570312893_0755ed1bf3_b.jpg
https://www.flickr.com/photos/57897385@N07/53570312893/
https://live.staticflickr.com/65535/53570312893_0755ed1bf3_s.jpg
2024-03-05-135803-IMG_1616

Two full-power USB-C ports on one power socket.

https://live.staticflickr.com/65535/53570552050_27ebc66b1b_b.jpg
https://www.flickr.com/photos/57897385@N07/53570552050/
https://live.staticflickr.com/65535/53570552050_27ebc66b1b_s.jpg
2024-03-05-135906-IMG_1620

These are the two main parts:

To go with these, I have a set of cables:

USB-C is pretty adaptable, as long as you have the right bits and pieces…
https://live.staticflickr.com/65535/53570552520_63a379b053_b.jpg
https://www.flickr.com/photos/57897385@N07/53570552520/
https://live.staticflickr.com/65535/53570552520_63a379b053_s.jpg
2024-03-05-140842-IMG_1632

USB-C is pretty adaptable, as long as you have the right bits and pieces…

https://live.staticflickr.com/65535/53783617279_dece962731_b.jpg
https://www.flickr.com/photos/57897385@N07/53783617279/
https://live.staticflickr.com/65535/53783617279_dece962731_s.jpg
IMG_2380
  • A set of four short USB-C cables from CableCreation that support data and up to 60 watts of power.
  • A couple of adapters that turn any USB-C connector into a Micro-USB or Lightning connector.
  • Two 2-meter USB-C cables that support up to 100 watts of power. (One of them is the magsafe cable that comes with my laptop.)

Here’s what makes this setup so good:

The HyperJuice battery can charge three other USB-C devices while it is recharging.

Charging three things and the battery! Noice!
https://live.staticflickr.com/65535/53571809229_e47459cd5c_b.jpg
https://www.flickr.com/photos/57897385@N07/53571809229/
https://live.staticflickr.com/65535/53571809229_e47459cd5c_s.jpg
Photo on 3-5-24 at 2.11 PM

Charging three things and the battery! Noice!

For example, after a day of working in some remote place and draining the battery, you can plug the battery into the Anker 737 and it will charge at 100 watts. Then at the same time you can plug in three other things, like your phone and GPS and headphones, and charge those as you go. These gadgets will charge at full speed and the battery will charge as well.

So all you need is one power socket. That’s important when you’re traveling in weird places, and power sockets are often in high demand. Here’s another thing you can do:

If you’re just using one port, it will deliver 100 watts. Both ports at once: 60 watts each.
https://live.staticflickr.com/65535/53569257402_db74753f4a_b.jpg
https://www.flickr.com/photos/57897385@N07/53569257402/
https://live.staticflickr.com/65535/53569257402_db74753f4a_s.jpg
2024-03-05-135818-IMG_1617

If you’re just using one port, it will deliver 100 watts. Both ports at once: 60 watts each.

In this configuration, both items charge at 60 watts.
https://live.staticflickr.com/65535/53570114681_1eb4ce17b4_b.jpg
https://www.flickr.com/photos/57897385@N07/53570114681/
https://live.staticflickr.com/65535/53570114681_1eb4ce17b4_s.jpg
2024-03-05-140348-IMG_1626

In this configuration, both items charge at 60 watts.

Plug the other long cable into the Anker 737, and the battery park charges at 60 watts, while your laptop also charges at 60 watts. (Yes, this one adapter will put out 120 watts for you. I’ve done this a hundred times.) Now if you want, you can plug more things into your laptop and charge those as well. So with one socket you can charge your battery, your laptop, and six other devices, all at once. No swapping required.

My typical hotel room charging list is:

With this setup, I can plug all these in and just walk away.

Another thing you can do with this adapter is, if someone else is claiming the only power socket in a place, you can offer to use yours instead. Since it has two USB-C outlets, you both can plug into it and share the socket at full power.

I’ve done exactly that in a few very crowded cafes.

https://live.staticflickr.com/65535/53783289646_1fdeb90300_b.jpg
https://www.flickr.com/photos/57897385@N07/53783289646/
https://live.staticflickr.com/65535/53783289646_1fdeb90300_s.jpg
IMG_2382

Also, I only ever need one international adapter.

https://live.staticflickr.com/65535/53782353667_608d1e9b7e_b.jpg
https://www.flickr.com/photos/57897385@N07/53782353667/
https://live.staticflickr.com/65535/53782353667_608d1e9b7e_s.jpg
IMG_2381

And, in situations where the power socket is very far away, I can use the battery between the two cables, making one 4-meter (13-foot) long cable.

Just a little bit of velcro in the corner.
https://live.staticflickr.com/65535/53570439284_09407edc36_b.jpg
https://www.flickr.com/photos/57897385@N07/53570439284/
https://live.staticflickr.com/65535/53570439284_09407edc36_s.jpg
2024-03-05-140027-IMG_1622

Just a little bit of velcro in the corner.

It’s decently small, but the real advantage is, it’s extremely light.
https://live.staticflickr.com/65535/53570439589_db44c8a001_b.jpg
https://www.flickr.com/photos/57897385@N07/53570439589/
https://live.staticflickr.com/65535/53570439589_db44c8a001_s.jpg
2024-03-05-140539-IMG_1629

It’s decently small, but the real advantage is, it’s extremely light.

By putting velcro patches on my small items (external drive, media card reader) I can use the short cables to stick them on the back of my laptop while they’re connected, keeping them nicely out of the way.

Just long enough to get the drive out of the way.
https://live.staticflickr.com/65535/53570115086_e83029fb7b_b.jpg
https://www.flickr.com/photos/57897385@N07/53570115086/
https://live.staticflickr.com/65535/53570115086_e83029fb7b_s.jpg
2024-03-05-141317-IMG_1633

Just long enough to get the drive out of the way.

Stays on pretty well!
https://live.staticflickr.com/65535/53570439809_db2428e62c_b.jpg
https://www.flickr.com/photos/57897385@N07/53570439809/
https://live.staticflickr.com/65535/53570439809_db2428e62c_s.jpg
2024-03-05-141328-IMG_1634

Stays on pretty well!

Altogether it’s a great setup. It’s extremely flexible, charges lots of things, provides a ton of backup power (good for using the laptop all day at a campsite), and in situations where time is limited, I can store up the maximum amount of energy by charging the battery at 100 watts … or the laptop and battery at a combined 120 watts.