DO NOT MERGE: PAM module and OTP

This is related to gitlab-org/gitlab#212305

This is a spike that creates a Golang PAM module and tries to separates the Clang (unsafe) and Golang space. It also assumes only one OTP right now and one user, the GitLab API integration

This MR also includes an authenticate on Golang as possible entry point !1 (diffs) that can be used to call GitLab internal api to check for user need of MFA and ask query the the api with the given OTP by the user.

Screenshot_2020-04-24_at_15.07.48

Small video showing the CLI working with the PAM https://www.loom.com/share/c46074bb2bca46b3bf46fc3373c7506f

Edited by Sebastián Arcila Valenzuela

Merge request reports

Loading