Results 1 to 10 of 10

Thread: Cannot sign dsc files for DEB/PPA

  1. #1
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Cannot sign dsc files for DEB/PPA

    Hi,

    Im trying to create a package for PPA, but I run in this error executing the command:
    Code:
    debuild -S -sa
    Now signing changes and any dsc files...
    signfile thunar-shares-plugin_0.2.0-1.dsc 24FD16F7
    gpg: skipped "24FD16F7": secret key not available
    gpg: /tmp/debsign.stAiWni4/thunar-shares-plugin_0.2.0-1.dsc: clearsign failed: secret key not available
    debsign: gpg error occurred! Aborting....
    debuild: fatal error at line 1278:
    running debsign failed
    Trying to force with the -k
    Code:
    debuild -S -sa -k24FD16F7
    I got the same error

    GPG seems correct to me:
    Code:
    gpg --list-keys
    -----------------------------
    pub 768D/24FD16F7 2010-01-06
    uid dentaku65 (dentaku for ubuntu) <dentaku65@snip.com>
    sub 768g/6F9CD1C5 2010-01-06
    DEBFULLNAME e DEBMAIL env are correct
    Code of Conduct on PPA is signed

    Can someone give me an hint?
    TIA
    Last edited by dentaku65; September 7th, 2013 at 11:52 AM.
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  2. #2
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Cannot sign dsc files for DEB/PPA

    Does your changelog have the same exact name (nick) & email as your gpg uid? (as seen in gpg -K

    Here don't use a nick so a little easier & also decided to 'automate' the process thru some .bashrc entries, ie.
    export GPGKEY=<insert key here>
    export DEBFULLNAME='<insert name here>'
    export DEBEMAIL=<insert mailhere>

    Note that DEBFULLNAME= needs a ' at start & finish

    ( here just use debuild -S
    & dch -i to create the changelog which gets the name & email from the .bashrc exports
    Last edited by mc4man; September 7th, 2013 at 01:04 PM.

  3. #3
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Cannot sign dsc files for DEB/PPA

    Hi,

    thx for your answer
    I did all the exports but I still have the same issue

    This is my debian/changelog:
    thunar-shares-plugin (0.2.0-1) unstable; urgency=low

    * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>

    -- dentaku65 <dentaku65@snip.com> Sat, 07 Sep 2013 11:55:59 +0200
    Seems correct...

    Tried debuild -S only, same error.... I really getting mad
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  4. #4
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Cannot sign dsc files for DEB/PPA

    "uid dentaku65 (dentaku for ubuntu)<dentaku65@snip.com>"
    So try using the nick - (dentaku for ubuntu) in your debian changelog, ie.

    Code:
    thunar-shares-plugin (0.2.0-1) unstable; urgency=low
    
    * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
    
    -- dentaku65 (dentaku for ubuntu) <dentaku65@snip.com> Sat, 07 Sep 2013 11:55:59 +0200

  5. #5
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Cannot sign dsc files for DEB/PPA

    No way....
    changing the uuid still the same issue
    Now signing changes and any dsc files...
    signfile thunar-shares-plugin_0.2.0-1.dsc dentaku65 (dentaku for ubuntu) <dentaku65@snip.com>
    gpg: skipped "dentaku65 (dentaku for ubuntu) <dentaku65@snip.com>": secret key not available
    gpg: /tmp/debsign.lPaiyJxs/thunar-shares-plugin_0.2.0-1.dsc: clearsign failed: secret key not available
    debsign: gpg error occurred! Aborting....
    debuild: fatal error at line 1278:
    running debsign failed
    Last edited by dentaku65; September 7th, 2013 at 02:15 PM.
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  6. #6
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Cannot sign dsc files for DEB/PPA

    (you didn't snip your email in last reply if that matters to you

    Assuming your name (nick) & email in your changelog match exactly the gpg one, do you have more than one OpenPGP key set up in launchpad?
    (edit: the above comment shouldn't matter, would likely only affect dput

    Did you start over in a new terminal, no exports? (or correct one for name (nick)
    Last edited by mc4man; September 7th, 2013 at 01:51 PM.

  7. #7
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Cannot sign dsc files for DEB/PPA

    Hi,

    I put the exports in .bashrc and rebooted the machine
    I have no other gpg in Launchpad; the only thing is that I don't use it since 2010

    Perhaps I'll created a new one and delete this one...

    Quote Originally Posted by mc4man View Post
    (you didn't snip your email in last reply if that matters to you

    Assuming your name (nick) & email in your changelog match exactly the gpg one, do you have more than one OpenPGP key set up in launchpad?
    (edit: the above comment shouldn't matter, would likely only affect dput

    Did you start over in a new terminal, no exports? (or correct one for name (nick)
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  8. #8
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Cannot sign dsc files for DEB/PPA

    I took a look at your lp page, seems fine & your uid does contain the nick (dentaku for ubuntu) so it would have to be in the debian/changelog

    Here once I got it setup I've copied my ~/.gnupg folder elsewhere so every new install I just copy back. Then with the .bashrc entries I just need to setup the keyring once per install with proper password & the whole deal is auto (set the keyring to unlock at bootup/login

    The only other thing I noticed is you show a different first group for "pub" & "sub/ssb". Don't know what "sub/ssb" means but here they're the same -

    $ gpg --list-keys
    /home/doug/.gnupg/pubring.gpg
    -----------------------------
    pub 2048R/8C1EA520 2012-02-04
    uid Doug McMahon <snip@gmail.com>
    sub 2048R/BF81E6C0 2012-02-04


    $ gpg -K
    /home/doug/.gnupg/secring.gpg
    -----------------------------
    sec 2048R/8C1EA520 2012-02-04
    uid Doug McMahon <snip@gmail.com>
    ssb 2048R/BF81E6C0 2012-02-04

  9. #9
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Cannot sign dsc files for DEB/PPA

    Interesting...
    if I fire:
    gpg -K

    I got no result
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  10. #10
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Cannot sign dsc files for DEB/PPA

    bump!
    Any idea why my gpg signature do not have secret key?
    TIA
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •