Multithreaded gpg encryption of files

2015-06-30 Thread gnupgpacker
Hello,
if encrypting big files (500 Mb...) with gpg-1.x, only one core of Intels
multicore processors is used. Is there an enhancement for using more than
one core while de-/encrypting files?

Thanks + regards, Chris


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg-agent and putty/ssh agent bug

2015-06-30 Thread Werner Koch
On Mon, 29 Jun 2015 00:56, bo...@kset.org said:

> I have attached gpg-agent's debug log (gpg-agent.log)

Can you please add

--8<---cut here---start->8---
verbose
verbose
--8<---cut here---end--->8---

to gpg-agent.conf, run the test again, and send the log?


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg-agent and putty/ssh agent bug

2015-06-30 Thread Marko Božiković
On 30/06/2015 13:38, Werner Koch wrote:
> On Mon, 29 Jun 2015 00:56, bo...@kset.org said:
> 
>> I have attached gpg-agent's debug log (gpg-agent.log)
> 
> Can you please add
> 
> --8<---cut here---start->8---
> verbose
> verbose
> --8<---cut here---end--->8---
> 
> to gpg-agent.conf, run the test again, and send the log?
> 
> 
> Shalom-Salam,
> 
>Werner
> 

Sure, I'll try to do it tonight...

Also, last night I *think* gpg-agent worked fine after being started by gpg (I
was testing notations). Then, after some time I started ssh-pagenat and
OpenSSH connectect on the first try. I'll try to see if I can replicate this
as well..


-- 
Marko


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Multithreaded gpg encryption of files

2015-06-30 Thread Werner Koch
On Tue, 30 Jun 2015 08:52, gnupgpac...@on.yourweb.de said:

> multicore processors is used. Is there an enhancement for using more than
> one core while de-/encrypting files?

OpenPGP uses CFB mode and thus the encryption cannot be parallelized.

However, with a modern Intel processor featuring the AES-NI instructions
the encryption is not the bottleneck anymore.  Make sure to use GnuPG
2.x with Libgcrypt >= 1.6.0 to employ the AES-NI speedup. 

You _may_ be able to speed I/O up a little by changing

  #define IOBUF_BUFFER_SIZE  8192

in gnupg/common/iobuf.c to larger power of 2.  Disabling encryption (-z
0) and running a separate gzip will also make use of more that one core.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg-agent and putty/ssh agent bug

2015-06-30 Thread Marko Božiković
On 30/06/2015 13:38, Werner Koch wrote:
> On Mon, 29 Jun 2015 00:56, bo...@kset.org said:
> 
>> I have attached gpg-agent's debug log (gpg-agent.log)
> 
> Can you please add
> 
> --8<---cut here---start->8---
> verbose
> verbose
> --8<---cut here---end--->8---
> 
> to gpg-agent.conf, run the test again, and send the log?

Here we go...


-- 
Marko

2015-06-30 20:28:16 gpg-agent[8912] listening on socket 
'F:\Users\bozho\.gnupg\S.gpg-agent'
2015-06-30 20:28:16 gpg-agent[8912] listening on socket 
'F:\Users\bozho\.gnupg\S.gpg-agent.ssh'
2015-06-30 20:28:16 gpg-agent[8912] gpg-agent (GnuPG) 2.1.5 started
2015-06-30 20:28:16 gpg-agent[8912] putty message loop thread started
2015-06-30 20:28:26 gpg-agent[8912] DBG: ssh map file 'PageantRequest1c88'
2015-06-30 20:28:26 gpg-agent[8912] DBG: ssh map handle 0x0140
2015-06-30 20:28:26 gpg-agent[8912] DBG:   my sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:28:26 gpg-agent[8912] DBG: ssh map file sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:28:26 gpg-agent[8912] DBG: ssh IPC buffer at 0x025b
2015-06-30 20:28:26 gpg-agent[8912] ssh request handler for request_identities 
(11) started
2015-06-30 20:28:26 gpg-agent[8912] no running SCdaemon - starting it
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C <- OK GNU Privacy 
Guard's Smartcard server ready
2015-06-30 20:28:26 gpg-agent[8912] DBG: first connection to SCdaemon 
established
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C -> GETINFO socket_name
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C <- D 
F:\Users\bozho\.gnupg\S.scdaemon
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C <- OK
2015-06-30 20:28:26 gpg-agent[8912] DBG: additional connections at 
'F:\Users\bozho\.gnupg\S.scdaemon'
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C -> OPTION 
event-signal=110
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C <- OK
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C -> GETATTR $AUTHKEYID
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C <- ERR 100663404 Card 
error 
2015-06-30 20:28:26 gpg-agent[8912] no authentication key for ssh on card: Card 
error
2015-06-30 20:28:26 gpg-agent[8912] ssh request handler for request_identities 
(11) ready
2015-06-30 20:28:26 gpg-agent[8912] sending ssh response of length 591
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C -> RESTART
2015-06-30 20:28:26 gpg-agent[8912] DBG: chan_016C <- OK
2015-06-30 20:28:37 gpg-agent[8912] DBG: ssh map file 'PageantRequest1c88'
2015-06-30 20:28:37 gpg-agent[8912] DBG: ssh map handle 0x0140
2015-06-30 20:28:37 gpg-agent[8912] DBG:   my sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:28:37 gpg-agent[8912] DBG: ssh map file sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:28:37 gpg-agent[8912] DBG: ssh IPC buffer at 0x025b
2015-06-30 20:28:37 gpg-agent[8912] ssh request handler for sign_request (13) 
started
2015-06-30 20:28:37 gpg-agent[8912] DBG: agent_get_cache 
'063CADD3BA3D11C35A055104772E6D55B8DB998B' (mode 4) ...
2015-06-30 20:28:37 gpg-agent[8912] DBG: ... miss
2015-06-30 20:28:37 gpg-agent[8912] starting a new PIN Entry
2015-06-30 20:28:37 gpg-agent[8912] DBG: connection to PIN entry established
2015-06-30 20:30:50 gpg-agent[8912] DBG: ssh map file 'PageantRequest28b0'
2015-06-30 20:30:50 gpg-agent[8912] DBG: ssh map handle 0x0188
2015-06-30 20:30:50 gpg-agent[8912] DBG:   my sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:30:50 gpg-agent[8912] DBG: ssh map file sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:30:50 gpg-agent[8912] DBG: ssh IPC buffer at 0x025c
2015-06-30 20:30:50 gpg-agent[8912] ssh request handler for request_identities 
(11) started
2015-06-30 20:30:50 gpg-agent[8912] new connection to SCdaemon established 
(reusing)
2015-06-30 20:30:50 gpg-agent[8912] DBG: chan_016C -> GETATTR $AUTHKEYID
2015-06-30 20:30:50 gpg-agent[8912] DBG: chan_016C <- ERR 100663404 Card 
error 
2015-06-30 20:30:50 gpg-agent[8912] no authentication key for ssh on card: Card 
error
2015-06-30 20:30:50 gpg-agent[8912] ssh request handler for request_identities 
(11) ready
2015-06-30 20:30:50 gpg-agent[8912] sending ssh response of length 591
2015-06-30 20:30:50 gpg-agent[8912] DBG: chan_016C -> RESTART
2015-06-30 20:30:50 gpg-agent[8912] DBG: chan_016C <- OK
2015-06-30 20:31:01 gpg-agent[8912] DBG: ssh map file 'PageantRequest28b0'
2015-06-30 20:31:01 gpg-agent[8912] DBG: ssh map handle 0x0188
2015-06-30 20:31:01 gpg-agent[8912] DBG:   my sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:31:01 gpg-agent[8912] DBG: ssh map file sid: 
'S-1-5-21-1972494145-3003797530-3302421020-1000'
2015-06-30 20:31:01 gpg-agent[8912] DBG: ssh IPC buffer at 0x025c
2015-06-30 20:31:01 gpg-agent[8912] s

operating on remote files (Windows) using a UNC

2015-06-30 Thread Charles Spitzer
Greetings

Whenever I attempt to operate upon a remote file using a UNC, it doesn't seem 
to find the file.

C:\Users\cspitzer>gpg --decrypt "\\remote.machine.com\data\Vendor File 
Transfers\Archive\Input.2015-06-15.045720.csv.pgp"
gpg: can't open `remote.machine.com\\data \\Vendor File Transfers 
\\Archive\\Input.2015-06-15.045720.csv.pgp': No such file or directory
gpg: decrypt_message failed: No such file or directory

Regards,
Charlie Spitzer
602.420.4123
[GDLogo2]

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users