How To Clone Sd Card Serial Number
Basically my issue is that I will be selling a product with an RPi built in and I want the SD cards of each product to be the same except with a unique ID (~16 characters) hard-coded into each of them. I also want to print this ID on a sticker and include it in the box of the corresponding RPi. I expect 100-1000 sales in the first year so manually doing this for each of them isn't ideal.
I'll be receiving a GPS programs and maps on an SD card soon and would like to clone the card for backup. The software is locked to the serial number of the SD card, so just backing up the data isn't enough.
Why am I doing this? When my product is turned on and connected to the internet it will subscribe to a Pubnub channel with the name 'company_<unique ID>'. I want the user to be able to download my app, enter their unique ID from the sticker into the app, and have their phone subscribe to the same channel so they can control my product remotely. Nexcopy provides a way for me to make 20 duplicates at a time and get the unique CID of each in .csv format on my PC which I could then print on stickers, but the CID is 120 characters and I can't have my users manually entering that on their phone lol. I think using an SD duplicator would still help even if I have to manually generate and add an ID afterwards.The SD card ID is not printed on the card itself, so you have to put the card into your. The file in “Notepad” until you see a line that starts with “SD Serial Number. Jul 1, 2016 - There are rumours of cheap Chinese SD cards that don't follow the official. If you only need to change the card serial number (part of the CID).
How To Clone Sd Card For Retro Pie
To summarize: I want a way to copy SD cards and give them each a hard-coded unique ID/product key and print that ID on a sticker to include in the box. Any way that I can automate this or speed up the process is better than doing each manually. Thanks in advance!I have created a map for using in GPS devices. The map is copied to a microSD card and then, GPS can read the map data from the card. My question is, how can I create copy/clone protection of my data on microSD cards? Because my business depends on it.
Sincerely
2 Answers
I Think the OP is out after the DRM protection buildin SD cards:http://en.wikipedia.org/wiki/Secure_Digital
Thats why they're called 'SD' as in 'Secure Digital'.
The access to the DRM encoding Equipment for SD cards is limited to those buying a license, so I would suggest you Contact the SD Association for purchasing a license:http://www.sdcard.org/
This DRM protection can perform a challenge-response type of authentication Before allowing access to the content on SD-card, which will be transmitted encrypted. Preferably, your GPS device then contains a 'smart card chip' containing keys, and your map SD card will communicate with this chip to create a encrypted channel. Then you could generate symmetric keys using a secret algoritm using the GPS device's serial number + a secret master key as input. The master key is only stored in your production Equipment.
When a customer wants to purchase a map, they will have to specify the GPS device serial number, and then they will be sent a SD card tailored for that GPS device.
At best you can do obfuscation of the data with some crypto. The key will have to be stored somewhere in the program then, so it can be reversed. Making a foolproof DRM to prevent copying is not possible. Many have tried, all have failed.