Skip to content
Permalink
Browse files

Update README.md

  • Loading branch information...
johnshearing committed Mar 12, 2019
1 parent 8dce0e8 commit c0b5d8d2d0f6de17eccccb80d2fd5f3c861416eb
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
@@ -1090,6 +1090,13 @@ Here is the second command:
You probably guessed that the above command is getting the sha1sum of the newly cloned SD card.
If the two numbers on the screen match then the contents of two cards are the same.
I have found that if the two cards have different manufacturers then the sha1sums of the cards may be different.
In that case you can compare the sha1sum of each partition.
Compare the result of `sudo dd if=/dev/sda1 | sha1sum` with the result of `sudo dd if=/dev/sdb1 | sha1sum`
The above compares the boot partitions.
Then compare the result of `sudo dd if=/dev/sda2 | sha1sum` with the result of `sudo dd if=/dev/sdb2 | sha1sum`
The above compares the root partitions.
For protection against tampering, it would be a very good idea to record the sha1sum result that you just got from the two cards. Take a photo of the touch screen and also write the number down by hand as well. As soon as you use the card this number will change of course. But since you will not be using the cloned card, it should have the same sha1sum until you actually use it.
Finally, it would be a good idea to try both SD cards to be sure that they work properly and that both of them can be used to access your secrets.

0 comments on commit c0b5d8d

Please sign in to comment.
You can’t perform that action at this time.