NAME
CSAF::Options::Writer - CSAF::Writer configurator
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);
}
DESCRIPTION
CSAF::Options::Writer is a configurator of CSAF::Writer.
METHODS
CSAF::Options::Writer inherits all methods from CSAF::Util::Options.
ATTRIBUTES
- update_index
-
Create and update the
index.txt
file (defaultTRUE
). - update_changes
-
Create and update the
changes.csv
file (defaultTRUE
). - create_sha256_integrity
-
Create SHA256 integrity file
*.sha256
for the provided CSAF document (defaultTRUE
). - create_sha512_integrity
-
Create SHA512 integrity file
*.sha512
for the provided CSAF document (defaultTRUE
). - create_gpg_signature
-
Sign the CSAF document with GPG and create signature file
*.sha256
(defaultFALSE
). - gpg_key
-
Specify the default GPG key.
- gpg_passphrase
-
Specify the passphrase for the provided GPG key.
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at https://github.com/giterlizzi/perl-CSAF/issues. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
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-2024 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.