On Wed, Jan 16, 2013 at 7:18 AM, Michal Marek <mmarek@xxxxxxx> wrote: > Hi, > > this makes modinfo aware of CONFIG_MODULE_SIG signed modules. The output is > like this: > > filename: /home/mmarek/kmod/testsuite/rootfs-pristine/test-modinfo/ext4-x86_64-sha256.ko > license: GPL > description: Fourth Extended Filesystem > author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others > alias: ext3 > alias: ext2 > depends: mbcache,jbd2 > intree: Y > vermagic: 3.7.0 SMP mod_unload > signer: Magrathea: Glacier signing key > sig_key: E3:C8:FC:A7:3F:B3:1D:DE:84:81:EF:38:E3:4C:DE:4B:0C:FD:1B:F9 > sig_hashalgo: sha256 > > There is no signature verification, it just allows the user to find out if > a module claims to be signed and by which key. > > David: I copied the pkey_* definitions from the kernel, I hope that this > is OK (GPL kernel vs. LGPL libkmod), as this is just description of the > format and no code. I don't think there's any problem with this since it's just the format. But I will wait his ack nonetheless. cheers Lucas De Marchi -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html