Kleopatra No secret key

11,591

We fix the problem. We must not log off the application user. If we log off the user, one key is not working, but the others are working.

Share:
11,591
Bradford1138
Author by

Bradford1138

Updated on June 04, 2022

Comments

  • Bradford1138
    Bradford1138 almost 2 years

    I support an application who call a CMD line to decrypt a file. The application is a .exe file that is called by the Windows Task Scheduler and is execute as the same user who have all right.

    The application run every week day in the evening at 6h30pm and sometimes the CMD line return the message: no secret key. The application failed because the file was not decrypted. But it doesn't failed every evening, just random evening. It looks totally random.

    And if I run the application myself after it failed with the same user, it worked.

    The secret key is imported in Kleopatra and it work fine with other application that run in the morning. And it work fine when I used it.

    What can cause this?

    Thank you

    • lit
      lit over 6 years
      If this is the KDE project, a post for support would probably be your best bet. bugs.kde.org
  • Bradford1138
    Bradford1138 over 6 years
    1. I know that the key is not located on a smart card. 2. The keys is on the hard drive with the application. 3. The Item was encrypted properly, I can decrypt them myself, it's just the application that failed sometimes.