Mailing List Archive

How to improve our GUIs (was: We have GOT TO make things simpler)
On Mon, 30 Sep 2019 10:58, Roland Siemons said:

> 4/ Here is my proposal:
> 4.1/ Stimulate that people use a GUI like GPA or Kleopatra. Not Enigmail,

Enigmail folks won't like that suggestion. Users need to install a
second tool which behaves different (because Enigmail implements parts
of GnuPG on its own).

I agree with you and, although I sometimes hack on GPA, I would suggest
Kleopatra. On Windows Kleopatra and the Explorer plugin do actually do
what you suggest and we LOTS of folks using Gpg4win. Be it for plain
file encryption or for its Outlook plugin.

> 4.2/ Ensure that, when generating a keypair, GnuPG creates one directory
> "Secretkeys", and one directory "Publickeys". Make GnuPG to store the public
> part and the secret part separately in those directories. If GnuPG needs also
> keypairs in a single file, store that under Secretkeys.

That are all internals of GnuPG (except for the revocations directory)
and should not be touched by most users. The problem is that there are
so many howtos and tutorials floating around which suggest to modify
this or that or to do that. In most cases this is not appropriate.
gpg --import and --export are the interfaces which users need to know
about - iff they really want to use the gpg _tool_. See your first point.

> 4.3/ Get rid of the confusing menu/Exportkeys/ vs. menu/Exportsecretkey. etc.

Exporting public keys is an important operation for everyone and thus it
needs to be prominent. Exporting secret keys should come with a strong
warning or better be removed and replaced by a sync-with-other-device
feature.

If you have concrete suggestions for Kleopatra, I am sure Andre will
listen to you. For GPA it is unlikely that we put a lot work into it -
it is these days mostly a test bench for my changes to GPGME.

> 4.5/ Get rid of the options to NOT publish keys on keyservers. Just work the
> opt-in alternative: If you want to publish to keyservers, make that a separate
> action that requires some effort.

No. Despite the current problems with keyservers, we like keyservers
because they make public key encryption easier. Deployment of the Web
Key Directory is still rare and some mail providers will never deploy
that. Thus the second best option is to send initially a signed mail and
the recipient can then reply encrypted - this works by looking up the
signature key on a keyserver and use that for encryption. We are
currently in the process of tweaking this so that we can eventually
make this again the default behaviour.


Shalom-Salam,

Werner


p.s. I took the freedom to change the subject to better reflect what
your suggestion is about.

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
On 10/5/2019 6:54 PM, Werner Koch via Gnupg-users wrote:
> On Mon, 30 Sep 2019 10:58, Roland Siemons said:
>
>> 4/ Here is my proposal:
>> 4.1/ Stimulate that people use a GUI like GPA or Kleopatra. Not Enigmail,
>
> Enigmail folks won't like that suggestion. Users need to install a
> second tool which behaves different (because Enigmail implements parts
> of GnuPG on its own).
>
> I agree with you and, although I sometimes hack on GPA, I would suggest
> Kleopatra. On Windows Kleopatra and the Explorer plugin do actually do
> what you suggest and we LOTS of folks using Gpg4win. Be it for plain
> file encryption or for its Outlook plugin.
>
>> 4.2/ Ensure that, when generating a keypair, GnuPG creates one directory
>> "Secretkeys", and one directory "Publickeys". Make GnuPG to store the public
>> part and the secret part separately in those directories. If GnuPG needs also
>> keypairs in a single file, store that under Secretkeys.
>
> That are all internals of GnuPG (except for the revocations directory)
> and should not be touched by most users. The problem is that there are
> so many howtos and tutorials floating around which suggest to modify
> this or that or to do that. In most cases this is not appropriate.
> gpg --import and --export are the interfaces which users need to know
> about - iff they really want to use the gpg _tool_. See your first point.
>
>> 4.3/ Get rid of the confusing menu/Exportkeys/ vs. menu/Exportsecretkey. etc.
>
> Exporting public keys is an important operation for everyone and thus it
> needs to be prominent. Exporting secret keys should come with a strong
> warning or better be removed and replaced by a sync-with-other-device
> feature.
>
> If you have concrete suggestions for Kleopatra, I am sure Andre will
> listen to you. For GPA it is unlikely that we put a lot work into it -
> it is these days mostly a test bench for my changes to GPGME.
>

Given that, wouldn't be better to remove GPA all together from Gpg4win?


As an aside, I don't use Cleopatra at all, is there anyway to install
Gpg4win without Cliopatra?

Inother words, how can I only install the command line version of GPG on
Windows.

--
John Doe

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
On 10/5/2019 at 12:58 PM, "Werner Koch via Gnupg-users" <gnupg-users@gnupg.org> wrote:

>I agree with you and, although I sometimes hack on GPA, I would
>suggest
>Kleopatra. On Windows Kleopatra and the Explorer plugin do
>actually do
>what you suggest and we LOTS of folks using Gpg4win. Be it for
>plain
>file encryption or for its Outlook plugin.

...

>If you have concrete suggestions for Kleopatra,

=====

Kleopatra already has an export keys menu.

Right Click on any key, and a menu opens, with the options of
'Export Key'
and then a separate option of
"Export Secret Keys"

and works on Ubuntu
(and probably on other Linux flavors too, but have not tested them)


vedaal


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi


On Saturday 5 October 2019 at 7:05:55 PM, in
<mid:599023a9-9eca-96c5-cfe5-2d43d25f02f6@mail.com>, john doe wrote:-


> In other words, how can I only install the command
> line version of GPG on
> Windows.

At https://gnupg.org/download/index.html#sec-1-2 there's a link to
download "Simple installer for the current GnuPG" (and a link to
a signature file to check integrity of the installer file).

- --
Best regards

MFPA <mailto:2017-r3sgs86x8e-lists-groups@riseup.net>

Artificial Intelligence is no match for natural stupidity.
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSWDIYo1ZL/jN6LsL/g4t7h1sju+gUCXZpjf18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTYw
Qzg2MjhENTkyRkY4Q0RFOEJCMEJGRTBFMkRFRTFENkM4RUVGQQAKCRDg4t7h1sju
+kNcAQCWt2aZUDHGO8jOJLzUhnYWE76dnok88O3Ff44hUK8BKAEAoicub5JiTeq9
9t7DholXFSzt5WeqXVJtYRzbkRYhDACJApMEAQEKAH0WIQRSX6konxd5jbM7JygT
DfUWES/A/wUCXZpjgF8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0NTI1RkE5Mjg5RjE3Nzk4REIzM0IyNzI4MTMw
REY1MTYxMTJGQzBGRgAKCRATDfUWES/A/6wVD/9qK28etDThbBhTelgz+UPFH6Sn
WhF8CKqGEarYGkGixVGgIon+Cgwndh6/vxqkQuf5PUXraW5i2z5oe+Qy1XwwtZpW
/NlGJCJJoEIPtkMQWLwKOhKOuJH0OpPIxae7ESfo8H/u/ObmG5uz5dMAUeCiDxNp
m4vAZxipS/9gWFxKC6tiKaTgayUOAguWAPzGjQqyzGHur6OKjZvee3H9SKcuWMIc
stm9jf10K8qv2bEHGvfWfvWGkbqAyt1MwWP2D+Cy64yMJ4IkQy+quJTYn4IwoQRH
Vehn2zqZT7iX+bQne59S08luOka2FJ7KfDS7GpD09+xYVLgdUZeJZolHQbxhO9ST
pIIQOI7fTGM4MQ7zI17pD32qrKryrS0LJXPqG94UJVScoYXLVSUCnlrYzJkXX5Bm
qJS9Gi6cwu259pzf3lmu3773iELuE1Io3SBXD024kAvXnCWgrR+vOeD8nz+wPp2W
xb0e9lHzVYDSGwCTH1ijJS2soC4r0VueIHiH1od9Sm1vdpqWBSwwtZsD6f/D6HaZ
F3IhOSww9bsbtpOoUqv5O0MmVkoW2q6DcpHUTEam4Y2l/Yl0LJTOLDuU7EsjfSfF
oEy+B4DdU4/8O5KcMqQr4TKGsmv7qDgNquv8OcE18lztE6Wf//esBsjZkdrr9mx7
gQ0PGPIGP7c8NYITJQ==
=++Ix
-----END PGP SIGNATURE-----


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
Hi, thanks for your answer.

