Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
The saslprep npm package is used for preparing strings for use in Simple Authentication and Security Layer (SASL) mechanisms, particularly the SCRAM (Salted Challenge Response Authentication Mechanism) family. It implements the Stringprep protocol by providing a way to process user names and passwords before sending them over the network, ensuring that they conform to the requirements for internationalized strings as specified in RFC 4013.
String Preparation
This feature allows for the preparation of strings (e.g., user names and passwords) for use in SASL mechanisms. The code sample demonstrates how to use saslprep to process a string containing both ASCII and non-ASCII characters, making it suitable for SASL authentication mechanisms.
"use strict";
const saslprep = require('saslprep');
console.log(saslprep('I\u00ADX'));
Similar to saslprep, stringprep provides functionality for preparing Unicode strings in network protocols. However, it covers a broader set of string preparation profiles defined by the Stringprep framework, whereas saslprep specifically targets the SASLprep profile.
Stringprep Profile for User Names and Passwords, rfc4013
const saslprep = require('saslprep')
saslprep('password\u00AD') // password
saslprep('password\u0007') // Error: prohibited character
saslprep(input: String, opts: Options): String
Normalize user name or password.
Options.allowUnassigned: bool
A special behavior for unassigned code points, see https://tools.ietf.org/html/rfc4013#section-2.5. Disabled by default.
MIT, 2017 (c) Dmitriy Tsvettsikh
[1.0.1] - 2018-06-20
FAQs
SASLprep: Stringprep Profile for User Names and Passwords, rfc4013.
The npm package saslprep receives a total of 529,495 weekly downloads. As such, saslprep popularity was classified as popular.
We found that saslprep demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.