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

41 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
nosamad
2f8d2a8724 adds valgrind support for amd64 architectures 2019-03-23 18:16:31 +01:00
nosamad
e30e73b506 fixes missing flag for arm32v7 and libfuse 2019-03-23 15:13:07 +01:00
nosamad
bf6077a942 adds dynamic test discover support 2019-03-20 19:55:34 +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
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
1b4a3277b6 renamed export symbols 2019-02-25 21:39:41 +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
d18150d305 added code to parse urls 2019-02-23 15:57:57 +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
4396dddd2b added example for provider 2019-02-16 16:28:14 +01:00
Falk Werner
561a9f4eb5 renamed library and example 2019-02-16 16:14:22 +01:00
Falk Werner
39874f733a added provider api 2019-02-16 16:08:17 +01:00
Falk Werner
95a0a4df59 changed build behavior: tests and example are enabled by default and can be disabled using cmake options 2019-02-15 16:16:24 +01:00
Falk Werner
bb917ab5c5 fixed issues regarding usleep 2019-02-13 20:49:05 +01:00
Falk Werner
d8525f1296 provide installable library 2019-02-10 15:06:46 +01:00
Falk Werner
cf1b57e86e project structure changed 2019-02-10 14:19:15 +01:00
Falk Werner
90b9f0f86d fix: force c++11 for unit tests 2019-02-10 09:38:31 +01:00
Falk Werner
da534a1cea fix: force c99 2019-02-10 09:22:58 +01:00
Falk Werner
d060017805 added shared library 2019-02-09 20:08:42 +01:00
Falk Werner
083ebbefe3 added timeout handling 2019-02-09 19:02:53 +01:00
Falk Werner
b698119079 made it single threaded (still buggy) 2019-02-09 03:08:02 +01:00
Falk Werner
b74c459942 use libwebsockets as loop for fuse fd; removed dependency to libuv, since it is not needed anymore; disabled jsonrpc temporary, until refactoring is finished (will not work properly) 2019-02-06 00:58:51 +01:00
Falk Werner
c9ec71ccd5 removed fuse high level API stuff 2019-02-03 19:10:05 +01:00
Falk Werner
32e325e72f added fuse low level operation stubs 2019-02-02 11:45:38 +01:00
Falk Werner
d8c783aa82 added libuv as dependency 2019-01-31 20:20:05 +01:00
Falk Werner
aa41fb3a6e made headers C++ compatible ; added basic server test 2019-01-30 22:28:50 +01:00
Falk Werner
7f8365811f switched tests to google test 2019-01-30 21:53:57 +01:00
Falk Werner
f47868ded7 added close operation 2019-01-29 23:47:08 +01:00
Falk Werner
1e4647356d refactoring: removed filesystem 2019-01-29 23:11:46 +01:00
Falk Werner
858fdb862b initial commit 2019-01-27 03:45:03 +01:00