/srv/irclogs.ubuntu.com/2016/06/26/#launchpad.txt

darkblue_bhi all - working with our project Debian Developer, I have suffered through four+ hours of making two packages, and I would like to add them to a PPA in Launchpad01:37
darkblue_banyone available to walk me through debsign ?01:37
darkblue_bok - that didnt work02:34
darkblue_bhm keyid - hello ?04:43
renatosilvacan someone please take a look at https://answers.launchpad.net/launchpad/+question/295629? thanks11:47
darkblue_bhi all - it seems it is far simpler to copy form one PPA to another, rather than build on the OS..16:56
darkblue_bBUT I should complete the exercise and setup my keys the right way...16:56
darkblue_banyone available to walk me through setting up gpg and debsign on a client ?16:57
maprericjwatson: is the machine running the debian importer using -updates?  or do we need to wait for the next precise (or trusty?) point release to have packages shipping .asc be imported in ubuntu? :)17:26
cjwatsondarkblue_b: my suggestion would be to work through https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage and tell us where you get stuck17:26
cjwatsonmapreri: yes, it's using -updates, it'll be upgraded automatically at some point this coming week17:27
cjwatsonusual napalm upgrades are on Thursday I think17:27
cjwatson(ICBW)17:27
mapreriwell, of course I know nothing about how the ubuntu infra is distributed inside canonical's DCs...17:28
mapreribut ok, will check back next Friday, then17:28
cjwatsonI can ask for an earlier upgrade if absolutely necessary, but I prefer not to use sysadmin time if I don't have to17:28
maprerinah, no need to.17:30
maprerialso, istr precise/trusty . releases are not that far away17:30
cjwatsonpossibly, but they have no bearing on upgrades :)17:30
mapreri-eparse17:31
cjwatson"have no bearing on" -> "do not affect"17:31
cjwatsonor "are not relevant to"17:32
mapreriah, yeah, I intended that after the .releases they tend to have to upgrade, I guess, even if they don't run -updates, or for some reasons they don't upgrade this time.17:34
mapreri(btw, that was a serious "Englishism" :P)17:34
cjwatsonok, that isn't how it works in our infrastructure, and I wouldn't expect it to be how it works generally; point releases in Ubuntu don't correspond to packages being copied into the release suite, unlike in Debian, they just stay in -updates17:35
cjwatsonso you have to have -updates enabled to get a point release *anyway*, and at that point you might as well just apply updates more frequently to make it easier to diagnose problems caused by upgrades if they occur17:35
maprerioh, meh.17:35
maprerithat goes me only running the last release on a couple of non-important end-user machines, evidently I'm not up to speed on how ubuntu stable stuff works.17:36
darkblue_bcjwatson: those are the pages I had open.. I am stuck, and I said where17:43
cjwatsondarkblue_b: can you be more specific about exactly what you're stuck with?  you've said "gpg and debsign" but I need a bit more information about exactly what you've tried so far17:44
darkblue_b.. I have a Launchpad account now, and I initialized a key pair on the Launchpad side.. but on the client VM, the dput is not working17:45
cjwatsondarkblue_b: what error message is it producing?17:45
cjwatsondarkblue_b: and what exactly do you mean by initialising a key pair on the Launchpad side?  the way this works is that you generate a key pair yourself and upload the public half to Launchpad17:46
darkblue_bdebsign ..  skipped "Brian M Hamlin <maplabs@light42.com>": secret key not available17:46
cjwatsondarkblue_b: https://help.launchpad.net/YourAccount/ImportingYourPGPKey may be helpful17:46
cjwatsondarkblue_b: sounds like the system where you're running debsign doesn't have the secret key.  where did you generate it?17:47
darkblue_bI will look, but I am saying.. the Launchpad side is set up.. its the client in a VM that is stuck17:47
cjwatsondarkblue_b: Launchpad does not and cannot generate secret keys for you17:47
darkblue_bduh17:48
cjwatsonso I'm asking you, where did you generate the secret key?17:48
darkblue_b.. on the VM where the packages were built, with a generic user17:48
cjwatsondarkblue_b: run "gpg --list-secret-keys" and see what that says17:48
cjwatson(in the VM)17:49
darkblue_bok - this is what I was asking about,  trying17:49
darkblue_bgpg: /home/user/.gnupg/trustdb.gpg: trustdb created17:49
cjwatsondarkblue_b: also, as far as I can see it is *not* set up on the Launchpad side - the account attached to that email address has no GPG keys associated with it17:49
darkblue_b.. thats all17:49
cjwatsondarkblue_b: are you running this as the same user as which you generated the key?17:49
darkblue_bmy account is called screenlight, I set it up years ago17:50
darkblue_bno not at all.. I am a human being with several computers17:50
cjwatsondarkblue_b: ok, there may be a bit of confusion since https://launchpad.net/~maplabs also exists with the email address you quoted above17:50
cjwatsonbut anyway17:50
darkblue_bI dont know anything about launchpad/maplabs17:50
cjwatsondarkblue_b: if you generated the key on some other system, then you will have to copy it to the VM where you want to sign it17:50
cjwatsoner, where you want to use it for signing, that is17:50
cjwatsonyou can just copy over the whole ~/.gnupg directory if the VM has nothing important there already17:51
darkblue_bI generated a new key pair on the VM I am building on..17:51
cjwatsonthen why did you say "no not at all" when I asked if you were running this as the same user as which you generated the key?17:52
cjwatsonI'm afraid I'm very confused about your arrangements17:52
darkblue_bI am not enthusiastic about repeated requirements on me as a human, to do contribution work17:52
darkblue_bmaybe I am a human and not a cog17:53
cjwatsonlook, you're asking me for help, I'm very happy to give it despite it being a Sunday evening, but I just don't understand your setup17:53
darkblue_bok - thats fair, I am happy to explain it17:53
darkblue_bI am asking for help and I aprpeciate your time17:53
cjwatsonat the moment there's no evidence that you generated a key pair on that VM, or at least not as the same user, since in that case "gpg --list-secret-keys" would have listed it17:53
darkblue_bthere is only one user on the VM, called user17:54
cjwatsonwould it perhaps be easier for you to do the signing remotely (from the perspective of the VM)?  perhaps you can SSH into the VM, for instance?17:54
darkblue_bI did generate a key pair, for this exercise, on the VM17:54
cjwatsonor SSH out of the VM to a location where your normal key is stored?17:54
darkblue_bI am open to suggestions.. something isnt working17:54
darkblue_bI dont have a normal key on the Launchpad system17:55
darkblue_b.. this is one of the few time I have tried to do this..17:55
cjwatsonit is not really usual to need to generate a separate key pair for the VM - you *can* do that sort of thing but that is a choice on your part that makes things more complicated17:55
cjwatsonhttps://launchpad.net/~screenlight shows a normal key, with the short ID B0A9785A17:55
cjwatsondo you have that either somewhere where you can SSH to the VM, or somewhere that you can SSH to from the VM?17:56
darkblue_byou mean the "Open PGP Keys" ?17:56
cjwatsonyes17:56
darkblue_b.. looking17:56
cjwatsonOpenPGP is a standard; gpg is an implementation of it17:57
darkblue_boh ok17:57
darkblue_bthat key is from 201317:58
darkblue_b.. I may have to boot an older system17:58
cjwatsonthat may be the easiest way (and then you can copy ~/.gnupg to somewhere more convenient).  failing that, perhaps tell me as exactly as you can what you did to generate the key pair on the VM18:00
cjwatsonthe good news is you should only have to work through this once!18:01
darkblue_bI can tell you what I did yesterday far better than the 2013 actions18:01
cjwatsonso the reason I ask about SSH is that there are variants of debsign that will let you run it with a key on a different system from the package you're trying to sign18:02
cjwatsonwhich is what I'd do if I were building source packages in a VM (I don't, but it's certainly conceivable)18:02
darkblue_bas far as I recall, I tried to build something in 2013 and gave up.. and the host system is now turned off, although I very likely do have it18:02
darkblue_bI will try to read what you just said carefully18:03
cjwatsonif you don't have the key handy, you can certainly generate a fresh one and upload that to Launchpad, but from all the information available to me so far I think something must have gone wrong in your attempt to do so18:03
cjwatsonI would still tend to suggest keeping keys somewhere less ephemeral than a VM18:04
darkblue_byesterday I spent more than four hours building two pacakges, along with a mentor.. in the course of doing so, I made an RSA  key pair too18:04
darkblue_bI uploaded the public portion of that pair to Launchpad, with the super-easy paste box18:05
darkblue_byou can see it as user@live1018:05
cjwatsonaha18:05
cjwatsonnow I understand your error18:05
cjwatsonthat is an SSH key, not a GPG key18:05
cjwatsonthey are completely different things18:05
darkblue_bI had no idea18:05
darkblue_bnew to me18:05
cjwatsonfollow https://help.launchpad.net/YourAccount/ImportingYourPGPKey18:06
darkblue_bok reading.. biab.. thx18:06
cjwatsonSSH keys are used for connecting to a remote system via the secure shell protocol; from Launchpad's perspective, this is mainly used for pushing code to our Bazaar or Git code hosting; you can also use it for uploading packages as a substitute for anonymous FTP, but it's just a transport in that case18:08
cjwatsonGPG keys are used for general-purpose signing and encryption; from Launchpad's perspective, you use them to sign packages to authenticate that they came from you18:09
cjwatsonpossibly in an ideal world it would be possible for them to be the same key, but there are some cryptographic advantages to them being separate and anyway we're constrained by the behaviour of the lower-level tools we depend on18:09
* cjwatson -> dinner18:25
=== JanC is now known as Guest5182
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!