[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dput-ng/1.1 in unstable



On Wed, Dec 05, 2012 at 08:41:07PM +0100, Benjamin Drung wrote:
> Am Dienstag, den 04.12.2012, 10:01 -0500 schrieb Paul Tagliamonte:
> > Advantages
> > ----------
> >   * dcut support, including management of DM permissions [4]
>
> I wanted to play with DM permission support and tried an example from
> the man page of dcut (adding -O test):

Cool.

>
> $ dcut dm --dm 0xDEFACED --allow glibc linux --deny kfreebsd9
            ^^^^ this flag changed. Will fix docs.

>
> $ dcut -O test dm --uid 0xDEFACED --allow glibc linux --deny kfreebsd9
> Uploading commands file to ftp.upload.debian.org
> (incoming: /pub/UploadQueue/)

> dput.commands.dm.DmCommandError: DM fingerprint lookupfor argument
> 0xDEFACED failed. GnuPG returned error: gpg: error reading key:
> malformed user id

While the traceback is ugly, that's valid. Note 0xDEFACED isn't 8 long,
it's 7. Even though it's unlikely we'd get that key, I figured the DD
would use a UID that's valid.

It validates the key by checking the DM keyring. You can override that
check (if the keyring is out of date, etc) by using --force.


Something like:

    $ dcut -O test dm --uid CACE80AE01512F9AE8AB80D61C01F443C9C93C5A --allow fluxbox

or:

    $ dcut -O test dm --uid "John Stamp <jstamp@mehercule.net>" --allow fluxbox


If you'd like to fix the docs, that'd be welcome, or I can get to it
later on tonight.

>
> --
> Benjamin Drung
> Debian & Ubuntu Developer
>

Cheers,
  Paul

--
 .''`.  Paul Tagliamonte <paultag@debian.org>
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `-     http://people.debian.org/~paultag

Attachment: signature.asc
Description: Digital signature


Reply to: