Projekt

Obecné

Profil

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

# Datum Autor Komentář
e96150c4 2021-04-06 23:43 Michal Seják

Re #8476 - Added `to_dict` method to Subject, minor bugfix

eb2ea1ff 2021-04-06 23:42 Michal Seják

Re #8476 - Certificate usages bugfix (?)

fb987403 2021-04-06 22:50 Michal Seják

Re #8476 - Added and tested `get_certificate(id)`.

49f22fd9 2021-04-06 22:26 Michal Seják

Re #8476 - Fixed and tested filtering for GET /api/certificates

5b57121e 2021-04-06 22:19 Michal Seják

Re #8476 - Refactored the application; swagger is not used for code generation anymore, REST API is being implemented from scratch. Migration only, fixing tests.

1e07432d 2021-04-06 20:19 Michal Seják

Re #8476 - Implemented `list_certificates` with unit tests.

ed64d8a4 2021-04-06 20:18 Michal Seják

Re #8476 - Upgraded connexion -> updated requirements.txt

a0d4dda1 2021-04-06 18:28 Michal Seják

Re #8476 - Created basic unit tests for `create_certificate`.

0397ef52 2021-04-06 18:28 Michal Seják

Re #8476 - Finalized `create_certificate`. Update of swagger main.py

eff25d7c 2021-04-06 17:23 Michal Seják

Re #8476 - Database FileAnchor utilization.

fa03de5c 2021-04-06 17:23 Michal Seják

Re #8476 - Auxiliary script for database initialization, FileAnchor

6f4a5f24 2021-04-06 16:30 Michal Seják

Re #8476 - Repository bugfix.

ee883227 2021-04-06 16:30 Michal Seják

Re #8476 - Controller create certificate bugfix.

08f22957 2021-04-06 16:18 Michal Seják

Re #8476 - Clarity update.

88a68c29 2021-04-06 14:45 Michal Seják

Re #8476 - Added as a part of the swagger-generated server stub. Imported required objects, SQLite3 thread issue hack (performance impact negligible, violates encapsulation), implemented `create_certificate`.

07622265 2021-04-06 14:42 Michal Seják

Re #8476 - Changed the name of `CertificatesUsages` to `CertificateUsages`.

25e62ed8 2021-04-06 14:41 Michal Seják

Re #8476 - Added necessary requirements.

fe572bb6 2021-04-06 14:40 Michal Seják

Re #8476 - Added as a part of the swagger-generated server stub, fixed attribute error (https://github.com/zalando/connexion/issues/739)

f716748a 2021-04-06 14:39 Michal Seják

Re #8476 - Added swagger.yaml (created by Jan Pašek).

a4f50fca 2021-04-06 14:38 Michal Seják

Re #8476 - Added as a part of the swagger-generated server stub, set base path to root.

d35c7f1f 2021-04-06 14:38 Michal Seják

Re #8476 - Added swagger-generated server stub.

c56d2d85 2021-04-06 06:24 Jan Pašek

Re #8472 implement key service certificate service
Merge branch '8472_Implement_KeyService_CertificateService' into 'master'
See merge request aswi/aswi-2021/aswi2021jmsd!7

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

2690bc1d 2021-04-05 22:13 Stanislav Král

Re #8472 - Added further tests of the KeyService class

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

45744020 2021-04-05 22:03 Stanislav Král

Re #8472 - Changed delete methods in repositories in such way that delete methods now return True only when at least one row was deleted

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

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

0f3af523 2021-04-05 21:41 Stanislav Král

Re #8472 - Changed CertificateRepository.read_all method in such way that empty list is now returned instead of None when no certificates are found

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

6f64f062 2021-04-05 19:57 Stanislav Král

Re #8472 - Fixed an issue in the certificate repository that resulted in inability to filter certificates by their type

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

093d06df 2021-04-05 18:45 Stanislav Král

Re #8472 - Fixed an issue in CertificateRepository.create() method where update result (boolean) was returned instead of the created ID

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

fa72c969 2021-04-04 17:38 Stanislav Král

Re #8472 - Fixed CertificateRepository bug that resulted in inability to create certificates

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

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

a7411982 2021-04-04 13:51 Stanislav Král

Re #8472 - Fixed a bug in CertificateRepository that resulted in inability to get a single certificate by ID

4cf3b539 2021-04-04 13:40 Stanislav Král

Re #8472 - Extended integration test asserting correct reading from the database

f9711600 2021-04-04 13:39 Stanislav Král

Re #8472 - Fixed a bug in PrivateKeyRepository that resulted in inability to get a single private key from the repository

e39e138f 2021-04-04 13:31 Stanislav Král

Re #8472 - Improved SQL connection/cursor fixtures in such way that connection to DB happens only once per test module

d3fa9147 2021-04-04 12:53 Stanislav Král

Re #8472 - Added simple integration tests

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

Re #8472 - Finished implementation of create_root_ca method in CertificateService

f3125948 2021-04-04 12:12 Stanislav Král

Re #8472 - Made small fixes to the CertificateRepository

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

98846b35 2021-04-03 17:10 Stanislav Král

Re #8472 - Fixed PrivateKey field assignment typo

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

Re #8471 - Merge implement DAO - source code

d6ccc8ca 2021-04-02 10:44 David Friesecký

Re #8471 - Implemented selection of all private keys

9e22e20c 2021-04-01 19:41 David Friesecký

Re #8471 - Implemented filter of certificates
- Implemented filter by certificate type using index (id) from CertificateTypes table
- No multiple types supported

7db2341e 2021-04-01 13:48 Stanislav Král

Merge branch '8512_update_architecture'

1036d66a 2021-04-01 13:23 David Friesecký

Re: #8471 - Modified database
- password can be null
- FKs in CertificateUsages can not be null

e88c2086 2021-04-01 13:18 David Friesecký

Re #8512 - Rewritten ERA model

805077f5 2021-04-01 12:25 David Friesecký

Re #8471 - Error correction after review

7d439051 2021-04-01 11:04 David Friesecký

Re #8471 - Added initialize test

9d3eded8 2021-04-01 10:56 David Friesecký

Re #8471 - Simplification of CRUD functions
- conversion source of private key repository to one file
- added comments

f8b23532 2021-04-01 10:56 David Friesecký

Re #8471 - Simplification of CRUD functions
- conversion source of certificate repository to one file
- added comments

bcdb15bd 2021-04-01 10:54 David Friesecký

Re #8471 - Added name of tables to constants
- TAB_CERTIFICATE_TYPES for CertificateTypes table
- TAB_USAGE_TYPES for UsageTypes table

bb5c266f 2021-04-01 10:51 David Friesecký

Re #8471 - Modified scripts and database
- relation between Certificates and CertificateUsages tables on delete 'no action' >> 'cascade'

099f78a9 2021-04-01 10:48 David Friesecký

Re #8471 - Modified relation between tables
- relation between Certificates and CertificateUsages tables 'no action' >> 'cascade'

c7214bba 2021-04-01 10:45 David Friesecký

Re #8471 - Modified source
- deleted redundat files
- deleted '_impl' from repositories filename

a0602bad 2021-03-31 22:12 David Friesecký

Re #8471 - Added comments for CRUD functions

b2a9b83d 2021-03-31 21:06 David Friesecký

Re #8471 - Tested direct DB communication
- implemented tests for Certificates and PrivateKeys tables via DBManager

ed6b52ea 2021-03-31 11:36 David Friesecký

Re #8471 - Created database file

47e0e828 2021-03-31 11:35 David Friesecký

Re #8471 - Added FK of parent certificate

371b0ae9 2021-03-31 11:00 Jan Pašek

Re #8472 cryptography service implementation
Merge branch '#8472_CryptographyService_Implementation' into 'master'
See merge request aswi/aswi-2021/aswi2021jmsd!6

1636aefe 2021-03-31 10:29 David Friesecký

Re #8471 - Edited files for DB communication

