mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 07:07:03 +08:00
auth: add .eid/authorized_certificates for pam pkcs11 auth
This commit is contained in:
parent
5fb7ff0833
commit
8e3f069c6d
30
.eid/authorized_certificates
Normal file
30
.eid/authorized_certificates
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIFIDCCAwigAwIBAgIUK1zXH5UosBim7i+kIZyPGpowU9cwDQYJKoZIhvcNAQEL
|
||||||
|
BQAwgZUxCzAJBgNVBAYTAkNOMRAwDgYDVQQIDAdCRUlKSU5HMRAwDgYDVQQHDAdC
|
||||||
|
RUlKSU5HMRIwEAYDVQQKDAlEaWN0IFRlY2gxEDAOBgNVBAsMB1Jvb3QgQ0ExHjAc
|
||||||
|
BgNVBAMMFURpY3QgVGVjaCBSb290IENBIC0gMDEcMBoGCSqGSIb3DQEJARYNbWVA
|
||||||
|
YmVhcmRpYy5jbjAeFw0yMjA3MjIxNzU5MjNaFw0yNTA3MjExNzU5MjNaMEkxEjAQ
|
||||||
|
BgNVBAoMCURpY3QgVGVjaDEQMA4GA1UECAwHQkVJSklORzELMAkGA1UEBhMCQ04x
|
||||||
|
FDASBgNVBAMMC3NrMC5pYmQuaW5rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
||||||
|
CgKCAQEAlDeyFxeJ5RXFX4B3rIIpNyyAIl5VTGCT5t8g9dxFWq0MeY6nQYJPA8IJ
|
||||||
|
IH+KzzujBabyKYpzshDvMzkuhx0Kwi2VL+ckxWg5FLge3kNBJqYnBm5pPWx6o9R5
|
||||||
|
DmcWqG5KRH0FJhSmL5KeBHsVcOurDtKn174x2eB+sggCSyuWlJyn4KxPLTg8z/Nr
|
||||||
|
FP5qSY1vj6t7mpzau+eIGh8IcQiFxteN/86fKswQHint/MVaqg6vX05BuIb8xb5E
|
||||||
|
XUvPIupdc/vtD959BxnTo7UoOz+3zu/u2cj2K9IDubwe9tDpv88aj6x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rkqeOhCRsRkVPsXnGPo2QDDYdTm4EGCmg
|
||||||
|
dVZ6R452SZsrE4V+3LR011BxzEg=
|
||||||
|
-----END CERTIFICATE-----
|
|
@ -26,6 +26,8 @@ declare -a HOME_SYMLINKS_SRC
|
||||||
declare -a HOME_SYMLINKS_DST
|
declare -a HOME_SYMLINKS_DST
|
||||||
HOME_SYMLINKS_SRC[0]=".ssh/authorized_keys2"
|
HOME_SYMLINKS_SRC[0]=".ssh/authorized_keys2"
|
||||||
HOME_SYMLINKS_DST[0]=".ssh/authorized_keys2"
|
HOME_SYMLINKS_DST[0]=".ssh/authorized_keys2"
|
||||||
|
HOME_SYMLINKS_SRC[1]=".eid/authorized_certificates"
|
||||||
|
HOME_SYMLINKS_DST[1]=".eid/authorized_certificates"
|
||||||
|
|
||||||
install_dependencies()
|
install_dependencies()
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,6 +13,7 @@ l
|
||||||
pwd
|
pwd
|
||||||
test -f .zshrc2
|
test -f .zshrc2
|
||||||
diff -q ./.ssh/authorized_keys2 ~/.ssh/authorized_keys2
|
diff -q ./.ssh/authorized_keys2 ~/.ssh/authorized_keys2
|
||||||
|
diff -q ./.eid/authorized_certificates ~/.eid/authorized_certificates
|
||||||
grep -q ".zshrc2" ~/.zshrc
|
grep -q ".zshrc2" ~/.zshrc
|
||||||
|
|
||||||
# check scripts and functions
|
# check scripts and functions
|
||||||
|
|
Loading…
Reference in New Issue
Block a user