Public bug reported:

When using dput to push to a PPA, if the current working directory has
spaces in the path, then it will warn (but not error out) with

    gpg: can't open .....
    gpg: verify signatures failed: file open error

The problem lies in the Python script - the path passed to GPG needs to
be quoted or otherwise escaped before being used to construct the GPG
command. It appears the bug still exists in Debian git master:
http://anonscm.debian.org/cgit/collab-maint/dput.git/tree/dput#n193

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dput 0.9.6.4ubuntu1.1 [modified: usr/bin/dput]
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Tue Nov 25 10:41:10 2014
InstallationDate: Installed on 2014-07-22 (125 days ago)
InstallationMedia: Karoshi 14.04 - Release amd64
PackageArchitecture: all
SourcePackage: dput
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dput (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1396082

Title:
  dput GPG invocation doesn't work with spaces in working directory path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dput/+bug/1396082/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to