{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":754571272,"defaultBranch":"main","name":"rust-crypto","ownerLogin":"nmshd","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-02-08T10:42:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/87031446?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1718871034.0","currentOid":""},"activityList":{"items":[{"before":"32422975adfbdb34d9c37c0babc2191474b434ad","after":null,"ref":"refs/heads/bugfix/missingFeatureCheck","pushedAt":"2024-06-20T08:10:34.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"2bd757e4b58a76bb1348c8f79629b0782d24cd0c","after":"28bdbc6a5d2313cba05309aa9a20372e85fae613","ref":"refs/heads/main","pushedAt":"2024-06-20T08:10:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Bugfix/missing feature check (#21)\n\n* bugfix/missing feature check in test module\r\n\r\n* bugfix/added feature check\r\n\r\n---------\r\n\r\nCo-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bugfix/missing feature check (#21)"}},{"before":"d92a6990e5fefe83e0cffb04bd41f1c040711470","after":"32422975adfbdb34d9c37c0babc2191474b434ad","ref":"refs/heads/bugfix/missingFeatureCheck","pushedAt":"2024-06-20T08:09:47.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mergify[bot]","name":null,"path":"/apps/mergify","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/10562?s=80&v=4"},"commit":{"message":"Merge branch 'main' into bugfix/missingFeatureCheck","shortMessageHtmlLink":"Merge branch 'main' into bugfix/missingFeatureCheck"}},{"before":null,"after":"d92a6990e5fefe83e0cffb04bd41f1c040711470","ref":"refs/heads/bugfix/missingFeatureCheck","pushedAt":"2024-06-20T08:08:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/added feature check","shortMessageHtmlLink":"bugfix/added feature check"}},{"before":"a9cc9e0835043b2d88a4b01f90ac8e7bbf1bc405","after":null,"ref":"refs/heads/bugfix/missingFeatureCheck","pushedAt":"2024-06-20T07:40:36.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"505824f52f5319ee9b62852f30b5e4abd6d5779c","after":"2bd757e4b58a76bb1348c8f79629b0782d24cd0c","ref":"refs/heads/main","pushedAt":"2024-06-20T07:40:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/missing feature check in test module (#20)","shortMessageHtmlLink":"bugfix/missing feature check in test module (#20)"}},{"before":null,"after":"a9cc9e0835043b2d88a4b01f90ac8e7bbf1bc405","ref":"refs/heads/bugfix/missingFeatureCheck","pushedAt":"2024-06-20T07:35:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/missing feature check in test module","shortMessageHtmlLink":"bugfix/missing feature check in test module"}},{"before":"0dfe8160df16a90c03437b83c37cb3173f1654ff","after":"505824f52f5319ee9b62852f30b5e4abd6d5779c","ref":"refs/heads/main","pushedAt":"2024-06-20T07:26:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Pull Request for the wrapper class of Team TechShield (USB-Dongles) (#8)\n\n* unseren code eingefügt\r\n\r\n* Zwischenpush\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* push für test\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* ich checke nicht warum es kaputt ist\r\n\r\n* idk, genug für heute\r\n\r\n* cfg hinzugefuegt\r\n\r\n* slot_id angepasst\r\n\r\n* key_id angepasst\r\n\r\n* zwischenpush\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* zwischenpush\r\n\r\n* Zwischenpush, mega viele Änderungen, sind noch weit entfernt vom MS3\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* zwischenpush\r\n\r\n* zwischenpush\r\n\r\n* Zwischenpush\r\n\r\n* Common in Tests geloescht, wird nicht gebraucht\r\n\r\n* Edit\r\n\r\n* provider agepasst, hoffentlich ohne fehler?\r\n\r\n* provider angepasst\r\n\r\n* prover.rs ohne fehler.\r\n\r\n* provider.rs sollte so jetzt passen\r\n\r\n* key_handle ohne Fehler\r\n\r\n* ueberarbeitet\r\n\r\n* mod rs angepasst\r\n\r\n* Bugfixen der vorhandenen tests\r\n\r\n* Test create Rsa, Ecc funktioniert. Test Load Rsa funktioniert\r\n\r\n* Tests load key funktionieren\r\n\r\n* Tests laufen, alles supi\r\n\r\n* ecdsa zu ecc geaendert\r\n\r\n* create_key verkuerzt\r\n\r\n* algorithmen in key_handle hinzugefuegt\r\n\r\n* tests angepasst\r\n\r\n* test umgenannt\r\n\r\n* angepasst\r\n\r\n* keyhandlers agepasst\r\n\r\n* Auskommentierten Code aus mod.rs entfernt\r\n\r\n* key_handle tests angepasst\r\n\r\n* verify_signature und key_algorithm angepasst\r\n\r\n* usage an key algo agepasst\r\n\r\n* mod.rs angepasst\r\n\r\n* mod.rs YubiKeyProvider angepasst\r\n\r\n* added \"lost\" folder\r\n\r\n* more documentation\r\n\r\n* added working RSA signature method\r\n\r\n* small issues fixed, tests don´t run at a time!!!!! should be no problem, they work if you test one after another\r\n\r\n* verbesserung der doku und anmerkung zum erfolgreichen testen\r\n\r\n* kleine änderung von einem debug-gegenstand, hinzufügen von eccp256, -384 für usage-info in gen_key\r\n\r\n* sign_data schlanker gemacht\r\n\r\nCo-authored-by: yenkkes \r\n\r\n* key_id s im Test angepasst\r\n\r\n* Decrypt nicht moeglich mit Ecc, Erklaerung hinzugefuegt\r\n\r\n* usage zu immutable gemacht\r\n\r\n* sorry. more documentation\r\n\r\n* Reworked get_free_slot, doesn´t work yet\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* provider und provider test angepasst\r\n\r\n* changed get_free_slot to index 20, so it iterates to 19\r\n\r\n* added list_all_keys, aswell as remove_keys()\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* zurückgesetzt\r\n\r\n* list_key and remove_key works now. generate_key throws error through get_free_slots, if all slots are full. Added MgmKey & MgmPin to Provider for future usage. Worked together with Sebastian!!!\r\n\r\nCo-authored-by: Eisberch \r\n\r\n* merge error fixed\r\n\r\n* pineingabe auf self.pin angepasst\r\n\r\n* pin eingabe auf self.pin angepasst und create key durchiterieren dre key_usage moeglich gemacht\r\n\r\n* ProviderConfig Any hinzugefuegt\r\n\r\n* config angepasst und usage korrekt implementiert\r\n\r\n* schluesselnamen angepasst\r\n\r\n* keine praegnanten Aenderungen\r\n\r\n* Nicht benoetigten auskommentierten Code entfernt\r\n\r\n* unnoetigen code entfernt\r\n\r\n* key_id in tests erstellt\r\n\r\n* decrypt gefixed\r\n\r\n* encrypt und decrypt test hinzugefuegt rsa\r\n\r\n* Co-authored-by: yenkkes \r\nmain, bzw. Demo-App - unfertig\r\n\r\n* Ausgabe der Meldungen ermöglicht\r\n\r\n* Schlüssel generieren in der Demo App hinzugefügt\r\n\r\n* KeyUsage aus dem Code entfernt. Nicht relevant\r\n\r\n* KeyUsage auch aus Demo App entfernt\r\n\r\n* Ausgaben ins Englische übersetzt\r\n\r\n* Zwisachenpush, encrypt angefagnen und unnoetige kommentare geloescht\r\n\r\n* Delete src/main.rs\r\n\r\n* small adjustments, deleted printlns\r\n\r\n* Fehler beim loeschen der println!, daher auf Stand vorher zuruckgesetzt\r\n\r\n* println! entfernt\r\n\r\n* Provider initialize module nochmals angepasst\r\n\r\n* Unnoetigen Import entfernt\r\n\r\n* provider mit prints erneut angepasst\r\n\r\n* key_algo sinnvoll mit eingebaut\r\n\r\n* unnoetigeen Kommentar geloescht\r\n\r\n* Klammer ausversehen mitgeloescht.. rueckgaengig gemacht\r\n\r\n* clear_slot funktion richtige slots uebergeben\r\n\r\n* pin und mgmkey nicht sichtbar gemacht\r\n\r\n* fixed merge conflicts\r\n\r\n* feedback added again\r\n\r\n---------\r\n\r\nCo-authored-by: Eisberch \r\nCo-authored-by: sebastian <3000430@stud.hs-mannheim.d>\r\nCo-authored-by: markus-gruppe-e <164612494+markus-gruppe-e@users.noreply.github.com>\r\nCo-authored-by: yenkkes \r\nCo-authored-by: OnkelDe <84448649+OnkelDe@users.noreply.github.com>\r\nCo-authored-by: Eisberch <3000430@stud.hs-mannheim.de>","shortMessageHtmlLink":"Pull Request for the wrapper class of Team TechShield (USB-Dongles) (#8)"}},{"before":"1ee8a9c8e418c6038aadffe79693d3c8d9dc11b2","after":null,"ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:53:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"e122996ccea12afaf0244233abcf6ffb4360f120","after":"0dfe8160df16a90c03437b83c37cb3173f1654ff","ref":"refs/heads/main","pushedAt":"2024-06-13T08:53:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Bugfix/errors after merge (#15)\n\n* bugfix/Fixed minor use-flag errors after merge\r\n\r\n* bugfix/Additional changes for use-flag handling & Clippy fixes\r\n\r\n* bugfix/missing feature check in test package\r\n\r\n* bugfix/added use-flag for nks","shortMessageHtmlLink":"Bugfix/errors after merge (#15)"}},{"before":"8b73df97f6fc5ff8cd074662ab18920425a95d55","after":"1ee8a9c8e418c6038aadffe79693d3c8d9dc11b2","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:52:58.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Merge branch 'main' into bugfix/ErrorsAfterMerge","shortMessageHtmlLink":"Merge branch 'main' into bugfix/ErrorsAfterMerge"}},{"before":null,"after":"8b73df97f6fc5ff8cd074662ab18920425a95d55","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:51:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/added use-flag for nks","shortMessageHtmlLink":"bugfix/added use-flag for nks"}},{"before":"1df36a1e93e8c3dc172278831698fdb1df4f26bb","after":null,"ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:49:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"8b6a643abe99d8e0339afe3cd9849d51ee3fd900","after":"e122996ccea12afaf0244233abcf6ffb4360f120","ref":"refs/heads/main","pushedAt":"2024-06-13T08:49:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Bugfix/errors after merge (#14)\n\n* bugfix/Fixed minor use-flag errors after merge\r\n\r\n* bugfix/Additional changes for use-flag handling & Clippy fixes\r\n\r\n* bugfix/missing feature check in test package","shortMessageHtmlLink":"Bugfix/errors after merge (#14)"}},{"before":"ef19d139ed500783d1cc6c90c378be69a49b993f","after":"1df36a1e93e8c3dc172278831698fdb1df4f26bb","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:49:06.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Merge branch 'main' into bugfix/ErrorsAfterMerge","shortMessageHtmlLink":"Merge branch 'main' into bugfix/ErrorsAfterMerge"}},{"before":null,"after":"ef19d139ed500783d1cc6c90c378be69a49b993f","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:48:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/missing feature check in test package","shortMessageHtmlLink":"bugfix/missing feature check in test package"}},{"before":"58dcee13b8badfd6cdace96764d8c81b1df5068b","after":null,"ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:45:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"db3605bd44e0592317614ac18845b43e901cdfb3","after":"8b6a643abe99d8e0339afe3cd9849d51ee3fd900","ref":"refs/heads/main","pushedAt":"2024-06-13T08:45:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Bugfix/errors after merge (#13)\n\n* bugfix/Fixed minor use-flag errors after merge\r\n\r\n* bugfix/Additional changes for use-flag handling & Clippy fixes","shortMessageHtmlLink":"Bugfix/errors after merge (#13)"}},{"before":"ec8e58d9bc84bf4d63c50aabd193b682cc8c65f5","after":"58dcee13b8badfd6cdace96764d8c81b1df5068b","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:44:52.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Merge branch 'main' into bugfix/ErrorsAfterMerge","shortMessageHtmlLink":"Merge branch 'main' into bugfix/ErrorsAfterMerge"}},{"before":null,"after":"ec8e58d9bc84bf4d63c50aabd193b682cc8c65f5","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:42:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/Additional changes for use-flag handling & Clippy fixes","shortMessageHtmlLink":"bugfix/Additional changes for use-flag handling & Clippy fixes"}},{"before":"621fb4acabd8744330f94759150b0d4fb8067727","after":null,"ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:25:44.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"0ee21cf9015da395a1e3961f9177b51338b553ad","after":"db3605bd44e0592317614ac18845b43e901cdfb3","ref":"refs/heads/main","pushedAt":"2024-06-13T08:25:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/Fixed minor use-flag errors after merge (#12)","shortMessageHtmlLink":"bugfix/Fixed minor use-flag errors after merge (#12)"}},{"before":null,"after":"621fb4acabd8744330f94759150b0d4fb8067727","ref":"refs/heads/bugfix/ErrorsAfterMerge","pushedAt":"2024-06-13T08:23:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"bugfix/Fixed minor use-flag errors after merge","shortMessageHtmlLink":"bugfix/Fixed minor use-flag errors after merge"}},{"before":"7f13bc9b7ee7f4c1535853dc5e3bef7020ca0647","after":"0ee21cf9015da395a1e3961f9177b51338b553ad","ref":"refs/heads/main","pushedAt":"2024-06-13T08:05:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Adding Network Key Store to Provider and Keyandle by Team RheinSec (#6)\n\n* Rhein_Sec NKS imported\r\n\r\n* testfiles\r\n\r\n* changes to mod.rs's\r\n\r\n* updated gitignore\r\n\r\n* added adress pub\r\n\r\n* Upadated mod.rs, other changes\r\n\r\n* added nks_token\r\n\r\n* nksError fix\r\n\r\n* added exiting methods, other changes\r\n\r\n* added api and initialize_module\r\n\r\n* provider handle tests auf NksProvider angepasst.\r\n\r\n* added RSA encryption and signing\r\n\r\n* provider handle test fixes ->\r\ncargo.toml\r\nlib.rs\r\nmod.rs\r\nmod.rs\r\nprovider_handle_tests.rs\r\n\r\n* provider handle test debug -> keine fehler mehr\r\n\"99999\" muss durch die echten nks_adress und nks_token ersetzt werden.\r\n\r\n* key handle test debug -> ebenfalls keine fehler mehr\r\n\"99999\" muss durch die echten nks_adress und nks_token ersetzt werden.\r\n\r\n* load_key und create_key in nks hcvault provider implementiert\r\n\r\n* add current implementation of sign and verify\r\n\r\n* fixed imports and other errors\r\n\r\n* added errors, added ecc sodium crypto, deleted api.rs, fixed more logic errors, added initial impl for nks config\r\n\r\n* minor changes\r\n\r\n* minor changes 2\r\n\r\n* cfg in key_handle\r\n\r\n* cfg in module_provider\r\n\r\n* fix delimiter in nks provider and delete unused modules in hcvault mod\r\n\r\n* minor changes 3\r\n\r\n* fix some errors\r\n\r\n* fix url address errors\r\n\r\noriginal error was\r\nerror[E0277]: the trait bound &std::option::Option: IntoUrl is not satisfied --> src/nks/hcvault/key_handle.rs:202:19 | 202 | .post(&self.nks_address) | ---- ^^^^^^^^^^^^^^^^^ the trait IntoUrl is not implemented for &std::option::Option | | | required by a bound introduced by this call | = help: the following other types implement trait IntoUrl: Url std::string::String &'a str &'a std::string::String\r\n\r\n* comment out delete_secrets\r\n\r\nis not needed fo tests to run\r\n\r\n* comment out delete_secrets + fix url\r\n\r\ndelete_secrets is not needed for tests to run\r\n\r\n* make empty impl of traits\r\n\r\n* fix tpm stuff in common key_handle\r\n\r\n* change test_matrix to nks in common\r\n\r\n* implement initialize_module for nks\r\n\r\n* comment out unimplemented tests and fix compilation errors\r\n\r\n* implement create_key for nks\r\n\r\n* delete unused nks_root_token\r\n\r\n* fix cargo\r\n\r\n* fit provider parameters to trait declaration\r\n\r\n* fix compilation errors\r\n\r\n* add getting secrets in initialize_module\r\n\r\n* changes to the nks_config, other\r\n\r\n* changes to the nksconfig, changes to do_nothing method\r\n\r\n* redo overwritten changes\r\n\r\n* use config in nks provider\r\n\r\n* working test method\r\n\r\n* use config in initialize and create_key\r\n\r\n* initialize module w/o hardcode but access to config\r\n\r\n* add new_token as result of get_and_save_keypair\r\n\r\n* test_create_edsa_key and ...ecdh_key\r\n\r\n* add private_key and public_key fields to NksProvider. First implementation of load_key\r\n\r\n* re-add token.json for persistance after end of runtime\r\n\r\n* better client side error handling for when key with id already exists\r\n\r\n* reduce duplicate code in provider_handle_tests + impl test_load_ecdsa_key and test_load_ecdh_key\r\n\r\n* documentation for provider and provider_handle_tests\r\n\r\n* resolve warnings and typos in provider and provider_handle_tests\r\n\r\n* remove unused variables in provider\r\n\r\n* add match for ecdh in create_key\r\n\r\n* remove some outputs used for testing\r\n\r\n* Added SigningFailed error\r\n\r\n* Implemented Method sign_data, decrypt_data, encrypt_data, verify_signature\r\n\r\n* bracket placement\r\n\r\n* added SigningFailed to Match\r\n\r\n* added test an verify for rsa\r\n\r\n* refactored all methods\r\n\r\n* refactored all methods\r\n\r\n* refactored test_sign_and_verify_rsa and added test_encrypt_and_decrypt_rsa\r\n\r\n* made get_config public\r\n\r\n* fixed return of decrypt and encrypt and error on verify signature\r\n\r\n* fixed matching error if no supported algorithm could be found\r\n\r\n* fixed matching error if no supported algorithm could be found\r\n\r\n* Fixed Sign and verify test.\r\n\r\n* added static base64 decoded rsa keys to test funkction. added base64 decoding of keys\r\n\r\n* Fixed test with static base64 encoded keys in key_handle.rs\r\n\r\n* changed to port 5000, added https support, changed URLs\r\n\r\n* removed unused lib\r\n\r\n* added some error handeling, segmented methods\r\n\r\n* added static ecc key to sign\r\n\r\n* added static ecc key to sign and verify\r\n\r\n* added test for ecdsa sign\r\n\r\n* fixed RSA key decoding\r\n\r\n* working rsa encrypt decrypt\r\n\r\n* fixed rsa encrypt decrypt test\r\n\r\n* fixed rsa encrypt decrypt test\r\n\r\n* add function add_signature_to_secrets\r\n\r\n* fixed logic errors, better encrypt decrypt\r\n\r\n* functioning encrypt decrypt ecdh\r\n\r\n* sign and verify with dalek crate\r\n\r\n* remove key creation from signing test\r\n\r\n* code clean up, added optional RSA key length\r\n\r\n* match hash in sign and verify\r\n\r\n* Documentation - key_handle, mod.rs, provider.rs\r\n\r\n* Documentation - traits - mod.rs\r\n\r\n* remove unnecessary tests\r\n\r\n* Add test instructions to README\r\n\r\n* dokumentation\r\n\r\n* Warnings entfernt\r\n\r\n* Error Warnings entfernt\r\n\r\n* Added #[Instrument] to all important methods\r\n\r\n* Dokumentation Error.rs\r\n\r\n* Cep sose2024 main (#10)\r\n\r\n* Rhein_Sec NKS imported\r\n\r\n* testfiles\r\n\r\n* changes to mod.rs's\r\n\r\n* updated gitignore\r\n\r\n* added adress pub\r\n\r\n* Upadated mod.rs, other changes\r\n\r\n* added nks_token\r\n\r\n* nksError fix\r\n\r\n* added exiting methods, other changes\r\n\r\n* added api and initialize_module\r\n\r\n* provider handle tests auf NksProvider angepasst.\r\n\r\n* added RSA encryption and signing\r\n\r\n* provider handle test fixes ->\r\ncargo.toml\r\nlib.rs\r\nmod.rs\r\nmod.rs\r\nprovider_handle_tests.rs\r\n\r\n* provider handle test debug -> keine fehler mehr\r\n\"99999\" muss durch die echten nks_adress und nks_token ersetzt werden.\r\n\r\n* key handle test debug -> ebenfalls keine fehler mehr\r\n\"99999\" muss durch die echten nks_adress und nks_token ersetzt werden.\r\n\r\n* load_key und create_key in nks hcvault provider implementiert\r\n\r\n* add current implementation of sign and verify\r\n\r\n* fixed imports and other errors\r\n\r\n* added errors, added ecc sodium crypto, deleted api.rs, fixed more logic errors, added initial impl for nks config\r\n\r\n* minor changes\r\n\r\n* minor changes 2\r\n\r\n* cfg in key_handle\r\n\r\n* cfg in module_provider\r\n\r\n* fix delimiter in nks provider and delete unused modules in hcvault mod\r\n\r\n* minor changes 3\r\n\r\n* fix some errors\r\n\r\n* fix url address errors\r\n\r\noriginal error was\r\nerror[E0277]: the trait bound &std::option::Option: IntoUrl is not satisfied --> src/nks/hcvault/key_handle.rs:202:19 | 202 | .post(&self.nks_address) | ---- ^^^^^^^^^^^^^^^^^ the trait IntoUrl is not implemented for &std::option::Option | | | required by a bound introduced by this call | = help: the following other types implement trait IntoUrl: Url std::string::String &'a str &'a std::string::String\r\n\r\n* comment out delete_secrets\r\n\r\nis not needed fo tests to run\r\n\r\n* comment out delete_secrets + fix url\r\n\r\ndelete_secrets is not needed for tests to run\r\n\r\n* make empty impl of traits\r\n\r\n* fix tpm stuff in common key_handle\r\n\r\n* change test_matrix to nks in common\r\n\r\n* implement initialize_module for nks\r\n\r\n* comment out unimplemented tests and fix compilation errors\r\n\r\n* implement create_key for nks\r\n\r\n* delete unused nks_root_token\r\n\r\n* fix cargo\r\n\r\n* fit provider parameters to trait declaration\r\n\r\n* fix compilation errors\r\n\r\n* add getting secrets in initialize_module\r\n\r\n* changes to the nks_config, other\r\n\r\n* changes to the nksconfig, changes to do_nothing method\r\n\r\n* redo overwritten changes\r\n\r\n* use config in nks provider\r\n\r\n* working test method\r\n\r\n* use config in initialize and create_key\r\n\r\n* initialize module w/o hardcode but access to config\r\n\r\n* add new_token as result of get_and_save_keypair\r\n\r\n* test_create_edsa_key and ...ecdh_key\r\n\r\n* add private_key and public_key fields to NksProvider. First implementation of load_key\r\n\r\n* re-add token.json for persistance after end of runtime\r\n\r\n* better client side error handling for when key with id already exists\r\n\r\n* reduce duplicate code in provider_handle_tests + impl test_load_ecdsa_key and test_load_ecdh_key\r\n\r\n* documentation for provider and provider_handle_tests\r\n\r\n* resolve warnings and typos in provider and provider_handle_tests\r\n\r\n* remove unused variables in provider\r\n\r\n* add match for ecdh in create_key\r\n\r\n* remove some outputs used for testing\r\n\r\n* Added SigningFailed error\r\n\r\n* Implemented Method sign_data, decrypt_data, encrypt_data, verify_signature\r\n\r\n* bracket placement\r\n\r\n* added SigningFailed to Match\r\n\r\n* added test an verify for rsa\r\n\r\n* refactored all methods\r\n\r\n* refactored all methods\r\n\r\n* refactored test_sign_and_verify_rsa and added test_encrypt_and_decrypt_rsa\r\n\r\n* made get_config public\r\n\r\n* fixed return of decrypt and encrypt and error on verify signature\r\n\r\n* fixed matching error if no supported algorithm could be found\r\n\r\n* fixed matching error if no supported algorithm could be found\r\n\r\n* Fixed Sign and verify test.\r\n\r\n* added static base64 decoded rsa keys to test funkction. added base64 decoding of keys\r\n\r\n* Fixed test with static base64 encoded keys in key_handle.rs\r\n\r\n* changed to port 5000, added https support, changed URLs\r\n\r\n* removed unused lib\r\n\r\n* added some error handeling, segmented methods\r\n\r\n* added static ecc key to sign\r\n\r\n* added static ecc key to sign and verify\r\n\r\n* added test for ecdsa sign\r\n\r\n* fixed RSA key decoding\r\n\r\n* working rsa encrypt decrypt\r\n\r\n* fixed rsa encrypt decrypt test\r\n\r\n* fixed rsa encrypt decrypt test\r\n\r\n* add function add_signature_to_secrets\r\n\r\n* fixed logic errors, better encrypt decrypt\r\n\r\n* functioning encrypt decrypt ecdh\r\n\r\n* sign and verify with dalek crate\r\n\r\n* remove key creation from signing test\r\n\r\n* code clean up, added optional RSA key length\r\n\r\n* match hash in sign and verify\r\n\r\n* Documentation - key_handle, mod.rs, provider.rs\r\n\r\n* Documentation - traits - mod.rs\r\n\r\n* remove unnecessary tests\r\n\r\n* Add test instructions to README\r\n\r\n* dokumentation\r\n\r\n* Warnings entfernt\r\n\r\n* Error Warnings entfernt\r\n\r\n* Added #[Instrument] to all important methods\r\n\r\n* Dokumentation Error.rs\r\n\r\n---------\r\n\r\nCo-authored-by: Phillip Schaefer <2212535@stud.hs.mannheim.de>\r\nCo-authored-by: laurent \r\nCo-authored-by: halrifai \r\nCo-authored-by: pl-CJump <3000986@stud.hs-mannheim.de>\r\nCo-authored-by: halrifai <164380470+halrifai@users.noreply.github.com>\r\nCo-authored-by: Phillip Schaefer <2212535@stud.hs-mannheim.de>\r\n\r\n* updated the init module to include sym block chipers, removed some warnings\r\n\r\n* inital AES support\r\n\r\n* add aes support to create_key\r\n\r\n* add test for aes key creation and aes aupport in get_config\r\n\r\n* fix aes impl in create_key\r\n\r\n* add test for loading aes key\r\n\r\n* add test for aes encryption and decryption, first step to implementation of aes encruption and decryption (panicks)\r\n\r\n* aes gcm first working state with hardcoded nonce\r\n\r\n* aes gcm with random nonce\r\n\r\n* cleanup aes gcm\r\n\r\n* support for all sizes in aes gcm + tests\r\n\r\n* first try at aes ccm (fails to decrypt) + tests\r\n\r\n* aes ecb implementation + test\r\n\r\n* aes cbc implementation + test\r\n\r\n* aes ctr implementation + test\r\n\r\n* aes cfb implementation + test\r\n\r\n* aes ofb implementation + test\r\n\r\n* change get_config to reduce duplicate code\r\n\r\n* restructure aes key_handle tests to reduce duplicate code\r\n\r\n* removed AES Ccm alg\r\n\r\n* removed old code\r\n\r\n* Add downcast from Any to ProviderConfig\r\n\r\n* remove default feature\r\n\r\n* Add instruction for adding default feature to README\r\n\r\n---------\r\n\r\nCo-authored-by: Phillip Schaefer <2212535@stud.hs.mannheim.de>\r\nCo-authored-by: laurent \r\nCo-authored-by: halrifai \r\nCo-authored-by: pl-CJump <3000986@stud.hs-mannheim.de>\r\nCo-authored-by: halrifai <164380470+halrifai@users.noreply.github.com>\r\nCo-authored-by: ngussek <45964639+ngussek@users.noreply.github.com>\r\nCo-authored-by: Patric Lay <164861525+pl-CJump@users.noreply.github.com>","shortMessageHtmlLink":"Adding Network Key Store to Provider and Keyandle by Team RheinSec (#6)"}},{"before":"e215f72b4dd59a223dedd9e2cff2b106eaf26270","after":"7f13bc9b7ee7f4c1535853dc5e3bef7020ca0647","ref":"refs/heads/main","pushedAt":"2024-06-10T14:38:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Team B Android: Change ConfigProvider -> Any in Linux, Windows and FFI and add symetric encryption for Android (#11)\n\n* feat: Add IvParameterSpec class and init2 method\r\n\r\n* feat: iv is saved in encryped data\r\n\r\n* fix: ProviderConf to Any and wrong args for initialize_module\r\n\r\n---------\r\n\r\nCo-authored-by: markoisus ","shortMessageHtmlLink":"Team B Android: Change ConfigProvider -> Any in Linux, Windows and FF…"}},{"before":"a03197dc6aff491f8fbfc4d5b06fe082e094b27a","after":"e215f72b4dd59a223dedd9e2cff2b106eaf26270","ref":"refs/heads/main","pushedAt":"2024-06-04T13:26:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jkoenig134","name":"Julian König","path":"/jkoenig134","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33655937?s=80&v=4"},"commit":{"message":"Adding Android Keystore Provider and Keyhandle by Team Netwatch (B) (#5)\n\n* feat: added internal work to fork\r\n\r\n* fix: added missing changes\r\n\r\n* feat: implemented config\r\n\r\n* fix: added lib cratetype\r\n\r\n* fix: AndroidConfig has to be public\r\n\r\n* fix: missing match in instance\r\n\r\n* fix: don't load java vm in initialize_module, as it will be called before the config was passed\r\n\r\n* feat: added default logging implementation for android\r\n\r\n* feat: implemented symmetric algorithm for encryption, *not tested\r\n\r\n* fix: change traits to use Box\r\n\r\nWhen using Box, you would have to upcast the dyn ProviderConfig to dyn Any. This feature is currently experimental (https://github.com/rust-lang/rust/issues/65991). As ProviderConfig is always going to be turned into an Any, it has no real purpose anyways.\r\nBREAKING\r\n\r\n* test(mod.rs): adding the tests again\r\n\r\n* feat: Add set_key_size and set_algorithm_parameter_spec methods to Builder\r\n\r\n* fix: Update set_algorithm_parameter_spec method in Builder\r\n\r\n* feat: docs for set_block_modes, set_key_size and set_algorithm_parameter_spec\r\n\r\n* fix: builder methods using wrong parameters\r\n\r\n* feat: wrapped KeyGenerator for symmetric encryption\r\n\r\n* feat: added symetrical encryption for android\r\n\r\n* fix: added more paddings\r\n\r\n* fix: readded common tests\r\n\r\n* fix: readded other tests\r\n\r\n* fix: mod.rs\r\n\r\n* fix: wrang hash names for signature\r\n\r\n---------\r\n\r\nCo-authored-by: markoisus \r\nCo-authored-by: Dexter <84778260+DexterHK@users.noreply.github.com>\r\nCo-authored-by: Baibars ","shortMessageHtmlLink":"Adding Android Keystore Provider and Keyhandle by Team Netwatch (B) (#5)"}},{"before":"e215f72b4dd59a223dedd9e2cff2b106eaf26270","after":"a03197dc6aff491f8fbfc4d5b06fe082e094b27a","ref":"refs/heads/main","pushedAt":"2024-06-04T09:09:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Cep sose2024 main (#10)\n\n* Rhein_Sec NKS imported\r\n\r\n* testfiles\r\n\r\n* changes to mod.rs's\r\n\r\n* updated gitignore\r\n\r\n* added adress pub\r\n\r\n* Upadated mod.rs, other changes\r\n\r\n* added nks_token\r\n\r\n* nksError fix\r\n\r\n* added exiting methods, other changes\r\n\r\n* added api and initialize_module\r\n\r\n* provider handle tests auf NksProvider angepasst.\r\n\r\n* added RSA encryption and signing\r\n\r\n* provider handle test fixes ->\r\ncargo.toml\r\nlib.rs\r\nmod.rs\r\nmod.rs\r\nprovider_handle_tests.rs\r\n\r\n* provider handle test debug -> keine fehler mehr\r\n\"99999\" muss durch die echten nks_adress und nks_token ersetzt werden.\r\n\r\n* key handle test debug -> ebenfalls keine fehler mehr\r\n\"99999\" muss durch die echten nks_adress und nks_token ersetzt werden.\r\n\r\n* load_key und create_key in nks hcvault provider implementiert\r\n\r\n* add current implementation of sign and verify\r\n\r\n* fixed imports and other errors\r\n\r\n* added errors, added ecc sodium crypto, deleted api.rs, fixed more logic errors, added initial impl for nks config\r\n\r\n* minor changes\r\n\r\n* minor changes 2\r\n\r\n* cfg in key_handle\r\n\r\n* cfg in module_provider\r\n\r\n* fix delimiter in nks provider and delete unused modules in hcvault mod\r\n\r\n* minor changes 3\r\n\r\n* fix some errors\r\n\r\n* fix url address errors\r\n\r\noriginal error was\r\nerror[E0277]: the trait bound &std::option::Option: IntoUrl is not satisfied --> src/nks/hcvault/key_handle.rs:202:19 | 202 | .post(&self.nks_address) | ---- ^^^^^^^^^^^^^^^^^ the trait IntoUrl is not implemented for &std::option::Option | | | required by a bound introduced by this call | = help: the following other types implement trait IntoUrl: Url std::string::String &'a str &'a std::string::String\r\n\r\n* comment out delete_secrets\r\n\r\nis not needed fo tests to run\r\n\r\n* comment out delete_secrets + fix url\r\n\r\ndelete_secrets is not needed for tests to run\r\n\r\n* make empty impl of traits\r\n\r\n* fix tpm stuff in common key_handle\r\n\r\n* change test_matrix to nks in common\r\n\r\n* implement initialize_module for nks\r\n\r\n* comment out unimplemented tests and fix compilation errors\r\n\r\n* implement create_key for nks\r\n\r\n* delete unused nks_root_token\r\n\r\n* fix cargo\r\n\r\n* fit provider parameters to trait declaration\r\n\r\n* fix compilation errors\r\n\r\n* add getting secrets in initialize_module\r\n\r\n* changes to the nks_config, other\r\n\r\n* changes to the nksconfig, changes to do_nothing method\r\n\r\n* redo overwritten changes\r\n\r\n* use config in nks provider\r\n\r\n* working test method\r\n\r\n* use config in initialize and create_key\r\n\r\n* initialize module w/o hardcode but access to config\r\n\r\n* add new_token as result of get_and_save_keypair\r\n\r\n* test_create_edsa_key and ...ecdh_key\r\n\r\n* add private_key and public_key fields to NksProvider. First implementation of load_key\r\n\r\n* re-add token.json for persistance after end of runtime\r\n\r\n* better client side error handling for when key with id already exists\r\n\r\n* reduce duplicate code in provider_handle_tests + impl test_load_ecdsa_key and test_load_ecdh_key\r\n\r\n* documentation for provider and provider_handle_tests\r\n\r\n* resolve warnings and typos in provider and provider_handle_tests\r\n\r\n* remove unused variables in provider\r\n\r\n* add match for ecdh in create_key\r\n\r\n* remove some outputs used for testing\r\n\r\n* Added SigningFailed error\r\n\r\n* Implemented Method sign_data, decrypt_data, encrypt_data, verify_signature\r\n\r\n* bracket placement\r\n\r\n* added SigningFailed to Match\r\n\r\n* added test an verify for rsa\r\n\r\n* refactored all methods\r\n\r\n* refactored all methods\r\n\r\n* refactored test_sign_and_verify_rsa and added test_encrypt_and_decrypt_rsa\r\n\r\n* made get_config public\r\n\r\n* fixed return of decrypt and encrypt and error on verify signature\r\n\r\n* fixed matching error if no supported algorithm could be found\r\n\r\n* fixed matching error if no supported algorithm could be found\r\n\r\n* Fixed Sign and verify test.\r\n\r\n* added static base64 decoded rsa keys to test funkction. added base64 decoding of keys\r\n\r\n* Fixed test with static base64 encoded keys in key_handle.rs\r\n\r\n* changed to port 5000, added https support, changed URLs\r\n\r\n* removed unused lib\r\n\r\n* added some error handeling, segmented methods\r\n\r\n* added static ecc key to sign\r\n\r\n* added static ecc key to sign and verify\r\n\r\n* added test for ecdsa sign\r\n\r\n* fixed RSA key decoding\r\n\r\n* working rsa encrypt decrypt\r\n\r\n* fixed rsa encrypt decrypt test\r\n\r\n* fixed rsa encrypt decrypt test\r\n\r\n* add function add_signature_to_secrets\r\n\r\n* fixed logic errors, better encrypt decrypt\r\n\r\n* functioning encrypt decrypt ecdh\r\n\r\n* sign and verify with dalek crate\r\n\r\n* remove key creation from signing test\r\n\r\n* code clean up, added optional RSA key length\r\n\r\n* match hash in sign and verify\r\n\r\n* Documentation - key_handle, mod.rs, provider.rs\r\n\r\n* Documentation - traits - mod.rs\r\n\r\n* remove unnecessary tests\r\n\r\n* Add test instructions to README\r\n\r\n* dokumentation\r\n\r\n* Warnings entfernt\r\n\r\n* Error Warnings entfernt\r\n\r\n* Added #[Instrument] to all important methods\r\n\r\n* Dokumentation Error.rs\r\n\r\n---------\r\n\r\nCo-authored-by: Phillip Schaefer <2212535@stud.hs.mannheim.de>\r\nCo-authored-by: laurent \r\nCo-authored-by: halrifai \r\nCo-authored-by: pl-CJump <3000986@stud.hs-mannheim.de>\r\nCo-authored-by: halrifai <164380470+halrifai@users.noreply.github.com>\r\nCo-authored-by: Phillip Schaefer <2212535@stud.hs-mannheim.de>","shortMessageHtmlLink":"Cep sose2024 main (#10)"}},{"before":"4ab695178e21bb83a21bd2c4ea6937eb587ade0c","after":null,"ref":"refs/heads/cep-sose2024-main","pushedAt":"2024-06-04T09:09:00.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"}},{"before":"103c95b0ca30c97cb6ac23aeb57ed519babb7f8d","after":"4ab695178e21bb83a21bd2c4ea6937eb587ade0c","ref":"refs/heads/cep-sose2024-main","pushedAt":"2024-06-04T09:07:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Merge branch 'main' into cep-sose2024-main","shortMessageHtmlLink":"Merge branch 'main' into cep-sose2024-main"}},{"before":null,"after":"103c95b0ca30c97cb6ac23aeb57ed519babb7f8d","ref":"refs/heads/cep-sose2024-main","pushedAt":"2024-06-04T09:02:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ngussek","name":null,"path":"/ngussek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45964639?s=80&v=4"},"commit":{"message":"Merge branch 'main' of https://github.com/cep-sose2024/rheinsec_rust-crypto","shortMessageHtmlLink":"Merge branch 'main' of https://github.com/cep-sose2024/rheinsec_rust-…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEaksMogA","startCursor":null,"endCursor":null}},"title":"Activity · nmshd/rust-crypto"}