Projekt

Obecné

Profil

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

# Datum Autor Komentář
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
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.

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.

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

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

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.

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

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

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.

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

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

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.

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

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

Re #8707 - Added logging for the new functionality

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

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

Merge branch '8570_Implement_logging'

  1. Conflicts:
  2. src/services/certificate_service.py
ed35ce72 2021-04-26 10:02 David Friesecký

Re #8570 - Rotating file settings

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

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

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

Re #8570 - Added logs

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

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

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

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

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.

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

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

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

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

94e89bb1 2021-04-20 18:37 Jan Pašek

Re #8576 - calling CryptographyService from CrlService, passphrase support

64cfca84 2021-04-20 18:05 Jan Pašek

Re #8576 - cryptography.py implemented generate_crl()

0fd6d825 2021-04-20 15:58 Jan Pašek

Re #8576 - CrlService implemented generate_crl_response(), prepared method generate_crl in CryptographyService

8ff50e4e 2021-04-20 15:42 Jan Pašek

Re #8576 - moved CertificateNotFoundException to separate file

d55d7f0d 2021-04-20 08:41 Stanislav Král

Re #8575 - Serial number item in the index file is now always uppercase

ca31a7f7 2021-04-20 08:34 Stanislav Král

Re #8575 - Fixed an issue where when creating an index file the valid_to field was passed instead of the revocation_date field

87c56935 2021-04-20 08:03 Stanislav Král

Re #8575 - Fixed an issue where serial number was not passed when creating certificates
Removed a TODO that has already been fixed

7313994f 2021-04-19 17:41 Stanislav Král

Re #8575 - Implemented CrlService that allows the caller to generate a CA database index of revoked certificates

Added an integration test verifying its validity.
Renamed NOT_BEFORE_AFTER_DATE_FORMAT constant to VALID_FROM_TO_DATE_FORMAT in certificate_service.py....

5f4e6c2f 2021-04-19 16:22 Stanislav Král

Re #8575 - Added a file that defines methods used for generating CA index file lines

Added unit tests verifying the validity of added methods

be2df9b7 2021-04-19 09:42 Stanislav Král

Re #8575 - Added unit tests verifying that serial number is set when creating a self signed certificate

02954c9d 2021-04-19 08:46 Jan Pašek

Re #8583 - Deleting certificates

2510f01a 2021-04-19 07:48 Stanislav Král

Re #8575 - Fixed an issue where the serial number was not passed when signing a CSR

9a55ea8a 2021-04-19 05:28 Stanislav Král

Re #8575 - Added a "sn" parameter to some CryptographyService

f6bfad7a 2021-04-17 15:11 Jan Pašek

Re #8572 - resolved conflicts

  1. Conflicts:
  2. src/controllers/certificates_controller.py l254-261
485913d0 2021-04-16 20:08 Michal Seják

Re #8574 - Added the `get_certificates_issued_by(id)` method to the CertificateService (just calling the homonymous CryptoService method).

5f8a2c07 2021-04-16 17:54 Michal Seják

Re #8572 - Extended the method in the CertificateService.

9e6f791a 2021-04-15 16:19 Jan Pašek

Re #8571 - Fixed problems during walk-through code review

9c704fb1 2021-04-15 09:39 Jan Pašek

Re #8571 - RestAPI testing

20b33bd4 2021-04-14 16:16 Jan Pašek

Re #8571 - certificate_service.py revocation support end tests

3e770afd 2021-04-14 16:15 Jan Pašek

Re #8571 - cryptography.py unified extension specification and support for CRL LF

6abfb037 2021-04-13 08:13 Stanislav Král

Re #8573 - Added some CertificateService tests and improved CryptographyService tests of methods that extract public keys

d3bfacfc 2021-04-13 08:08 Stanislav Král

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

19e5260d 2021-04-12 23:00 Stanislav Král

Re #8573 - Implemented extract_public_key_from_certificate

19d25d2f 2021-04-12 20:46 Stanislav Král

Re #8573 - Added get_public_key method to KeyService that extracts a public key from a private key

e8face67 2021-04-12 20:36 Stanislav Král

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

5c748d51 2021-04-12 20:16 Stanislav Král

Re #8573 - Implemented extract_public_key method that allows the caller to extract a public key from a certificate

81dbb479 2021-04-09 19:01 Jan Pašek

Re #8569 Checking presence of OpenSSL during init

151e7604 2021-04-09 18:44 Jan Pašek

Re #8569 Prepared services for dependency injection

4faab824 2021-04-09 18:43 Jan Pašek

Re #8569 Parsing datetime in cryptography.py service on windows (stripping \r)

c4ba6bb7 2021-04-06 06:14 Jan Pašek

Re #8473 - Added get_subject_from_certificate to certificate_service.py

a4e818dc 2021-04-06 05:38 Jan Pašek

Re #8473 - Fixed minor typo in certificate_service.py

2f5101f1 2021-04-05 22:52 Stanislav Král

Re #8472 - Added a parameter to the craete_sscrt method in CryptographyService in order to be able to specify tha number of days for which the generated certificate will be valid.

a6727aa9 2021-04-05 22:41 Stanislav Král

Re #8472 - Added missing docstrings to KeyService and CertificateService classes

699a4f25 2021-04-05 22:04 Stanislav Král

Re #8472 - Added KeyService.delete test and renamed a test suite

Applied a small change to the KeyService.get_keys method

3d639744 2021-04-05 21:42 Stanislav Král

Re #8472 - Implemented delete_certificate method in CertificateService and added a test validating it

4e70d22a 2021-04-05 21:29 Stanislav Král

Re #8472 - Added get_chain_of_trust method documentation and comments

ef65f488 2021-04-05 21:19 Stanislav Král

Re #8472 - Implemented get_chain_of_trust method and added an integration test validating it

Added return type specification to read_all method in CertificateRepository

2a90f4fd 2021-04-05 20:31 Stanislav Král

Re #8472 - Implemented get_certificates method and added an integration test validating it

Added fixtures providing a unique DB connection for each test

4c19a9b1 2021-04-05 19:48 Stanislav Král

Re #8472 - Implemented create_end_cert method and added an integration test validating it

ca3ac7c0 2021-04-05 18:47 Stanislav Král

Re #8472 - Added the ability to pass usage dictionary to create_ca and create_root_ca methods via optional parameter

bbcb7c89 2021-04-04 17:40 Stanislav Král

Re #8472 - Implemented create_ca method in CertificateService and added test verifying this method's validity

10fab051 2021-04-04 13:53 Stanislav Král

Re #8472 - Implemented get_certificate method in CertificateService and added a test testing this method

313b647b 2021-04-04 12:15 Stanislav Král

Re #8472 - Finished implementation of create_root_ca method in CertificateService

36409852 2021-04-04 10:17 Stanislav Král

Re #8472 - Improved parse_cert_pem method in such way that it also parses notBefore and notAfter fields now

cc51ca2c 2021-04-04 00:00 Stanislav Král

Re #8472 - Finished implementation of parse_cert_pem method that parses a subject out of a PEM formatted certificate

Added few unit tests testing this method.

4a40b0d2 2021-04-03 22:18 Stanislav Král

Re #8472 - WIP commit of adding a method capable of parsing a Subject from a cert PEM

f62119d4 2021-04-03 17:14 Stanislav Král

Re #8472 - Implemented KeyService

181e1196 2021-04-02 14:29 Jan Pašek

Re #8471 - Merge implement DAO - source code