Remove comment field from OpenPGP key generation wizard
ClosedPublic

Authored by justusw on Jun 28 2017, 12:26 PM.

Details

Reviewers
aheinecke
dvratil
Group Reviewers
KDE PIM: Kleopatra
Summary

The comment part of OpenPGP user ids is nowadays seen as a misfeature.
There is no consensus about what kind of information to put there, and
worse, users may not be aware that this information is published as
part of the certificate.

Signed-off-by: Justus Winter <justus@gnupg.org>

Test Plan

aheinecke approves of the change.

Diff Detail

Repository
R168 Kleopatra
Branch
justus/no-comment
Lint
No Linters Available
Unit
No Unit Test Coverage
justusw created this revision.Jun 28 2017, 12:26 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJun 28 2017, 12:26 PM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript
dvratil requested changes to this revision.Jul 5 2017, 6:54 AM
dvratil added a subscriber: dvratil.

Looks good, just please fix the QString issue and it's good to go.

src/newcertificatewizard/newcertificatewizard.cpp
1460

Use QString() or just {} instead of ""

This revision now requires changes to proceed.Jul 5 2017, 6:54 AM
justusw updated this revision to Diff 16193.Jul 5 2017, 8:17 AM
justusw edited edge metadata.

Fix the QString issue.

dvratil accepted this revision.Jul 5 2017, 8:30 AM
This revision is now accepted and ready to land.Jul 5 2017, 8:30 AM
aheinecke accepted this revision.Jul 5 2017, 8:45 AM

Looks good to me, too. Do you have push access or should I push this for you?

Please add
BUG: 354513

As a line in the commit message (see: https://bugs.kde.org/show_bug.cgi?id=354513 )

justusw updated this revision to Diff 16194.Jul 5 2017, 9:03 AM

Include bug id in commit message.

Andre Heinecke <noreply@phabricator.kde.org> writes:

Looks good to me, too. Do you have push access or should I push this for you?

Please push it on my behalf. I don't think that I have push access.

Please add 
BUG: 354513

Check.

As a line in the commit message (see: https://bugs.kde.org/show_bug.cgi?id=354513 )

Ah. Bugzilla. Now I know three places where bugs for kleopatra can be
filed >,<

Include bug id in commit message.

Eww, arc did not update the message. Anyway, is this really the preferred way to submit patches to Kleopatra?

For Reviews, Yes. For minor things or once you are very comfortable with the codebase a direct push is also acceptable imo.

We should probably get you push access to KDE before I'm out for a longer time. Jochen or Dan could also push for you. I'll test/fix/push some other queued changes now and then this one.