BSD Ports

security/py-muacrypt 0.9.1_1 DragonFly

Support tool and API for Autocrypt mail agents

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
mail, python, security
Package size
128.5 KiB, 836.3 KiB installed

Description

muacrypt is a support tool for implementing Autocrypt Level 1 compliant mail agents.

Autocrypt state is kept in one or more accounts which process and produce autocrypt headers from respective incoming and outgoing e-mail. Each account is tied to a set of e-mail addresses, specified as a regular expression.

Functionality is exposed through a command line tool muacrypt and a Python API obtained through import muacrypt.

In the other systems

SystemPortVersion
DragonFlysecurity/py-muacrypt0.9.1_1
FreeBSDsecurity/py-muacrypt0.9.1_1

Install

Binary package:

pkg install py311-muacrypt

From DPorts:

cd /usr/dports/security/py-muacrypt && make install clean

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Should you installed the py36 flavor of this package and are presented to
the following error:

  RuntimeError: Click will abort further execution because Python 3 was
  configured to use ASCII as encoding for the environment. Either switch
  to Python 2 or consult the Python 3 section of the docs for
  mitigation steps.

It's an issue related to Click, not muacrypt. You can workaround that by
exporting LC_ALL and LANG variables, using your locale settings and
running muacrypt again:

  # setenv LC_ALL en_US.UTF-8
  # setenv LANG en_US.UTF-8
  # muacrypt

Read https://click.palletsprojects.com/en/7.x/python3/ for more details.