BSD Ports

security/cy2-saml 1.11nb20 NetBSD

Crude SAML assertion validator for bridging WebSSO and SASL

System
NetBSD
Repository
pkgsrc
Last update
Commit
7b5a3977f9
Categories
security
Package size
19.3 KiB, 72.3 KiB installed

Description

SASL is a method for adding authentication support to connection-based protocols. To use SASL, a protocol includes a command for identifying and authenticating a user to a server and for optionally negotiating protection of subsequent protocol interactions. If its use is negotiated, a security layer is inserted between the protocol and the connection.

This package contains a SASL plugin that perform a crude check on a SAML authentication assertion. The assertion signature and date are verified, and access is granted on behalf ot the user taked for a onfigurable attribute.

The only protection against replay attacks is the assertion validity dates checks, this authentication is therefore secure only if the SAML authentication assertion remains secret. The assertion has the same role as a web cookie used for authentication.

Here is a PHP example of LDAP binding using www/ap2-auth-mellon: $saml_msg = $_SERVER["MELLON_SAML_RESPONSE"]; $userid = $_SERVER["REMOTE_USER"]; if (ldap_sasl_bind($ds, NULL, $saml_msg, "SAML", NULL, $userid, NULL, "none") == FALSE) { printf("ldap_sasl_bind() failed: %s", ldap_error($ds)); exit; }

Install

Binary package:

pkgin install cy2-saml

From pkgsrc:

cd /usr/pkgsrc/security/cy2-saml && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.11nb20
NetBSD 10.1 aarch641.11nb19
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

Run dependencies 3

No port depends on this one.

Commit history 3

DateCommitCreditsLog message
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
5e4aea17e2 wiz *: recursive bump for pcre2 10.48