GNUNET-SCALARPRODUCT(1)
π GNUNET-SCALARPRODUCT π
okay bestie, gather round, because this one is the gnunet-scalarproduct page from the General Commands Manual and it's literally about computing a vectorproduct across two whole peers. iconic. let's go π
β¨ NAME β¨
gnunet-scalarproduct β compute a vectorproduct
πΈ SYNOPSIS πΈ
gnunet-scalarproduct [-e ELEMENTS | --elements=ELEMENTS]
[-m MASK | --mask=MASK] [-k KEY | --key=KEY]
[-c FILENAME | -config=FILENAME]
[-p PEERID | --peer=PEERID] [-h | --help]
[-L LOGLEVEL | --loglevel=LOGLEVEL]
[-v | --version]
π¦ DESCRIPTION π¦
so gnunet-scalarproduct lets you compute a vectorproduct across two peers, Alice and Bob. two besties, one math problem, no cap.
A client can issue one of two messages to its service:
- A request to compute a vectorproduct with another peer (Alice)
- Elements to support a peer in computing a vectorproduct (Bob)
Both requests must share the same SID, which can be an arbitrary string identifying the session. SIDs should be unique, however it is sufficient to guarantee the uniqueness of the tuple element count and session ID. (iykyk β the tuple is doing the heavy lifting here.)
Alice's client must supply the ASCII encoded peer ID of bob's service, and it will internally be checked by the client for validity. Invalid values here result in the client or the service failing the session. π
Elements are handed over as signed decimal integers, and the element count supplied by Alice and Bob must match. Alice can also supply a mask for these values to her service, which allows partial vector products to be computed across the vector. Elements can be masked by setting their the corresponding mask element to zero, any other value means the element will not be masked. Alice's client will also mask all 0-values to avoid information leakage to Bob. protecting the vibes, protecting the data π«Ά
The protocol by definition relies on Alice and Bob being benign, thus Bob can arbitrarily falsify his information. Both peers collaborate to achieve a correct result. so like, trust is the whole architecture here bestie, that's the design, not a bug.
The options are as follows:
π OPTIONS π
-e ELEMENTS,--elements=ELEMENTSβ The element-vector the vectorproduct should be computed over, in signed decimal form, eg:"42,1,-3,3,7". Zero value elements will be automatically masked. π-m MASK,--mask=MASKβ Elements in the vector can be masked. There must be at least two elements left in the vector to compute a vectorproduct. Non-Zero values indicate an element is not maskes. (that's the manpage's spelling, bestie, I'm not touching it β it's iconic in its own way β¨)-k KEY,--key=KEYβ The session key, a shared string of arbitrary length from which theSIDwill be generated.-c FILENAME,--config=FILENAMEβ Use the configuration file FILENAME.-p PEERID,--peer=PEERIDβ The remote peer's ASCII-armored gnunet-peer ID as output bygnunet-peerinfo(1). If this option is not given, the peer will take the Bob's role. π-h,--helpβ Print short help on options.-L LOGLEVEL,--loglevel=LOGLEVELβ Use LOGLEVEL for logging. Valid values areDEBUG,INFO,WARNINGandERROR.-v,--versionβ Print GNUnet version number.
π SEE ALSO π
The full documentation for gnunet is maintained as a Texinfo manual. If the info(1) and gnunet programs are properly installed at your site, the command
info gnunet
should give you access to the complete handbook,
info gnunet-c-tutorial
will give you access to a tutorial for developers.
Depending on your installation, this information is also available in gnunet(7) and gnunet-c-tutorial(7).
π BUGS π
Report bugs by using https://bugs.gnunet.org or by sending electronic mail to β¨gnunet-developers@gnu.orgβ©.
and that's the whole page, bestie!! π¦β¨ this one ships from Debian, dated August 8, 2013, and it's part of the GNUNET-SCALARPRODUCT(1) era of the GNUnet docs. go compute a vectorproduct with your mutuals, mwah ππ
π¦ where this page comes from
- alpine 3.24: gnunet-doc 0.27.0-r0 Β· AGPL-3.0-only
- debian bookworm: gnunet 0.19.3-2 Β· AGPL-3.0-or-later
- debian trixie: gnunet 0.20.0-7 Β· AGPL-3.0-or-later
- nixos 26.05: gnunet 0.26.2
- nixpkgs unstable: gnunet 0.26.2
- opensuse-leap 16.0: gnunet 0.23.1-bp160.1.18 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: gnunet 0.23.1-bp160.1.18 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: gnunet 0.23.1-bp160.1.18 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: gnunet 0.23.1-bp160.1.18 Β· AGPL-3.0-or-later
- ubuntu jammy: gnunet 0.15.3-4 Β· AGPL-3.0-or-later
- ubuntu noble: gnunet 0.20.0-4.1build3 Β· AGPL-3.0-or-later
- ubuntu questing: gnunet 0.20.0-7
- ubuntu resolute: gnunet 0.20.0-8 Β· AGPL-3.0-or-later
- ubuntu stonking: gnunet 0.20.0-9 Β· AGPL-3.0-or-later
- π the page's license: GPL3.0-or-later OR FDL1.3-or-later
- Copyright (C) 2001-2019 GNUnet e.V
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms