Projekt

Obecné

Profil

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

# Datum Autor Komentář
4f70dde7 2021-05-18 15:56 Michal Seják

Merge branch 'master' into 8652_date_storage

  1. Conflicts:
  2. src/db/init_queries.py
61858091 2021-05-18 14:48 Michal Seják

Delete init_queries.py

ec4924a5 2021-05-18 14:24 Michal Seják

Re #8652 - Fixed format & merge conflict.

7ad820d0 2021-05-18 10:12 David Friesecký

Re #8927 - Improved loading scripts into DB

8203f634 2021-05-17 12:42 Jan Pašek

Merge branch 'master' into '8586_response_code_updates'

  1. Conflicts:
  2. src/controllers/certificates_controller.py
8f05fcc9 2021-05-17 11:45 Michal Seják

Re #8589 - Added a log check to test if the directory exists and if not, print error.

3243b35d 2021-05-17 11:45 Michal Seják

Re #8589 - Updated CertificateController in order to use the new get_root function of CertService.

1f8eed53 2021-05-17 11:26 Michal Seják

Merge remote-tracking branch 'origin/8779_Disable_logging_during_tests' into merge_8589_8880_8779

7946d57b 2021-05-17 11:07 Michal Seják

Merge remote-tracking branch 'origin/8880_Improve_FileAnchor' into merge_8589_8880_8779

6489aedd 2021-05-17 10:59 Michal Seják

Merge remote-tracking branch 'origin/8589_Implement_get_root' into merge_8589_8880_8779

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

055ca3e3 2021-05-15 12:21 Michal Seják

Re #8586 - Removed duplicate PASSWORD declaration, 205 -> 200 on empty lists, 205 -> 404 otherwise.

9fe17d78 2021-05-15 12:20 Michal Seják

Re #8586 - Removed the 205 return code.

ed8987e7 2021-05-15 12:11 Michal Seják

Re #8652 - Updated the `cert_to_dict` functions in order to keep returning the formatted date as opposed to the value stored in db (which is not a timestamp).

03484d49 2021-05-15 12:10 Michal Seják

Re #8652 - Updated the way valid_from/to fields are stored (str -> int). Used `timegm` from `calendar` for time_struct to utc unix timestamp conversion.

3f01285b 2021-05-15 12:08 Michal Seják

Re #8652 - Removed redundant "== ''" checks for date types.

4ec8e4ae 2021-05-15 12:07 Michal Seják

Re #8652 - Certificate date types updated (str -> int)

5b396f6f 2021-05-15 12:06 Michal Seják

Re #8652 - Certificate table datatype updates (valid_from, valid_to, revocation_date, deletion_date: TEXT => INTEGER)

1769e2e2 2021-05-12 21:24 David Friesecký

Re #8779 - Implemented disabling logging during tests

5678036c 2021-05-12 13:56 David Friesecký

Re #8880 - Edited config file (inserted RootDir)
- improved creating of logs and db directories

80f30a68 2021-05-12 08:07 David Friesecký

Re #8589 - Implemented get_root(unique_id) in CertificateService

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