platform/core/security/webauthn.git
8 months agoRemove unused origin from header
Dongsun Lee [Tue, 16 Jan 2024 06:20:01 +0000 (15:20 +0900)]
Remove unused origin from header

8 months agoFix TYPO in header(attestion->attestation)
Dongsun Lee [Tue, 16 Jan 2024 06:04:24 +0000 (15:04 +0900)]
Fix TYPO in header(attestion->attestation)

8 months agochange type of port from int to unsigned short
Dongsun Lee [Mon, 15 Jan 2024 04:43:54 +0000 (13:43 +0900)]
change type of port from int to unsigned short

8 months agoMove free into caller's block
Yonggoo Kang [Fri, 12 Jan 2024 03:26:19 +0000 (12:26 +0900)]
Move free into caller's block

8 months agoMark points will be changed
Yonggoo Kang [Fri, 12 Jan 2024 03:08:46 +0000 (12:08 +0900)]
Mark points will be changed

8 months agoMark points will be changed
Yonggoo Kang [Fri, 12 Jan 2024 02:58:12 +0000 (11:58 +0900)]
Mark points will be changed

8 months agoAdd simple test logic
Yonggoo Kang [Fri, 12 Jan 2024 02:57:23 +0000 (11:57 +0900)]
Add simple test logic

8 months agoLink pthread in test module
Yonggoo Kang [Fri, 12 Jan 2024 02:57:05 +0000 (11:57 +0900)]
Link pthread in test module

8 months agoFix name of member variables (#36)
강용구/Security&Privacy팀(SR)/삼성전자 [Thu, 11 Jan 2024 02:53:14 +0000 (11:53 +0900)]
Fix name of member variables (#36)

8 months agoRemove unnecessary shared ptr (#37)
강용구/Security&Privacy팀(SR)/삼성전자 [Thu, 11 Jan 2024 02:53:04 +0000 (11:53 +0900)]
Remove unnecessary shared ptr (#37)

8 months agoModify server's worker logic (#35)
강용구/Security&Privacy팀(SR)/삼성전자 [Wed, 10 Jan 2024 04:48:52 +0000 (13:48 +0900)]
Modify server's worker logic (#35)

* Modify service interface and Add descriptions
* Minor fix
* Remove unused logic

8 months agoBusy and Cancel logics (#33)
강용구/Security&Privacy팀(SR)/삼성전자 [Tue, 9 Jan 2024 08:02:13 +0000 (17:02 +0900)]
Busy and Cancel logics (#33)

8 months agofix a variable name in header file(transports->descriptors)
Dongsun Lee [Tue, 9 Jan 2024 07:46:01 +0000 (16:46 +0900)]
fix a variable name in header file(transports->descriptors)

9 months agoAdd thread logic for callbacks (#32)
강용구/Security&Privacy팀(SR)/삼성전자 [Fri, 5 Jan 2024 07:35:46 +0000 (16:35 +0900)]
Add thread logic for callbacks (#32)

* Add functions and Minor fix
* Add callbacks in creating thread at client-side
* Add callbacks in creating thread at server-side
* Remove service-thread
* Modify SocketManager for remove service-thread

9 months agoDefines WEBAUTHN_HYBRID_PLUGIN_SO_PATH in rpm macro file
Dongsun Lee [Thu, 4 Jan 2024 00:05:57 +0000 (09:05 +0900)]
Defines WEBAUTHN_HYBRID_PLUGIN_SO_PATH in rpm macro file

9 months agoChange callback definitions to function pointer
Dongsun Lee [Wed, 3 Jan 2024 04:47:37 +0000 (13:47 +0900)]
Change callback definitions to function pointer

9 months agoMake HAL API void
Krzysztof Jackiewicz [Mon, 11 Dec 2023 10:19:53 +0000 (11:19 +0100)]
Make HAL API void

All the errors will be returned via callbacks.

10 months agoRemove cancellation id from CAPI (#27)
강용구/Security Assurance Lab(SR)/삼성전자 [Thu, 7 Dec 2023 01:40:17 +0000 (10:40 +0900)]
Remove cancellation id from CAPI (#27)

* Remove cancellation id from CAPI and modify testcode
* Minor fix in serialization for long type
* Fix description

10 months agoAdd result param into response callback (#26)
강용구/Security Assurance Lab(SR)/삼성전자 [Tue, 5 Dec 2023 07:52:41 +0000 (16:52 +0900)]
Add result param into response callback (#26)

* Add result into response callback
* Minor fix on doc
* Drop "NONE" from name of cancelled

10 months agoRemoves Cancellation ID from HAL API
Dongsun Lee [Thu, 30 Nov 2023 01:25:39 +0000 (10:25 +0900)]
Removes Cancellation ID from HAL API

10 months agoFew API fixes
Krzysztof Jackiewicz [Tue, 28 Nov 2023 11:38:29 +0000 (12:38 +0100)]
Few API fixes

* Move include directives outside of 'extern "C"' blocks. Each header
  should decide how to handle it.
* Adjust API function definitions to declarations.
* Remove duplicated wauthn_error_to_string declaration.

10 months agoadd user_data parameter to callback functions
Dongsun Lee [Tue, 28 Nov 2023 06:00:58 +0000 (15:00 +0900)]
add user_data parameter to callback functions

10 months agoFix mismatch api (#23)
강용구/Security Assurance Lab(SR)/삼성전자 [Wed, 29 Nov 2023 05:45:35 +0000 (14:45 +0900)]
Fix mismatch api (#23)

10 months agoInit webauthn service (#20)
강용구/Security Assurance Lab(SR)/삼성전자 [Tue, 28 Nov 2023 06:39:42 +0000 (15:39 +0900)]
Init webauthn service (#20)

* Modify compiler to c++17
* Add build requires
* Add error types
* Remove duplicated variable
* Add include path for client
* Add data serialization
* Add webauthn service protocols
* Add to handle error with error number
* Add message buffer class
* Add utils
* Add free deleter
* Add Connection module
* Minor fix
* Modify CMakefiles for common lib
* Implement WebAuthn service
* Add an error type
* Add util functions
* Add request class for client
* Add protocols
* Add test code to check socket communication
* Minor fix
* Remove unused class and types
* Split connect, send, recv in client
* Minor fix (const, explicit)
* Remove Priority
* Minor fix
* Minor fix
* Minor fix
* Remove unnecesary log
* Remove unnecessary log
* Simplify creating socket service
* Remove unused code
* Split write, close in server
* Modify server main
* Remove unused code
* Add description for socket related errors.
* Match function parameters
* Remove new keyword
* Distinguish message size and payload on recv()
* Minor fix
* Avoid overwrite to buffer until previous write is sent
* Replace unique_ptr to make_unique
* Add file-locking module for server
* Add source files to build
* Check the thread is joinable
* Handle SIGTERM and Avoid "double free or corruption"
* Minor fix
* Merge exception handler for WA:Exception

10 months agochange cancellation_id to be generated in server
Dongsun Lee [Mon, 27 Nov 2023 00:38:45 +0000 (09:38 +0900)]
change cancellation_id to be generated in server

10 months agoElaborate the API description of wauthn_cb_display_qrcode
Dongsun Lee [Fri, 17 Nov 2023 05:08:47 +0000 (14:08 +0900)]
Elaborate the API description of wauthn_cb_display_qrcode

10 months agoAdd exception module (#18)
강용구/Security Assurance Lab(SR)/삼성전자 [Thu, 16 Nov 2023 09:53:13 +0000 (18:53 +0900)]
Add exception module (#18)

* Add exception module
* Change visibility hidden to default
* Add simple exception test

10 months agoAdd log module (#17)
강용구/Security Assurance Lab(SR)/삼성전자 [Thu, 16 Nov 2023 04:30:48 +0000 (13:30 +0900)]
Add log module (#17)

* Add log module
* Change log module in the client
* Change log module in the server
* Init testcode of client for check logging
* Add macro for naming log tag
* Modify macro name for distinguish with the client APIs

10 months agoFix to webauthn service setting (#15)
강용구/Security Assurance Lab(SR)/삼성전자 [Wed, 15 Nov 2023 09:52:34 +0000 (18:52 +0900)]
Fix to webauthn service setting (#15)

* Fix minor error for webauthn-server service

* Match API params

* Test call common lib on server

* Make consistency for naming in spec

* Modify smack label to SMACK_DOMAIN

10 months agoRemove wrong error code from appctrl_error_to_string()
Dongsun Lee [Wed, 15 Nov 2023 05:05:35 +0000 (14:05 +0900)]
Remove wrong error code from appctrl_error_to_string()

10 months agofix bug in manifest setting
Dongsun Lee [Wed, 15 Nov 2023 04:11:17 +0000 (13:11 +0900)]
fix bug in manifest setting

10 months agoAdd default visibility to APIs
Dongsun Lee [Wed, 15 Nov 2023 00:46:23 +0000 (09:46 +0900)]
Add default visibility to APIs

10 months agofix TYPO & add wauthn_error_to_string to header
Dongsun Lee [Tue, 14 Nov 2023 06:01:07 +0000 (15:01 +0900)]
fix TYPO & add wauthn_error_to_string to header

11 months agoAdd TCs for basic BLE operations
Dongsun Lee [Mon, 30 Oct 2023 00:47:20 +0000 (09:47 +0900)]
Add TCs for basic BLE operations

11 months agoSplit webauthn-types.h from webauthn.h
Dongsun Lee [Fri, 3 Nov 2023 01:11:00 +0000 (10:11 +0900)]
Split webauthn-types.h from webauthn.h

11 months agoAdd HAL APIs
Dongsun Lee [Mon, 30 Oct 2023 01:24:13 +0000 (10:24 +0900)]
Add HAL APIs

11 months agoadd webauthn APIs
이동선/Security Assurance Lab(SR)/삼성전자 [Wed, 11 Oct 2023 05:17:03 +0000 (14:17 +0900)]
add webauthn APIs

13 months agoAdd basic files for gbs build
Dongsun Lee [Tue, 5 Sep 2023 07:25:39 +0000 (16:25 +0900)]
Add basic files for gbs build

13 months agoinitial commit
Dongsun Lee [Mon, 4 Sep 2023 07:08:06 +0000 (16:08 +0900)]
initial commit