Bitcoin Forum
September 27, 2024, 05:35:22 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: Checking if a BTC address belongs to Wallet XY on: June 12, 2014, 03:29:42 AM
a little background: im a merchant and accept bitcoin payments. the addresses are created with an electrum MPK. I want to give my customers a possibility to doublecheck if the address where he is about to send his payments to, is really from my wallet. In case my webshop gets compromised a hacker might change the displayed btc addresses. fairly unlikely, but if the customer wants to be 100% sure he could see my pgp signed MPK, and check if the btc address really belongs.

It would be sufficiant if the customer can enter the mpk somewhere and create addresses, so he could check if the btcaddress apears in the list. I have seen php scripts creating addresses from the mpk, but no website where you can just enter the MPK and display the correspondant addresses. I could implement this feature myself into our shop, but that wouldnt give any extra safety, it has to be a third party like a different website from ours to be sure that the output is real.

Is there an electrum command where you can display btc addresses from an MPK of somebody elses wallet?

would be happy if anybody has an idea how i could give my customers a possibility to doublecheck the given addresses somehow, for their and my own safety.
2  Bitcoin / Electrum / Checking if a BTC address belongs to Wallet XY on: June 11, 2014, 04:49:45 PM
Hey There,

Is there a way to check if a BTC address belongs to a certain wallet? Like for example i know the electrum Master Public Key of the recipients wallet and want to check if the BTC address I have is really from his wallet?

thx

PP
3  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 31, 2014, 12:46:29 AM
if anybody came via google or so and faces the same problem. The previous steps actually did fix the problem, i just had to run "pecl install gnupg" again and it works fine finally. Thanks seoincorporation great job.
4  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 30, 2014, 10:43:56 PM
[root@server ~]# yum list | grep gpg
gpgme.x86_64                              1.1.8-3.el6                   installed
libgpg-error.x86_64                       1.7-4.el6                     @base
pygpgme.x86_64                            0.1-18.20090824bzr68.el6      installed
gpgme.i686                                1.1.8-3.el6                   base
gpgme-devel.i686                          1.1.8-3.el6                   base
gpgme-devel.x86_64                        1.1.8-3.el6                   base
libgpg-error.i686                         1.7-4.el6                     base
libgpg-error-devel.i686                   1.7-4.el6                     base
libgpg-error-devel.x86_64                 1.7-4.el6                     base
mingw32-libgpg-error.noarch               1.6-13.el6.5                  base
[root@server ~]# su
[root@server ~]# yum install gpgme gpgme-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                            | 7.2 kB     00:00
 * base: yum.phx.singlehop.com
 * epel: mirror.steadfast.net
 * extras: holmes.umflint.edu
 * updates: mirror.steadfast.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
tor                                                      | 2.9 kB     00:00
tor-source                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
Setting up Install Process
Package gpgme-1.1.8-3.el6.x86_64 already installed and latest version
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package gpgme-devel.x86_64 0:1.1.8-3.el6 will be installed
--> Processing Dependency: libgpg-error-devel for package: gpgme-devel-1.1.8-3.el6.x86_64
--> Running transaction check
---> Package libgpg-error-devel.x86_64 0:1.7-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch          Version              Repository   Size
================================================================================
Installing:
 gpgme-devel               x86_64        1.1.8-3.el6          base        105 k
Installing for dependencies:
 libgpg-error-devel        x86_64        1.7-4.el6            base         14 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 119 k
Installed size: 176 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): gpgme-devel-1.1.8-3.el6.x86_64.rpm                | 105 kB     00:00
(2/2): libgpg-error-devel-1.7-4.el6.x86_64.rpm           |  14 kB     00:00
--------------------------------------------------------------------------------
Total                                           385 kB/s | 119 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libgpg-error-devel-1.7-4.el6.x86_64                          1/2
  Installing : gpgme-devel-1.1.8-3.el6.x86_64                               2/2
  Verifying  : libgpg-error-devel-1.7-4.el6.x86_64                          1/2
  Verifying  : gpgme-devel-1.1.8-3.el6.x86_64                               2/2

Installed:
  gpgme-devel.x86_64 0:1.1.8-3.el6

Dependency Installed:
  libgpg-error-devel.x86_64 0:1.7-4.el6

Complete!


seems like he did everything fine, but gnupg is still not showing up in phpinfo()

Id really appreciate it if you take a look via teamviewer, I will PM you
5  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 30, 2014, 07:50:23 AM
worked, but wasnt relevant :/