dbd44a51 2021-03-31 10:28 David Friesecký

Re #8471 - Edited Certificate object
- due to database modification

993ee5a1 2021-03-31 10:26 David Friesecký

Re #8471 - Edited constants

02f63b07 2021-03-31 09:06 Stanislav Král

Re #8472 - Changed order of create_sscrt method parameters

87fd5afc 2021-03-31 09:02 Stanislav Král

Re #8472 - Changed some parameter names in create_csr method and renamed make_csr_test.py to create_csr_test.py

7444d4cb 2021-03-31 08:55 Stanislav Král

Re #8472 - Changed access modifier of run_for_output method to private (was protected previously)

57898b2f 2021-03-31 08:54 Stanislav Král

Re #8472 - Changed access modifier of subject_to_param method to private (was protected previously) and added docstring to it

87a7a4a5 2021-03-31 08:51 Stanislav Král

Re #8472 - Changed access modifier of sign_csr method to private (was protected previously)

2e99bad0 2021-03-31 08:48 Stanislav Král

Re #8472 - Changed access modifier of create_csr method to private (was protected previously)

86415c34 2021-03-31 08:34 David Friesecký

Re #8471 - Repaired datamodel (SQLite)
- inserted new table for NxN relation (Certificates - UsageTypes)

a1f57f7e 2021-03-31 08:27 David Friesecký

Re #8471 - Repaired datamodel (SQLite)
- inserted new table for NxN relation (Certificates - UsageTypes)
- edited .sql scripts

a6722153 2021-03-31 08:17 Michal Seják

Re #8512 - Minor updates of parameters and method names.

032be8ad 2021-03-31 08:12 Stanislav Král

Re #8472 - Removed useless private key generation in verify_ca_test.py

dd03da19 2021-03-31 08:04 Stanislav Král

Re #8472 - Changed access modifiers of some methods and fixed verify_ca_test.py

4691a56f 2021-03-31 07:59 Stanislav Král

Re #8472 - Added new line to `_run_for_output` method's docstring

c4b2f4d2 2021-03-31 07:58 Stanislav Král

Re #8472 - Removed unused method parameters

61a42455 2021-03-31 07:57 Stanislav Král

Re #8472 - Renamed `verify_ca` method to `verify_cert` and improved its documentation

ad068f9d 2021-03-31 07:54 Stanislav Král

Re #8472 - Improved `create_crt` documentation

bdf9a46c 2021-03-31 07:47 Stanislav Král

Re #8472 - Renamed `make_csr` method to `create_csr`

25053504 2021-03-31 07:01 David Friesecký

Re #8471 - Corrected stylistics and warnings

7d0aa304 2021-03-30 22:13 Stanislav Král

Re #8472 - Added few unit tests that perform further testing of _run_for_output method

5fdd01a6 2021-03-30 21:51 Stanislav Král

Re #8472 - Added verify_ca method that verifies whether a certificate has expired

Added 3 unit tests that verify the added method.
Added "days" parameter to some methods in order to be able to specify the number of days after which the generated certificate will expire.

18588728 2021-03-30 18:52 Stanislav Král

Re #8472 - Small changes in the documentation

9dbbcdae 2021-03-30 18:47 Stanislav Král

Re #8472 - Added create_crt method that creates a certificate

Added 3 unit tests testing the added method.

fe647b46 2021-03-30 18:15 Stanislav Král

Re #8472 - Added sign_csr method that signs a CSR

Added 3 unit tests testing the added method.

6c098d6e 2021-03-30 16:29 Stanislav Král

Re #8472 - Added make_csr method that makes a CSR

Added 2 unit tests testing the added method.
Moved CryptographyService tests into a separate files

dddcf5e1 2021-03-30 15:47 Michal Seják

Re #8512 - Parameter updates, parameter names shown.

c0aed2f5 2021-03-30 15:07 Stanislav Král

Re #8472 - Added create_sscrt method that creates a self signed certificate

Added 5 unit tests verifying the validity of the certificate generation.