Re: Adding notations with quick commands

2019-06-25 Thread Daniel Kahn Gillmor via Gnupg-users
On Sun 2019-06-09 19:17:10 +0200, Wiktor Kwapisiewicz via Gnupg-users wrote:
> Hi Markus,
>
> On 09.06.2019 14:16, Markus Reichelt wrote:
>>> in a similar fashion to what --quick-* commands already do for other actions
>>> (e.g. --quick-add-uid).
>> 
>>   --set-notation maybe?
>
> Yes, but as far as I understand --set-notation is only a modifier that 
> needs to be used with another command (e.g. --quick-sign-key).
>
> I tried using it with my own fingerprint twice but it didn't succeed:
>
> $ gpg -u F470E50DCB1AD5F1E64E08644A63613A4D6E4094 --set-notation 
> t...@example.com= --quick-sign-key 
> F470E50DCB1AD5F1E64E08644A63613A4D6E4094
> "Test McTestington " was already signed by key 
> 4A63613A4D6E4094
> Nothing to sign with key 4A63613A4D6E4094
> gpg: Key not changed so no update needed.

I don't know of a way to do this automatically if there is already a
certification from the current issuer over the OpenPGP User ID in
question, unless the old certification is local (non-exportable), and
the new one is not.  in that special case, gpg seems fine with issuing
the new certification (and will respect --cert-notation or
--set-notation when doing so).

I've opened https://dev.gnupg.org/T4584 to track this bug.  Please
follow up over there.

 --dkg


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


Re: Adding notations with quick commands

2019-06-09 Thread Wiktor Kwapisiewicz via Gnupg-users

Hi Markus,

On 09.06.2019 14:16, Markus Reichelt wrote:

in a similar fashion to what --quick-* commands already do for other actions
(e.g. --quick-add-uid).


  --set-notation maybe?


Yes, but as far as I understand --set-notation is only a modifier that 
needs to be used with another command (e.g. --quick-sign-key).


I tried using it with my own fingerprint twice but it didn't succeed:

$ gpg -u F470E50DCB1AD5F1E64E08644A63613A4D6E4094 --set-notation 
t...@example.com= --quick-sign-key 
F470E50DCB1AD5F1E64E08644A63613A4D6E4094
"Test McTestington " was already signed by key 
4A63613A4D6E4094

Nothing to sign with key 4A63613A4D6E4094
gpg: Key not changed so no update needed.

Kind regards,
Wiktor

--
https://metacode.biz/@wiktor

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


Re: Adding notations with quick commands

2019-06-09 Thread Markus Reichelt
* Wiktor Kwapisiewicz via Gnupg-users  wrote:

> in a similar fashion to what --quick-* commands already do for other actions
> (e.g. --quick-add-uid).

 --set-notation maybe?

HTH

-- 
left blank, right bald

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


Adding notations with quick commands

2019-06-07 Thread Wiktor Kwapisiewicz via Gnupg-users

Hello,

Is there a way to add notation to own key's User IDs with a quick command?

I'm looking for an alternative to this set of actions:

 1. gpg --edit-key $KEY
 2. notation
 3. x...@example.com=test
 4. save

in a similar fashion to what --quick-* commands already do for other 
actions (e.g. --quick-add-uid).


Context: I'm working on a small scheme that will rely on notations and 
I'd like to make instructions for people as simple as possible.


Thank you in advance!

Kind regards,
Wiktor

--
https://metacode.biz/@wiktor

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