Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

TEST_SKEW fails if user has a .google_authenticator file #279

Closed
ThomasHabets opened this issue Oct 10, 2014 · 1 comment
Closed

TEST_SKEW fails if user has a .google_authenticator file #279

ThomasHabets opened this issue Oct 10, 2014 · 1 comment

Comments

@ThomasHabets
Copy link
Contributor

Original issue 280 created by sweharris on 2013-06-27T22:30:50.000Z:

What steps will reproduce the problem?

  1. Create a ~/.google_authenticator file
  2. make test

What is the expected output? What do you see instead?
Test fails in TEST_SKEW

This section in pam_google_authenticator_unittest.c
assert(pam_sm_open_session(NULL, 0, 1,
(const char *[]){ "noskewadj", 0 }) ==

does not contain the secret=/tmp/..... value from targv[0] and so if the user building the code has a defined authenticator then the test may fail.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant