37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<xs:schema targetNamespace="http://schema.xml.r00t2.io/linux.xsd"
|
|
xmlns="http://schema.xml.r00t2.io/bsd.xsd"
|
|
xmlns:bsd="http://schema.xml.r00t2.io/bsd.xsd"
|
|
xmlns:linux="http://schema.xml.r00t2.io/linux.xsd"
|
|
xmlns:std="http://schema.xml.r00t2.io/std.xsd"
|
|
xmlns:unix="http://schema.xml.r00t2.io/unix.xsd"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
attributeFormDefault="qualified">
|
|
|
|
<xs:simpleType name="t_passwd_hashtypes">
|
|
<xs:union memberTypes="linux:t_passwd_hashtypes">
|
|
<xs:simpleType>
|
|
<xs:restriction>
|
|
<!-- <xs:enumeration value="des"/> -->
|
|
<!-- bcrypt/blowfish are the same. -->
|
|
<xs:enumeration value="bcrypt"/>
|
|
<xs:enumeration value="blowfish"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:union>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="t_shadowhash">
|
|
<xs:union memberTypes="linux:t_shadowhash">
|
|
<xs:simpleType>
|
|
<xs:restriction>
|
|
<!-- Blowfish/bcrypt -->
|
|
<xs:pattern value="($2[abxy]?)?($[0-9]+)$[a-zA-Z0-9./]{53}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:union>
|
|
</xs:simpleType>
|
|
|
|
</xs:schema>
|