Git::Raw::Cred(3pm)
π Git::Raw::Cred π
okay so bestie, welcome to Git::Raw::Cred(3pm) β that's the page name, it's from the User Contributed Perl Documentation section, and no, it is not boring, it's the lil holder for your creds β¨
π VERSION π
version 0.90 β yes she's got a version, she's official π
πΈ DESCRIPTION πΈ
A Git::Raw::Cred object is literally just the place where credentials live. That's the whole job. She holds them. Iconic behavior. π«Ά
β οΈ WARNING: the API of this module is unstable and may change without warning. Not me being flaky β it's documented! Any change will be appropriately documented in the changelog, so no cap, you'll know. π
β¨ METHODS β¨
π userpass( $user, $pass )
Makes a brand new credential object out of the username and password you hand her. Classic. Simple. Slays. π
π sshkey( $user, $public, $private [, $pass ] )
Builds a new credential object from an SSH public and private key file, plus optionally the password of the private key ($pass). πΈ
π¨ Heads up: if SSH support was not enabled at build-time, this method will always return undef. Like, always. Don't fight it.
π§ sshagent( $user )
Creates a new credential object whose whole personality is querying an ssh-agent. π
π¨ Same deal: if SSH support wasn't enabled at build-time, this method will always return undef. Periodt.
π¬ sshinteractive( $user, $callback )
Creates a new credential object based on interactive authentication. Here's the vibe: that $callback gets invoked when the remote-side issues a challenge. π
It receives these parameters: $name, $instruction and @prompts. And yes β any of the parameters passed to the callback may be undef. Anything can be undef. It's giving chaos but it's fine. π
Each $prompt entry inside @prompts is a hash reference that may contain:
"text"β the text for the prompt π"echo"β a parameter indicating whether the response of the challenge is safe to be echoed. So if that says no, do NOT be out here echoing it, bestie π
The callback should return a list of responses, one for each prompt. One. For. Each. Prompt. π―
π¨ And (you guessed it) if SSH support was not enabled at build-time, this method will always return undef. π
π AUTHOR π
- Alessandro Ghedini <alexbio@cpan.org>
- Jacques Germishuys <jacquesg@cpan.org>
kings, honestly. π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2012 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information. π
and that's the whole page, ty for coming to my ted talk π generared by perl v5.42.3 on 2026-08-19, and the page is Git::Raw::Cred(3pm) β go forth and authenticate responsibly, ily, bye π
β¨
π¦ where this page comes from
- ubuntu stonking: libgit-raw-perl 0.90+ds-3build3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms