Bitcoin Forum
May 04, 2024, 03:15:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Write protect a micro sd?  (Read 301 times)
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 11, 2018, 02:38:10 PM
 #1

Sd cards have switched, my microsd card doesn’t seem to? I want to do 14 of 15 multisig. I’ll print the keys off on an offline printer and also write them down and keep them on a flash drive.

Anyone know of the best way to do this, the micro sd will be going into a rapsberry pi. I can use live Linux on my laptop, but I’d rather not...
1714835732
Hero Member
*
Offline Offline

Posts: 1714835732

View Profile Personal Message (Offline)

Ignore
1714835732
Reply with quote  #2

1714835732
Report to moderator
1714835732
Hero Member
*
Offline Offline

Posts: 1714835732

View Profile Personal Message (Offline)

Ignore
1714835732
Reply with quote  #2

1714835732
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
December 11, 2018, 07:42:12 PM
 #2

You can try the sd adapter for microSD it also has the switch where you can enable the write protection. Never tried this but I have microSD card with write protection before and if I use the sd adapter and use the switch to disable it and now it works and I can put any file without write protected so maybe it would work if you use an SD adapter.

Another method that I know you can enable the write protection is by using diskpart tool through CMD but you can do this with windows OS take a look at this method if ever you need it Enable or Disable Disk Write Protection in Windows

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
December 11, 2018, 10:54:14 PM
 #3

In Windows 10 you can password protect your hard drives, usb sticks and even sd cards with BitLocker which comes with the OS. Just right click on the drive and Turn BitLocker On. But I am not sure how that would work in a non Windows environment and would you be able to unlock the drive with your password outside of Windows. 

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 12, 2018, 09:26:01 AM
 #4

So it seems there isn’t a way to do it then?

I’m trying to do it hardware level so a seed doesn’t end up being stored anywhere on that drive.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16595


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
December 12, 2018, 10:08:21 AM
 #5

I’m trying to do it hardware level so a seed doesn’t end up being stored anywhere on that drive.
I would use the LIVE Linux on your laptop. My favourite is Knoppix from DVD. Assuming you have 8+ GB RAM, start it with command line options:
Code:
knoppix64 toram
Then remove the DVD.
Being paranoid, I prefer to kill all networking and swap too:
Code:
swapoff -a
ifconfig wlan0 down
ifconfig eth0 down
Then copy the required files from a USB-stick to the home directory (in RAM), remove the stick, and work your magic. Configure your printer from your browser by going to localhost:631.

KingZee
Sr. Member
****
Offline Offline

Activity: 910
Merit: 452


Check your coin privilege


View Profile
December 12, 2018, 08:42:37 PM
Merited by suchmoon (4)
 #6

So it seems there isn’t a way to do it then?

I’m trying to do it hardware level so a seed doesn’t end up being stored anywhere on that drive.

I tried to fiddle around as much as I could, found this funny interesting gem  Cheesy :

https://hackaday.com/2014/01/18/the-tiniest-sd-card-locker/

No idea if that thing is effective, the comments are very interesting too! But regardless, it's really hard to achieve what you want to achieve on a software level. No matter what you try to do software-wise, any knowledgable user is going to be able to change the permissions on the files of your sd-card.

If you're sure that no one else will have access to it, or if anyone that will have access won't have a reason to overwrite the files, then you can go ahead and just write lock it using linux/windows. You should probably know that even if you make the SD card read-only, it could still be completely re-formatted.

Beep boop beep boop
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
December 13, 2018, 07:15:59 AM
 #7

[...] it's really hard to achieve what you want to achieve on a software level. No matter what you try to do software-wise, any knowledgable user is going to be able to change the permissions on the files of your sd-card.

He clearly mentioned he wants to do it on a hardware-level, exactly 2 posts above yours:

I’m trying to do it hardware level [...]


OP, just to make sure:
Are you trying to protect it that the user on your system won't be able to 'accidentally' (or maliciously) write to your sd card ?
Or do you want to protect the sd card that way, that noone will ever be able to write onto that sd card again ?


Some SD cards do have a switch which basically is a flag that tells the system that this is in read-only mode.
However, the system decides itself if it follows this convention or not.


On a hardware level, there is nothing you can do to truly protect your sd card from being written onto.
You could use a write-blocker and always access this sd card via a write blocker.
In this case there won't be a possibility to write onto it. But taking the sd card out and plugging it into a linux will still allow to write onto it.

The correct approach fully depends on what you want to achieve.


May you explain what EXACTLY you want to achieve ?

KingZee
Sr. Member
****
Offline Offline

Activity: 910
Merit: 452


Check your coin privilege


View Profile
December 13, 2018, 09:02:41 AM
 #8


He clearly mentioned he wants to do it on a hardware-level, exactly 2 posts above yours:


I know! Cheesy Did you check the link I shared?

It's just painstakingly more effort. So I explained to him that if in the end he decides to do it on a software level, the limitations he's going to go through.

And even if he does change it on a hardware level, in the end, it could still be formatted.

So what solution he chooses is going to depend on his usecase. I he afraid his sd card is going to be intentionally tampered with? Sure, try hardware-level. Does he know the sd card is going to be with him at all times? Or is it somewhere where no one will intentionally try to mess with it? Software-level would probably be fine and prevent himself from making any unintentional mistakes..

But yeah like you said, depending on what he wants to achieve he could go for different solutions

Beep boop beep boop
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 14, 2018, 06:47:25 PM
 #9

I want to do it on hardware level yes. So nothing gets saved while in that read only mode.

I don’t care about someone intelligently coding something because I’ll completely erase everything straight after (cleaning the oartition table and making a new one that sets everything to zero).

Maybe I’m being overprecautious but I was just wondering if anyone had a way to do it that they know of?

It is on a micro sd card not an sd card I know of the buttons of ad cards already and I have already said I want to know if there’s something similar on hardware level to that, I don’t know what there isn’t to understand???
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
December 14, 2018, 07:03:52 PM
 #10

It is on a micro sd card not an sd card I know of the buttons of ad cards already and I have already said I want to know if there’s something similar on hardware level to that, I don’t know what there isn’t to understand???

The switch of SD cards is not hardware level at all. It doesn't protect anything from being written onto the SD. It is just a flag which says "please dont write, regard this as read-only".
Each program / OS can decide whether to follow this or not.


You still didn't answer my question. What do you want to achieve with the write protected SD card ?
Write protect against WHO or WHAT ?

You CAN NOT protect an SD card from being written onto on a hardware level. This is technically NOT possible. You would need to use a writeblocker between your computer and the SD card to access it as 'write protected'.

Therefore.. WHY do you want it to be write-protected ? What is the exact reason ?


This seems to be a XY problem.

jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 15, 2018, 03:56:24 PM
 #11

Thanks, you all finally answered my question and returned NO.

So now I’ll just destroy the device I use instead or just won’t bring it online...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!