Commit Graph

14 Commits (21119633041d5ccae19975a58b0ae50ef5a8e33a)

Author SHA1 Message Date
Arthur Schiwon 38a90130ce
move log constants to ILogger 8 years ago
Morris Jobke a661f043e1
Remove unneeded semicolon and parentheses 8 years ago
Morris Jobke 2a38605545
Properly log the full exception instead of only the message 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Bjoern Schiessle 28a7e72868
after the master key was loaded we are ready to go, no re-login needed 9 years ago
Morris Jobke 1729e4471f
Update comments to Nextcloud 9 years ago
Vincent Petry 6b9ef15803
Use master key for public links as well 9 years ago
Vincent Petry 43c081bdc9
Fix public link for master key 9 years ago
Bjoern Schiessle fcda3a20f4
create new encryption keys on password reset and backup the old one 9 years ago
Bjoern Schiessle 8a401ee156
check if session is initialized 9 years ago
Maxence Lange 558a934842 init Session/privateKeys on Master Key 9 years ago
Joas Schilling 5e5e5b77d5
Fix encryption app 9 years ago
Joas Schilling 813f0a0f40
Fix apps/ 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Björn Schießle 0f728b4cd1
don't fail on "bad signature" during login. Most likely this happens because 10 years ago
Joas Schilling 4a3311f430 Move Encryption app to PSR-4 (#24524) 10 years ago
Bjoern Schiessle d86f8ba5f8
if we don't have a encrypted file key we can return a empty string right away 10 years ago
Thomas Müller 50e20e531e
Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 10 years ago
Bjoern Schiessle 89223379ad replaceUserKeys() actually deletes the users keys -> update method name and doc-block 10 years ago
Bjoern Schiessle 5e267589d4 only create and update user specific key if no master key is enabled 10 years ago
Lukas Reschke c353d51810 Remove Scrutinizer Auto Fixer 10 years ago
Lukas Reschke 933f60e314 Update author information 10 years ago
Bjoern Schiessle 95ea2ccb53 make decrypt all work with the master key 10 years ago
Vincent Petry 45c78476f5 Use cache update instead of put for encryption version 10 years ago
Lukas Reschke 6724f76573 Use cache and add tests 10 years ago
Lukas Reschke 5ccb9dfa7e Use database for keeping track of the version 10 years ago
Lukas Reschke b5824f024a Keep track of file version 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Björn Schießle 46f6c289ca only use master key ID if a user is logged in. Otherwise keep the public link share key 10 years ago
Lukas Reschke 00a01a8de2 Fix PHPDoc + Add handling for error cases 10 years ago
Scrutinizer Auto-Fixer be4c3a8b56 Scrutinizer Auto-Fixes 10 years ago
Bjoern Schiessle acfc7d7c4d enable usage of a master key 10 years ago
Bjoern Schiessle 854fd63ea9 use uid as additional information for salt 11 years ago
Bjoern Schiessle 62bc0e5264 use password hash instead of the plain password to encrypt the private key 11 years ago
Bjoern Schiessle 1e284b15ff only create new key pair if both keys are missing 11 years ago
Bjoern Schiessle ccbefb6e75 delete all file keys doesn't need the encryption module as parameter; implement rmdir; getFileKeyDir should also work for part files and complete directories 11 years ago
Bjoern Schiessle 70a44621be check recovery setting for the right user 11 years ago
Thomas Müller fc4127dd62 add $encryptionModuleId to methods of Keys/IStorage 11 years ago
Thomas Müller c6e243928c move creation of shared key to the login handler - fixes #15705 11 years ago
Bjoern Schiessle e93f262eac display warning if password changed or if the keys are not initialized 11 years ago
Bjoern Schiessle 959665003b decrypt private key for public shares correctly 11 years ago
Bjoern Schiessle 389a101de6 make sure that encrypted private keys always have a header 11 years ago
Bjoern Schiessle 4ce5669419 read cipher from key header and always write a key header if a new private key is stored 11 years ago
Thomas Müller a4483243ac fixing license headers - encryption code related 11 years ago
Thomas Müller 4c899238e9 fixing unit test execution 11 years ago
Thomas Müller 664b2bb7af cleaning up exception mess 11 years ago
Thomas Müller 43c0af2580 Fix shouldEncrypt and don't throw exception id fileKey not present - can happen 11 years ago
Bjoern Schiessle a057108c0c make recovery key work 11 years ago
Thomas Müller cac83642f2 Finally fixing encryption with public share 11 years ago
Bjoern Schiessle 4efbcb0280 cleanup keymanager test and add some additional tests 11 years ago