Bitcoin Forum
May 23, 2024, 10:30:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
Author Topic: [ANN] Armory Multi-Sig with Simulfunding [BOUNTY 0.03 per bug]  (Read 16266 times)
etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 16, 2014, 12:57:31 AM
 #41

With the new lockbox dashboard and a bunch of these quirks fixed, I'll have a new version for you to test midweek and you can collect more bounties. 

Awesome! I've been using Armory for years now and it is hands down my favorite bitcoin wallet.

You seem like you do a lot of the stuff yourself, if you need help with anything else give me a PM. I'm not a coder but I do network administration/security research/pentesting and I can help with things such as documentation, support, servers, maintenance, testing, etc.

Also, I just want to verify that as of now there is no way to getting armory on testnet in OSX, correct?

Thanks! 

Armory is now a company, and we have a few full-time devs.  I still do the "feature innovation" like multi-sig, which I've been anxious to do for months/years and have already implemented six times over in my head.  When my current "vision" for Armory is complete, then I'll let some of the other guys do fun stuff like this Smiley   Plus, it's no small task to learn the subtleties of Bitcoin the way that is needed to implement things like this securely/properly. 

So yeah, all the multisig stuff I'm doing myself, with the others helping out, doing code reviews, fixing bugs and generally learning about what I implemented.  But they are covering the other parts of project so I can focus on my vision, such as armoryd, blockchain engine upgrades, better testing frameworks, etc.

Speaking of that, one of the big things for this release is a much more featureful armoryd.  It's not complete yet, so I won't call for testing, but it will be by the time we release 0.92-multisig, and will feature multi-wallet, multi-sig, and have a full suite of unit/functional tests.  PM me if you'd like to discuss how you could contribute.  We'd love to get more testing resources, especially if there's some security background involved!

As for testnet on OSX:  should be no problem.  You'll have to run it from the command line and use "--args" as the first CLI arg, otherwise OSX doesn't pass them along.  I believe it would look something like

Code:
open ArmoryQt --args --testnet --debug

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
SimonBelmond
Full Member
***
Offline Offline

Activity: 226
Merit: 100



View Profile
June 16, 2014, 07:41:22 AM
 #42

Question: If I create let's say a 6/9 lockbox and want to spend some funs from there, is it possible to send the unsigned tx to all 9 keyholders and have them sign the transaction. Can I then fuse it together once I have six signatures? Or do all the 6 participants have to sign sequentially? Would be really great if they could all sign in parallel.
etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 16, 2014, 08:54:12 AM
 #43

Question: If I create let's say a 6/9 lockbox and want to spend some funs from there, is it possible to send the unsigned tx to all 9 keyholders and have them sign the transaction. Can I then fuse it together once I have six signatures? Or do all the 6 participants have to sign sequentially? Would be really great if they could all sign in parallel.

Yup, you can sign in parallel.   Both regular multi-sig spends and simulfunding. 

If you look at the screenshot I posted a few up, you'll see that the latest version organizes everything into "Organizer" and everyone else.  In all operations, the organizer simply communicates with each other party/device indepdently, and merges the results. 

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 29, 2014, 04:29:29 AM
 #44

Finally, we have a solid beta/testing release of 0.92!

Let's start the testing machine again:  Grab 0.91.99.7-beta through the secure downloader and Armory will verify all signatures for you!  (Help->Update Software)  If you don't have access via secure downloader, use the links below.


Installers for 0.91.99.7-beta:
  Armory 0.91.99.7-beta for Windows XP, Vista, 7, 8+ 32- and 64-bit
  Armory 0.91.99.7-beta for MacOSX 10.7+ 64bit
  Armory 0.91.99.7-beta for Ubuntu 12.04+ 32bit
  Armory 0.91.99.7-beta for Ubuntu 12.04+ 64bit
  Armory 0.91.99.7-beta for Raspbian (armhf)

Offline Bundles:
  Armory 0.91.99.7-beta Offline Bundle for Ubuntu 12.04 32bit
  Armory 0.91.99.7-beta Offline Bundle for Ubuntu 12.04 64bit
  Armory 0.91.99.7-beta Offline Bundle for Raspbian (armhf)

Signed Hashes:
  Armory 0.91.99.7-beta: Signed hashes of all installers


The interface has been redesigned, tons of tests have been added, and armoryd.py has gotten a lot of TLC!   We are already using it on our offline computers, and maintaining quite a bit of company funds now using mixtures of online and offline computers controlled by different officers.   It's pretty smooth! 

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
PRab
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 29, 2014, 04:44:26 PM
Last edit: June 29, 2014, 05:03:39 PM by PRab
 #45

Bug report:

Stuck with multiple Armory icons in the task bar.

Steps:
Launch Armory (Mainnet)
Launch Armory (Testnet)
Testnet Armory complains that it is already running and exits automatically, but the icon stays in the taskbar.
The Testnet icon is unresponsive to any clicks.

