mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-21 10:31:39 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
211447af2c
commit
4fcaf6108d
13
pwiki2.js
13
pwiki2.js
@ -1,6 +1,19 @@
|
||||
/**********************************************************************
|
||||
*
|
||||
*
|
||||
* XXX might be a good idea to try signature based security:
|
||||
* - sign changes
|
||||
* - sign sync session
|
||||
* - refuse changes with wrong signatures
|
||||
* - public keys available on client and on server
|
||||
* - check signatures localy
|
||||
* - check signatures remotely
|
||||
* - private key available only with author
|
||||
* - keep both the last signed and superceding unsigned version
|
||||
* - on sync ask to overwrite unsigned with signed
|
||||
* - check if we can use the same mechanics as ssh...
|
||||
* - in this view a user in the system is simply a set of keys and
|
||||
* a signature (a page =))
|
||||
*
|
||||
**********************************************************************/
|
||||
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user