Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Doesn't work with pam-python 1.0.7 #17

@moschlar

Description

@moschlar

Due to a security fix in pam-python 1.0.7 (https://nvd.nist.gov/vuln/detail/CVE-2019-16729), the Python interpreter can't find installed third-party packages anymore (like requests and the like).

This has already been discussed in the community forum: https://community.privacyidea.org/t/ssh-client-and-pam-module-on-centos-7/

A proposed fix by the author (https://sourceforge.net/p/pam-python/tickets/8/#0001/7b91/dea5/0aab/32b1/34ac/8881/b469) would be to add

import site
site.main()

But maybe there is a nicer solution...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions