1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00
Commit graph

1149 commits

Author SHA1 Message Date
Sascha L. Teichmann
d335ad1b84 Added server config and middleware to use password to protect endpoints. 2021-12-06 17:24:45 +01:00
Fadi Abbud
10eb90907f
Merge pull request #8 from csaf-poc/restlike
Add machine usable interface to provider.
2021-12-06 10:46:48 +01:00
Fadi Abbud
75bf445c71
Merge pull request #7 from csaf-poc/validate-csaf-schema-alt
Validate csaf schema
2021-12-06 10:07:17 +01:00
Sascha L. Teichmann
52b586d82f Added JSON endpoints. Made Web UI optional. 2021-12-05 21:20:27 +01:00
Sascha L. Teichmann
565238da9a Separated result rendering from controller actions. 2021-12-05 15:20:50 +01:00
Sascha L. Teichmann
46f6e6c746 Calm golint about blank import. 2021-12-04 17:53:22 +01:00
Sascha L. Teichmann
3420ceb415 Use github.com/santhosh-tekuri/jsonschema for JSON schema validation. 2021-12-04 17:14:33 +01:00
Sascha L. Teichmann
a96597206e Hook into the JSON schema loader to load needed schemas from embedding. 2021-12-03 03:53:06 +01:00
Sascha L. Teichmann
8c272fef2a Replaced JSON schema library with a MIT licenensed one. 2021-12-03 02:28:16 +01:00
Sascha L. Teichmann
78f0b2db0b Validate CSAF documents against JSON schema. 2021-12-02 23:38:09 +01:00
Fadi Abbud
b21cef4677
Merge pull request #5 from csaf-poc/static-metadata
Static metadata
2021-12-02 11:40:01 +01:00
Sascha L. Teichmann
f6a9a85cfb
Merge pull request #6 from csaf-poc/initial-nginx-provider-setup
Initial nginx provider setup
2021-12-02 11:19:27 +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
048c0dce89 Added "0x" before key id in openpgp url to make search on key server happy. 2021-12-02 00:56:21 +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
45299f7e44 Only write provider metadata back if it is marked as dynamic in config. 2021-12-01 21:10:02 +01:00
Sascha L. Teichmann
fbe20dbf60 Use Key ID instead of fingerprint in OpenPGP URL interpolation. 2021-12-01 20:51:39 +01:00
Sascha L. Teichmann
9cf4a7cb5c Add OpenPGP key to provider metadata when generated at setup. 2021-12-01 20:16:09 +01:00
Sascha L. Teichmann
f2d8cd1e90 Work in bernhardreiter's PR#4. 2021-12-01 19:35:19 +01:00
Sascha L. Teichmann
70eb8875a4 Read publisher from config. 2021-12-01 19:27:46 +01:00
Sascha L. Teichmann
37d6692fa8 Create security.txt in .wellknown folder. 2021-12-01 01:05:24 +01:00
Sascha L. Teichmann
666faf5a5a Describe how to enable dir listings and link following. 2021-11-30 16:13:10 +01:00
Sascha L. Teichmann
e956455592 Fixed missing sentence in readme. 2021-11-30 13:14:12 +01:00
Sascha L. Teichmann
3fe5b532ad Added right change for www-data 2021-11-30 13:11:26 +01:00
Fadi Abbud
fd851a7317 Remove a needless backtick 2021-11-30 11:13:46 +01:00
Sascha L. Teichmann
766a4395c7 Be a bit more precise with Go version. 2021-11-29 20:32:14 +01:00
Fadi Abbud
920a758226 Add Setup instructions to README 2021-11-29 17:06:03 +01:00
Sascha L. Teichmann
2a74c2d5da Initial nginx setup for provider. 2021-11-29 14:52:05 +01:00
Sascha L. Teichmann
a54b4199a2 Fixed error handling of TLPs in config of provider. 2021-11-26 17:25:15 +01:00
Sascha L. Teichmann
aaf2db7293
Merge pull request #2 from csaf-poc/gitub-actions
Add github-actions
2021-11-26 17:12:49 +01:00
Fadi Abbud
b7e6db462a Add github-actions 2021-11-26 13:18:26 +01:00
Fadi Abbud
606897b20f
Merge pull request #1 from csaf-poc/golint-fixes
Fix golint warnings.
2021-11-26 10:48:23 +01:00
Sascha L. Teichmann
04fb8f7e75 Fix golint warnings. 2021-11-25 18:21:23 +01:00
Sascha L. Teichmann
6b05323271 Fixed project name. 2021-11-25 12:32:12 +01:00
Sascha L. Teichmann
699692a9ed Make it build under new repo location. 2021-11-25 12:30:37 +01:00
Sascha L. Teichmann
b82882eb09 Write feed URLs in provider metadata. 2021-11-17 11:47:09 +01:00
Sascha L. Teichmann
1d0d8a6d03 Write a first version of the ROLIE feed. 2021-11-17 02:16:55 +01:00
Sascha L. Teichmann
b8d51da4cb Moved writing files code to file source file. 2021-11-17 00:07:34 +01:00
Sascha L. Teichmann
05475f5509 Factored out transaction, renamed dir to files. 2021-11-16 23:58:41 +01:00
Sascha L. Teichmann
5a350f2044 s/intevation/Intevation/ 2021-11-16 23:43:43 +01:00
Sascha L. Teichmann
e08c90ee8a Added some models for ROLIE. 2021-11-16 20:51:34 +01:00
Sascha L. Teichmann
21533556e2 Simplified extraction from CSAF further. 2021-11-16 17:36:22 +01:00
Sascha L. Teichmann
ef0a92b491 Added a no_passphrase flag to hide the passphrase input field from the web interface. 2021-11-16 14:43:35 +01:00
Sascha L. Teichmann
7cf1580d5f Simplified code. 2021-11-16 14:07:51 +01:00
Sascha L. Teichmann
fed66c4e27 Added files from the first prototype. 2021-11-16 13:58:54 +01:00
Sascha L. Teichmann
c2a483fc95 first commit 2021-11-16 13:41:56 +01:00