Installed:
  re2c.x86_64 0:0.13.5-1.el6

Complete!
[root@server ~]# pecl channel-update pecl.php.net
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
[root@server ~]# pecl install gnupg
downloading gnupg-1.3.3.tgz ...
Starting to download gnupg-1.3.3.tgz (19,141 bytes)
......done: 19,141 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-rootbIyYzc/gnupg-1.3.3
running: /var/tmp/gnupg/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/var/tmp/gnupg/configure' failed
[root@server ~]#


You sure you dont want to just connect via teamviewer and try a little yourself? We can continue like this but i figured for it to be more easy

I found this thread with somebody who has the same problem:

https://forums.cpanel.net/f34/installing-gnupg-php-module-204921.html
6  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 30, 2014, 03:38:49 AM
hmm this is what i was trying in the beginning. i installed all dependencies, but get an error when trying to run pecl install gnupg

[root@server ~]# pecl install gnupg
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading gnupg-1.3.3.tgz ...
Starting to download gnupg-1.3.3.tgz (19,141 bytes)
......done: 19,141 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-rootKheR81/gnupg-1.3.3
running: /var/tmp/gnupg/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/var/tmp/gnupg/configure' failed
[root@server ~]#

/var/tmp/gnupg doesnt even exist...


i transferred you 25$ for a start to thank for your efforts so far. I really hope we can get this thing running.
7  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 30, 2014, 02:36:32 AM
thats exactly what I have tried before unfortunately. The /etc/php.d/gnupg.ini is somewhat mentioned in the phpinfo() screen but it didnt load the extension. I also have put the line in php.ini but no changes Sad
8  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 30, 2014, 01:58:42 AM
[root@server ~]# yum whatprovides gnupg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                            | 9.5 kB     00:00
 * base: mirrordenver.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: mirrors.loosefoot.com
 * updates: mirror.millry.co
base                                                     | 3.7 kB     00:00
epel                                                     | 4.4 kB     00:00
epel/primary_db                                          | 6.2 MB     00:02
extras                                                   | 3.4 kB     00:00
tor                                                      | 2.9 kB     00:00
tor-source                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
gnupg2-2.0.14-6.el6_4.x86_64 : Utility for secure communication and data storage
Repo        : base
Matched from:
Other       : gnupg



gnupg2-2.0.14-6.el6_4.x86_64 : Utility for secure communication and data storage
Repo        : installed
Matched from:
Other       : Provides-match: gnupg



[root@server ~]# whereis gnupg
gnupg: /etc/gnupg /usr/share/gnupg
[root@server ~]# su -c "yum install gnupg2-2.0.14-6.el6_4.x86_64"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                            | 9.5 kB     00:00
 * base: mirrordenver.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: mirrors.loosefoot.com
 * updates: mirror.millry.co
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
tor                                                      | 2.9 kB     00:00
tor-source                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
Setting up Install Process
Package gnupg2-2.0.14-6.el6_4.x86_64 already installed and latest version
Nothing to do
[root@server ~]#

seems to be installed... the problem is that I dont get it integrated in PHP
9  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 30, 2014, 01:24:12 AM
ah ok i think we are almost there then. I still cant call it via PHP, probably because the extension isnt loaded.

on the last linux server where it all worked i used this command i think:

echo extension=gnupg.so > /etc/php5/conf.d/gnupg.ini

on my new server the directory seems to be here:

/etc/php.d/

so i created the ini there, but it isnt loaded when i do phpinfo(), it only appears here:

Additional .ini files parsed
/etc/php.d/curl.ini, /etc/php.d/fileinfo.ini, /etc/php.d/gd.ini, /etc/php.d/gnupg.ini, /etc/php.d/json.ini, /etc/php.d/mbstring.ini, /etc/php.d/mcrypt.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/phar.ini, /etc/php.d/sqlite3.ini, /etc/php.d/zip.ini

the gmt is loaded file but no gpg in phpinfo()

Thanks for your help really appreciate it,

PP
10  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 29, 2014, 11:56:05 PM
i am not quite sure what i was supposed to do right now, so i just copied your commands:

[root@server ~]# yum list | grep pgp
pgp-tools.x86_64                          1.1.4-3.el6                   @epel
claws-mail-plugins-pgp.x86_64             3.9.0-1.el6                   epel
openpgpkey-milter.noarch                  0.3-1.el6                     epel
pgpdump.x86_64                            0.28-1.el6                    epel
postgresql-pgpool-II.i686                 3.2.0-1.el6                   epel
postgresql-pgpool-II.x86_64               3.2.0-1.el6                   epel
postgresql-pgpool-II-devel.i686           3.2.0-1.el6                   epel
postgresql-pgpool-II-devel.x86_64         3.2.0-1.el6                   epel
postgresql-pgpool-II-recovery.x86_64      3.2.0-1.el6                   epel
python-pgpdump.noarch                     1.4-2.el6                     epel


[root@server ~]# yum list | grep gmp
gmp.x86_64                                4.3.1-7.el6_2.2               @base
gmp.i686                                  4.3.1-7.el6_2.2               base
gmp-devel.i686                            4.3.1-7.el6_2.2               base
gmp-devel.x86_64                          4.3.1-7.el6_2.2               base
gmp-static.x86_64                         4.3.1-7.el6_2.2               base
gmpy.x86_64                               1.15-1.el6                    epel
[root@server ~]#

then the install command which ended like this:

Installed:
  pgp-tools.x86_64 0:1.1.4-3.el6

Dependency Installed:
  gd.x86_64 0:2.0.35-11.el6
  libpaper.x86_64 0:1.1.23-6.1.el6
  mutt.x86_64 5:1.5.20-4.20091214hg736b6a.el6_5
  perl-Any-Moose.noarch 0:0.13-1.el6
  perl-Class-MethodMaker.x86_64 0:2.16-4.el6
  perl-Convert-BinHex.noarch 0:1.119-10.1.el6
  perl-GD.x86_64 0:2.44-3.el6
  perl-GnuPG-Interface.noarch 0:0.42-4.el6
  perl-IO-stringy.noarch 0:2.110-10.1.el6
  perl-MIME-tools.noarch 0:5.427-4.el6
  perl-MailTools.noarch 0:2.04-4.el6
  perl-Mouse.x86_64 0:0.58-2.1.el6
  perl-TermReadKey.x86_64 0:2.30-13.el6
  perl-Test-Simple.x86_64 0:0.92-136.el6
  perl-Text-Template.noarch 0:1.45-3.el6
  perl-TimeDate.noarch 1:1.16-11.1.el6
  perl-libintl.x86_64 0:1.20-1.el6
  tokyocabinet.x86_64 0:1.4.33-6.el6
  urlview.x86_64 0:0.9-7.el6

Complete!
11  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 29, 2014, 10:47:16 PM
[root@server Crypt-RIPEMD160-0.05-rxwWyS]# uname -a
Linux server.bla.org 2.6.32-042stab083.2 #1 SMP Fri Nov 8 18:08:40 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@serverCrypt-RIPEMD160-0.05-rxwWyS]# su -
[root@server~]# yum -y update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrordenver.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: mirrors.loosefoot.com
 * updates: mirror.millry.co
Setting up Update Process
No Packages marked for Update
[root@server~]#

Sad
12  Economy / Services / Re: paying somebody 100$ to setup opengpg on a centos6 server on: May 29, 2014, 10:21:52 PM
hi, thanks for your help and the trust to deliver upfront, I will surely transfer the 100$ if it works out. I get this error though:

Working directory is /root/.cpan/build/Crypt-RIPEMD160-0.05-rxwWyS
[root@server Crypt-RIPEMD160-0.05-rxwWyS]# curl -sL http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/patches/Crypt-RIPEMD160-0.04-Andrew_Ruthven-01.patch.gz | zcat | patch -p0
patching file rmd160.h
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file rmd160.h.rej
[root@server Crypt-RIPEMD160-0.05-rxwWyS]#


any ideas?
13  Economy / Services / paying somebody 100$ to setup opengpg on a centos6 server on: May 29, 2014, 05:21:47 PM
Hello,

I am trying to setup the openpgp and gmp package on a centos server. Apache and PHP are already running, and I have some scripts that automatically encrypt a message with pgp, so I need the required packages installed. I already installed everything successfully on 2 other servers (debian and ubuntu) but I dont get it to work on the centos server. need to say that I am a linux newb and its probably not big of a deal for somebody who has more experience with installing packages and their dependencies on a linux machine.

This is how I thought we do this. I prepare the ssh connection to the server and all the infos i got including the tutorial I used to set it up on the other servers. You connect via teamviewer to my PC and we text through notepad or something while you try your best in the putty connection.

Happy to hear from somebody,

PP
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!