Skip to content

Encryption on Linux

Ray Luo edited this page Apr 7, 2020 · 2 revisions

Overview

Encryption on Linux is available by using libsecret to connect to secret service running on your Linux machine.

Secret service is only available when running in a desktop environment. It won't be available when remotely connected to a Linux machine, such as via an SSH connection.

Dependency

MSAL Extensions for Python uses PyGObject to talk to libsecret. But pip install pygobject would typically fail, until you install its dependencies first. For example, on a Debian Linux, you would need:

sudo apt install libgirepository1.0-dev libcairo2-dev python3-dev gir1.2-secret-1
pip install pygobject

Please refer to installation details of PyGObject project.

Clone this wiki locally