Replicator
Replicating PECL releases as pharext packages since 2015

Fork me on GitHub

mysqlnd_krb

Kerberos authentication plugin for mysqlnd
License: PHP
View at PECL

The mysqlnd_krb extension is an authentication plugin for mysqlnd that enables connections to MySQL accounts that use Kerberos authentication.

If a MySQL account is configured with Kerberos authentication (using IDENTIFIED WITH kerberos_authentication clause of CREATE USER, see [1]) then normally mysqlnd will not be able to connect to such an account. With this plugin such connections are possible provided that user has appropriate tickets loaded into the Kerberos ticket cache (in this case no password is needed in the connection data).

If a ticket for the MySQL service is not present in the cache the plugin can fetch the required ticket from Kerberos provided that user principal’s password is given in the connection data.

[1] https://dev.mysql.com/doc/refman/8.0/en/kerberos-pluggable-authentication.html

Package Signatures Date Pharext
mysqlnd_krb 1.0.0 ⤋ phar (138.3 KB)
rsa.sig gpg.asc 2023-08-01 v4.1.4
⤋ phar.gz (36.7 KB)
rsa.sig gpg.asc 2023-08-01 v4.1.4
⤋ phar.bz2 (31.0 KB)
rsa.sig gpg.asc 2023-08-01 v4.1.4

Download latest version and signatures:


curl -sS \
     -O https://replicator.pharext.org/phars/mysqlnd_krb/mysqlnd_krb-1.0.0.ext.phar \
     -O https://replicator.pharext.org/sigs/mysqlnd_krb/mysqlnd_krb-1.0.0.ext.phar.sig \
     -O https://replicator.pharext.org/sigs/mysqlnd_krb/mysqlnd_krb-1.0.0.ext.phar.asc

Verify with a public key:

RSA replicator.pub


curl -sSO https://replicator.pharext.org/replicator.pub

openssl dgst \
	-verify replicator.pub \
	-signature mysqlnd_krb-1.0.0.ext.phar.sig \
	           mysqlnd_krb-1.0.0.ext.phar
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnzsDXNox5V0V9GLcnXEu
kxnhFs9+/AMm//1qJAoNwP6sgmYShuyI3NDZzCmT7tOIcpqW0I4P8D1Psrftyqbt
spedAvyOLCLZXaOuE130aMlvfqEiO+s8ZVZL8aHLE/orLbpOexEs33a1j6shl5C6
MoojzK3uYccL4XJfj0t2nrC+XMfWE9oQGvyLZv3tNCzH4Oy7knWVVy10EKbKgPft
izCFR+0mPYw35RN3gAGrug+khnVRMRNpS7B0uZ6E29Bgsrud9l91mVbrL+DaoaSa
IFGeYuFGe2ZpHUfxf16S0w7ybPrrJJsD6cYOtwXjRZo+4ux6PdKZ+m3hnKWoj9IF
OwIDAQAB
-----END PUBLIC KEY-----

OpenPGP 4093AEF6.pub


curl -sSO https://replicator.pharext.org/4093AEF6.pub

gpg --import 4093AEF6.pub

gpg --verify mysqlnd_krb-1.0.0.ext.phar.asc \
             mysqlnd_krb-1.0.0.ext.phar
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFcBXgsBCACfOwNc2jHlXRX0YtydcS6TGeEWz378Ayb//WokCg3A/qyCZhKG
7Ijc0NnMKZPu04hympbQjg/wPU+yt+3Kpu2yl50C/I4sItldo64TXfRoyW9+oSI7
6zxlVkvxocsT+istuk57ESzfdrWPqyGXkLoyiiPMre5hxwvhcl+PS3aesL5cx9YT
2hAa/Itm/e00LMfg7LuSdZVXLXQQpsqA9+2LMIVH7SY9jDflE3eAAau6D6SGdVEx
E2lLsHS5noTb0GCyu532X3WZVusv4NqhpJogUZ5i4UZ7ZmkdR/F/XpLTDvJs+usk
mwPpxg63BeNFmj7i7Ho90pn6beGcpaiP0gU7ABEBAAG0K1BIQVJleHQgUmVwbGlj
YXRvciA8cmVwbGljYXRvckBwaGFyZXh0Lm9yZz6JATcEEwEKACEFAlcBXgsCGwMF
CwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQZJhrlUCTrvbYGAgAi120YHruidld
uPTUS05/ZLoSn3orKkmkskOsjBrUqJvQHx1s8mqJpNJdbIrgPIxQPHauiE6Fj72q
uv6TsVRxM+7VjiCHTbHmDheP5Zcyac7Nd/e62DsCYP7LAAx7MHbQvki6XQg4EsQZ
cXMKRYuuizJxNGVUeZpusY5WXmc5PRIigsI4eh/2l96IK/eqTDSZiDUwv9ze+HMf
JxOunBZVebYUQ3RYEWx1NseInxbiAnEdGM7phZH43jkohxPLROr3nWBmrJbBqULn
m6M5fRucJoldU8VIzMdy0xxu+3PuX8aug96njK448r53wjb7yRf6WLonwjlFqTWq
0tZzZR3Ndw==
=avra
-----END PGP PUBLIC KEY BLOCK-----