Looks like Testnet Armory didn't actually exit completely. I had to kill it from taskmanger.

Edit:
Scratch that, it looks like Testnet is completely broken. I try to launch it and it creates the tray icon, but never comes up. If I look in taskmanager, I can see that it launches bitcoind with the testnet parameter.

2014-06-29 13:03 (ERROR) -- ArmoryUtils.pyc:1159 - Determined that exec dir is C:\Program Files (x86)\Armory\armoryengine but it does not exist
2014-06-29 13:03 (ERROR) -- Traceback (most recent call last):
  File "ArmoryQt.py", line 7280, in <module>
  File "armoryengine\Timer.pyc", line 99, in inner
  File "ArmoryQt.py", line 503, in __init__
  File "ArmoryQt.py", line 875, in loadArmoryModules
  File "ntpath.pyc", line 96, in join
TypeError: object of type 'NoneType' has no len()
etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 29, 2014, 05:39:09 PM
 #46

Bug report:

Stuck with multiple Armory icons in the task bar.

Steps:
Launch Armory (Mainnet)
Launch Armory (Testnet)
Testnet Armory complains that it is already running and exits automatically, but the icon stays in the taskbar.
The Testnet icon is unresponsive to any clicks.

Looks like Testnet Armory didn't actually exit completely. I had to kill it from taskmanger.

Edit:
Scratch that, it looks like Testnet is completely broken. I try to launch it and it creates the tray icon, but never comes up. If I look in taskmanager, I can see that it launches bitcoind with the testnet parameter.

2014-06-29 13:03 (ERROR) -- ArmoryUtils.pyc:1159 - Determined that exec dir is C:\Program Files (x86)\Armory\armoryengine but it does not exist
2014-06-29 13:03 (ERROR) -- Traceback (most recent call last):
  File "ArmoryQt.py", line 7280, in <module>
  File "armoryengine\Timer.pyc", line 99, in inner
  File "ArmoryQt.py", line 503, in __init__
  File "ArmoryQt.py", line 875, in loadArmoryModules
  File "ntpath.pyc", line 96, in join
TypeError: object of type 'NoneType' has no len()

There's actually two things going on here:  

(1) Do not use auto-bitcoind in testnet mode.  I've tried a couple times to get that working, but it's non-trivial.  For testnet, you'll have to run Bitcoin Core manually and disable the option in the menu.  This is good anyway, if you plan to run multiple Armory instances -- you can have all of them connect to the same Core instance.
(2) I see the problem with the path... I have that path in my exec directory, but didn't realize that lacking that path causes it to hard fail.  Very easy to fix, and will make sure I have that in the next iteration.  For now, to run in testnet use --disable-modules.

Actually, on the second one above:  can you check your testnet log file for an error that looks like this and tell me what it is?

Code:
ERROR: Determined that exec dir is ______ but it does not exist

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
PRab
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 29, 2014, 09:23:13 PM
 #47

Actually, on the second one above:  can you check your testnet log file for an error that looks like this and tell me what it is?

Code:
ERROR: Determined that exec dir is ______ but it does not exist


2014-06-29 17:20 (ERROR) -- ArmoryUtils.pyc:1159 - Determined that exec dir is C:\Program Files (x86)\Armory\armoryengine but it does not exist

I installed Armory to C:\Program Files (x86)\Armory and can confirm that there is nothing called armoryengine in there (either file or folder).

As soon as I added --disable-modules to the shortcut everything worked fine (including autostarting bitcoind in testnet mode).
PRab
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 29, 2014, 09:40:36 PM
 #48

Looks like only 1 out of my 2 bugs got fixed.

When I add the same public key to the same lockbox and click sign, it now signs for all the same public keys. Cool, that's good.

Now when I add a custom change address that is not actually the lockbox, it shows the change address as a receiving address. Cools, that's better than before. The bug I am seeing now is that in this state, when I try to click "Broadcast" it doesn't do anything. It is a 2 of 3 lockbox and all 3 keyholes have a green check mark next to them, so I believe I should be able to broadcast the transaction.
Edit: Oh, this might not be related to the change address... I just tried a normal transaction without a custom change address and got the same behavior.



Final note, I like the new dashboard, but a the address isn't on it. To me the address is one of the most important pieces of information, but it is hidden on the Info tab. This took me a minute or 2 to discover so that I could request testnet coins from the faucet.
etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 29, 2014, 09:51:29 PM
 #49

Looks like only 1 out of my 2 bugs got fixed.

When I add the same public key to the same lockbox and click sign, it now signs for all the same public keys. Cool, that's good.

Now when I add a custom change address that is not actually the lockbox, it shows the change address as a receiving address. Cools, that's better than before. The bug I am seeing now is that in this state, when I try to click "Broadcast" it doesn't do anything. It is a 2 of 3 lockbox and all 3 keyholes have a green check mark next to them, so I believe I should be able to broadcast the transaction.
Edit: Oh, this might not be related to the change address... I just tried a normal transaction without a custom change address and got the same behavior.



Final note, I like the new dashboard, but a the address isn't on it. To me the address is one of the most important pieces of information, but it is hidden on the Info tab. This took me a minute or 2 to discover so that I could request testnet coins from the faucet.

If you ever hit a button and it doesn't do anything, there's an error being thrown under the hood.  Please check the logfile and post the error or copy the logfile to pastebin or something. 

You're absolutely right about the address!  I should put it on the funding row.  There's plenty of space when the "Simul" checkbox is not checked.    Thanks (definitely deserves a bounty!)

I just fixed the pathing bugs, and was about to release it as *.8, but maybe I'll put in that  address display widget.  Then I'll do .8 later tonight.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
PRab
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 29, 2014, 09:59:38 PM
 #50

If you ever hit a button and it doesn't do anything, there's an error being thrown under the hood.  Please check the logfile and post the error or copy the logfile to pastebin or something. 

http://sebsauvage.net/paste/?f6d444852057d1bc#TO+vb9H47emZRiP0Vb5c8o9HYkRij74RSBfvySy+CWM=

I believe my error should be in there. I tried it multiple times.

When I restarted Armory, I was able to send once without any problems, but the problem came back the second time I tried to send.
helgabutters
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
June 29, 2014, 11:30:06 PM
 #51

Bug 1) On testnet, in Manage Multi-Sig Lockbox Info, right click on one of the IDs > "View address on blockexplorer.com" and it takes you to "Invalid address"

Bug 2) Typing in 3 letters and then selecting "Click here for more information about this transaction" in the "Review Offline Transactions" window (nothing happens):
http://pastie.org/private/ijwmwhdc1xdsme1a7tnu0w

Bug 3) In Windows 7 download an update for Armory through the Secure Downloader and save with offline signature. The file downloaded has a "," added to the end of the file name and is also displayed in the Download complete dialog box.

Bug 4) Help > Verify Signed Package has a title bar that just says ArmoryQt
etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 30, 2014, 01:25:40 AM
 #52

Final note, I like the new dashboard, but a the address isn't on it. To me the address is one of the most important pieces of information, but it is hidden on the Info tab. This took me a minute or 2 to discover so that I could request testnet coins from the faucet.

You're absolutely right about the address!  I should put it on the funding row.  There's plenty of space when the "Simul" checkbox is not checked.    Thanks (definitely deserves a bounty!)

How does this look?


Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
PRab
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 30, 2014, 02:42:36 AM
 #53

How does this look?

Can I ask for it to be in a QR code also?
SimonBelmond
Full Member
***
Offline Offline

Activity: 226
Merit: 100



View Profile
June 30, 2014, 07:24:59 AM
 #54

Feature request, not related to multi sig: When Armory is connected I would love to see the number of connections bitcoind has to the network. I have only recently started to open port 8333 so I can help the network as I am runnng Armory anyway and have a fast connection. Now how do I check the number of connections in Armory? Maybe there is a good way. I just think on the bottom where it states the number of blocks and shows connected in green would be a great space to add this. Could be a similar icon to what is known from Bitcoin-QT. Maybe just as a tool tip when hovering over. Could be that I am missing something?
neha
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
June 30, 2014, 07:33:27 AM
 #55

Hi, I have a question. When we use multi sig. Can the transaction be created by the person who initially made the wallet or can a transaction be created by any of the people who are part of the group? Please confirm.

SimonBelmond
Full Member
***
Offline Offline

Activity: 226
Merit: 100



View Profile
June 30, 2014, 07:47:41 AM
 #56

Hi, I have a question. When we use multi sig. Can the transaction be created by the person who initially made the wallet or can a transaction be created by any of the people who are part of the group? Please confirm.

You can export the lockbox an import it on any other instance of Armory also multiple instances. However, let's get this confirmed by etotheipi.
neha
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
June 30, 2014, 08:16:15 AM
 #57

No, What I mean is can all the members of the multisig group create a new transaction or can it be only made by the initial author?

etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 30, 2014, 12:20:14 PM
 #58

No, What I mean is can all the members of the multisig group create a new transaction or can it be only made by the initial author?

Anyone can create the transaction as long as they have imported the lockbox.  They don't even have to be a signer.  The lockbox block is basically a watching-only wallet for your multi-sig.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
neha
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
June 30, 2014, 12:29:01 PM
 #59

So if we dont share the lockbox, then they cant create a transaction but they can still sign the transaction created by us? Correct?

Thanks for the help.

etotheipi (OP)
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 30, 2014, 12:32:58 PM
 #60

So if we dont share the lockbox, then they cant create a transaction but they can still sign the transaction created by us? Correct?

Heh, kinda.  If you "Use Bare Multisig (no P2SH)", Armory should be able to recognize its own key and be able to sign without the lockbox.  I think.  Testers: try it!

Otherwise, it uses P2SH which is totally opaque and you must have the lockbox in order to even recognize it's relevant to you.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  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!