OPENSSL-SRP(1ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

openssl-srp β€” bestie's whole job is keeping that SRP password file alive and thriving ✨

So like, this is the openssl subcommand for maintaining an SRP password file, and yes it's the 1ossl flavor of the manual. Ok let's get into it πŸŽ€


🌸 SYNOPSIS 🌸

openssl srp [-help] [-verbose] [-add] [-modify] [-delete] [-list] [-name
section] [-srpvfile file] [-gn identifier] [-userinfo text] [-passin
arg] [-passout arg] [-engine id] [-rand files] [-writerand file]
[-provider name] [-provider-path path] [-provparam [name:]key=value]
[-propquery propq] [-config configfile] [user ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so first thing, and I need you to hear me on this one: this command is deprecated. Not like "dated" deprecated, like actually deprecated deprecated 😭. She's an icon but she's retired-ish, periodt.

What she does is maintain an SRP (secure remote password) file, which is exactly as much of a vibe as it sounds πŸ’–.

So at most one of -add, -modify, -delete, and -list can be specified β€” pick one, bestie, you can't have all four, that's not how any of this works πŸ™ˆ. These options take zero or more usernames as parameters and then perform the appropriate operation on the SRP file. And for -list, if no user is given, then all users are displayed β€” the whole roster, no filter, slay πŸ‘‘

The configuration file to use, and the section within the file, can be specified with the -config and -name flags, respectively. Respectively!! Matching order and everything 🫢


✨ OPTIONS ✨

  • -help β€” Display an option summary. A little cheat sheet, we love a summary πŸŽ€
  • -verbose β€” Generate verbose output while processing. She's gonna talk the whole time, and honestly? Let her πŸ’…
  • -add β€” Add a user and SRP verifier. New user, new verifier, new era 🌈
  • -modify β€” Modify the SRP verifier of an existing user. Glow-up for a verifier that's already on the roster ✨
  • -delete β€” Delete user from verifier file. Bye bestie, no cap πŸ’€
  • -list β€” List users. The roster reveal πŸ‘‘
  • -name β€” The particular SRP definition to use. Like, which one specifically, iykyk.
  • -srpvfile file β€” If the config file is not specified, -srpvfile can be used to specify the file to operate on. Backup plan file, love that for us πŸ“
  • -gn β€” Specifies the g and N values, using one of the strengths defined in IETF RFC 5054. (In the synopsis it's -gn identifier β€” the identifier is the whole point 🧚)
  • -userinfo β€” specifies additional information to add when adding or modifying a user. Extra little details, extra little garnish 🌸
  • -passin arg, -passout arg β€” The password source for the input and output file. For more information about the format of arg see openssl-passphrase-options(1). Passwords: in one side, out the other πŸ”₯
  • -engine id β€” See "Engine Options" in openssl(1). This option is deprecated. Yeah she's deprecated too, we already talked about this πŸ™ˆ
  • -rand files, -writerand file β€” See "Random State Options" in openssl(1) for details. Randomness, iconic behavior ⭐
  • -provider name
  • -provider-path path
  • -provparam [name:]key=value
  • -propquery propq β€” See "Provider Options" in openssl(1), provider(7), and property(7). Whole little provider ecosystem, go read up πŸ‘‘
  • -config configfile β€” See "Configuration Option" in openssl(1).
[-rand files] [-writerand file]
Fr that last line is just kind of sitting there under -config in the original. Not me explaining it, just not me deleting it either 😭 keeping every crumb.

πŸ’œ HISTORY πŸ’œ

The -engine option was deprecated in OpenSSL 3.0. That's the lore 🫢


Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.


Okay that's the whole page bestie, go forth and maintain those SRP files responsibly πŸ’– This was the OPENSSL-SRP(1ossl) page, version 3.5.0, dated 2026-09-25 β€” mwah, talk later πŸŒΈπŸ¦‹πŸ’…

πŸ“¦ where this page comes from