Author

Topic: How to install or Run Armory Plugins? (Read 570 times)

newbie
Activity: 19
Merit: 0
July 31, 2017, 06:43:04 AM
#13
Ok, so I've been trawling through the code all night. I understand what the dynamicImport.py file is doing, and I also understand what the plugin file itself is doing.

Technically, the module should be zipped, then combined into another zip file along with a signature.txt file and properties.txt file, and placed inside the modules folder inside the armory source dir. The dynamicImport file you linked then removes the need for that file structure, and allows the installation of the plugin without needing to be zipped up etc.
It still needs the singature check though, which i understand I have to take out.

So regarding the dynamicImport.py file, I'm not sure how much of it I have to remove. If I remove the entire section relating to zipped modules and signature checks, armoryqt won't run:
(ERROR) Traceback (most recent call last):
  File "ArmoryQt.py", line 71, in
ImportError: DLL load failed: %1 is not a valid Win32 application.

If I just remove the sections pertaining to checking the signatures, armoryqt will start, but the plugin doesn't load.
If I load the dynamicImport.py code as-is from the git repo without making any changes, armory starts fine, but it also doesn't show any plugin, nor any plugin errors. But according to the code, it should show an error along the lines of "plugin failed to load" or something similar if the plugin is there, but not signed.

So rather than something being wrong with how I'm editing the code to remove the signature check, I think it might be something more fundamental which I'm not getting right.

Do I save the dynamicImport.py file in the source directory? (C:\Program Files (x86)\Armory)
I have the plugin file saved in C:\Program Files (x86)\Armory\modules. Is this correct? Or should it be in C:\Users\xxxxxx\AppData\Roaming\Armory\modules ?

Sorry for the loads of questions. I am learning a lot, but still obviously haven't quite figured things out yet.
newbie
Activity: 19
Merit: 0
July 29, 2017, 05:52:21 PM
#12
Thank you good sir :-)
legendary
Activity: 3766
Merit: 1364
Armory Developer
newbie
Activity: 19
Merit: 0
July 28, 2017, 07:23:01 PM
#10
Ok thanks, I'll try to learn how to do that then. I've just bought a couple of books on python and git aimed at beginners, so hopefully that'll give me a bit of a leg-up to get this sorted.

What should I be looking for in the source to remove that signature check? Any particular file or code I need to change?
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 28, 2017, 07:18:41 AM
#9
It never was meant to. You have to modify Armory's source to prevent it from checking the module signature.
newbie
Activity: 19
Merit: 0
July 27, 2017, 11:38:32 PM
#8
Going to follow this guide to recompile on windows and hopefully add the plugin at the same time. Wish me luck!
https://github.com/goatpig/BitcoinArmory/blob/master/windowsbuild/Windows_build_notes.md

*Edit: Aborting that idea. Some of the software is either outdated/unavailable or won't install :-(
Plus there's no info on actually compiling the software (just states what software is needed)

I still can't understand why the module isn't being loaded when I start armory.qt. I'm pretty sure I've saved it as the correct file type and in the correct location etc. :-/
newbie
Activity: 19
Merit: 0
July 27, 2017, 11:08:38 PM
#7
I'd rather learn myself. I'm not incompetent, but you're speaking at a level above my knowledge, and you don't seem willing to dumb it down to a comprehensible level for me. As I keep mentioning, I am NOT a coder. I can follow simple step by step instructions though, and I've already offered to give you personally a btc donation for your help with this particular issue.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 27, 2017, 07:23:15 PM
#6
I'm sorry. I have no idea what this means or how to do it. Like I said, I'm not a coder, and have no experience with this kind of thing. I really just need a how-to guide, to talk me through the process.

At this rate you are better off paying a service to help you recover.
newbie
Activity: 19
Merit: 0
July 27, 2017, 07:11:30 PM
#5
The module folder should be in the source dir. Did you build the code from source?

I'm sorry. I have no idea what this means or how to do it. Like I said, I'm not a coder, and have no experience with this kind of thing. I really just need a how-to guide, to talk me through the process.
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 27, 2017, 08:31:30 AM
#4
The module folder should be in the source dir. Did you build the code from source?
newbie
Activity: 19
Merit: 0
July 26, 2017, 11:05:33 PM
#3
Thanks Goatpig. I'm still having issues getting it to work.

I've coppied the PWfinder code from the GitHub link you gave me and saved it in C:\Program Files (x86)\Armory\modules as PassPhraseFinderPlugin.py file using Note++.

I restart Armory, and I can't find the plug-in. I'm trying to brute force my mainet wallet containing my BTC as it's not accepting the passphrase I had saved. As I mentioned, I'm not a coder, but I can follow instructions if someone is able to guide me through the process. I couldn't find anything in the plugin code about a sig/key, so I've no idea what code to modify if that's whats causing the plugin to not show up in the GUI.

 
legendary
Activity: 3766
Merit: 1364
Armory Developer
July 18, 2017, 06:30:09 AM
#2
Create a folder named "modules" in the Armory source folder, copy the plugin in there. The plugin needs to be signed by Alan's key to be loaded on mainnet. It doesn't need a sig to work on testnet. You'd have to modify the source to get rid of the sig check.
newbie
Activity: 19
Merit: 0
July 17, 2017, 07:41:07 PM
#1
Hi All,

I need to install one of the Armory plugins from Github, but I'm not sure exactly of how to do it. I've copied the python script from GitHub and saved it as a *.py file using Note++

Where do I install that plugin file and how to I execute it within Armory?

 Thanks :-)
Jump to: