Projekt

Obecné

Profil

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

# Datum Autor Komentář
d1c800c1 2021-05-07 21:03 Stanislav Král

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

b484b79b 2021-05-07 20:50 Stanislav Král

Covered test cases where CertificateService should/shouldn't raise InvalidSubjectAttribute error

c9f5ff0d 2021-05-07 19:35 Stanislav Král

Removed assert_invalid_subject_attribute_error function in check_subject_is_valid_test.py test

28dd4ff0 2021-05-07 19:31 Stanislav Král

Improved check_subject_is_valid_test.py by using test parametrization.

fcdfe462 2021-05-07 18:02 Stanislav Král

Covered the new CertificateService check_subject_is_valid with unit tests.

e36779bd 2021-05-03 16:25 Michal Seják

Re #8706 - Removed debug print statements.

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.

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
857e9e12 2021-05-03 11:48 Michal Seják

Re #8705 - Added CertService tests for `verify_key` and key reusal functionality of `wrap_custom_key`.

fbfc4b04 2021-05-03 11:48 Michal Seják

Re #8705 - Reformatting, test updates (discussed invalid branch returns 400).

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

Re #8705 - Review 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.

5f4b9c8d 2021-05-02 14:26 Michal Seják

Re #8704 - Added an invalid extension test.

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

Re #8702 - Added filtering/pagination tests.

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'

b6167335 2021-05-01 07:37 Michal Seják

Re #8700 - Fixed a test bug related to date format differences.

8a5e37dd 2021-05-01 05:49 Stanislav Král

Re #8708 - Improved /api/certificate/{id}/identity test coverage by testing to send non well formed requests

dc6a2217 2021-05-01 05:39 Stanislav Král

Re #8708 - Improved generate_pkcs_identity tests in such way that the identity's friendlyName attribute is now checked

7dd54fd2 2021-05-01 05:33 Stanislav Král

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

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

63d763d2 2021-05-01 05:11 Stanislav Král

Re #8708 - Renamed a test

9cb4bc4e 2021-05-01 05:10 Stanislav Král

Re #8708 - Added a test verifying the validity of the generate_pkcs_identity method in CertificateService when a chain of trust is empty

41349ce9 2021-05-01 04:58 Stanislav Král

Re #8708 - Added a new integration test verifying valid status code and content type of /api/certificates/<id>/identity endpoint

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

71938dcd 2021-04-30 17:39 Michal Seják

Re #8705 - Added tests, changed usages (dict -> list).

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.

1f869543 2021-04-30 10:31 David Friesecký

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

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
ecfad82b 2021-04-28 10:00 Jan Pašek

Re #8670 - minor extension of integration test during review

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

Re #8670 - Covered certificate_repository by the CRUD tests

7d05def5 2021-04-28 06:09 Jan Pašek

Re #8707 - Added integration test of the RestAPI

a3a691fd 2021-04-28 05:58 Jan Pašek

Re #8707 - Added integration test of the service

6425fa36 2021-04-27 12:49 David Friesecký

Re #8670 - Modified deletion for historical storage of certificates

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

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

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

3e1e5cd1 2021-04-22 09:28 Stanislav Král

Re #8575 - Removed useless print method calls

97856712 2021-04-21 22:49 Stanislav Král

Re #8585 - Edited certificate_service_test.py tests asserting that various extension field flags are set when certain usages are selected

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).

79a61171 2021-04-21 15:59 Michal Seják

Re #8577 - Added OCSP integration tests.

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

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

f76b8017 2021-04-21 06:46 Jan Pašek

Re #8576 - Added integration test for empty CRL

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

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

d5ca887d 2021-04-21 05:46 Jan Pašek

Re #8576 - integration test of CrlService

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()

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

1e4b402d 2021-04-20 04:41 Stanislav Král

Re #8575 - Improved crl_service_test.py comments

9896ec36 2021-04-19 17:45 Stanislav Král

Re #8575 - Removed a useless CryptographyService fixture

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

b62ebacd 2021-04-19 11:50 Stanislav Král

Re #8575 - Renamed some variable names in create_crt_test.py

e40c571e 2021-04-19 11:43 Stanislav Král

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

Renamed some create_crt_test.py tests.

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

b4607586 2021-04-19 08:36 Jan Pašek

Merge branch 'master' into 8583_interactive_details_page

  1. Conflicts:
  2. app.py
f6bfad7a 2021-04-17 15:11 Jan Pašek

Re #8572 - resolved conflicts

  1. Conflicts:
  2. src/controllers/certificates_controller.py l254-261
5aa1b476 2021-04-16 20:09 Michal Seják

Re #8574 - Added tests for the new filtering functionality.

970c303d 2021-04-16 17:59 Michal Seják

Re #8572 - Adjusted CertificateService unit tests according to the new `delete_certificate` specification.

fc874c36 2021-04-16 17:58 Michal Seják

Re #8572 - Added tests for certificate deletion.

960ba317 2021-04-16 17:36 Jan Pašek

Re #8583 - Fixed failing tests

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

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

ac489cf6 2021-04-15 09:46 Jan Pašek

Re #8571 - Fixed import error in unittests

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

Re #8571 - RestAPI testing

cc738849 2021-04-15 08:45 Jan Pašek

Re #8571 - CertificateService tests

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

Re #8571 - certificate_service.py revocation support end tests

f8581e41 2021-04-14 15:17 Stanislav Král

Fixed failing tests after performing a merge.

79fcd90e 2021-04-14 14:51 Stanislav Král

Merge branch '8578_Implement_database_changes'

  1. Conflicts:
  2. src/dao/certificate_repository.py
  3. src/dao/private_key_repository.py
  4. tests/integration_tests/dao/certificate_repository/conftest.py
dd53033e 2021-04-14 11:12 Michal Seják

Re #8573 - Minor test bugfix (review)

6654bf8b 2021-04-14 10:55 David Friesecký

Re #8578 - Edited conftest
- tests from private_key_repository_test use unique database

ab2478ed 2021-04-14 10:18 David Friesecký

Re #8578 - Repaired test after review
- edited conftest - inicialization database before each test

322a7621 2021-04-14 09:51 Stanislav Král

Re #8573 - Fixed an invalid test_get_cert_private_key_incorrect_id test

753e6b34 2021-04-14 09:46 Stanislav Král

Re #8573 - Fixed an invalid test_get_cert_private_key test

6e32cf7d 2021-04-13 21:39 David Friesecký

Re #8578 - Extended tests after review
- added second tree of certificates to better cover

d65b022d 2021-04-13 21:34 David Friesecký

Re #8578 - Cover private_key_repository tests
- created tests for functions create, read, read_all, update, delete
- (+) edited certificate_repository to the same stylistics

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

7ff4be59 2021-04-12 23:29 Stanislav Král

Re #8573 - Improved testing of extract_public_key_from_certificate and extract_public_key_from_private_key methods

163f57d0 2021-04-12 23:01 David Friesecký

Re #8578 - Remaked tests files
- created tests for new functions
- set_certificate_revoked, clear_certificate_revocation, get_all_revoked_by, get_all_issued_by

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

Re #8573 - Implemented extract_public_key_from_certificate

ce8b9aaf 2021-04-12 22:15 Stanislav Král

Re #8573 - Implemented get_private_key_of_a_certificate method in CertController and added /api/certificates/<id>/private_key endpoint

cfda1725 2021-04-12 21:28 Stanislav Král

Re #8573 - Implemented get_public_key_of_a_certificate method in CertController and added /api/certificates/<id>/public_key endpoint

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

2bb3759c 2021-04-11 14:15 Stanislav Král

Re #8579 - Changed conftest.py of service and DAO tests in such way that test_configuration is now used

d2b0ef43 2021-04-11 14:15 Stanislav Král

Re #8475 - Applied FlaskInjector to REST API tests

2f38462f 2021-04-09 19:24 Jan Pašek

Re #8569 Fixed failing pipeline

3195e946 2021-04-09 18:46 Jan Pašek

Re #8569 Fixed broken tests after injection implementation

ed55c677 2021-04-07 13:17 Jan Pašek

Re #8475 - Fixed minor bug in GET /api/certificates endpoint with filtering