=== superm1|away is now known as superm1 === foka_ is now known as foka === superm1 is now known as superm1|away [08:37] where to myself in register the driver [08:38] where to register myself in driver section & kernel === superm1|away is now known as superm1 [15:06] does anyone know how to parse an armoured public key into dsa y/p/q/g longs? [15:15] ah http://www.pgpdump.net [15:16] nextq how do I parse an armoured signature? pycrypt takes a list of 2 longs... [15:18] http://www.pgpdump.net helps but this part I need to replicate in python [15:39] Fedora has a python-gpg: it may be something that could be added to Ubuntu (or we may have it under a different name) [15:40] peria I am trying to cut down the size of wubi in python and in particular avoiding gpg/gpgv binaries and using python modules since I only need signature checking given an hardocded pubkey [15:40] cdimage key [15:41] I found I can use pycrypt to do that, but I will need to parse the signature file [15:42] as for the key I can use pgpdump and hardcode the numbers as opposed to using a keyring [15:44] xivulon: This is the point at which I should say "I have no idea about GPG internals, nor am I particularly goof with python" :) Google tells me there are a few interfaces, but I don't know if they all depend on gpg binaries. [15:52] pgpdump.exe is 96K which is an improvement over gpg/gpgv but still largish [15:52] I guess I can live with that for the time being === superm1 is now known as superm1|away === superm1|away is now known as superm1 [20:02] I need to run a script as a part of my preseed file, to dynamically change the contents of the preseed. My question is, where do I put the script so that it ends up as part of the CD and is accessible to the preseed file ? [20:42] udit99, ideally you need to do an early command for that i believe [20:42] udit99, and you wouldn't modify the preseed, but likely just toggle some other stuff in debconf [20:42] the preseed is read as one of the very early actions in boot [20:56] so the way i thought it works is that I have an if statement in my preseed file which executes a script and depending on the output, echos 1 of 2 possible cfg files [20:57] so I started with this : [20:58] d-i preseed/include_command string [20:58] if [ "true" = "true" ]; then echo option1.cfg; [20:58] else echo option2.cfg; fi [20:59] Turns out, that its not even including the cfg files on the ISO for now... am trying to figure out how to get the files included [21:38] any idea how to get a .cfg file inot the iso as a part of the preseeds ?