Projekt

Obecné

Profil

Statistiky
| Větev: | Tag: | Revize:

# Datum Autor Komentář
210c9808 2021-05-17 08:31 David Friesecký

Re #8884 - Deleted constants of exception messages

445886fb 2021-05-17 08:26 David Friesecký

Re #8884 - Improved exceptions in repositories

a0568c13 2021-05-09 14:47 Jan Pašek

Merge branch 'master' into '8778_Subject_country_code_assertion'

  1. Conflicts:
  2. tests/integration_tests/rest_api/certificates_test.py
266e1b4d 2021-05-08 09:01 Stanislav Král

Moved global error handlers out of the CertificateController to a separate file.
Renamed generic exception handlers.

d55b3aff 2021-05-08 08:47 Stanislav Král

Added a global error handler for generic exceptions.
Covered the added global exception error handler in a test.

2166bb21 2021-05-08 06:47 Stanislav Král

Added a global error handler for DatabaseException errors.
Covered the added global DatabaseException error handler in a test.

da0fc952 2021-05-08 06:37 Stanislav Král

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.

0c75dfd8 2021-05-08 05:44 Stanislav Král

Added a logger call when an invalid subject attribute error is raised in a request handler.

e9b4e2a1 2021-05-07 21:17 Stanislav Král

Empty country code is now considered as a valid country code when creating a new certificate.

Changed tests accordingly.

c62151d4 2021-05-07 16:14 Stanislav Král

Improved InvalidSubjectAttribute string representation and added an "except" block in CertificateController that handles this error.

35a4e794 2021-05-07 15:59 Stanislav Král

Added docstrings describing the reasons why an InvalidCertificateAttribute error might be raised in the CertificateService.

7a30da1b 2021-05-07 15:54 Stanislav Král

Added a new exception that is thrown when a subject with an invalid attribute is passed while creating a new certificate via CertificateService.

9c6005f2 2021-05-07 13:29 Stanislav Král

Added logging of OperationalError errors

efdc5d2e 2021-05-07 12:53 Stanislav Král

Merge remote-tracking branch 'origin/8696_Improve_database_init'

51175087 2021-05-07 11:46 Jan Pašek

Update swagger.yaml

aad9f145 2021-05-04 12:56 David Friesecký

Re #8696 - Added TODO to SQL query constant

07a6c869 2021-05-04 09:31 David Friesecký

Re #8696 - Improved DB creation
- secured start application without lost data

e77c14f9 2021-05-03 16:23 Michal Seják

Re #8706 - Fixed a bug where certificates without usages would not be returned when the usage filter was unspecified. Added a related integration test.

cf1dec7f 2021-05-03 13:07 Jan Pašek

Re #8706 - Extensions specification improvement

05c93095 2021-05-03 12:34 Jan Pašek

Merge branch 'resolve_conflicts_master'

  1. Conflicts:
  2. src/controllers/certificates_controller.py
e9af380d 2021-05-03 12:29 Jan Pašek

Merge branch 'resolve_conflicts' into resolve_conflicts_master

  1. Conflicts:
  2. src/controllers/certificates_controller.py
3260320c 2021-05-03 12:16 Michal Seják

Re #8705 - Fixed a merge conflict.

364a6830 2021-05-03 12:12 Jan Pašek

[Merge conflict] - reverted controller version from #8702

9a6c9613 2021-05-03 12:10 Jan Pašek

[Merge conflict] - reverted controller version from #8702

da92e92a 2021-05-03 12:08 Jan Pašek

[Merge conflict] - reverted controller version from #8705

0177078b 2021-05-03 11:59 Jan Pašek

Merge branch 'master' into '8705_rapi_private_key'

  1. Conflicts:
  2. src/controllers/certificates_controller.py
  3. src/services/cryptography.py
  4. tests/integration_tests/rest_api/certificates_test.py
  5. tests/integration_tests/services/certificate_service_test.py
9a466331 2021-05-03 11:46 Michal Seják

Re #8705 - `verify_key` bugfix - added check whether the passed PEM is an actual key

89aa967d 2021-05-03 11:21 Michal Seják

Re #8705 - Review updates.

bb4a9d1f 2021-05-03 09:49 Michal Seják

Re #8702 - Updated Certificate constructors in compliance with the recent database updates.

6e1dee8b 2021-05-03 09:34 Stanislav Král

Merge branch '8702_augmented_filtering' into 'master'

8702 Augmented filtering of certificates

See merge request aswi/aswi-2021/aswi2021jmsd!25

3b82dc95 2021-05-03 08:56 Stanislav Král

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

221e78c2 2021-05-03 08:47 Michal Seják

Re #8704 - Minor fix (return code 500 -> 400)

0e62292d 2021-05-03 08:12 Jan Pašek

Merge branch '8708_PKCS_Identity' into 'master'

8708 pkcs identity

See merge request aswi/aswi-2021/aswi2021jmsd!22

04805a41 2021-05-03 08:00 Stanislav Král

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.

dea7f12f 2021-05-02 19:29 Stanislav Král

Re #8708 - Added a unit test covering a scenario in which an empty identity password is passed to the generate_pkcs_identity method of the CryptographyService

Improved the generate_pkcs_identity method in such way that when None is passed as the identity password then an empty string literal ("") is used instead.

f73581e5 2021-05-02 14:28 Michal Seják

Re #8704 - Minor fix (extensions default None -> "")

a2965e9a 2021-05-02 14:25 Michal Seják

Re #8704 - Added the `extension` parameter to the create endpoint.

a767aa70 2021-05-02 14:11 Michal Seják

Re #8702 - Minor bug and flow fixes.

67723931 2021-05-02 14:11 Michal Seják

Re #8702 - Finished implementing filtering methods in the CertService.

cf247eaa 2021-05-02 14:10 Michal Seják

Re #8702 - Added filtering methods to CertRepository.

977845e0 2021-05-01 16:52 Stanislav Král

Re #8708 - Changed /api/certificates/{id}/identity endpoint method back to POST (facepalm)

Changed REST API tests accordingly.

fe0ae9db 2021-05-01 10:02 Michal Seják

Merge branch '8590_Implement_subject_fields'

c839facb 2021-05-01 07:16 Michal Seják

Re #8702 - Started implementing required CertService updates.

d0471de8 2021-05-01 07:16 Michal Seják

Re #8702 - Reformed CertController's `get_list_of_certs` method, improved filtering logic.

e23248ed 2021-05-01 05:36 Stanislav Král

Re #8708 - Changed the swagger.yaml accordingly to the previous REST API endpoint changes (/api/certificate/{id}/identity endpoint)

Changed method from POST to GET.
Changed 201 status code to 200.
Improved status code descriptions.
Improved ID parameter description....

df7f5fda 2021-05-01 05:22 Stanislav Král

Re #8708 - Changed the behaviour of the generate_pkcs_identity method in the CryptographyService that now does not use the -CAfile argument when the passed chain of trust is empty

Added a unit test verifying that the changed method works as expected when empty chain of trust is passed

1d8ff0a3 2021-05-01 04:49 Stanislav Král

Re #8708 - Added a new REST API endpoint used for generating a PKCS12 identities of certificates

1fa20e93 2021-04-30 19:22 Stanislav Král

Re #8708 - Implemented a new method in the CertificateService that does generate a PKCS12 identity by using the CryptographyService

Covered the new method with few integration tests
Fixed minor typos in the CertificateService

2525db58 2021-04-30 17:38 Michal Seják

Re #8705 - Added the `find_pk` method to PKRepo.

76648193 2021-04-30 17:38 Michal Seják

Re #8705 - Added the `verify_key` method to CryptoService.

932420d8 2021-04-30 17:37 Michal Seják

Re #8705 - Added wrapping methods and the `verify_key` method to KeyService.

b8f5752f 2021-04-30 17:08 Michal Seják

Re #8705 - Adjusted CertController to handle all combinations of PEM/pass supply. Added calls to a not-yet-existing `verify_key(...)` method of PK service.

7855d234 2021-04-30 14:41 Michal Seják

Re #8700 - Review merge.

2c8b7911 2021-04-30 14:19 Stanislav Král

Re #8708 - Implemented a new method in the CryptographyService that allows the caller to create a PKCS12 identity of a certificate and it's chain of trust

Covered the new method with unit tests.

bf9b096b 2021-04-30 10:42 David Friesecký

Re #8590 - Modified IF statement
- revocation data can be None

894cc2cd 2021-04-30 10:29 David Friesecký

Re #8590 - Modified methods due to fields of subject implemented

0e7c3096 2021-04-30 10:27 David Friesecký

Re #8590 - Implemented all fields of subject into DB

2d625493 2021-04-28 10:56 Jan Pašek

Hotfix - logpath definition

7eacb98d 2021-04-28 10:02 Jan Pašek

Merge branch 'master' into '8670_Enhance_revocation_logic'

  1. Conflicts:
  2. src/dao/certificate_repository.py
688c63b7 2021-04-28 09:44 Jan Pašek

Re #8707 - Logging of used config file improved

53b0c8bc 2021-04-28 09:32 Jan Pašek

Re #8707 - Log level mapping via dictionary, minor adjustments during review

c36d3299 2021-04-28 08:08 David Friesecký

Re #8670 - Covered certificate_repository by the CRUD tests

4ff15a44 2021-04-28 06:27 Jan Pašek

Re #8707 - Added logging for the new functionality

d78aa613 2021-04-28 06:24 Jan Pašek

Re #8707 - Enhanced logging to set log level based on config file

c15357a9 2021-04-28 05:43 Jan Pašek

Re #8707 - Implemented get_certificate_state() in CertificateRepository

