Commit Graph

439 Commits (3e4d56d7bb79c6c4e514482598b7017ee62e930d)

Author SHA1 Message Date
Björn Schießle 7892fddcb9 remove ToDo, every time the file key gets encrypted new share keys are generated and a new encrypted filekey. We always need to use the latest share-keys and encrypted keyfiles 12 years ago
Björn Schießle bd3024242f always save key file, the key doesn't change but the encrypted keyfile change always the same way like the share-keys change 12 years ago
Björn Schießle a646a1169f return filename relative to users file dir and not relative to data dir 12 years ago
Florin Peter 2434739d69 fix for trashbin 12 years ago
Sam Tuke 6dd8c79461 Development snapshot 12 years ago
Sam Tuke f89a3604aa Working on stream{} writing 12 years ago
Sam Tuke 770dcbf663 Fixed stream{} reading of encrypted files (stream_read()) 12 years ago
Sam Tuke f378a7f572 Fixed proxy class handing of read / write files 12 years ago
Björn Schießle 854b920787 fix some more paths 12 years ago
Björn Schießle 02d1f86a53 fix some confusion about paths relative to the files dir and to the data dir 12 years ago
Björn Schießle f87229ddaf fix stream wrapper to make initial encryption work 12 years ago
Florin Peter 8f0bbdc5cb fix performance issues 12 years ago
Björn Schießle c3a284569b make sure that public-keys dir exists 12 years ago
Björn Schießle fff979a590 add $view as parameter for getFileKey() call 12 years ago
Björn Schießle 98de385b8a add $view as parameter for session constructor 12 years ago
Sam Tuke 400cf5beb3 Fixed naming bug of public owncloud key dir, which caused new keypair to be generated on each pageload 12 years ago
Sam Tuke 14451bdaf0 Development snapshot; 12 years ago
Björn Schießle e717f7150e check for dir in deleteFileKey() and delShareKey(), to always handle all share keys and file keys on delete 12 years ago
Björn Schießle 73157133e8 reuse function provided in util.php 12 years ago
Björn Schießle 6beeb2466f also delete share keys if a different user than the owner deletes a shared file 12 years ago
Björn Schießle b1d620300e delete share keys if file gets deleted 12 years ago
Björn Schießle 5f233ee814 get the correct paths and owner to access shared files 12 years ago
Björn Schießle a65d741a3f move getUidAndFilename() tu util.php 12 years ago
Björn Schießle 890f0142a2 get shared keys from new location 12 years ago
Björn Schießle 5995b6996b always call stripUserFilesPath(), we need to keep the Shared/ to find the correct owner of the file later 12 years ago
Björn Schießle f10be4ea17 new file structure for share keys; sub-folder need to be generated each by one (we don't have a recursive mkdir) 12 years ago
Sam Tuke fd4e59b748 Added method for setting user keyfile recovery preference 12 years ago
Sam Tuke c89fd49870 Improved folder creation code 12 years ago
Sam Tuke c1f1fbda08 Fixed stream wrapper bugs 12 years ago
Björn Schießle f2b86d0227 make sure that $this->userId is initialized before using it as a parameter 12 years ago
Björn Schießle e65e6a12f1 define key size in constructor, otherwise the key size will depend on the servers openssl conf 12 years ago
Sam Tuke 0bc7d3bcf8 Added notes where to reuse old keys instead of generating new ones 12 years ago
Sam Tuke 953319a2c3 Made proxy class reuse existing keyfiles not gen new ones; 12 years ago
Sam Tuke 69bc42f920 Deleting encrypted files with missing keyfiles/shareKeys now succeeds 12 years ago
Sam Tuke 14eae441eb Unsharing a single file now works 12 years ago
Sam Tuke aae9b0b1bf Started work on post unshare hook 12 years ago
Sam Tuke 4550ae6a69 Shared encrypted files now readable by both sharer and sharee 12 years ago
Björn Schießle ca1b94d890 make sure that home folders are mounted correctly before write/read keyfile 12 years ago
Björn Schießle 31c434b795 the default should be to encrypt all files if the user/admin doesn't specify a blacklist explicitely 12 years ago
Björn Schießle 40efeb9187 isSharedFile() doesn't detect all shares, just use getUsersSharingFile() directly either you get a list of users or not 12 years ago
Sam Tuke 2d267501a1 Development snapshot 12 years ago
Sam Tuke 1b880f2f96 Moved dependencies out of Crypt methods (encKeyfileToMultipleUsers)(DI) 12 years ago
Sam Tuke 14ae373dfe Fixed wrong array key reference 12 years ago
Björn Schießle fd629983fa remove debug output 12 years ago
Björn Schießle 8c35bbcba7 remove debug output, fix typo in file names 12 years ago
Bart Visscher cd35d257bb Fix NoSpaceAfterComma and SpaceBeforeComma 12 years ago
Björn Schießle 5005195db0 create keypair for ownCloud with empty passphrase, will be used for public link shares 12 years ago
Björn Schießle 9356f9a6bf add post_unshareALll hook, update recursively all keyfiles if a folder was shared/unshared 12 years ago
Björn Schießle 4952dfe956 add post_unshare hook, also add public link shares to the list of user with access to a file 12 years ago
Björn Schießle a692264fa4 add option to keep duplicates in the list of users with access to a file, e.g. for the unshare operation we need to know if access was granted more than once, for example as group share and as individual share 12 years ago