1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Falk Werner
87f34fa768 feat(authentication): provide an authentication mechanism (#19)
* moves server into session

* renames jsonrpc server to jsonrpc proxy

* moves server into session

* renames jsonrpc server to jsonrpc proxy

* adds json rpc server

* removes obsolete proxy from protocol

* changes interface of jsonrpc_proxy_onresult to accept previously parsed messages

* adds infrastructure to process incoming requests; fixes invalid read of ill formatted responses

* adds description of authentication request

* adds authentication request

* adds userdb for authentication purposes

* removes debug code: console.log()

* fixes cmake build error (missing openssl symbols)

* fixes typo

* replaces ASCII art by UML diagram

* renames BAD_NOACCESS to BAD_ACCESS_DENIED

* fixes style

* adds docu of authentication

* ignored false positives of flawfinder

* fixes style issues

* fixes javascript style issues
2019-04-01 22:15:12 +02:00
Falk Werner
7447fb5dff renamed to webfuse 2019-03-26 23:04:53 +01:00
Falk Werner
1c9d1c8420
feat(API wrapper): separates implementation from public API
* moves implementation to impl subdirectory
* adds prefix _impl to implementation symbols
* removes double compilation for shared and static libraries
* fixes include guards
* fixes usage of extern "C"
2019-03-26 15:35:33 +01:00
Falk Werner
48185776b6
Feature/authentication (#14)
* makes wsfs_server_config opaque

* feature: try to create mount point, if not present

* fixes server start failure due to existing mountpoint

* added basic authentication infrastructure

* makes wsfs_server_config opaque

* feature: try to create mount point, if not present

* fixes server start failure due to existing mountpoint

* added basic authentication infrastructure

* added unit tests for credentials

* added unit tests for authenticators

* propagates authenticators to server protocol

* enabled username authentication in daemon example

* adds example to compute password hash

* adds infrastructure to execute commands

* added userdb to encapsulate authentication stuff

* adds session and session_manager

* fixes warning about unused param

* moves some logic from server_protocol to session

* makes wsfs_server_config opaque

* feature: try to create mount point, if not present

* fixes server start failure due to existing mountpoint

* added basic authentication infrastructure

* makes wsfs_server_config opaque

* added unit tests for credentials

* added unit tests for authenticators

* propagates authenticators to server protocol

* enabled username authentication in daemon example

* adds example to compute password hash

* adds infrastructure to execute commands

* added userdb to encapsulate authentication stuff

* adds session and session_manager

* fixes warning about unused param

* moves some logic from server_protocol to session

* updates libcrypto to version 1.1.0
2019-03-23 22:53:14 +01:00
Falk Werner
c4ef4f126b fixes flawfinder findings (ignores them) 2019-03-04 21:42:45 +01:00
Falk Werner
76713554ee fixes missing files 2019-03-04 21:18:16 +01:00
Falk Werner
d205d2f127 refactors provider client api (introduces client_config) 2019-03-04 21:17:37 +01:00
Falk Werner
2781aadf55 makes wsfs_status public (usable in provider example) 2019-03-04 19:19:04 +01:00
Falk Werner
fff6d54046 removes unused includes of stdio.h 2019-03-03 18:20:33 +01:00
Falk Werner
2e858475c2 removed debug code 2019-03-03 18:17:50 +01:00
Falk Werner
e4d95f5dc9 implements operation read 2019-03-03 18:02:30 +01:00
Falk Werner
de454516cb fixes invalid memory acceess 2019-03-03 18:02:02 +01:00
Falk Werner
519ec3a178 added implemetation of open 2019-03-03 16:29:02 +01:00
Falk Werner
3627ede1b1 added implementation for lookup (provider) 2019-03-03 15:44:34 +01:00
Falk Werner
58e65c4a31 fix: memory leak 2019-03-03 15:15:55 +01:00
Falk Werner
5f9096914e added implementation of readdir 2019-03-03 13:34:43 +01:00
Falk Werner
bc38b5d9b1 refactored message creation; enhanced implementation of some operations 2019-03-03 12:48:58 +01:00
Falk Werner
95e4d96d79 client is now able to send messages 2019-02-26 15:42:59 +01:00
Falk Werner
cc38995b5f adjusted include guards 2019-02-25 21:35:38 +01:00
Falk Werner
af71bcbff3 moved message and message_queue to common library 2019-02-25 21:28:31 +01:00
Falk Werner
1976841334 reorganized project: prepared to extract common functionality 2019-02-25 20:17:13 +01:00
Falk Werner
c7c28416db added implementation of getattr stub 2019-02-24 20:06:16 +01:00
Falk Werner
3bc041877a refactor: moved default implementation of operations to their modules 2019-02-24 19:16:29 +01:00
Falk Werner
bc0dc2889d separated client opertation stubs 2019-02-24 18:03:22 +01:00
Falk Werner
03b8ee473a client now connects (but still does not communicate) 2019-02-23 16:20:30 +01:00
Falk Werner
9f468f600e added use_tls (determine from URL, whether TLS is used) 2019-02-23 16:19:00 +01:00
Falk Werner
d18150d305 added code to parse urls 2019-02-23 15:57:57 +01:00
Falk Werner
2c8c6d588a removed leading underscore of include guards 2019-02-22 16:59:08 +01:00
Falk Werner
d37783706c fixed some broken header guards 2019-02-22 16:46:13 +01:00
Falk Werner
24455ecdc0 ignore memcpy warning of flawfinder (false positive) 2019-02-22 16:14:27 +01:00
Falk Werner
b1c72dab3c added more client stub (not functional yet) 2019-02-18 23:30:39 +01:00
Falk Werner
cc6a08ade5 added skeleton of provider example app 2019-02-17 14:31:04 +01:00
Falk Werner
a58d15db6a refactored read opertation 2019-02-17 02:01:12 +01:00
Falk Werner
39874f733a added provider api 2019-02-16 16:08:17 +01:00
Falk Werner
b90488678a replaced memcpy by strncpy to get rid of warning 2019-02-15 16:21:35 +01:00
Falk Werner
2b7d938315 add base64 as format for read results 2019-02-10 22:18:22 +01:00
Falk Werner
6782e73d3e disable lws logging 2019-02-10 15:12:14 +01:00
Falk Werner
cf1b57e86e project structure changed 2019-02-10 14:19:15 +01:00