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

Bug #1396082 reported by Robin McCorkell
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dput (Ubuntu)

Bug Description

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 [modified: usr/bin/dput]
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic
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)

Revision history for this message
Robin McCorkell (xenopathic) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers