# How to make cold keys on Air gapped maschine

**URL:** <https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400>\
**Category:** Stake Pool Security\
**Tags:** stake-pools, stakepool\
**Created:** [13 August 2020 15:44 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400 "2020-08-13T15:44:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simlshady](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/simlshady/32/20899_2.png) [@Simlshady](https://forum.cardano.org/u/Simlshady)\
**Post date:** [13 August 2020 15:44 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/1 "2020-08-13T15:44:59Z")

</div>

Hi - Coincashew suggests to generate the cold key offline on an air gapped maschine by exporting the binaries form the server and running the key-gen on the offline maschine.

What exactly do i have to download from my server? Is it the cardano-cli directory? Help would be appreciated!  
BRGDS

---

<div class="post-metadata">

**Author:** ![ThaiTheo](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@ThaiTheo](https://forum.cardano.org/u/ThaiTheo)\
**Post date:** [13 August 2020 17:20 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/2 "2020-08-13T17:20:14Z")

</div>

If you download the wallet binaries, you will have everything that you need.  
You can find them here: [https://github.com/input-output-hk/cardano-wallet/releases](https://github.com/input-output-hk/cardano-wallet/releases)  
Perhaps also have a look at this: [https://gist.github.com/ilap/3fd57e39520c90f084d25b0ef2b96894](https://gist.github.com/ilap/3fd57e39520c90f084d25b0ef2b96894)  
That other link shows you a way to create a wallet that you can use as an operator but that will be still visible in your Daedulus wallet. Don’t forget to read my comments.  
In the following video Charles Hoskinson specifies what is meant with an air gapped machine: [https://www.youtube.com/watch?v=fqrAzBAi64c&t=1556s](https://www.youtube.com/watch?v=fqrAzBAi64c&t=1556s)

---

<div class="post-metadata">

**Author:** ![Simlshady](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/simlshady/32/20899_2.png) [@Simlshady](https://forum.cardano.org/u/Simlshady)\
**Post date:** [13 August 2020 18:29 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/3 "2020-08-13T18:29:09Z")

</div>

Thank you for your reply!

But I do not understand. The tutorial at Coincashew says “Copy from your hot environment, your block producer node, a copy of the `cardano-cli` binaries to your cold environment, this air-gapped offline machine. You can use USB keys or other secure file transfer method.”

Can you translate this to me? I’m sorry if its a dumb question but I really want to learn this whole stuff…

BRGDS

---

<div class="post-metadata">

**Author:** ![ThaiTheo](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@ThaiTheo](https://forum.cardano.org/u/ThaiTheo)\
**Post date:** [13 August 2020 18:51 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/4 "2020-08-13T18:51:33Z")

</div>

Then both environments would need to be the same. You can’t use a linux binary on a windows system and vice versa.

---

<div class="post-metadata">

**Author:** ![Simlshady](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/simlshady/32/20899_2.png) [@Simlshady](https://forum.cardano.org/u/Simlshady)\
**Post date:** [15 August 2020 09:20 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/5 "2020-08-15T09:20:24Z")

</div>

I think I got it please confirm:

The binary files are the ones in my server’s /bin folder named cardano-cli and cardano-node. If i put them in my air gapped maschine’s /bin directory I’ll be able to execute the cardano-cli commands on my air gapped maschine.

---

<div class="post-metadata">

**Author:** ![gabrield](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@gabrield](https://forum.cardano.org/u/gabrield)\
**Post date:** [15 August 2020 12:15 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/6 "2020-08-15T12:15:31Z")

</div>

Yes that’s correct.

---

<div class="post-metadata">

**Author:** ![ThaiTheo](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@ThaiTheo](https://forum.cardano.org/u/ThaiTheo)\
**Post date:** [15 August 2020 18:58 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/7 "2020-08-15T18:58:34Z")

</div>

Sometimes you will need the libsodium libraries. Depends on platform.

---

<div class="post-metadata">

**Author:** ![Momo1990](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/momo1990/32/16772_2.png) [@Momo1990](https://forum.cardano.org/u/Momo1990)\
**Post date:** [15 August 2020 19:26 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/8 "2020-08-15T19:26:45Z")

</div>

Does that still work if the server is Ubuntu and the air gaped is Mac OS X?

---

<div class="post-metadata">

**Author:** ![gabrield](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@gabrield](https://forum.cardano.org/u/gabrield)\
**Post date:** [15 August 2020 19:51 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/9 "2020-08-15T19:51:33Z")

</div>

I’ve had problems going from 1 flavor of Linux to another. I can’t imagine it would be any better going from Linux to MacOS.

---

<div class="post-metadata">

**Author:** ![ThaiTheo](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@ThaiTheo](https://forum.cardano.org/u/ThaiTheo)\
**Post date:** [15 August 2020 19:58 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/10 "2020-08-15T19:58:55Z")

</div>

You can find the binaries for all operating systems here:  
[cardano-wallet](https://github.com/input-output-hk/cardano-wallet/releases).

---

<div class="post-metadata">

**Author:** ![Davisville1111](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/davisville1111/32/19207_2.png) [@Davisville1111](https://forum.cardano.org/u/Davisville1111)\
**Post date:** [27 August 2020 12:19 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/11 "2020-08-27T12:19:27Z")

</div>

> **[Black Hat Researcher Shows Why Air Gaps Won't Protect Your Data](https://www.pcmag.com/news/black-hat-researcher-shows-why-air-gaps-wont-protect-your-data)**
>
> Got a secret? Put it behind an air gap by disconnecting your computer from the internet. That works, right? At Black Hat, a researcher showed off years of work proving that concept wrong.

---

<div class="post-metadata">

**Author:** ![Patrick\_Astralis](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/patrick_astralis/32/26731_2.png) [@Patrick\_Astralis](https://forum.cardano.org/u/Patrick_Astralis)\
**Post date:** [10 February 2021 22:29 UTC](https://forum.cardano.org/t/how-to-make-cold-keys-on-air-gapped-maschine/38400/12 "2021-02-10T22:29:11Z")

</div>

> [@Simlshady](#):
>
> bin

For clarifcation may it helps further reader:  
In my case the binaries have been under `/usr/local/bin` and **not** `/bin/`
