35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
attributeFormDefault="unqualified">
|
|
|
|
<xs:include schemaLocation="./linux.xsd"/>
|
|
<xs:include schemaLocation="./std.xsd"/>
|
|
<xs:include schemaLocation="./unix.xsd"/>
|
|
|
|
<xs:simpleType name="t_bsd_passwd_hashtypes">
|
|
<xs:union memberTypes="t_linux_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_bsd_shadowhash">
|
|
<xs:union memberTypes="t_linux_shadowhash">
|
|
<xs:simpleType>
|
|
<xs:restriction>
|
|
<!-- Blowfish/bcrypt -->
|
|
<xs:pattern value="\s*($2[abxy]?)?($[0-9]+)$[a-zA-Z0-9./]{53}\s*"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:union>
|
|
</xs:simpleType>
|
|
|
|
</xs:schema>
|