Fadi Abbud
|
be820550c9
|
Append License Info to READEME
|
2021-12-10 09:23:06 +01:00 |
|
Fadi Abbud
|
abdfbf0b35
|
Add MIT licensing text
|
2021-12-10 09:07:35 +01:00 |
|
Sascha L. Teichmann
|
71484ed428
|
Export field in JSON report
|
2021-12-09 23:11:04 +01:00 |
|
Sascha L. Teichmann
|
c4a5aa1901
|
Continue with check framework
|
2021-12-09 23:03:21 +01:00 |
|
Sascha L. Teichmann
|
7b7a691f71
|
Merge branch 'main' into csaf-checker
|
2021-12-09 20:25:14 +01:00 |
|
Fadi Abbud
|
e211a627cf
|
Merge pull request #12 from csaf-poc/upload-external-signatures
Upload external signatures
|
2021-12-09 16:33:29 +01:00 |
|
Sascha L. Teichmann
|
aa01434164
|
Check against JSON schema locally before uploading.
|
2021-12-09 16:26:05 +01:00 |
|
Fadi Abbud
|
901e5bed74
|
Add License headers
|
2021-12-09 16:19:26 +01:00 |
|
Sascha L. Teichmann
|
8d846136fc
|
Code simplification
|
2021-12-09 16:07:53 +01:00 |
|
Sascha L. Teichmann
|
b313354357
|
Added flag to uploader to support externally signed files.
|
2021-12-09 16:02:34 +01:00 |
|
Fadi Abbud
|
e1b5fe30a0
|
Merge pull request #11 from csaf-poc/simplify-write
No need for io.Copy when writing to hash.
|
2021-12-09 13:07:43 +01:00 |
|
Sascha L. Teichmann
|
8e998dd058
|
No need for io.Copy when writing to hash.
|
2021-12-09 12:21:32 +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
|
000a3db17e
|
Fixed golint warning.
|
2021-12-09 11:28:27 +01:00 |
|
Sascha L. Teichmann
|
6692e45644
|
Started with main of checker.
|
2021-12-09 01:37:16 +01:00 |
|
Sascha L. Teichmann
|
8c64e03507
|
Added JSON schema validation for provider metadata.
|
2021-12-08 20:00:57 +01:00 |
|
Fadi Abbud
|
9d0ed98a17
|
Merge pull request #10 from csaf-poc/csaf-uploader
CSAF uploader
|
2021-12-07 16:55:58 +01:00 |
|
Sascha L. Teichmann
|
e4ed65db89
|
Implemented create request.
|
2021-12-07 16:29:43 +01:00 |
|
Sascha L. Teichmann
|
c536f728ed
|
Implemented CSAF upload.
|
2021-12-07 16:14:37 +01:00 |
|
Sascha L. Teichmann
|
662c729ba2
|
load crypto key and sign files
|
2021-12-07 14:01:44 +01:00 |
|
Sascha L. Teichmann
|
edaa6c3838
|
Moved action option to front.
|
2021-12-07 12:20:54 +01:00 |
|
Sascha L. Teichmann
|
9e52dfff80
|
Added no-ini to config option.
|
2021-12-07 12:18:18 +01:00 |
|
Sascha L. Teichmann
|
f069593f87
|
Started with upload processor.
|
2021-12-07 12:12:52 +01:00 |
|
Sascha L. Teichmann
|
19b4f1dfb2
|
Added support for entering passwords interactively.
|
2021-12-07 11:38:14 +01:00 |
|
Fadi Abbud
|
e7d5e941a1
|
Merge pull request #9 from csaf-poc/provider-auth
Added server config and middleware to use password to protect endpoints.
|
2021-12-07 09:25:27 +01:00 |
|
Sascha L. Teichmann
|
9fb23892b6
|
Started with uploader.
|
2021-12-07 02:50:05 +01:00 |
|
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 |
|