a53e5aef 2021-04-28 05:35 Jan Pašek

Re #8707 - Implemented status in the controller, prepared method in CertificateService

4beb92c2 2021-04-28 05:25 Jan Pašek

Re #8707 - Added necessary state constants

dce706e1 2021-04-27 13:12 Michal Seják

Merge branch '8570_Implement_logging'

  1. Conflicts:
  2. src/services/certificate_service.py
6425fa36 2021-04-27 12:49 David Friesecký

Re #8670 - Modified deletion for historical storage of certificates

ed35ce72 2021-04-26 10:02 David Friesecký

Re #8570 - Rotating file settings

fa26c1d4 2021-04-26 07:21 David Friesecký

Merge branch '8709_include_root_in_chain' into 'master'

Re #8709 - included root certificate into the trust chain

See merge request aswi/aswi-2021/aswi2021jmsd!17

0c4e12a7 2021-04-26 06:37 Jan Pašek

Updated swagger.yaml

94f8d5cf 2021-04-25 08:00 Jan Pašek

Re #8700 - Implemented certificate revalidation check and fixed affected tests

61fb67b4 2021-04-25 07:30 Jan Pašek

Re #8709 - included root certificate into the trust chain

b3c80ccb 2021-04-23 20:31 David Friesecký

Re #8570 - Added logs

5e31b492 2021-04-23 06:31 David Friesecký

Re #8570 - Messages logging

52f2eca4 2021-04-23 06:30 Jan Pašek

Certificate usage hotfix before DEMO #4 - digital signature does not specify timestamping

ca436714 2021-04-23 06:30 David Friesecký

Re #8570 - Logger configuration
- implemented dictionary to string in utils
- implemented log functions with parameter message only (name of file, name of class and name of function
are getting automaticaly)

469487cc 2021-04-22 14:47 Jan Pašek

Update swagger.yaml

48517898 2021-04-22 07:24 David Friesecký

Merge branch 'master' into 8570_Implement_logging

  1. Conflicts:
  2. src/constants.py
535ce081 2021-04-22 07:12 David Friesecký

Re #8570 - Logged configuration

1bd093c5 2021-04-21 22:57 Stanislav Král

Re #8585 - Improved a code comment in usages_to_extensions.py

329216fe 2021-04-21 22:39 Stanislav Král

Re #8585 - Fixed an issue where required extensions based on cert. usages were not present in the generated certificate

Created an utility that converts usages to extension configuration lines
Defined which extension field flags are required for certain usages

d23d22c9 2021-04-21 17:39 Jan Pašek

Re #8576 crl endpoint
Merge branch '8576_crl_endpoint' into 'master'
See merge request aswi/aswi-2021/aswi2021jmsd!15

5cd65ab4 2021-04-21 17:36 Michal Seják

Re #8577 - Minor refactoring (crl -> crl_ocsp).

5c0dd079 2021-04-21 17:35 Michal Seják

Re #8577 - Minor refactoring (crl -> crl_ocsp).

c4b733ef 2021-04-21 17:33 Michal Seják

Re #8577 - Minor refactoring (crl -> crl_ocsp).

c0b92d81 2021-04-21 16:53 Jan Pašek

Merge remote-tracking branch 'origin/8576_crl_endpoint' into 8576_crl_endpoint

dd91fb7a 2021-04-21 16:52 Jan Pašek

Re #8576 - openssl config template update, comment added

2c645d25 2021-04-21 15:59 Michal Seják

Re #8577 - Minor adjustment to accept binary contents.

7f9b2c58 2021-04-21 15:58 Michal Seják

Re #8577 - Added a `generate_ocsp` method to the CryptoService - calls OpenSSL to generate the response.

cc271e04 2021-04-21 15:58 Michal Seják

Re #8577 - Added a `create_index` method (= index including valid certificates) to the CRL Service.

1de95cdf 2021-04-21 15:56 Michal Seják

Re #8577 - Added handle methods for OCSP to the CrlOcspController.

ea1229ee 2021-04-21 11:03 Jan Pašek

Re #8576 - Fix of specifying CRL and OCSP endpoint

dd6b4c4c 2021-04-21 10:46 Jan Pašek

Re #8576 - Added crl endpoint integration tests, fix of serial number

1bdc90c0 2021-04-21 09:55 David Friesecký

Re #8570 - Setted configuration of logging

75ebc6fc 2021-04-21 06:43 Jan Pašek

Re #8576 - Fixed generating index file for generating empty CRL

b1fa358f 2021-04-21 06:28 Jan Pašek

Re #8576 - implemented CRL endpoint

f8bd4850 2021-04-21 06:28 Jan Pašek

Re #8576 - moved return codes to separate file

0bbe157a 2021-04-21 04:56 Stanislav Král

Merge branch '8583_interactive_details_page' into 'master'

8583 - Interactive details page

See merge request aswi/aswi-2021/aswi2021jmsd!14