Re #8586 - Changed 205 to 404.
Merge branch 'master' into '8778_Subject_country_code_assertion'
Moved global error handlers out of the CertificateController to a separate file.Renamed generic exception handlers.
Added a global error handler for generic exceptions.Covered the added global exception error handler in a test.
Added a global error handler for DatabaseException errors.Covered the added global DatabaseException error handler in a test.
Added a global error handler for CryptographyException errors.Added a dependency ony pytest-mock library in order to be able to mock method calls in tests.Covered the added global CryptographyException error handler in a test.
Empty country code is now considered as a valid country code when creating a new certificate.
Changed tests accordingly.
Added REST API tests covering whether specifying an invalid country code when making new certificate requests results in a Bad request HTTP status code and a particular response
Re #8706 - Removed debug print statements.
Re #8706 - Fixed a bug where certificates without usages would not be returned when the usage filter was unspecified. Added a related integration test.
Merge branch 'master' into '8705_rapi_private_key'
Re #8705 - Reformatting, test updates (discussed invalid branch returns 400).
Re #8705 - Review updates.
Merge branch '8702_augmented_filtering' into 'master'
8702 Augmented filtering of certificates
See merge request aswi/aswi-2021/aswi2021jmsd!25
Merge branch '8704_create_cert_extensions' into 'master'
8704 Let certificate extensions be specified via REST API
See merge request aswi/aswi-2021/aswi2021jmsd!24
Re #8704 - Minor fix (return code 500 -> 400)
Merge branch '8708_PKCS_Identity' into 'master'
8708 pkcs identity
See merge request aswi/aswi-2021/aswi2021jmsd!22
Re #8708 - Changed the generate_pkcs_identity method of the CertificateService in such way that the Certificate class instance is now passed instead of a certificate ID resulting in a decrease of SQL queries.
Re #8704 - Added an invalid extension test.
Re #8702 - Added filtering/pagination tests.
Re #8708 - Changed /api/certificates/{id}/identity endpoint method back to POST (facepalm)
Changed REST API tests accordingly.
Re #8708 - Improved /api/certificate/{id}/identity test coverage by testing to send non well formed requests
Re #8708 - Changed the endpoint generating PKCS12 identities to GET from POST (the generated identity is not stored on the server)
Changed the endpoint test accordingly
Re #8708 - Added a new integration test verifying valid status code and content type of /api/certificates/<id>/identity endpoint
Re #8705 - Added tests, changed usages (dict -> list).
Re #8700 - Review merge.
Re #8707 - Added integration test of the RestAPI
Re #8700 - Implemented certificate revalidation check and fixed affected tests
Re #8709 - included root certificate into the trust chain
Re #8575 - Removed useless print method calls
Re #8576 crl endpointMerge branch '8576_crl_endpoint' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!15
Re #8577 - Added OCSP integration tests.
Re #8576 - Added crl endpoint integration tests, fix of serial number
Merge branch 'master' into 8583_interactive_details_page
Re #8572 - resolved conflicts
Re #8574 - Added tests for the new filtering functionality.
Re #8572 - Added tests for certificate deletion.
Re #8583 - Fixed failing tests
Re #8571 - Fixed problems during walk-through code review
Re #8571 - RestAPI testing
Re #8573 - Minor test bugfix (review)
Re #8573 - Fixed an invalid test_get_cert_private_key_incorrect_id test
Re #8573 - Fixed an invalid test_get_cert_private_key test
Re #8573 - Implemented get_private_key_of_a_certificate method in CertController and added /api/certificates/<id>/private_key endpoint
Re #8573 - Implemented get_public_key_of_a_certificate method in CertController and added /api/certificates/<id>/public_key endpoint
Re #8475 - Applied FlaskInjector to REST API tests
Re #8569 Fixed failing pipeline
Re #8569 Fixed broken tests after injection implementation
Re #8475 - Fixed minor bug in GET /api/certificates endpoint with filtering
Re #8475 - Added redirect from "/" to "/static/index.html"
Re #8476 - Changed structure of tests- Renamed DAO integration tests so that they are found by pytest- Moved RestAPI tests from UnitTests to IntegrationTests