Please add a walletunlock function for a certain amount of time.

Kong

Member
Apr 9, 2014
55
15
48
Hi, i really want the walletunlock function back. When playing at directbet.eu, it sucks a lot that you have to put in the password for every single bet. It's not userfriendly. Give the people the choice how to use their wallet.
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Hi, i really want the walletunlock function back. When playing at directbet.eu, it sucks a lot that you have to put in the password for every single bet. It's not userfriendly. Give the people the choice how to use their wallet.
It never left.... do:

walletpassphrase YOUR_PASSPHRASE #_of_seconds_unlocked

10 minutes = 600 seconds

You could arbitrarily put 99999 and then when you are done, just issue walletlock.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
I hope in the future we have the feature "Remove Password" for the wallets.
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
I hope in the future we have the feature "Remove Password" for the wallets.
Not sure why but send your coins to a fresh wallet that isn't encrypted, or import your privkey from the address if you are partial to it to a non-encrypted wallet.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Not sure why but send your coins to a fresh wallet that isn't encrypted, or import your privkey from the address if you are partial to it to a non-encrypted wallet.
Yes we can do that, but I like this "Remove Password" in the MultiBit wallet, so handy, you don't have to bother to send your coins to another wallet. Maybe we'll have MultiDark wallet with this feature in the future... :)
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Yes we can do that, but I like this "Remove Password" in the MultiBit wallet, so handy, you don't have to bother to send your coins to another wallet. Maybe we'll have MultiDark wallet with this feature in the future... :)
Again I ask the purpose for it. Why would you want to go from a secure form of protection to whatever goes from lack thereof.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Again I ask the purpose for it. Why would you want to go from a secure form of protection to whatever goes from lack thereof.
So Kong doesn't have to keep unlocking his wallet until he's done with the betting...And then he can put back in his passphrase... :D
I just think it's cool to have more options... :)
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
So Kong doesn't have to keep unlocking his wallet until he's done with the betting...And then he can put back in his passphrase... :D
I just think it's cool to have more options... :)
If you're doing a two-step process as is, then it's no different in time length to do walletpassphrase and then the additional walletlock if you chose an absurd unlock time.
 
  • Like
Reactions: fernando

jpr

Active Member
May 11, 2014
493
393
133
If you're doing a two-step process as is, then it's no different in time length to do walletpassphrase and then the additional walletlock if you chose an absurd unlock time.
Absolutely agree. Unlock the wallet with the command for a certain amount of time like an hour or so and let it lock after this. People will forget to lock it which is asking for trouble.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
If you're doing a two-step process as is, then it's no different in time length to do walletpassphrase and then the additional walletlock if you chose an absurd unlock time.
I know, but then you don't have to go to the console. Here's what it looks like on MultiBit:

upload_2014-12-11_1-4-18.png

I wouldn't forget to put my pw back. :)
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Absolutely agree. Unlock the wallet with the command for a certain amount of time like an hour or so and let it lock after this. People will forget to lock it which is asking for trouble.
You know if your computer is infected, your coins will be stolen the moment you unlock your wallet.
 
  • Like
Reactions: MaxFangX

fernando

Powered by Dash
Dash Core Team
Moderator
Foundation Member
May 9, 2014
1,527
2,058
283
I know, but then you don't have to go to the console. Here's what it looks like on MultiBit:

View attachment 702

I wouldn't forget to put my pw back. :)
I haven't used multibit so maybe I'm not understanding... when you remove password it deletes it and you need a new one (and repeat it) if you add it again? If it is like that I see two additional problems: forgetting the password or making a mistake when setting it.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
I haven't used multibit so maybe I'm not understanding... when you remove password it deletes it and you need a new one (and repeat it) if you add it again? If it is like that I see two additional problems: forgetting the password or making a mistake when setting it.
When you click on "Remove Password" from the File drop down menu or the tab on the right, the screen changes to let you remove your password, and yes it deletes your password from the wallet. But when you want to put your password back, just click on "Add Password" and you can put back the same pw or a new one if you want. When you add your pw back, it requires you to type it twice. If someone forgets their pw, i'm not sure either our darkcoin wallet or multibit wallet can help them.
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
When you click on "Remove Password" from the File drop down menu or the tab on the right, the screen changes to let you remove your password, and yes it deletes your password from the wallet. But when you want to put your password back, just click on "Add Password" and you can put back the same pw or a new one if you want. When you add your pw back, it requires you to type it twice. If someone forgets their pw, i'm not sure either our darkcoin wallet or multibit wallet can help them.
But I guess the real question is, why would anyone want to go from a password-protected wallet to a non password-protected wallet?
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
But I guess the real question is, why would anyone want to go from a password-protected wallet to a non password-protected wallet?
Because some people don't want to be bothered with typing in seconds after the passphrase? Or they need the wallet to be unlocked at the moment and not sure how long they need it unlocked? I don't know. It's just an option that MultiBit has and I like it... :D
And it doesn't take any time to put back the password!
 

fernando

Powered by Dash
Dash Core Team
Moderator
Foundation Member
May 9, 2014
1,527
2,058
283
When you click on "Remove Password" from the File drop down menu or the tab on the right, the screen changes to let you remove your password, and yes it deletes your password from the wallet. But when you want to put your password back, just click on "Add Password" and you can put back the same pw or a new one if you want. When you add your pw back, it requires you to type it twice. If someone forgets their pw, i'm not sure either our darkcoin wallet or multibit wallet can help them.
Nope, nobody can help with a forgotten password, but if you keep changing it the risk of forgetting is much higher.

Anyway, I agree with oblox, it doesn't make any sense to have a wallet without password. I understand the use case explained, but I still prefer to type the password a thousand times.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Nope, nobody can help with a forgotten password, but if you keep changing it the risk of forgetting is much higher.

Anyway, I agree with oblox, it doesn't make any sense to have a wallet without password. I understand the use case explained, but I still prefer to type the password a thousand times.
Fernando, the same thing with MultiBit, you have to type the password a thousand times too, if you want to lock your wallet again. It just seems more convenient with Multibit to me. I remember looking for this feature in the darkcoin wallet and I asked flare about it.. the answer was "No", i was kinda disappointed .. lol
 

fernando

Powered by Dash
Dash Core Team
Moderator
Foundation Member
May 9, 2014
1,527
2,058
283
Fernando, the same thing with MultiBit, you have to type the password a thousand times too, if you want to lock your wallet again. It just seems more convenient with Multibit to me. I remember looking for this feature in the darkcoin wallet and I asked flare about it.. the answer was "No", i was kinda disappointed .. lol
I get that, but you also have to understand that you are not the average user. You are probably super diligent in protecting it, never forget and understand the risk; but most people are not like that, so we must try to create products that don't leave so much room for error. If you want that you have the walletpassphrase command with a long time unlock, but you have to go to a certain lengh to use it. Lost funds harm us all, not only the one who lost them.
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Because some people don't want to be bothered with typing in seconds after the passphrase? Or they need the wallet to be unlocked at the moment and not sure how long they need it unlocked? I don't know. It's just an option that MultiBit has and I like it... :D
And it doesn't take any time to put back the password!
So then they wouldn't encrypt their wallet from the start with a password (which again, is stupid). This is just poor logic for a feature that isn't needed (seriously, can't be bothered to type in seconds after a passphrase, really?). If they aren't sure how long, they issue the walletpassphrase for some large number and then when they are done, they issue walletlock.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
So then they wouldn't encrypt their wallet from the start with a password (which again, is stupid). This is just poor logic for a feature that isn't needed (seriously, can't be bothered to type in seconds after a passphrase, really?). If they aren't sure how long, they issue the walletpassphrase for some large number and then when they are done, they issue walletlock.
What do you mean they wouldn't encrypt the wallet from the start? Every wallet isn't encrypted from the start, this is just another option for users to want to encrypt their wallet or not, without having to send their coins to a new wallet in order to have an unencrypted wallet, which i'm not sure which one is more stupid if you want to call it "stupid" rather than a choice! :tongue:

Also multibit has multiple wallets in one client, how can this be stupid??? if you don't want to pick that option, ok send your coins to another wallet in the same client.... :tongue:
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
What do you mean they wouldn't encrypt the wallet from the start? Every wallet isn't encrypted from the start, this is just another option for users to want to encrypt their wallet or not, without having to send their coins to a new wallet in order to have an unencrypted wallet, which i'm not sure which one is more stupid if you want to call it "stupid" rather than a choice! :tongue:

Also multibit has multiple wallets in one client, how can this be stupid??? if you don't want to pick that option, ok send your coins to another wallet in the same client.... :tongue:
You're being just as loose with your funds without encryption as you are without a password (you do realize that the encryption is to encrypt your passphrase). Anyone that doesn't have a password to protect their wallet deserves to lose their funds. If you are too lazy to type a number after the unlock sequence (which is done to protect you), then you're, well.... lazy.
 
Last edited by a moderator:

maky

Member
Nov 14, 2014
71
32
58
We need a new function: unlock address ADDRESS TIME_TO_LOCK - to unlock just one private key (store it in RAM until TIME_TO_LOCK)
 

Kong

Member
Apr 9, 2014
55
15
48
It never left.... do:

walletpassphrase YOUR_PASSPHRASE #_of_seconds_unlocked

10 minutes = 600 seconds

You could arbitrarily put 99999 and then when you are done, just issue walletlock.
walletpassphrase <passphrase> <timeout> [anonymizenonly] Does anonymizenonly not only count for the mixing process?
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
walletpassphrase <passphrase> <timeout> [anonymizenonly] Does anonymizenonly not only count for the mixing process?
That was a new argument in there for the DS process. For your purposes, you shouldn't have to do anything with it.
 

Kong

Member
Apr 9, 2014
55
15
48
That was a new argument in there for the DS process. For your purposes, you shouldn't have to do anything with it.
Tried now with walletpassphrase <passphrase> 99999, the wallet gets unlocked, but after 1 transaction the wallet gets locked again. There must be a bug in this function.