BSD Ports

security/py-gnupg 3.1.1_1 DragonFly

Python wrapper for GnuPG

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
python, security
Package size
122.3 KiB, 868.3 KiB installed

Description

This module allows easy access to GnuPG's key management, encryption and signature functionality from Python programs, by interacting with GnuPG through file descriptors. Input arguments are strictly checked and sanitised, and therefore this module should be safe to use in networked applications requiring direct user input. It is intended for use with Python 2.6 or greater.

This is a fork of python-gnupg-0.3.2, patched to fix a potential vulnerability which could result in remote code execution, do to unsanitised inputs being passed to subprocess.Popen([...], shell=True).

In the other systems

SystemPortVersion
DragonFlysecurity/py-gnupg3.1.1_1
FreeBSDsecurity/py-gnupg3.1.1_1
OpenBSDsecurity/py-gnupg0.5.7
NetBSDsecurity/py-gnupg0.5.6nb1
HardenedBSDsecurity/py-gnupg3.1.1_1
GhostBSDsecurity/py-gnupg3.1.1_1

Install

Binary package:

pkg install py311-gnupg

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To import this module, use

>>> import pretty_bad_protocol