Skip to content

OCP\Encryption\Exceptions\GenericEncryptionException: Bad Signature #71

@Niveshkrishna

Description

@Niveshkrishna

I have SSE enabled for NC version : 20.0.11, Integration Google App version : 1.0.2

I get the following error when I try to open/download files synced from google drive and google photos.

[webdav] Fatal: OCP\Encryption\Exceptions\GenericEncryptionException: Bad Signature at <<closure>>

 0. /var/www/html/apps/encryption/lib/Crypto/Crypt.php line 479
    OCA\Encryption\Crypto\Crypt->checkSignature("*** sensitive parameters replaced ***")
 1. /var/www/html/apps/encryption/lib/Crypto/Encryption.php line 376
    OCA\Encryption\Crypto\Crypt->symmetricDecryptFileContent("*** sensitive parameter replaced ***", null, "AES-256-CTR", 1, "*** sensitive parameter replaced ***")
 2. /var/www/html/lib/private/Files/Stream/Encryption.php line 501
    OCA\Encryption\Crypto\Encryption->decrypt("*** sensitive parameters replaced ***")
 3. /var/www/html/lib/private/Files/Stream/Encryption.php line 299
    OC\Files\Stream\Encryption->readCache()
 4. <<closure>>
    OC\Files\Stream\Encryption->stream_read(8192)
 5. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
 6. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 98
    Icewind\Streams\Wrapper->stream_read(8192)
 7. <<closure>>
    Icewind\Streams\CallbackWrapper->stream_read(8192)
 8. /var/www/html/3rdparty/sabre/http/lib/Sapi.php line 112
    stream_copy_to_stream(null, null, 4194304)
 9. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 492
    Sabre\HTTP\Sapi::sendResponse(Sabre\HTTP\Response {})
10. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 251
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
11. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Sabre\DAV\Server->start()
12. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
13. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
14. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

GET /remote.php/dav/files{HIDDEN}/Google%20Drive/Nextcloud%20Manual.pdf
from {HIDDEN}

Any idea what could be wrong here? Is the integration app compatible with SSE?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtesting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions