BSD Ports

security/rubygem-securecompare 1.0.0 DragonFly

Constant time string comparison

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
rubygems, security
Package size
4.4 KiB, 9.6 KiB installed

Description

securecompare borrows the secure_compare private method from ActiveSupport::MessageVerifier which lets you do safely compare strings without being vulnerable to timing attacks. Useful for Basic HTTP Authentication in your rack/rails application.

In the other systems

SystemPortVersion
DragonFlysecurity/rubygem-securecompare1.0.0
FreeBSDsecurity/rubygem-securecompare1.0.0

Install

Binary package:

pkg install rubygem-securecompare

From DPorts:

cd /usr/dports/security/rubygem-securecompare && make install clean

Dependencies

Run dependencies 2

No port depends on this one.