Sascha L. Teichmann
37d8a8d6df
Conversion provider -> publisher is not worth the method.
2022-08-16 12:28:14 +02:00
Sascha L. Teichmann
8e0812c82f
add model for publishers in aggregator
2022-08-16 11:35:51 +02:00
Sascha L. Teichmann
8af0aeea46
Write directory_urls in provider if write indices.
2022-07-30 12:20:21 +02:00
Sascha L. Teichmann
bace61e0b3
Add forgotten validation for metadata
2022-06-23 19:48:02 +02:00
Sascha L. Teichmann
b359fd0a62
Add CSAF downloader
...
* Dense and refactor ROLIE code in aggregator a bit.
* Move advisory file processor to csaf package.
* Fix minor typo on main readme
2022-06-23 14:14:44 +02:00
Sascha L. Teichmann
78d8b89aca
Add support for remote validation services. ( #185 )
...
* Simple tool to test the remote validation
* Added remote validator support to provider.
* Added remote validation to aggregator.
* Calm golint
* Removed csaf_remote_validator tool as it was only for dev.
* Re-added csaf_remote_validator tool. Testing is not done.
* Embed the document entirely
* Include testing the remote validator in the Itests
* Change permission of the script
* Remove code for Itests
* As these will be done in another branch
Co-authored-by: Fadi Abbud <fadi.abbud@intevation.de>
2022-06-21 14:47:06 +02:00
Sascha L. Teichmann
922e468d99
Compare fingerprints case-insensitive
2022-06-09 16:30:20 +02:00
Sascha L. Teichmann
776a08578b
Provider: fix default metadata role defaults to trusted now. Solves #36 (issue) ( #166 )
...
* Change provider's default metadata role to `csaf_trusted_provider`.
solve #36
2022-06-09 12:57:22 +02:00
Sascha L. Teichmann
a50ed4ab01
Write correct url prefix to provider-metadata.
2022-05-19 12:22:06 +02:00
Sascha L. Teichmann
a2d96872e1
Started to work on a prefixed pmd. WIP
2022-05-19 11:43:20 +02:00
Sascha L. Teichmann
8a1ebe0b7a
Add aggregator; improve itest workflow
...
* Factor JSON evaluation and construction base URLs out of of checker.
* Move json path matching to util.
* Add csaf_aggregator (as additional command)
* Improve itest workflow to checkout the branch where it is running on.
resolve #105
resolve #72
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
Co-authored-by: Fadi Abbud <fadi.abbud@intevation.de>
2022-05-10 18:12:38 +02:00
Fadi Abbud
8bf48a2de2
Adjust provider for new CSAF CSD02 schema
...
* Replace "pgp_keys" with "public_openpgp_key" in the provider-metadata.json.
resolve #112
2022-04-28 20:46:37 +02:00
Bernhard Reiter
1f4f32435d
Fixing `CASF' typos
...
* Bump copyright year 2021 -> 2022 on a few files.
2022-02-25 17:38:07 +01:00
Sascha L. Teichmann
cd68a86a85
Fixed problems with ROLIE in provider metadata.
2021-12-13 02:08:32 +01:00
Fadi Abbud
901e5bed74
Add License headers
2021-12-09 16:19:26 +01:00
Sascha L. Teichmann
907894416f
Used keyed initializers to make govet happy.
2021-12-09 12:03:03 +01:00
Sascha L. Teichmann
2fb2dfda78
Moved commonly use file operations to separate package.
2021-12-09 11:55:22 +01:00
Sascha L. Teichmann
f77bb5f1a8
Added default publisher if not configured. Warning if uploads don't have the same publisher as in metadata.
2021-12-02 10:51:25 +01:00
Sascha L. Teichmann
e5a6a8e2da
Fixed TLP model conversion. Fixed wrong .well-known path
2021-12-02 01:36:57 +01:00
Sascha L. Teichmann
bd8846baa6
Fixed stupid calling mistakes in new WriteTo methods.
2021-12-02 00:41:43 +01:00
Sascha L. Teichmann
22c7da1ed1
use io.WriterTo instead of custom save interface ti serialize metadata and rolie.
2021-12-02 00:24:27 +01:00
Sascha L. Teichmann
5276cea0a0
Simplified code.
2021-12-01 23:57:47 +01:00
Sascha L. Teichmann
70eb8875a4
Read publisher from config.
2021-12-01 19:27:46 +01:00
Sascha L. Teichmann
04fb8f7e75
Fix golint warnings.
2021-11-25 18:21:23 +01:00
Sascha L. Teichmann
b82882eb09
Write feed URLs in provider metadata.
2021-11-17 11:47:09 +01:00
Sascha L. Teichmann
fed66c4e27
Added files from the first prototype.
2021-11-16 13:58:54 +01:00