├── .env.sample ├── .gitignore ├── .goreleaser.yaml ├── AUTHORS.rst ├── ChangeLog.md ├── LICENSE ├── NOTICE ├── README.md ├── cmd ├── root.go └── serve │ └── serve.go ├── container ├── Dockerfile.client ├── Dockerfile.ipa ├── init-data ├── init-ipa-server-install-options ├── ipa-client-enroll ├── ipa-client-enroll.service ├── ipa-precreate-hosts ├── ipa-precreate-hosts.service ├── populate-data-volume ├── populate-data-volume.service └── volume-data-list ├── docker-compose.yml ├── docs ├── mokey-logo.png ├── mokey-screenshot-home.png └── mokey-screenshot-login.png ├── examples └── mokey-oidc │ ├── .gitignore │ ├── main.go │ └── mokey-oidc.conf.sample ├── go.mod ├── go.sum ├── main.go ├── mokey.toml.sample ├── scripts └── nfpm │ ├── mokey.env │ ├── mokey.service │ ├── mokey.toml.default │ └── postinstall.sh └── server ├── account.go ├── auth.go ├── captcha.go ├── const.go ├── csrf.go ├── email.go ├── hydra.go ├── metrics.go ├── middleware.go ├── otp.go ├── password.go ├── password_test.go ├── qrcode.go ├── router.go ├── security.go ├── server.go ├── session.go ├── sshpubkey.go ├── template.go ├── templates ├── 401.html ├── 403-partial.html ├── 403.html ├── 404-partial.html ├── 404.html ├── 500-partial.html ├── 500.html ├── account-verify-forgot-success.html ├── account-verify-forgot.html ├── account.html ├── email │ ├── account-updated.html │ ├── account-updated.txt │ ├── account-verify.html │ ├── account-verify.txt │ ├── password-reset.html │ ├── password-reset.txt │ ├── welcome.html │ └── welcome.txt ├── footer.html ├── header.html ├── index.html ├── login-form.html ├── login-password-expired.html ├── login.html ├── otptoken-list.html ├── otptoken-new.html ├── otptoken-scan.html ├── partials │ └── otp.html ├── password-forgot-success.html ├── password-forgot.html ├── password-reset-success.html ├── password-reset.html ├── password.html ├── security.html ├── signup-success.html ├── signup.html ├── sshkey-list.html ├── sshkey-new.html ├── static │ ├── css │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── fontawesome.all.min.css │ │ ├── fonts.css │ │ ├── style.css │ │ └── sweetalert2.min.css │ ├── images │ │ ├── android-chrome-192x192.png │ │ ├── android-chrome-512x512.png │ │ ├── apple-touch-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon.ico │ │ ├── scan-qr-code.png │ │ └── user-circle.png │ ├── js │ │ ├── bootstrap.bundle.min.js │ │ ├── bootstrap.bundle.min.js.map │ │ ├── htmx.min.js │ │ ├── hyperscript.min.js │ │ ├── site.js │ │ └── sweetalert2.min.js │ ├── manifest.json │ └── webfonts │ │ ├── fa-brands-400.ttf │ │ ├── fa-brands-400.woff2 │ │ ├── fa-regular-400.ttf │ │ ├── fa-regular-400.woff2 │ │ ├── fa-solid-900.ttf │ │ ├── fa-solid-900.woff2 │ │ ├── fa-v4compatibility.ttf │ │ ├── fa-v4compatibility.woff2 │ │ ├── roboto-v29-latin-300.woff │ │ ├── roboto-v29-latin-300.woff2 │ │ ├── roboto-v29-latin-300italic.woff │ │ ├── roboto-v29-latin-300italic.woff2 │ │ ├── roboto-v29-latin-500.woff │ │ ├── roboto-v29-latin-500.woff2 │ │ ├── roboto-v29-latin-500italic.woff │ │ ├── roboto-v29-latin-500italic.woff2 │ │ ├── roboto-v29-latin-700.woff │ │ ├── roboto-v29-latin-700.woff2 │ │ ├── roboto-v29-latin-700italic.woff │ │ ├── roboto-v29-latin-700italic.woff2 │ │ ├── roboto-v29-latin-italic.woff │ │ ├── roboto-v29-latin-italic.woff2 │ │ ├── roboto-v29-latin-regular.woff │ │ └── roboto-v29-latin-regular.woff2 ├── verify-account.html └── verify-success.html ├── token.go ├── token_test.go ├── usernames.go └── usernames_test.go /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/.env.sample -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/.gitignore -------------------------------------------------------------------------------- /.goreleaser.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/.goreleaser.yaml -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /ChangeLog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/ChangeLog.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/README.md -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/cmd/root.go -------------------------------------------------------------------------------- /cmd/serve/serve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/cmd/serve/serve.go -------------------------------------------------------------------------------- /container/Dockerfile.client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/Dockerfile.client -------------------------------------------------------------------------------- /container/Dockerfile.ipa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/Dockerfile.ipa -------------------------------------------------------------------------------- /container/init-data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/init-data -------------------------------------------------------------------------------- /container/init-ipa-server-install-options: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/init-ipa-server-install-options -------------------------------------------------------------------------------- /container/ipa-client-enroll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/ipa-client-enroll -------------------------------------------------------------------------------- /container/ipa-client-enroll.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/ipa-client-enroll.service -------------------------------------------------------------------------------- /container/ipa-precreate-hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/ipa-precreate-hosts -------------------------------------------------------------------------------- /container/ipa-precreate-hosts.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/ipa-precreate-hosts.service -------------------------------------------------------------------------------- /container/populate-data-volume: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/populate-data-volume -------------------------------------------------------------------------------- /container/populate-data-volume.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/populate-data-volume.service -------------------------------------------------------------------------------- /container/volume-data-list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/container/volume-data-list -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/mokey-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/docs/mokey-logo.png -------------------------------------------------------------------------------- /docs/mokey-screenshot-home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/docs/mokey-screenshot-home.png -------------------------------------------------------------------------------- /docs/mokey-screenshot-login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/docs/mokey-screenshot-login.png -------------------------------------------------------------------------------- /examples/mokey-oidc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/examples/mokey-oidc/.gitignore -------------------------------------------------------------------------------- /examples/mokey-oidc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/examples/mokey-oidc/main.go -------------------------------------------------------------------------------- /examples/mokey-oidc/mokey-oidc.conf.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/examples/mokey-oidc/mokey-oidc.conf.sample -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/main.go -------------------------------------------------------------------------------- /mokey.toml.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/mokey.toml.sample -------------------------------------------------------------------------------- /scripts/nfpm/mokey.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/scripts/nfpm/mokey.env -------------------------------------------------------------------------------- /scripts/nfpm/mokey.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/scripts/nfpm/mokey.service -------------------------------------------------------------------------------- /scripts/nfpm/mokey.toml.default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/scripts/nfpm/mokey.toml.default -------------------------------------------------------------------------------- /scripts/nfpm/postinstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/scripts/nfpm/postinstall.sh -------------------------------------------------------------------------------- /server/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/account.go -------------------------------------------------------------------------------- /server/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/auth.go -------------------------------------------------------------------------------- /server/captcha.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/captcha.go -------------------------------------------------------------------------------- /server/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/const.go -------------------------------------------------------------------------------- /server/csrf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/csrf.go -------------------------------------------------------------------------------- /server/email.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/email.go -------------------------------------------------------------------------------- /server/hydra.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/hydra.go -------------------------------------------------------------------------------- /server/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/metrics.go -------------------------------------------------------------------------------- /server/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/middleware.go -------------------------------------------------------------------------------- /server/otp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/otp.go -------------------------------------------------------------------------------- /server/password.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/password.go -------------------------------------------------------------------------------- /server/password_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/password_test.go -------------------------------------------------------------------------------- /server/qrcode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/qrcode.go -------------------------------------------------------------------------------- /server/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/router.go -------------------------------------------------------------------------------- /server/security.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/security.go -------------------------------------------------------------------------------- /server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/server.go -------------------------------------------------------------------------------- /server/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/session.go -------------------------------------------------------------------------------- /server/sshpubkey.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/sshpubkey.go -------------------------------------------------------------------------------- /server/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/template.go -------------------------------------------------------------------------------- /server/templates/401.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/401.html -------------------------------------------------------------------------------- /server/templates/403-partial.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/403-partial.html -------------------------------------------------------------------------------- /server/templates/403.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/403.html -------------------------------------------------------------------------------- /server/templates/404-partial.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/404-partial.html -------------------------------------------------------------------------------- /server/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/404.html -------------------------------------------------------------------------------- /server/templates/500-partial.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/500-partial.html -------------------------------------------------------------------------------- /server/templates/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/500.html -------------------------------------------------------------------------------- /server/templates/account-verify-forgot-success.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/account-verify-forgot-success.html -------------------------------------------------------------------------------- /server/templates/account-verify-forgot.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/account-verify-forgot.html -------------------------------------------------------------------------------- /server/templates/account.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/account.html -------------------------------------------------------------------------------- /server/templates/email/account-updated.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/account-updated.html -------------------------------------------------------------------------------- /server/templates/email/account-updated.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/account-updated.txt -------------------------------------------------------------------------------- /server/templates/email/account-verify.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/account-verify.html -------------------------------------------------------------------------------- /server/templates/email/account-verify.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/account-verify.txt -------------------------------------------------------------------------------- /server/templates/email/password-reset.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/password-reset.html -------------------------------------------------------------------------------- /server/templates/email/password-reset.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/password-reset.txt -------------------------------------------------------------------------------- /server/templates/email/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/welcome.html -------------------------------------------------------------------------------- /server/templates/email/welcome.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/email/welcome.txt -------------------------------------------------------------------------------- /server/templates/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/footer.html -------------------------------------------------------------------------------- /server/templates/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/header.html -------------------------------------------------------------------------------- /server/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/index.html -------------------------------------------------------------------------------- /server/templates/login-form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/login-form.html -------------------------------------------------------------------------------- /server/templates/login-password-expired.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/login-password-expired.html -------------------------------------------------------------------------------- /server/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/login.html -------------------------------------------------------------------------------- /server/templates/otptoken-list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/otptoken-list.html -------------------------------------------------------------------------------- /server/templates/otptoken-new.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/otptoken-new.html -------------------------------------------------------------------------------- /server/templates/otptoken-scan.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ubccr/mokey/HEAD/server/templates/otptoken-scan.html -------------------------------------------------------------------------------- /server/templates/partials/otp.html: -------------------------------------------------------------------------------- 1 |