Necessary identity files

When creating a new identity, I got the following output:

Found a key with difficulty 36!
Unsigned identity is located in "C:\\Users\\twl\\AppData\\Roaming\\Storj\\Identity\\storagenode"
Please *move* CA key to secure storage - it is only needed for identity management and isn't needed to run a storage node!

I’d like to finally know which exact files I can move out of the identity folder :slight_smile:

Each node should have 6 files - back them all up.
Then you should move the ca.key to secure storage since it is not needed to run the node but is the key to keeping your node’s identity secure.
The docs also offer a recommendation to have your node’s identity folder and contents on the same drive where the node stores files. I have all of them on my OS drive, since that should never change.

-rw-r–r-- 1 root root 518 Jun 19 17:49 ca.1592603381.cert
-rw-r–r-- 1 root root 1048 Jun 19 17:49 ca.cert
-rw------- 1 root root 241 Jun 19 17:41 ca.key
-rw-r–r-- 1 root root 1060 Jun 19 17:49 identity.1592603381.cert
-rw-r–r-- 1 root root 1590 Jun 19 17:49 identity.cert
-rw------- 1 root root 241 Jun 19 17:41 identity.key

1 Like

So this is the only file not needed to run the node?

Yeah, I do that most on most of my nodes and it’s nice to see they now included it in the docs :slight_smile:

1 Like

You don’t need the files with numbers in them either. Those are backups of the identity prior to signing.

The only files read recently are the identity.* files…

/.local/share/storj/identity/storagenode2# ls -lG --time=atime

-rw-r–r-- 1 514 May 14 13:52 ca.1589478723.cert
-rw-r–r-- 1 1044 May 14 13:54 ca.cert
-rw------- 1 241 May 14 13:45 ca.key
-rw-r–r-- 1 1056 May 14 13:52 identity.1589478723.cert
-rw-r–r-- 1 1586 Jun 19 17:55 identity.cert
-rw------- 1 241 Jun 19 17:55 identity.key