Giter Site home page Giter Site logo

Invalid password about libresign HOT 17 OPEN

tasagore avatar tasagore commented on May 23, 2024
Invalid password

from libresign.

Comments (17)

JeffStarkman avatar JeffStarkman commented on May 23, 2024

First, thanks for the good work!

Nextcloud 28.0.3, PHP 8.2. LibreSign rc6 / rc7
I have the same problem. I created a certificate with: user - libresign - settings - create certificate. After creation, I change the password 2 times to see if I use the correct password. this works.

Now try to sign a pdf, i get always the message "wrong password".

Second try, I import a certificate file "mycert.pfx" with a known password, I get the same error.

Greetings

from libresign.

JeffStarkman avatar JeffStarkman commented on May 23, 2024

Additional Information, I found this error in my nextcloud Log:

[PHP] Fehler: Undefined array key "profileElementId" at /var/www/nextcloud/apps/libresign/lib/Helper/ValidateHelper.php#306
POST /ocs/v2.php/apps/libresign/api/v1/sign/uuid/e9e23453-ff3c-4fe3-9373-3c77a5bf51bd

from libresign.

vitormattos avatar vitormattos commented on May 23, 2024

@JeffStarkman could you provide the scenario to reproduce this problem? Looking at the code, this isn't related with password and I can't create a scenario to reproduce your report.

from libresign.

JeffStarkman avatar JeffStarkman commented on May 23, 2024
  • Create a certifikate with known password:

grafik

  • ok

  • change password:
    grafik

  • Password change is ok

  • sign a document:

grafik

grafik

Error in the right upper corner:

grafik

  • same in the way, click on Icon:
    grafik

  • signing windows as a overlay, same result

grafik

  • error Log:

    [PHP] Fehler: Undefined array key "profileElementId" at /var/www/nextcloud/apps/libresign/lib/Helper/ValidateHelper.php#306
    POST /ocs/v2.php/apps/libresign/api/v1/sign/uuid/2bd4563b-9932-4c91-a19b-c33b48b994ee

  • my System:

    Betriebssystem: Linux 5.15.0-100-generic x86_64

    Prozessor: Intel(R) N100 (2 cores)

    Speicher: 9.67 GB

    Server-Zeit: Tue Mar 12 22:39:07 CET 2024

  • PHP

    Version: 8.2.16
    Speicherlimit: 4 GB
    Maximale Ausführungszeit: 3600

    Maximale Größe zum Hochladen: 8 GB
    OPcache-Revalidierungshäufigkeit: 2

    Erweiterungen: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, pdlib, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, ldap, exif, msgpack, pdo_pgsql, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, libsmbclient, Zend OPcache

  • Database

    Art: pgsql
    Version: PostgreSQL 14.11 (Ubuntu 14.11-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit
    Größe: 643,7 MB

Greetings

from libresign.

tasagore avatar tasagore commented on May 23, 2024

@JeffStarkman could you provide the scenario to reproduce this problem? Looking at the code, this isn't related with password and I can't create a scenario to reproduce your report.

Hi @vitormattos , since you can't create a scenario to reproduce it and a few of us have the same problem I can setup a VM with all stuff installed and give you access or send you a link to download the entire VM and make your own test locally if it helps.

from libresign.

vitormattos avatar vitormattos commented on May 23, 2024

Hi @tasagore I'm making improvements at flow to generate root certificate and also to generate the signer certificate here:

It might be a good idea to wait for these improvements to be completed as I won't be able to test in another environment at the moment.

If the problem persists on your side after this pull request, I will be very happy to be able to reproduce the steps in an environment where the problem is occurring.

We are currently in need of financing for the project to be able to pay for the development as today the project does not have the funds to maintain itself financially.

from libresign.

vitormattos avatar vitormattos commented on May 23, 2024

@tasagore and @JeffStarkman
I published now the RC-8 with a lot of improvements at certificates. Could test again?
I recommend to generate a new root cert because I made changes at root cert generation too.

from libresign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.