> Hi
>
>
> On Saturday 5 October 2019 at 7:05:55 PM, in
> <mid:599023a9-9eca-96c5-cfe5-2d43d25f02f6@mail.com>, john doe wrote:-
>
>
>> In other words, how can I only install the command
>> line version of GPG on
>> Windows.
>
> At https://gnupg.org/download/index.html#sec-1-2 there's a link to
> download "Simple installer for the current GnuPG" (and a link to
> a signature file to check integrity of the installer file).
>
>

In the above link, only the cli version of the 1.4 release is available.
I got it from (1).

As far as I can tell, at (1) there is noway to checksum the downloaded
files, would it be possible to add the ability to checksum the binaries?
Idealy, all binaries would be checksummed in a file and that file would
be also gpg signed.


1) https://gnupg.org/ftp/gcrypt/binary/

--
John Doe

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs [ In reply to ]
On Mon, 7 Oct 2019 10:15, john doe said:

> In the above link, only the cli version of the 1.4 release is available.
> I got it from (1).

Nope. That is always the current 2.2.


Salam-Shalom,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
Re: How to improve our GUIs [ In reply to ]
On Sat, 5 Oct 2019 21:21, vedaal said:

> and then a separate option of
> "Export Secret Keys"

The OP explictly suggested to make the exporting of the secret key not
too easy so that users don't accidently send out their secret keys.


Shalom-Salam,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
Re: How to improve our GUIs [ In reply to ]
On 10/7/2019 12:03 PM, Werner Koch wrote:
> On Mon, 7 Oct 2019 10:15, john doe said:
>
>> In the above link, only the cli version of the 1.4 release is available.
>> I got it from (1).
>
> Nope. That is always the current 2.2.
>

Yes it is there, some how I mist it! :)

Maybe adding something like the following would avoid such confusion in
the future:

"A frontend for GPG is available in the 'gpg4win' executable, this is a
CLI only release."

--
John Doe

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi


On Monday 7 October 2019 at 9:15:54 AM, in
<mid:543a86d8-21bf-aec3-5141-84e005d2def6@mail.com>, john doe wrote:-


> would it be possible to add the ability to
> checksum the binaries?

When a new GnuPG version is announced, there are checksums in the
announcement. For example, see https://gnupg.org/index.html#sec-3-2.

- --
Best regards

MFPA <mailto:2017-r3sgs86x8e-lists-groups@riseup.net>

Two wrongs don't make a right. But three lefts do.
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSWDIYo1ZL/jN6LsL/g4t7h1sju+gUCXZuZdV8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTYw
Qzg2MjhENTkyRkY4Q0RFOEJCMEJGRTBFMkRFRTFENkM4RUVGQQAKCRDg4t7h1sju
+vm4AP4kg56p3NfBv3Z0IVkLsw9ohHn/4RS3Yo/yxdNF+YsLIwD/W852swDuAFha
gtZvBoy5xzAqZAaDYC0sJNy4HXpcjgWJApMEAQEKAH0WIQRSX6konxd5jbM7JygT
DfUWES/A/wUCXZuZdV8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0NTI1RkE5Mjg5RjE3Nzk4REIzM0IyNzI4MTMw
REY1MTYxMTJGQzBGRgAKCRATDfUWES/A/2+GD/9EccWCtYBvwt9wKpyIN2pypz5o
r0Xg2dLEaUzBqs/yGIwXdAjySFKwTX2vjNVx71UGlcunbqsmefwPNGYPj0dDcOk1
kPLOy2LGKeAuJgWqViG5rnkQJWz9gEMMLvlc/MV15wUvortVF7fO/5gtjtrAKHeF
iFy2l0nadZuddkBl9ia7C8cuF41GMKLmarcM9hWE1AlW2sVoZo42uPZLaMiEaazY
VWPL69pF2617Dm+EKof7SNtk6zYTvWuDsSFtX5mH1IhmofW0NA8v4hYXv40zOxAi
lOC0mTAiV6EOF3qzoRw54bpiafJbLJj/YH2Dm4c+KVzRE3e18lKMtvdUsInoHaXR
A6IWwUa7V7K0ooPGtySpd5seFJ81o0hjWFFO8UsfZTmrAknJGA2bF/v+3z3NYrTq
SenfO5vwL9xAhaz0Pd8Mps3hTRocoOebwqR4Ntcm/i3r6XyffB9zUMh4GlIjeh6F
nCSZnmZbGvgKd4ce22/uzW5TVKRIspifC+kCQXm3eHP1TMRiHo3O4pj5tdPxOKdn
tgOBd3y2SIMnYcKoNyPIOsD6hTTFFu7jJQ5wZNlR4y/yP4a+xALFxMiT7+HGJLfj
BtqbX9WDz44wZUpyHztuJuGfbXINpD0QMhvxrfTacVKnE9exjlXIYau8CKEnOpGI
D5qWJSlSerK+tVuahA==
=sm0V
-----END PGP SIGNATURE-----


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
> Hi
>
>
> On Monday 7 October 2019 at 9:15:54 AM, in
> <mid:543a86d8-21bf-aec3-5141-84e005d2def6@mail.com>, john doe wrote:-
>
>
>> would it be possible to add the ability to
>> checksum the binaries?
>
> When a new GnuPG version is announced, there are checksums in the
> announcement. For example, see https://gnupg.org/index.html#sec-3-2.
>

To summarize:

- Checksumming a file insures that the file has not been corrupted
- Verifying a file insures that the file has not been tempered with

Idealy, both steps are to be done.


To download gnupg:

https://gnupg.org/download/index.html

To checksum gnupg files you will fine the checksums in the announcement
e-mail which can be found at:

https://gnupg.org/index.html#sec-3-2

For example, the checksums for 2.2.17 are to be found at:

https://lists.gnupg.org/pipermail/gnupg-announce/2019q3/000439.html

To download gpg4win:

https://gpg4win.org/download.html


Thanks to "Werner Koch wk at gnupg.org" and "MFPA
<2017-r3sgs86x8e-lists-groups@riseup.net>" for the help.

--
John Doe

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to improve our GUIs [ In reply to ]
On Mon 07/Oct/2019 12:04:33 +0200 Werner Koch via Gnupg-users wrote:
> On Sat, 5 Oct 2019 21:21, vedaal said:
>
>> and then a separate option of
>> "Export Secret Keys"
>
> The OP explictly suggested to make the exporting of the secret key not
> too easy so that users don't accidently send out their secret keys.


On the other hand, if the user received a malicious mail explicitly asking to
click so and so to export secret keys, does the GUI have to issue several
warnings before eventually letting the user do it? What about users who are so
gullible to not actually discern true from false?

Trying to support _all computer users_[*] may turn out to displease more than
expected.


Best
Ale
--

[*] https://www.gnu.org/gnu/manifesto.html#benefit
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
> john doe <johndoe65534@mail.com> hat am 8. Oktober 2019 um 07:45 geschrieben:

> To summarize:
>
> - Checksumming a file insures that the file has not been corrupted
> - Verifying a file insures that the file has not been tempered with

I totally agree to both statements

>
> Idealy, both steps are to be done.
>
I do not agree with this one. IMHO the verification with a trusted GPG-Key is absolutely sufficiant and the checksum-proof is not needed at all.

Regards

Andreas
Re: How to improve our GUIs (was: We have GOT TO make things simpler) [ In reply to ]
Andreas Boehlk writes:
> I do not agree with this one. IMHO the verification with a trusted GPG-Key is absolutely sufficiant and the checksum-proof is not needed at all.

True, since validating the signature means validating the secure hash of
the contents. That is, the checkum is reisistant to accidental
corruption, but the secure hash is *also* resistant to intentional
manipulation. The latter is a superset of the former.


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