MSVA-QUERY-AGENT(1)
π MSVA-QUERY-AGENT(1) π
okay bestie, welcome to the msva-query-agent manual page β it lives in section 1 of the User Contributed Perl Documentation, and it is literally your new best friend for talking to a Monkeysphere Validation Agent. grab a snack, we're doing this. π
β¨ NAME β¨
msva-query-agent β query a Monkeysphere Validation Agent
πΈ SYNOPSIS πΈ
msva-query-agent CONTEXT PEER PKC_TYPE [PEER_TYPE] <
/path/to/public_key_carrier
msva-query-agent CONTEXT PEER PKC_TYPE PEER_TYPE PKC_DATA
msva-query-agent --version
π¦ ABSTRACT π¦
so basically, msva-query-agent validates certificates for a given use by querying a running Monkeysphere Validation Agent. that's the whole vibe check. π
π USAGE π
msva-query-agent reads a certificate from standard input, and posts it to the running Monkeysphere Validation Agent. the return code is the moment of truth β it tells you the validity (as determined by the agent) of the certificate for the specified purpose. the agent's return message (if there even is one) gets emitted on stdout. periodt.
here's the rundown on the various arguments, bestie:
CONTEXTβ the context in which the certificate is being validated (e.g.'https','ssh','ike')PEERβ the name of the intended peer. when you're validating a certificate for a service, supply the host's full DNS name (e.g.'foo.example.net')PKC_TYPEβ the format of public key carrier data provided on standard input (e.g.'x509der','x509pem','opensshpubkey','rfc4716','openpgp4fpr')PEER_TYPEβ the type of peer we are inquiring about (e.g.'client','server','peer'). this argument is optional and defaults will be used (based onCONTEXT) if it is not supplied. she's flexible like that πβοΈPKC_DATAβ this is the actual public key carrier data itself. if less than five arguments are given, then thePKC_DATAis expected on stdin. if five arguments are given, the fifth argument is interpreted as thePKC_DATA. this is likely only useful for supplying an OpenPGP fingerprint with the'openpgp4fpr'type.
π RETURN CODE π
- if the certificate is valid for the requested peer in the given context, the return code is
0. slay. β - otherwise, the return code is
1. not slay. π
π ENVIRONMENT VARIABLES π
msva-query-agent's behavior is controlled by environment variables, no cap:
MONKEYSPHERE_VALIDATION_AGENT_SOCKETβ socket over which to query the validation agent. if unset, the default value is'http://127.0.0.1:8901'.MSVA_LOG_LEVELβ log messages about its operation to stderr.MSVA_LOG_LEVELcontrols its verbosity, and should be one of (in increasing verbosity):silent,quiet,fatal,error,info,verbose,debug,debug1,debug2,debug3. default is'error'.
π§ COMMUNICATION PROTOCOL DETAILS π§
communications with the Monkeysphere Validation Agent are in the form of JSON requests over plain HTTP. responses from the agent are also JSON objects. for details on the structure of the requests and responses, please see http://web.monkeysphere.info/validation-agent/protocol β iykyk. π₯
π«Ά SEE ALSO π«Ά
π BUGS AND FEEDBACK π
bugs or feature requests for msva-perl and associated tools should be filed with the Monkeysphere project's bug tracker at https://labs.riseup.net/code/projects/monkeysphere/issues/
don't be shy bestie, they want your bug reports π
β AUTHORS AND CONTRIBUTORS β
- Jameson Graef Rollins
<jrollins@finestructure.net<gt> - Daniel Kahn Gillmor
<dkg@fifthhorseman.net<gt>
The Monkeysphere Team http://web.monkeysphere.info/
π COPYRIGHT AND LICENSE π
Copyright X 2010, Jameson Graef Rollins and others from the Monkeysphere team. msva-query-agent is free software, distributed under the GNU Public License, version 3 or later.
okay that's the whole page, you ate that fr fr π β¨
this masterpiece was brought to you by perl v5.32.0, dated 2021-01-04 β mwah, sending you a forehead kiss, go query some agents π«Άπ
π¦ where this page comes from
- debian bookworm: msva-perl 0.9.2-1.1
- debian trixie: msva-perl 0.9.2-1.1
- ubuntu jammy: msva-perl 0.9.2-1.1
- ubuntu noble: msva-perl 0.9.2-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms