Lemonld...Lib::Key(3)

πŸ“¦
version 2.23.4 Β· 6 versions
, in fedora 43, fedora 44

✨ NAME ✨

Lemonldap::NG::Portal::Lib::Key β€” bestie, it's a role for private key management in Portal plugins πŸ’… (this page lives in the User Contributed Perl Documentation section of the manual, section 3, and yes, she's iconic)


🌸 SYNOPSIS 🌸

use Mouse;

with 'Lemonldap::NG::Portal::Lib::Key';

That's it. That's the whole vibe. You pull the role in with Mouse and with, and suddenly your module has ✨key powers✨.


πŸŽ€ DESCRIPTION πŸŽ€

okay so, this role is literally meant to be composed into portal modules 🫢. The whole point is giving those modules the ability to go look up private and public keys from the General parameters > Keys interface.

And the rule, the one non-negotiable, no-cap rule: all asymmetric key retrieval should be performed through the functions provided here. Not some random other way. Through here. Periodt. πŸ‘‘


πŸ’– METHODS πŸ’–

πŸ”‘ get_private_key

This method returns a private key structure containing the following fields:

  • private β€” PEM private key πŸ”
  • password β€” optional password for key decryption (she's shy, only shows up if needed) πŸ™ˆ
  • public β€” PEM public key or certificate πŸ“œ
  • external_id β€” optional external key identified (kid)

Like, four fields, all of them useful, all of them exactly what you asked for. Slay. πŸ’…


πŸ’œ AUTHORS πŸ’œ

LemonLDAP::NG team <http://lemonldap-ng.org/team> β€” the actual geniuses behind all of this 🌈


πŸ¦‹ BUG REPORT πŸ¦‹

Found a bug? Need a feature? Use the OW2 system, bestie, that's what it's there for:

<https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>


πŸ“ DOWNLOAD πŸ“

Lemonldap::NG is available at <https://lemonldap-ng.org/download> β€” go get her ⭐


See COPYING file for details.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

fr fr, that warranty disclaimer is not a joke β€” there is literally no warranty. read it and respect it. πŸ’€

and that's the whole page, bestie!! this one came from perl v5.42.3, dated 2026-09-24, and it's filed under Lemonld...Lib::Key(3) β€” mwah, go forth and manage those keys responsibly πŸ§šπŸ’–

πŸ“¦ where this page comes from