blob: 0db5bc5df7f986413e86764432e54a0b3b773469 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.8.0" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>xpass</name>
<channel>pecl.php.net</channel>
<summary>Extended password extension</summary>
<description>
This extension provides password hashing algorithms used by Linux
distributions, using extended crypt library (libxcrypt):
* sha512 provided for legacy as used on some old distributions
* yescrypt used on modern distributions
* sm3crypt
* sm3yescrypt
It also provides additional functions from libxcrypt missing in core PHP:
* crypt_preferred_method
* crypt_gensalt
* crypt_checksalt
See PHP documentation on https://www.php.net/xpass
</description>
<lead>
<name>Remi Collet</name>
<user>remi</user>
<email>remi@php.net</email>
<active>yes</active>
</lead>
<date>2026-01-13</date>
<version>
<release>1.2.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes><![CDATA[
- add SM3 hash algos available in libxcrypt 4.5
- add CRYPT_PREFIX_SM3CRYPT and CRYPT_PREFIX_SM3_YESCRYPT constants
- add PASSWORD_SM3CRYPT and PASSWORD_SM3_YESCRYPT constants
]]></notes>
<contents>
<dir name="/">
<!-- sources -->
<file name="config.m4" role="src"/>
<file name="php_xpass.h" role="src" />
<file name="xpass.c" role="src"/>
<file name="xpass.stub.php" role="src"/>
<file name="xpass_arginfo.h" role="src"/>
<!-- documentation -->
<file name="CREDITS" role="doc"/>
<file name="LICENSE" role="doc"/>
<file name="README.md" role="doc"/>
<file name="CHANGELOG.md" role="doc"/>
<!-- tests -->
<dir name ="tests">
<file name="crypt_checksalt.phpt" role="test"/>
<file name="crypt_gensalt.phpt" role="test"/>
<file name="crypt_gensalt2.phpt" role="test"/>
<file name="crypt_preferred_method.phpt" role="test"/>
<file name="password_compat.phpt" role="test"/>
<file name="sha512.phpt" role="test"/>
<file name="sm3crypt.phpt" role="test"/>
<file name="sm3yescrypt.phpt" role="test"/>
<file name="xpass.phpt" role="test"/>
<file name="yescrypt.phpt" role="test"/>
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>8.0.0</min>
</php>
<pearinstaller>
<min>1.10.0</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>xpass</providesextension>
<extsrcrelease/>
<changelog>
<release>
<date>2024-09-26</date>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes><![CDATA[
- add crypt_gensalt(?string $prefix = null, int $count = 0): ?string {}
- add crypt_preferred_method(): ?string {}
- add crypt_checksalt(string $salt): int {}
- add CRYPT_PREFIX_* and CRYPT_SALT_* constants
]]></notes>
</release>
<release>
<date>2024-09-09</date>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- first GA release
</notes>
</release>
<release>
<date>2024-09-02</date>
<version>
<release>1.0.0RC2</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- fix libxcrypt algorithm detection (@zeriyoshi)
</notes>
</release>
<release>
<date>2024-08-28</date>
<version>
<release>1.0.0RC1</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- first RC release
</notes>
</release>
</changelog>
</package>
|