-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bad signature when sharing a file via public link while using encryption #6543
Comments
I cannot reproduce this locally here on a stable12 installation. Do you have some more detailed reproduction steps? Does it happen on any file? |
Yes, it happens on all files, even on those which have been already shared months ago. If I'm logged in, the download works without any problems. |
So just to recap:
Did this happen also before 12.0.3 RC1? Can you provide me with a test account on said instance? ([email protected]) |
I'm currently restoring a backup from the stable version. I'll give you an account as soon as the restore is done. Thanks for your help. |
Beautified error message:
|
Just verified that
@LukasReschke I just sent the account data to you |
Thanks, @rcvd. It seems like the decryption of the public sharing key is failing here for some reason. cc @schiessle FYI |
Is there anything I can do to shed some more light onto this issue? |
@rcvd is it a fresh Nextcloud 12 installation or did you upgraded from Nextcloud 11? |
@schiessle It's an upgraded installation...started a while ago with owncloud. |
OK, I just tried the upgrade path: Setup Nextcloud 11, enable encryption, create a public link and upgrade but the link still works here. Does it happen for all public links? only a few? What happens if you create a new public link? |
It happens for all public links. For old and new ones. Even on different or newly created accounts. If I decrypt the files using occ the link starts working. |
Same problem in 11.6 with pdf file. |
We can't reproduce this anymore. Could you test please with a more recent version again? I will close this ticket for now but we can easily reopen the ticket if this is still reproducible somehow. Then please also share exact steps how to do it. |
Steps to reproduce
Expected behaviour
The file should be downloadable without any further actions
Actual behaviour
Error screen "Can't read signature" "Ungültige Signatur" (Invalid Signature)
General server configuration
Operating system: Linux 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64
Web server: nginx/1.12.1 (fpm-fcgi)
Database: mysql 10.1.26
PHP version: 7.1.9
PHP-modules loaded
Nextcloud configuration
Nextcloud version: 12.0.3 RC2 - 12.0.3.1
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: Official Website
Are you using external storage, if yes which one: files_external is disabled
Are you using encryption: yes
Are you using an external user-backend, if yes which one: No
Signing status
Enabled apps
Disabled apps
Content of config/config.php
Client configuration
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38
Operating system: OS X 10.13
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: