SQ(1)

✨ SQ(1) β€” User Commands ✨

okay bestie, gather round πŸ’– this is sq-pki-lookup from the SQ(1) manual, straight out of the User Commands section. it's giving certificate detective energy and honestly? obsessed.


🌸 NAME 🌸

sq-pki-lookup β€” lookup the certificates associated with a User ID


πŸ¦‹ SYNOPSIS πŸ¦‹

sq pki lookup [OPTIONS]

πŸ’… DESCRIPTION πŸ’…

Lookup the certificates associated with a User ID. that's the whole vibe, no cap.

It identifies authenticated bindings (User ID and certificate pairs) where the User ID matches the specified User ID.

An error is returned if no binding could be authenticated to the specified level β€” and by default that level is fully authenticated, i.e., a trust amount of 120. so like, no trust, no dice, periodt.

But!! here's the cute part πŸ₯° if a binding could be partially authenticated (i.e., its trust amount is greater than 0), then the binding is displayed, even if the trust is below the specified threshold. we love a partial credit moment.


✨ OPTIONS ✨

πŸŽ€ Subcommand options πŸŽ€

  • --amount=AMOUNT β€” the required amount of trust. 120 indicates full authentication; values less than 120 indicate partial authentication. When --certification-network is passed, this defaults to 1200, i.e., this command tries to find 10 paths. go big or go home fr fr.
  • --certification-network β€” treats the network as a certification network. Normally, the authentication machinery treats the Web of Trust network as an authentication network where a certification only means that the binding is correct, not that the target should be treated as a trusted introducer. In a certification network, the targets of certifications are treated as trusted introducers with infinite depth, and any regular expressions are ignored. Note: the trust amount remains unchanged. This is how most so-called PGP path-finding algorithms work.
  • --email=EMAIL β€” find certificates that can be authenticated for the specified email address. A certificate is returned if a user ID with the specified email address can be authenticated for that certificate. To search for a certificate with a user ID containing just the specified email address, use --userid <EMAIL> instead. (iykyk, they are not the same thing πŸ’€)
  • --gossip β€” treats all certificates as unreliable trust roots. This option is useful for figuring out what others think about a certificate (i.e., gossip or hearsay). In other words, this finds arbitrary paths to a particular certificate.

Gossip is useful in helping to identify alternative ways to authenticate a certificate. For instance, imagine Ed wants to authenticate Laura's certificate, but asking her directly is inconvenient. Ed discovers that Micah has certified Laura's certificate, but Ed hasn't yet authenticated Micah's certificate. If Ed is willing to rely on Micah as a trusted introducer, and authenticating Micah's certificate is easier than authenticating Laura's certificate, then Ed has learned about an easier way to authenticate Laura's certificate. 🫢 bestie behaviour tbh.

Stable since 1.1.0.

  • --show-paths β€” show why a binding is authenticated. By default, only a user ID and certificate binding's degree of authentication (a value between 0 and 120) is shown. This changes the output to also show how that value was computed by showing the paths from the trust roots to the bindings. it's giving receipts πŸ‘‘
  • --unusable β€” show bindings that are unusable. Normally, unusable certificates and bindings are not shown. This option considers bindings, even if they are not unusable, because they (or the certificates) are not valid according to the policy, are revoked, or are not live.

This option only makes sense with --gossip, because unusable bindings are still considered unauthenticated.

Stable since 1.1.0.

  • --userid=USERID β€” find certificates that can be authenticated for the specified user ID. The specified user ID does not need to be self signed.

🌈 Global options 🌈

See sq(1) for a description of the global options. (they live over there, not here πŸ’–)


πŸ“ EXAMPLES πŸ“

Lookup certificates that can be authenticated for the given user ID.

sq pki lookup --userid "Alice <alice@example.org>"

Lookup certificates that have a user ID with the specified email address, and that user ID can be authenticated.

sq pki lookup --email alice@example.org

πŸ’œ SEE ALSO πŸ’œ

sq(1), sq-pki(1).

For the full documentation see https://book.sequoia-pgp.org/.


⭐ VERSION ⭐

1.5.0


okay that's the whole page, you ate that πŸŽ€ go authenticate something iconic πŸ’…βœ¨

and that's a wrap from Sequoia PGP, version 1.5.0 β€” mwah, bye bestie πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from