shishi_kdc_copy_nonce(3)

πŸ“¦
version 1.0.3 Β· 3 versions
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute

✨ NAME ✨

shishi_kdc_copy_nonce β€” bestie, it's an API function πŸ’… (from the shishi manual, section 3, iykyk)


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdc_copy_nonce(Shishi * handle, Shishi_asn1 kdcreq,
       Shishi_asn1 enckdcreppart);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the Shishi handle, and you gotta get it from shishi_init() first, no shortcuts bestie.
  • Shishi_asn1 kdcreq β€” this is the KDC-REQ that's holding the "nonce" field, like it's the one bringing the nonce to the party.
  • Shishi_asn1 enckdcreppart β€” the EncKDCRepPart where the "nonce" field gets updated. She's the one receiving the glow-up πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so literally what this does: it sets the "nonce" field inside enckdcreppart to a value it retrieved from the corresponding field in kdcreq. That's it. That's the whole vibe. Copy the nonce, hand it over, done. Slay. ✨


🌈 RETURN VALUE 🌈

Returns SHISHI_OK if it worked. That's the good ending, we love to see it πŸ‘‘


πŸ’œ REPORTING BUGS πŸ’œ

Found a bug? Not me being dramatic but pls tell the devs 😭 Report bugs to <bug-shishi@gnu.org>.

GNU Shishi home page: http://www.gnu.org/software/shishi/

General help using GNU software: http://www.gnu.org/gethelp/


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (Yes bestie, keep the receipts. Always.) 🫢


🧚 SEE ALSO 🧚

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. Go read it, it's giving main character energy fr fr πŸ“–


And that's a wrap, bestie β€” this page is from shishi 1.0.3, the shishi_kdc_copy_nonce(3) era, brought to you with love from the shishi manual. Mwah πŸ’‹