Re: GPG 2.1.0 Compatibility Metrix(Solaris/Linux/HP Unix) and Installation

2018-10-02 Thread Dennis Clarke

On 10/02/2018 07:53 PM, NIIBE Yutaka wrote:

Madhav Narisetty  wrote:

Can someone let me know the GPG 2.1.0 compatibility Metrix for
Unix(Solaris/Linux/HP Unix).
Also, I would require installation binaries and steps on Solaris / Linux
and HP UX systems.


For GNU/Linux, distributions offer binaries for GnuPG.  These days,
GnuPG 2.1.x/2.2.x is available.

For Solaris, I checked OpenIndiana, but it only offers GnuPG 2.0.x
(yet), while libraries (except npth) are available.
...
I encourage users on Solaris and HP-UX to migrate GnuPG 2.2.


I'll have a look at it. I have a reasonable 64-bit stack on Solaris but
only for sparc. Mostly because I never had much use for the x86 variant.

Dennis Clarke


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


Re: GPG 2.1.0 Compatibility Metrix(Solaris/Linux/HP Unix) and Installation

2018-10-02 Thread Duncan Guthrie
Hello,

On 03/10/18 00:53, NIIBE Yutaka wrote:
> Madhav Narisetty  wrote:
>> Can someone let me know the GPG 2.1.0 compatibility Metrix for
>> Unix(Solaris/Linux/HP Unix).
>> Also, I would require installation binaries and steps on Solaris / Linux
>> and HP UX systems.
> 
> For GNU/Linux, distributions offer binaries for GnuPG.  These days,
> GnuPG 2.1.x/2.2.x is available.
> 
> For Solaris, I checked OpenIndiana, but it only offers GnuPG 2.0.x
> (yet), while libraries (except npth) are available.
> 
> For HP-UX, I checked the HP-UX Porting and Archive Centre [0], situation
> is similar.  Since all libraries are available (including npth) there,
> building GnuPG is not that hard, I suppose.
> 
> I, for myself, do my best to keep supporting those (older) systems, in
> our development.  However, we don't actively develop GnuPG on those
> systems.  Only occasionally, when needed.  Well, since I don't have any
> access to HP-UX system any more, so, it depends on bug reporters.
> 
> Last month, in libgpg-error development, I learned that such older
> Unixen tend to use ksh (variant) for /bin/sh.
> 
> I encourage users on Solaris and HP-UX to migrate GnuPG 2.2.
> 
> [0] http://hpux.connect.org.uk/
> 
Regarding Illumos derivatives such as the aforementioned OpenIndiana,
Joyent produce pkgsrc binaries for Illumos:
https://pkgsrc.joyent.com/install-on-illumos/. With this, I was able to
get GnuPG 2.2.4 to work on my box running SmartOS.

I don't know if it would work on Solaris, though. Illumos and modern
Solaris may have diverged quite a bit by now. But at least it might
provide a starting point.

Best wishes,
Duncan

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


Re: GPG 2.1.0 Compatibility Metrix(Solaris/Linux/HP Unix) and Installation

2018-10-02 Thread NIIBE Yutaka
Madhav Narisetty  wrote:
> Can someone let me know the GPG 2.1.0 compatibility Metrix for
> Unix(Solaris/Linux/HP Unix).
> Also, I would require installation binaries and steps on Solaris / Linux
> and HP UX systems.

For GNU/Linux, distributions offer binaries for GnuPG.  These days,
GnuPG 2.1.x/2.2.x is available.

For Solaris, I checked OpenIndiana, but it only offers GnuPG 2.0.x
(yet), while libraries (except npth) are available.

For HP-UX, I checked the HP-UX Porting and Archive Centre [0], situation
is similar.  Since all libraries are available (including npth) there,
building GnuPG is not that hard, I suppose.

I, for myself, do my best to keep supporting those (older) systems, in
our development.  However, we don't actively develop GnuPG on those
systems.  Only occasionally, when needed.  Well, since I don't have any
access to HP-UX system any more, so, it depends on bug reporters.

Last month, in libgpg-error development, I learned that such older
Unixen tend to use ksh (variant) for /bin/sh.

I encourage users on Solaris and HP-UX to migrate GnuPG 2.2.

[0] http://hpux.connect.org.uk/
-- 

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


GPG 2.1.0 Compatibility Metrix(Solaris/Linux/HP Unix) and Installation

2018-10-02 Thread Madhav Narisetty
Hello Team,
Can someone let me know the GPG 2.1.0 compatibility Metrix for
Unix(Solaris/Linux/HP Unix).
Also, I would require installation binaries and steps on Solaris / Linux
and HP UX systems.

Any kind of help would be appreciated.

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


Re: converting gpg files into PEM and certification change confusion

2018-10-02 Thread Werner Koch
On Tue,  2 Oct 2018 10:43, aheine...@intevation.de said:
> Any hints / documentation on how to achive this?

That is easy if you have the keygrip (gpg --with-keygrip -K)

--8<---cut here---start->8---
$ gpgsm --gen-key
gpgsm (GnuPG) 2.3.0-beta459; Copyright (C) 2018 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpgsm: NOTE: THIS IS A DEVELOPMENT VERSION!
gpgsm: It is only intended for test purposes and should NOT be
gpgsm: used in a production environment or with production keys!
Please select what kind of key you want:
   (1) RSA
   (2) Existing key
   (3) Existing key from card
Your selection? 2
Enter the keygrip: 69DE053632BD10D51A34C23B9D45A3655F9E0A6B
Possible actions for a RSA key:
   (1) sign, encrypt
   (2) sign
   (3) encrypt
Your selection? 1
Enter the X.509 subject name: CN=test
Enter email addresses (end with an empty line):
> t...@example.net
> 
Enter DNS names (optional; end with an empty line):
> 
Enter URIs (optional; end with an empty line):
> 
Create self-signed certificate? (y/N) y
These parameters are used:
Key-Type: RSA
Key-Length: 1024
Key-Grip: 69DE053632BD10D51A34C23B9D45A3655F9E0A6B
Key-Usage: sign, encrypt
Serial: random
Name-DN: CN=test
Name-Email: t...@example.net

Proceed with creation? (y/N) y
Now creating self-signed certificate.  This may take a while ...
gpgsm: about to sign the certificate for key: 
&69DE053632BD10D51A34C23B9D45A3655F9E0A6B
gpgsm: certificate created
Ready.
-BEGIN CERTIFICATE-
MIIB8DCCAVmgAwIBAgIIf9VW1oAzgtcwDQYJKoZIhvcNAQELBQAwDzENMAsGA1UE
AxMEdGVzdDAgFw0xODEwMDIxNDUzMDVaGA8yMDYzMDQwNTE3MDAwMFowDzENMAsG
A1UEAxMEdGVzdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwoOWEbhVS69l
[...]
--8<---cut here---end--->8---

or to create anpother OpenPGP key from an existing (gpg) key:

--8<---cut here---start->8---
$ gpg --expert --full-gen-key
gpg: WARNING: unsafe permissions on homedir '/home/wk/b/gnupg/test-kbxd'
gpg (GnuPG) 2.3.0-beta459; Copyright (C) 2018 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
   (7) DSA (set your own capabilities)
   (8) RSA (set your own capabilities)
   (9) ECC and ECC
  (10) ECC (sign only)
  (11) ECC (set your own capabilities)
  (13) Existing key
Your selection? 13
Enter the keygrip: 69DE053632BD10D51A34C23B9D45A3655F9E0A6B

Possible actions for a RSA key: Sign Certify Encrypt Authenticate 
Current allowed actions: Sign Certify Encrypt 

   (S) Toggle the sign capability
   (E) Toggle the encrypt capability
   (A) Toggle the authenticate capability
   (Q) Finished

Your selection? q
Please specify how long the key should be valid.
 0 = key does not expire
= key expires in n days
  w = key expires in n weeks
  m = key expires in n months
  y = key expires in n years
Key is valid for? (0) 
Key does not expire at all
Is this correct? (y/N) y

GnuPG needs to construct a user ID to identify your key.

Real name: 
Email address: te...@example.net
Comment: 
You selected this USER-ID:
"te...@example.net"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: key D2B554FFDE4135B7 marked as ultimately trusted
gpg: revocation certificate stored as 
'/home/wk/b/gnupg/test-kbxd/openpgp-revocs.d/FC7123F7C24BF9929836F44ED2B554FFDE4135B7.rev'
public and secret key created and signed.

pub   rsa1024 2018-10-02 [SCE]
  FC7123F7C24BF9929836F44ED2B554FFDE4135B7
uid  te...@example.net
--8<---cut here---end--->8---

Works also with stock 2.2 versions,


Shalom-Salam,

   Werner

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


pgp6QaMY1_Vvf.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: converting gpg files into PEM and certification change confusion

2018-10-02 Thread Andre Heinecke
Hi,

On Friday, September 28, 2018 7:48:08 AM CEST Werner Koch wrote:
> It is not possible to mix both protocols.  There is one exception: With
> a bit of magic it is possible to use a key stored on a a smartcard by
> both protocols.  This is because down at the lowest math level both use
> the same algorithms.

Oh! I would personally be very interested in that. I was asked this in Support 
and so far have answered -> Impossible.

Any hints / documentation on how to achive this?


Regards,
Andre

-- 
Andre Heinecke |  ++49-541-335083-262  | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users