BSD Ports

devel/py-dodgy 0.2.1_1 DragonFly

Search for dodgy looking lines in Python code

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
10.0 KiB, 29.4 KiB installed

Description

Dodgy is a very basic tool to run against your codebase to search for "dodgy" looking values. It is a series of simple regular expressions designed to detect things such as accidental SCM diff checkins, or passwords or secret keys hard coded into files.

While this is primarily aimed at open source projects (for whom a publicly available secret key is pretty dangerous), it can also be used in private projects, with the caveat that it will point out things which are not a problem for private projects and is not configurable enough currently to change that.

Another note - this tool is probably best run pre-commit, since it will hopefully prevent dodgy things being checked in. To automatically execute before a commit use a git pre-commit hook.

In the other systems

The newest version among them is 0.2.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-dodgy0.2.1_1 newestnone known-[email protected]-
FreeBSDdevel/py-dodgy0.2.1_1 newestnone known-[email protected]-
HardenedBSDdevel/py-dodgy0.2.1_1 newestno data-[email protected]-
GhostBSDdevel/py-dodgy0.2.1_1 newestno data-[email protected]-

Install

Binary package:

pkg install py311-dodgy

From DPorts:

cd /usr/dports/devel/py-dodgy && make install clean

Dependencies

Run dependencies 1
Required by 1