Bitcoin Forum
November 13, 2024, 09:49:06 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: individual  (Read 924 times)
usagi (OP)
VIP
Hero Member
*
Offline Offline

Activity: 812
Merit: 1000


13


View Profile
August 16, 2012, 02:46:16 PM
Last edit: October 06, 2012, 03:48:08 PM by usagi
 #1

individual
hamdi
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
August 16, 2012, 03:17:56 PM
 #2

create a single wallet file for every user

queue up action of a single user

stop bitcoind

import that users wallet

start bitcoind

perform operations on his wallet

stop bitcoind

put his wallet back in his account´s storage







would slow down the users workflow a bit, but would ensure 100% safety that only his own keys/coins are touched.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4284
Merit: 8805



View Profile WWW
August 20, 2012, 09:29:06 PM
 #3

What I could probably do is modify bitcoind to flag accounts/privkeys/addresses as "don't use" versus "only use";

We do want that functionality, mostly to make it so that users using the raw transaction api can mix it with regular wallet usage without stepping on themselves.

Quote
and then have the modified bitcoind only encrypt the data for those particular addresses.

This is very much incompatible with how encryption in Bitcoin works today. And I think we'd be unlikely to accept patches to change it to make that work.

Today there is a master key which is used to encrypt all the private keys, and the master key is encrypted with a KDF expanded passphrase from the user. This makes it possible to change the passphrase without rewriting all the private key material.

It's also important to note that bitcoin's account feature is __NOT__ multiple wallets, spending from any account can spend any coins, including ones that were previously paid to another account.

Quote
That way no one who managed to get a hold of the wallet could do anything without the account password, and even someone scouring a memory dump for info could do nothing without the account password, or at worst could only gather accounts one login at a time.

If you make use of a private key then someone going through memory could get a copy of it, end of story.

What you are asking for could be accomplished via the raw transaction API, but you'd end up having to implement all of the wallet functionality in your own code. It could also be accomplished through multi-wallet support, which is something that I think we want long term but isn't being directly worked on right now.

But I think what you actually want really involves multisig or at least client side signing... because without that a sever compromise still results in compromising at least the private keys that get used during the compromise.
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!