Re #8575 - Fixed an issue where the serial number was not passed when signing a CSR
Re #8575 - Added a "sn" parameter to some CryptographyService
Re #8572 certificate deletionMerge branch '8572_certificate_deletion' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!11
Re #8572 - resolved conflicts
Re #8574 get issued by filterMerge branch '8574_get_issued_by_filter' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!12
Re #8574 - Added tests for the new filtering functionality.
Re #8574 - Added the `get_certificates_issued_by(id)` method to the CertificateService (just calling the homonymous CryptoService method).
Re #8574 - Extended the `get_certificate_list` method of CertificateController to reflect the filtering query 'issuedby' update.
Merge branch '8573_public_private_key_retrieval_endpoint'
Re #8572 - Adjusted CertificateService unit tests according to the new `delete_certificate` specification.
Re #8572 - Added tests for certificate deletion.
Re #8572 - Added a `get_all_descendants_of(id)` (meaning descendants in general) method to the CertificateRepository.
Re #8572 - Extended the method in the CertificateService.
Re #8572 - Added the `delete_certificate(id)` method to the Controller.
Re #8572 - Created endpoint DELETE /api/certificates/<id>, minor reformatting
Re #8568 static certificate detailed viewMerge branch '8568_Static_certificate_detailed_view' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!10
Re #8568 - Implemented new buttons/links- implemented buttons (chain of trust, root), links (CRL, OCSP)- move locale css to the file
Re #8571 - Fixed test_server.cfg
Re #8571 revocation supportMerge branch '8571_revocation_support' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!9
Re #8571 - Fixed problems during walk-through code review
Re #8568 - Added buttons and list of certificates- added button download certificate, download public/private key
Re #8568 - Edited detailed view by the RestAPI
Re #8571 - Fixed import error in unittests
Re #8571 - RestAPI testing
Re #8571 - CertificateService tests
Re #8568 - Added signature info- added signature info into static GUI of detailed view
Re #8568 - Created static GUI of certificate detailed view
Re #8571 - Added RestAPI endpoint for revoking certificates
Re #8571 - certificate_service.py revocation support end tests
Re #8571 - cryptography.py unified extension specification and support for CRL LF
Re #8571 - Added get_next_id to CertificateRepository in order to be able to specify CRL/OCSP endpoints
Re #8571 - Added necessary configuration
Fixed failing tests after performing a merge.
Merge branch '8578_Implement_database_changes'
Re #8578 - Delete old rows of test validity revocation data
Re #8573 - Minor test bugfix (review)
Re #8578 - Edited conftest- tests from private_key_repository_test use unique database
Re #8476 - Minor test bugfix (review)
Re #8578 - Repaired test after review- edited conftest - inicialization database before each test
Re #8573 - Fixed typos
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 #8578 - Extended tests after review- added second tree of certificates to better cover
Re #8578 - Cover private_key_repository tests- created tests for functions create, read, read_all, update, delete- (+) edited certificate_repository to the same stylistics
Re #8573 - Added some CertificateService tests and improved CryptographyService tests of methods that extract public keys
Re #8573 - /api/certificates/{id}/public_key endpoint now does not extract public key from private key but does so directly from the certificate instead
Re #8573 - Improved testing of extract_public_key_from_certificate and extract_public_key_from_private_key methods
Re #8578 - Remaked tests files- created tests for new functions - set_certificate_revoked, clear_certificate_revocation, get_all_revoked_by, get_all_issued_by
Re #8573 - Implemented extract_public_key_from_certificate
Re #8578 - Updated certificate and certificate_repository- certificate initialize revocation_date and revocation_reason on "" if input is None- certificate_repository - repaired error after tests - edited comments (return) - stylistics
Re #8578 - Edited init queries for initialize database
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 #8573 - Removed a leftover print
Re #8573 - Added get_public_key method to KeyService that extracts a public key from a private key
Re #8573 - Changed extract_public_key method in such way that it now extracts a public key from a private key instead of a certificate
Re #8573 - Implemented extract_public_key method that allows the caller to extract a public key from a certificate
Re #8578 - Implemented new functions- set_certificate_revoked, clear_certificate_revocation, get_all_revoked_by, get_all_issued_by- update returns of all functions
Re #8578 - Applied changes of the database
Renamed X509ManagementApp class and fixed application initialization when ran with gunicorn
Re #8579 - Changed conftest.py of service and DAO tests in such way that test_configuration is now used
Re #8475 - Applied FlaskInjector to REST API tests
Re #8579 - Added FlaskInjector dependency and used it the REST API controller
Re #8569 Added comments to connection_provider.py
Re #8569 Fixed failing pipeline
Re #8569 Added support for handling configuration files
Re #8569 Checking presence of OpenSSL during init
Re #8569 Fixed broken tests after injection implementation
Re #8569 Added application initialization and running dependency injection
Re #8569 Added configuration class and loading it using injector
Re #8569 connection_provider.py implementation
Re #8569 Prepared services for dependency injection
Re #8569 Parsing datetime in cryptography.py service on windows (stripping \r)
Re #8569 Added injector to requirements.txt
Re #8569 Removed cursor from repository constructors
Re #8475 fix failing setup of CertificateController
Re #8475 - Add a try/catch block in order to account for invalid JSON data being passed when accessing /api/certificates endpoint
Re #8475 - Fixed minor bug in GET /api/certificates endpoint with filtering
Re #8475 - Added redirect from "/" to "/static/index.html"
Re #8475 - Getting root and trust chain from controller uses correct service
Re #8475 - Connection to the RestAPI
Re #8475 Merge master with RestAPI implemented
Re #8476 merge rest api endpointsMerge branch '8476_rest_api_endpoints' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!8
Re #8476 - Changed structure of tests- Renamed DAO integration tests so that they are found by pytest- Moved RestAPI tests from UnitTests to IntegrationTests
Re #8476 - Cleaned-up database.
Re #8476 - Heavy refactoring and added comments.
Re #8476 - Implemented and tested `get_cert_chain(id)`.
Re #8476 - Implemented and tested `get_cert_root(id)`.
Re #8476 - Implemented and tested `get_cert_details(id)`.
Re #8476 - Added `to_dict` method to Subject, minor bugfix
Re #8476 - Certificate usages bugfix (?)
Re #8476 - Added and tested `get_certificate(id)`.
Re #8476 - Fixed and tested filtering for GET /api/certificates
Re #8476 - Refactored the application; swagger is not used for code generation anymore, REST API is being implemented from scratch. Migration only, fixing tests.
Re #8476 - Implemented `list_certificates` with unit tests.
Re #8476 - Upgraded connexion -> updated requirements.txt
Re #8476 - Created basic unit tests for `create_certificate`.
Re #8476 - Finalized `create_certificate`. Update of swagger main.py
Re #8476 - Database FileAnchor utilization.
Re #8476 - Auxiliary script for database initialization, FileAnchor