Cipher-googlepam

Latest version: v1.7.0

Safety actively analyzes 621444 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.7.1

------------------

- Nothing changed yet.

1.7.0

------------------

- Remove all the code because it is now totally broken
(https://github.com/zopefoundation/cipher.googlepam/issues/1).

1.6.0

------------------

- Extracted a reusable helper ``cipher.googlepam.pam_google.GoogleAuth``
that you can use to implement Google authentication in applications that do
not use PAM.

1.5.1

------------------

- MemCache reliability fixes:

+ **SECURITY FIX**: do not use the same cache key for all users.

Previously when one user logged in successfully, others could not log in
using their own passwords -- but the first user could now use her password
to log in as anyone else.

+ Do not store custom classes in memcached so we don't get unpickling
errors caused by the special execution environment set up by
pam_python.so. Previously the cached value was a subclass of tuple,
now it's a plain tuple, so old caches will continue to work with the
new code.

- FileCache reliability fixes:

+ Avoid incorrect cache lookups (or invalidations) when a username is a
proper prefix of some other username.

+ Avoid cache poisoning if usernames contain embedded '::' separators or
newlines.

+ Avoid exceptions on a race condition if the cache file disappears after
we check for its existence but before we open it for reading.

- Add missing test file for multi-group support. It was accidentally left
out of the last release causing a test failure.

- Make add-google-users skip users that already exist without printing
scary error messages that make it seem the script aborted early.

1.5.0

Not secure
------------------

- Support multiple Google groups. The authenticating user has to be a member
of any one of them for access to be allowed.

- Added add-google-users new option --exclude to skip adding some users
(e.g. the 'admin' user might clash with an existing 'admin' group, causing
the script to fail).

- Added add-google-users option --add-to-group as a more meaningful alias for
the old --admin-group option.

- Added add-google-users option --add-to-group-command for completeness.

1.4.0

Not secure
------------------

- Set umask to avoid world-readable log and cache files.

- Add a space after the PAM prompt.

- The add-google-users script now reads the pam_google config file to get the
domain, username, password and group. You can also use -C/--config-file to
specify a different config file.

- add-google-users does not break if you don't specify --admin-group.

- Added Debian packaging.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.