jbreher (OP)
Legendary
Offline
Activity: 3038
Merit: 1660
lose: unfind ... loose: untight
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 21, 2014, 08:41:10 AM |
|
I am moving Armory off a system that will continue to be used for other tasks. When I ultimately decommission this system months or years in the future, it is likely I will not recall using Armory upon it. Accordingly, I want to render all wallet data on this machine unrecoverable.
Will Delete/Remove Wallet shred the wallet, rendering it unrecoverable by normal forensic methods? Or does it just do a filesystem delete?
If the latter, I'll need to shred the files directly. Are the .wallet files the only files I need to concern myself with shredding/overwriting?
|
Anyone with a campaign ad in their signature -- for an organization with which they are not otherwise affiliated -- is automatically deducted credibility points.
I've been convicted of heresy. Convicted by a mere known extortionist. Read my Trust for details.
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3724
Merit: 1360
Armory Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 21, 2014, 02:44:13 PM |
|
Assuming you don't hold your .wallet files on a SSD, you'll have to shred them yourself. You only need to concern yourself with .wallet files.
|
|
|
|
jbreher (OP)
Legendary
Offline
Activity: 3038
Merit: 1660
lose: unfind ... loose: untight
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 22, 2014, 08:34:56 AM |
|
Hmm. Things are not so rosy. Selecting 'Delete/Remove Wallet' in the GUI not only deletes the view of the underlying .wallet file within Armory, but also performs some sort of delete action upon the .wallet file upon the underlying filesystem.
As the .wallet file no longer exists, it is unable to be shredded.
I thought to quit Armory, recover the .wallet file, then shred it. Unfortunately, I can find no normal recover tool that will work. Evidently, this has to do with ext3 completely zeroing the inode. Of course, this is probably more secure that merely unlinking it, however, the data sectors are presumably still on the disk somewhere.
What is the expected sequence for someone who wants to secure-erase a wallet?
|
Anyone with a campaign ad in their signature -- for an organization with which they are not otherwise affiliated -- is automatically deducted credibility points.
I've been convicted of heresy. Convicted by a mere known extortionist. Read my Trust for details.
|
|
|
etotheipi
Legendary
Offline
Activity: 1428
Merit: 1093
Core Armory Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 22, 2014, 07:08:37 PM |
|
We have shied away from tackling this problem, because it's really out of scope for us (the core devs have too). There's so many different filesystem types that have their own ways of handling data on disk. We could do a PhD on how secure-delete files on each one, and it still would probably not be perfect, and only handle a subset of the filesystems out there.
My recommendation is that if you really want to wipe it, you shred the entire drive from a live CD and then reinstall your OS. Alternatively, one thing that theoretically should work, would be to make sure the wallet is deleted, and then do something like "dd if=/dev/urandom of=tempfile.bin" (if linux), which will create a single file full of random bits that will eventually consume all unused space on your disk. This will force the OS to overwrite all sectors marked as deleted. Then, if the system is still functional, you can remove the file. Repeat a few times to enforce "shredding". Though, depending on the OS, strange things can happen when you literally fill your last byte of free space.
|
|
|
|
Holliday
Legendary
Offline
Activity: 1120
Merit: 1012
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 22, 2014, 10:04:30 PM |
|
What is the expected sequence for someone who wants to secure-erase a wallet?
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Funitednuclear.com%2Fimages%2Fthermite.jpg&t=665&c=Dfsh1Dyhi2C_SA) + ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fcdn-static.zdnet.com%2Fi%2Fstory%2F61%2F81%2F001551%2Fdoc-071210-art-3.jpg&t=665&c=VjZ7IZSN9Ban6Q) = ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Foi52.tinypic.com%2F2co22bc.jpg&t=665&c=4nfRJNkLYgAxEg)
|
If you aren't the sole controller of your private keys, you don't have any bitcoins.
|
|
|
jbreher (OP)
Legendary
Offline
Activity: 3038
Merit: 1660
lose: unfind ... loose: untight
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:10:07 AM |
|
Thanks for chiming in etotheipi. I guess from goatpig's description, I anticipated that the 'Delete/Remove Wallet' would have just removed the wallet from Armory's inventory. This would have allowed me to use shred or any other of a number of command-line invocations to perform a secure overwrite algorithm upon the underlying file.
Having said that, I could see that the typical user would probably not follow up with the shred after removing the wallet from Armory's inventory. For such users, your current implementation is probably best.
Now having said that, I'll go on to ask about the general case. Let us assume I had another installation of Armory, and I just wanted to remove one wallet from it's inventory. Could I shred the file without Armory running? How confused would Armory get about the missing wallet when I restart it?
|
Anyone with a campaign ad in their signature -- for an organization with which they are not otherwise affiliated -- is automatically deducted credibility points.
I've been convicted of heresy. Convicted by a mere known extortionist. Read my Trust for details.
|
|
|
jbreher (OP)
Legendary
Offline
Activity: 3038
Merit: 1660
lose: unfind ... loose: untight
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:15:32 AM |
|
Thanks Holliday - but not really applicable to my situation. You must have missed my opening sentence where I said "I am moving Armory off a system that will continue to be used for other tasks."
My day gig is in the data storage industry. My work occasionally has me creating storage subsystems for military applications. Sometimes, this involves testing of secure erase capabilities. On occasion, I've had the glee of being the guy that flips the switch on both incendiary (thermite) and explosive (C4) tests of 'plane's going down behind enemy lines, must destroy all data' contingencies.
|
Anyone with a campaign ad in their signature -- for an organization with which they are not otherwise affiliated -- is automatically deducted credibility points.
I've been convicted of heresy. Convicted by a mere known extortionist. Read my Trust for details.
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3724
Merit: 1360
Armory Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 05:31:33 AM |
|
Armory won't care about a deleted wallet. Go ahead and shred them yourself instead of deleting them through Armory.
My advice to you would be to run Armory with its data dir pointed at an encrypted folder. You can use the --datadir="mypath" command line argument to achieve that. Make sure to move the DB dir to another location with the --dbdir="mydbpath" arg.
It side steps the shredding issue by keeping the wallets and their left overs encrypted.
|
|
|
|
Holliday
Legendary
Offline
Activity: 1120
Merit: 1012
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2014, 06:09:46 AM |
|
Thanks Holliday - but not really applicable to my situation. You must have missed my opening sentence where I said "I am moving Armory off a system that will continue to be used for other tasks."
My day gig is in the data storage industry. My work occasionally has me creating storage subsystems for military applications. Sometimes, this involves testing of secure erase capabilities. On occasion, I've had the glee of being the guy that flips the switch on both incendiary (thermite) and explosive (C4) tests of 'plane's going down behind enemy lines, must destroy all data' contingencies.
Sorry, I see some one talking about wiping data and I get all worked up about using thermite and whatnot! I'm probably a bit paranoid and like to be thorough! Your job sounds like it is occasionally loads of fun (and may or may not be fun the rest of the time too)! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
If you aren't the sole controller of your private keys, you don't have any bitcoins.
|
|
|
|