Kleopatra No secret key

Bradford1138 picture Bradford1138 · Dec 5, 2017 · Viewed 7.8k times · Source

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

Answer

Bradford1138 picture Bradford1138 · Jan 23, 2018

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.