aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/password.yml
blob: cb45ec3d4286a6d418fdc575a99b2d38a381b518 (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
services:
# ----- Password management -----
    passwords.manager:
        class: phpbb\passwords\manager
        arguments:
            - @config
            - @passwords.driver_collection
            - @passwords.helper
            - %passwords.algorithms%

    passwords.helper:
        class: phpbb\passwords\helper

    passwords.driver_helper:
        class: phpbb\passwords\driver\helper
        arguments:
            - @config

# ----- Password's drivers -----
    passwords.driver_collection:
        class: phpbb\di\service_collection
        arguments:
            - @service_container
        tags:
            - { name: service_collection, tag: passwords.driver }

    passwords.driver.bcrypt:
        class: phpbb\passwords\driver\bcrypt
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.bcrypt_2y:
        class: phpbb\passwords\driver\bcrypt_2y
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.bcrypt_wcf2:
        class: phpbb\passwords\driver\bcrypt_wcf2
        arguments:
            - @passwords.driver.bcrypt
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.salted_md5:
        class: phpbb\passwords\driver\salted_md5
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.phpass:
        class: phpbb\passwords\driver\phpass
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.convert_password:
        class: phpbb\passwords\driver\convert_password
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.sha1_smf:
        class: phpbb\passwords\driver\sha1_smf
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.sha1_wcf1:
        class: phpbb\passwords\driver\sha1_wcf1
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.sha1:
        class: phpbb\passwords\driver\sha1
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.md5_phpbb2:
        class: phpbb\passwords\driver\md5_phpbb2
        arguments:
            - @request
            - @passwords.driver.salted_md5
            - @passwords.driver_helper
            - %core.root_path%
            - %core.php_ext%
        tags:
            - { name: passwords.driver }

    passwords.driver.md5_mybb:
        class: phpbb\passwords\driver\md5_mybb
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.md5_vb:
        class: phpbb\passwords\driver\md5_vb
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }