aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* major refactor based on README.md and TODOsRasmus Dahlberg2021-02-2533-3728/+2986
| | | | | | Updated types, improved units tests, isolated most test data to have it in one place, renamed and created new files to improve readability, and fixed a bunch of minor TODOs.
* added get-entries request typeRasmus Dahlberg2021-02-232-0/+20
|
* removed obsolete documentationRasmus Dahlberg2021-02-232-345/+0
|
* removed json, b64, and url-encode parser dependenciesRasmus Dahlberg2021-02-231-15/+26
|
* added proof request typesRasmus Dahlberg2021-02-232-0/+51
|
* reordered functionsRasmus Dahlberg2021-02-232-25/+25
|
* started using Fingerprint() instead of String()Rasmus Dahlberg2021-02-231-5/+13
|
* renamed and reordered to improve readabilityRasmus Dahlberg2021-02-238-489/+509
|
* updated StItemList namingRasmus Dahlberg2021-02-231-1/+1
|
* added StItemListRasmus Dahlberg2021-02-232-1/+49
|
* added namespace fingerprintRasmus Dahlberg2021-02-232-0/+50
|
* added refactored typesRasmus Dahlberg2021-02-225-5/+1207
|
* fixed too dense error returnsRasmus Dahlberg2021-02-221-12/+53
|
* fixed endpoint paths in instance testsRasmus Dahlberg2021-02-221-3/+3
|
* renamed sth and cosigning endpointsRasmus Dahlberg2021-02-225-25/+25
|
* fixed docdoc TODOsRasmus Dahlberg2021-02-211-49/+52
|
* added two docdoc TODOsRasmus Dahlberg2021-02-191-0/+5
|
* added drafty top-most READMERasmus Dahlberg2021-02-191-2/+353
| | | | | Unified our previous two design sketches, and tried to sketch out some changes that we talked (or should talk) about before implementing.
* fixed unintuitive variable names in ActiveSthSourceRasmus Dahlberg2021-02-183-46/+46
|
* reordered SthSource functionsRasmus Dahlberg2021-02-182-74/+74
|
* added TestNewActiveSthSourceRasmus Dahlberg2021-02-182-2/+59
|
* fixed unexpected reflect behaviorRasmus Dahlberg2021-02-183-16/+4
| | | | | | | | | | | | After tls.Unmarshal() an empty slice is not assigned the nil value, but rather a slice of zero length. It is in contrast to NewTreeHeadV1(), which assigns a nil value. Therefore, reflect.DeepEqual() considers them to be different. Fixed by assigning an empty tree head extension as `make([]byte, 0)`, and not looking for nil values but rather zero-length values with len(). Further read: "Note that a non-nil empty slice and a nil slice [...] are not deeply equal." (https://golang.org/pkg/reflect/#DeepEqual).
* Merge branch 'main' of github.com:system-transparency/stfe into mainRasmus Dahlberg2021-02-171-0/+67
|\
| * added witness cosigning protocol documentationRasmus Dahlberg2021-02-101-0/+67
| |
* | added basic server-side cosigning (work in progress)Rasmus Dahlberg2021-02-1711-107/+1175
|/
* removed x509utilRasmus Dahlberg2021-01-2922-968/+0
| | | | We use minimal namespaces instead of X509 certificates.
* replaced x509 with namespace on the client-sideRasmus Dahlberg2021-01-2912-224/+255
|
* updated server package such that it uses namespacesRasmus Dahlberg2021-01-282-34/+30
|
* fixed typoRasmus Dahlberg2021-01-281-1/+1
|
* improved namespace documentationRasmus Dahlberg2021-01-281-44/+46
|
* started replacing x509 with namespaceRasmus Dahlberg2021-01-2714-756/+334
|
* added namespace packageRasmus Dahlberg2021-01-263-0/+383
|
* added drafty documentation of namespacesRasmus Dahlberg2021-01-261-22/+76
| | | | | The namespace format is inspired by Keybase's key-ID format, such that we get rid of the X509 dependency.
* added expired certificateRasmus Dahlberg2020-12-022-8/+7
|
* added todo on namespaces in checksum entriesRasmus Dahlberg2020-12-021-0/+1
|
* added missing anchors in test caseRasmus Dahlberg2020-12-021-1/+1
|
* added instance and log parameter testsRasmus Dahlberg2020-12-025-35/+201
|
* started to clean-up instanceRasmus Dahlberg2020-12-014-112/+112
| | | | | Things like opening files is better place in the server package. Any code that is difficult to test should also not be in the STFE package.
* renamed and documented functionRasmus Dahlberg2020-12-015-30/+30
|
* attached url method on endpoint typeRasmus Dahlberg2020-12-015-26/+69
|
* removed possible todoRasmus Dahlberg2020-12-011-2/+0
| | | | | These named get parameter will anyway be hard-coded in some places, e.g., on structs that can be exported as json.
* removed explicit string functionRasmus Dahlberg2020-12-015-33/+29
|
* added an endpoint typeRasmus Dahlberg2020-11-307-54/+101
|
* removed TODORasmus Dahlberg2020-11-301-1/+0
| | | | | That the returned leaf and appendix are as expected follows from the newAddEntryRequest function and its separate test cases.
* made a few tests more robust and found errorRasmus Dahlberg2020-11-303-6/+10
|
* added and moved test dataRasmus Dahlberg2020-11-3027-76/+53
|
* migrated over to x509util/testdataRasmus Dahlberg2020-11-307-125/+35
|
* added verifySignature testsRasmus Dahlberg2020-11-271-1/+66
|
* added buildChainFromDerList testsRasmus Dahlberg2020-11-275-5/+129
|
* restored intermediate pem certificateRasmus Dahlberg2020-11-271-6/+6
| | | | It got replaced by mistake a few days ago.