[Pkg-auth-maintainers] Bug#836385: Bug#836385: yubikey-personalization: Please announce supported hardware using appstream

Simon Josefsson simon at josefsson.org
Wed Sep 7 14:01:04 UTC 2016


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 <id> and <name> 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.

<?xml version="1.0" encoding="UTF-8"?>
<component>
  <id>yubikey-personalization</id>
  <metadata_license>MIT</metadata_license>
  <name>yubikey-personalization</name>
  <summary>Personalize YubiKey OTP functionality</summary>
  <description>
    <p>
      YubiKey Personalization allows you to configure the
      OTP-functionality of the YubiKey security hardware.
    </p>
  </description>
  <provides>
    <modalias>usb:v1050p0010d*</modalias>
    <modalias>usb:v1050p0011d*</modalias>
    <modalias>usb:v1050p0014d*</modalias>
    <modalias>usb:v1050p0016d*</modalias>
    <modalias>usb:v1050p0401d*</modalias>
    <modalias>usb:v1050p0403d*</modalias>
    <modalias>usb:v1050p0405d*</modalias>
    <modalias>usb:v1050p0407d*</modalias>
    <modalias>usb:v1050p0410d*</modalias>
  </provides>
</component>

/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, 
> <URL:
> 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:
> 
>   <?xml version="1.0" encoding="UTF-8"?>
>   <component>
>    [...]
>    <provides>
>       <modalias>usb:v1050p0010d*</modalias>
>     </provides>
>   </component>
> 
> If there are other USB ids also supposed by the package, please add
> those too. :)
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signatur
URL: <http://lists.alioth.debian.org/pipermail/pkg-auth-maintainers/attachments/20160907/53de41c1/attachment.sig>


More information about the Pkg-auth-maintainers mailing list