Bug#836385: [Pkg-auth-maintainers] Bug#836385: yubikey-personalization: Please announce supported hardware using appstream
[Simon Josefsson] > Thanks -- updated XML below. Petter, I also modified the . > > If nobody protest, I will add the file below as > debian/yubikey-personalization.metainfo.xml and a .install file > placing the XML file in /usr/share/appdata. Very good. Note, the AppStream maintainer have told me that /usr/share/metadata/ is the right place for the files now. No idea when that changed, but I trust him to know what he is saying, as he made the consumer for this information. I further believe the recommended filename in this directory is .metainfo.xml, ie com.yubico.yubikey.ykpers.metainfo.xml in this case. > And then see everything explode. Or not. How can we test that it > works and does something useful? Install the package, run > "isenkram-lookup" and make sure yubikey-personalization shows up? The > tool does not have a man page on my system. :-( Nothing will explode. The DEP11 database generator might complain on a web page, that is about the worst that can happen. :) The only way I know how to test it is to upload to unstable and wait a bit for the change to take effect in the AppStream (DEP11) database. Then you can run python /usr/lib/python2.7/dist-packages/isenkram/lookup.py to verify that the AppStream info is correct. The XML data seemed correct to me. -- Happy hacking Petter Reinholdtsen
Bug#836385: [Pkg-auth-maintainers] Bug#836385: yubikey-personalization: Please announce supported hardware using appstream
Klas Lindforswrites: > usb:v1050p0010d* >> usb:v1050p0011d* >> usb:v1050p0014d* >> usb:v1050p0016d* >> usb:v1050p0401d* >> usb:v1050p0403d* >> usb:v1050p0405d* >> usb:v1050p0407d* >> usb:v1050p0410d* >> > > yubikey-personalization works with 0010, 0110, 0111, 0114, 0116, 0401, > 0403, 0405, 0407 & 0410 Thanks -- updated XML below. Petter, I also modified the . If nobody protest, I will add the file below as debian/yubikey-personalization.metainfo.xml and a .install file placing the XML file in /usr/share/appdata. And then see everything explode. Or not. How can we test that it works and does something useful? Install the package, run "isenkram-lookup" and make sure yubikey-personalization shows up? The tool does not have a man page on my system. :-( /Simon com.yubico.yubikey.ykpers MIT yubikey-personalization Personalize YubiKey OTP functionality YubiKey Personalization allows you to configure the OTP-functionality of the YubiKey security hardware. usb:v1050p0010d* usb:v1050p0110d* usb:v1050p0111d* usb:v1050p0114d* usb:v1050p0116d* usb:v1050p0401d* usb:v1050p0403d* usb:v1050p0405d* usb:v1050p0407d* usb:v1050p0410d* signature.asc Description: PGP signature
Bug#836385: [Pkg-auth-maintainers] Bug#836385: yubikey-personalization: Please announce supported hardware using appstream
> Klas, does the PIDs make sense to you? > No. usb:v1050p0010d* > usb:v1050p0011d* > usb:v1050p0014d* > usb:v1050p0016d* > usb:v1050p0401d* > usb:v1050p0403d* > usb:v1050p0405d* > usb:v1050p0407d* > usb:v1050p0410d* > yubikey-personalization works with 0010, 0110, 0111, 0114, 0116, 0401, 0403, 0405, 0407 & 0410 /klas
Bug#836385: [Pkg-auth-maintainers] Bug#836385: yubikey-personalization: Please announce supported hardware using appstream
Hi Petter. This seems like cool work, I like it. So is it sufficient to add a debian/yubikey-personalization.metainfo.xml and a .install file placing the XML file in /usr/share/appdata? DEP11 is tl;dr for me. Below I'm just making XML up based on other examples. This adds the YubiKey v1/v2 OTP, OTP+CCID, OTP+U2F, OTP+U2F+CCID modes as well as the YubiKey v4 OTP, OTP+U2F, OTP+CCID, OTP+U2F+CCID, and the YubiKey+ OTP+U2F. Klas, does the PIDs make sense to you? Petter, is the XML okay? Are the and well chosen? Is the description suitable? I'm not sure if the description should be for the package or for the hardware, or both, or something else. yubikey-personalization MIT yubikey-personalization Personalize YubiKey OTP functionality YubiKey Personalization allows you to configure the OTP-functionality of the YubiKey security hardware. usb:v1050p0010d* usb:v1050p0011d* usb:v1050p0014d* usb:v1050p0016d* usb:v1050p0401d* usb:v1050p0403d* usb:v1050p0405d* usb:v1050p0407d* usb:v1050p0410d* /Simon > > Package: yubikey-personalization > Version: 1.17.3-1 > Severity: wishlist > > Hi. > > The yubikey-personalization package is one of the packages in the > Debian archive that should be installed when a given hardware dongle > is inserted or available. Thanks to the appstream system, thus can > now be announced in a way other tools can use and act on. I've > written the isenkram system to ask the current user if hardware > specific packages should be installed when a new dongle is installed, > and isenkram now uses appstream as one source for hardware to package > mappings. > > You can read more about this on my blog, > http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html > >. > > It would be great if you could add an appstream metainfo file to the > yubikey-personalization package, with content similar to this: > > > >[...] > > usb:v1050p0010d* > > > > If there are other USB ids also supposed by the package, please add > those too. :) > pgpN1gSV9WH1l.pgp Description: OpenPGP digital signatur