Home
last modified time | relevance | path

Searched +full:password -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 121) sorted by relevance

12345

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/
H A DPasswordProtected.php4 * Password Protected Trait for Private Keys
17 * Password Protected Trait for Private Keys
24 * Password
28 private $password = false; variable
31 * Sets the password
33 …* Private keys can be encrypted with a password. To unset the password, pass in the empty string …
34 * Or rather, pass in $password such that empty($password) && !is_string($password) is true.
38 * @param string|bool $password
40 public function withPassword($password = false) argument
43 $new->password = $password;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DPublicKeyLoader.php34 * @param string $password optional
37 public static function load($key, $password = false) argument
40 return EC::load($key, $password);
45 return RSA::load($key, $password);
50 return DSA::load($key, $password);
72 * @param string $password optional
74 public static function loadPrivateKey($key, $password = false) argument
76 $key = self::load($key, $password);
/dokuwiki/lib/plugins/usermanager/
H A Dremote.php19 * If no password is provided, a password is auto generated. If the user can't be created
29 * @param string $password The user's password, empty for autogeneration
36 public function createUser($user, $name, $mail, $groups, $password = '', $notify = false) argument
60 if ((string)$password === '') {
62 $password = auth_pwgen($user);
64 throw new RemoteException('Could not generate password', 405);
72 $ok = (bool)$auth->triggerUserMod('create', [$user, $password, $name, $mail, $groups]);
75 auth_sendPassword($user, $password);
/dokuwiki/inc/
H A DPassHash.php8 * Password Hashing Class
19 * Verifies a cleartext password against a crypted hash
22 * then the clear text password is crypted using the same method. If both hashs
28 * @param string $clear Clear-Text password
40 // This may be an updated password from user_update_7000(). Such hashes
164 // Password hashing methods follow below
167 * Password hashing method 'smd5'
181 * @return string Hashed password
196 * Password hashing method 'lsmd5'
204 * @return string Hashed password
[all …]
H A Dauth.php83 // Populate Basic Auth user/password from Authorization header
116 'password' => $INPUT->str('p'),
260 $evdata['password'],
270 * a new login is assumed and user/password are checked. If they
271 * are correct the password is encrypted with blowfish and stored
277 * crypted password and browserID match between session and cookie
281 * blowfish encrypted password from the cookie is decrypted and
288 * @param string $pass Cleartext Password
390 * Creates a random key to encrypt the password in cookies
392 * This function tries to read the password for encrypting
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DMontgomeryPrivate.php46 * @param string $password optional
49 public static function load($key, $password = '') argument
90 * @param string $password optional
93 …y(BigInteger $privateKey, MontgomeryCurve $curve, array $publicKey, $secret = null, $password = '') argument
95 if (!empty($password) && is_string($password)) {
H A Dlibsodium.php43 * @param string $password optional
46 public static function load($key, $password = '') argument
100 * @param string $password optional
103 …rivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $secret = null, $password = '') argument
111 if (!empty($password) && is_string($password)) {
H A DPuTTY.php54 * @param string $password optional
57 public static function load($key, $password = '') argument
59 $components = parent::load($key, $password);
91 * @param string $password optional
95 …teger $privateKey, BaseCurve $curve, array $publicKey, $secret = null, $password = false, array $o… argument
118 return self::wrapPrivateKey($public, $private, $name, $password, $options);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPuTTY.php71 * @param string $password
75 private static function generateV2Key($password, $length) argument
80 $temp = pack('Na*', $sequence++, $password);
89 * @param string $password
96 private static function generateV3Key($password, $flavour, $memory, $passes, $salt) argument
99 … throw new \RuntimeException('sodium_crypto_pwhash needs to exist for Argon2 password hasing');
114 $temp = sodium_crypto_pwhash($length, $password, $salt, $passes, $memory << 10, $flavour);
127 * @param string $password
130 public static function load($key, $password) argument
230 $v3key = self::generateV3Key($password, $flavour, $memory, $passes, $salt);
[all …]
H A DPKCS1.php95 * @param string $password
100 private static function generateSymmetricKey($password, $iv, $length) argument
105 $symkey .= md5($symkey . $password . $iv, true);
114 * @param string $password optional
117 protected static function load($key, $password) argument
147 … $crypto->setKey(self::generateSymmetricKey($password, $iv, $crypto->getKeyLength() >> 3));
169 * @param string $password
173 protected static function wrapPrivateKey($key, $type, $password, array $options = []) argument
175 if (empty($password) || !is_string($password)) {
185 $cipher->setKey(self::generateSymmetricKey($password, $iv, $cipher->getKeyLength() >> 3));
H A DOpenSSH.php60 * @param string $password
63 public static function load($key, $password = '') argument
97 $crypto->setPassword($password, 'bcrypt', $salt, $rounds, 32);
112 …row new BadDecryptionException('Unable to decrypt key - please verify the password you are using');
180 * @param string $password
184 protected static function wrapPrivateKey($publicKey, $privateKey, $password, $options) argument
193 $usesEncryption = !empty($password) && is_string($password);
214 $crypto->setPassword($password, 'bcrypt', $salt, $rounds, 32);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DPKCS8.php64 * @param string $password optional
67 public static function load($key, $password = '') argument
69 $key = parent::load($key, $password);
97 * @param string $password optional
101 …, BigInteger $d, array $primes, array $exponents, array $coefficients, $password = '', array $opti… argument
105 return self::wrapPrivateKey($key, [], null, $password, null, '', $options);
H A DPuTTY.php45 * @param string $password optional
48 public static function load($key, $password = '') argument
55 $components = parent::load($key, $password);
97 * @param string $password optional
101 …, BigInteger $d, array $primes, array $exponents, array $coefficients, $password = '', array $opti… argument
110 return self::wrapPrivateKey($public, $private, 'ssh-rsa', $password, $options);
H A DOpenSSH.php40 * @param string $password optional
43 public static function load($key, $password = '') argument
50 $parsed = parent::load($key, $password);
121 * @param string $password optional
125 …, BigInteger $d, array $primes, array $exponents, array $coefficients, $password = '', array $opti… argument
130 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DPuTTY.php50 * @param string $password optional
53 public static function load($key, $password = '') argument
55 $components = parent::load($key, $password);
79 * @param string $password optional
83 …nteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, $password = false, array $o… argument
92 return self::wrapPrivateKey($public, $private, 'ssh-dss', $password, $options);
H A DOpenSSH.php40 * @param string $password optional
43 public static function load($key, $password = '') argument
45 $parsed = parent::load($key, $password);
107 * @param string $password optional
111 …nteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, $password = '', array $opti… argument
116 return self::wrapPrivateKey($publicKey, $privateKey, $password, $options);
H A DPKCS8.php63 * @param string $password optional
66 public static function load($key, $password = '') argument
68 $key = parent::load($key, $password);
107 * @param string $password optional
111 …nteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, $password = '', array $opti… argument
121 return self::wrapPrivateKey($key, [], $params, $password, null, '', $options);
H A DRaw.php31 * @param string $password optional
34 public static function load($key, $password = '') argument
64 * @param string $password optional
67 …ivateKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, $password = '') argument
H A DPKCS1.php47 * @param string $password optional
50 public static function load($key, $password = '') argument
52 $key = parent::load($key, $password);
120 * @param string $password optional
124 …nteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, $password = '', array $opti… argument
137 return self::wrapPrivateKey($key, 'DSA', $password, $options);
/dokuwiki/inc/Action/
H A DResendpwd.php14 * Handle password recovery
54 * Send a new password
56 * This function handles both phases of the password reset:
58 * - handling the first request of password reset
59 * - validating the password reset auth token
106 if (!$conf['autopasswd']) { // we let the user choose a password
109 // password given correctly?
121 } else { // autogenerate the password and send by mail
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/
H A DPKCS8.php59 * @param string $password optional
62 public static function load($key, $password = '') argument
64 $key = parent::load($key, $password);
96 * @param string $password optional
100 …rime, BigInteger $base, BigInteger $privateKey, BigInteger $publicKey, $password = '', array $opti… argument
109 return self::wrapPrivateKey($key, [], $params, $password, null, '', $options);
/dokuwiki/lib/plugins/authpdo/_test/mysql/
H A Dfluxbb.php14 password AS hash,
31 (group_id, username, password, email)
67 SET password = :hash
95 'pass' => 'password',
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php61 * @param string $password A user's AD password
65 public function authenticate($username, $password, $preventRebind = false) { argument
66 return $this->adldap->authenticate($username, $password, $preventRebind);
72 * If you specify a password here, this can only be performed over SSL
87 …if (array_key_exists("password",$attributes) && (!$this->adldap->getUseSSL() && !$this->adldap->ge…
315 * Determine a user's password expiry date
333 // Password does not expire
337 // Password has already expired
338 return "Password has expired";
341 // Password expiry in AD can be calculated from TWO values:
[all …]
/dokuwiki/_test/tests/inc/
H A Dauth_deleteprofile.test.php12 * 2. Password matches when config requires it
65 // password check required - it fails, so don't delete profile
69 $INPUT->set('oldpass','password');
70 $INPUT->post->set('oldpass','password');
139 'oldpass' => 'password',
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DPrivateKey.php27 * @param string|false $password
30 public function withPassword($password = false); argument

12345