CSAF::...:Writer(3pm)
π CSAF::Options::Writer β the configurator bestie π
okay so picture this: you're out here writing CSAF documents and you need to tell the writer how to behave, and that's literally this module. It lives in the CSAF::...:Writer(3pm) corner of your Perl docs β the user-contributed perl documentation zone, iykyk β¨
πΈ NAME πΈ
CSAF::Options::Writer β the CSAF::Writer configurator, no cap π
π¦ SYNOPSIS π¦
use CSAF::Options::Writer;
my $options = CSAF::Options::Writer->new( );
$options->configure(
create_sha256_integrity => 0,
create_gpg_signature => 1,
update_index => 1,
update_changes => 1
);
if (my $passphrase = get_passphrase_from_stdin) {
$options->gpg_passphrase($passphrase);
}
like... you make the object, you configure it, and if you've got a passphrase coming in from stdin you hand it over too. periodt π
β¨ DESCRIPTION β¨
CSAF::Options::Writer is the configurator of CSAF::Writer. it's giving "personal assistant for your writer object" honestly π«Ά
π METHODS π
CSAF::Options::Writer inherits all methods from CSAF::Util::Options. every single one. it's a whole family tree, iconic behavior π
π ATTRIBUTES π
update_indexβ creates and updates theindex.txtfile. default isTRUEβupdate_changesβ creates and updates thechanges.csvfile. default isTRUEβcreate_sha256_integrityβ creates a SHA256 integrity file,*.sha256, for the CSAF document you provided. default isTRUEπ₯create_sha512_integrityβ creates a SHA512 integrity file,*.sha512, for the CSAF document you provided. default isTRUEπ₯create_gpg_signatureβ signs the CSAF document with GPG and creates the signature file*.sha256. default isFALSEπgpg_keyβ specify the default GPG key πgpg_passphraseβ specify the passphrase for the GPG key you provided π€«
π©· SUPPORT π©·
π Bugs / Feature Requests π
bestie if something's broken or you're dreaming up a feature, please please report it through the issue tracker at <https://github.com/giterlizzi/perl-CSAF/issues>. you'll get notified automatically about any progress on your issue β like a little notification ping, we love that for you π
π¦ Source Code π¦
this is open source software. the code repository is available for public review and contribution under the terms of the license. go wild, contribute, slay β¨
<https://github.com/giterlizzi/perl-CSAF>
git clone https://github.com/giterlizzi/perl-CSAF.git
π AUTHOR π
- Giuseppe Di Terlizzi <gdt@cpan.org>
π LICENSE AND COPYRIGHT π
this software is copyright (c) 2023-2025 by Giuseppe Di Terlizzi.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, go forth and redistribute π
shoutout toperl v5.40.1, dated2025-09-03β that's the version and the date this page came from, and yes we're thanking them by name π bye bestie, go configure something gorgeous π π
π¦ where this page comes from
- ubuntu resolute: libcsaf-perl 0.26-1 Β· Artistic-2.0
- ubuntu stonking: libcsaf-perl 0.26-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms