Visualizing encrypted audit data

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Kevin-LH76
Messages: 14
Registration: February 8, 2026 - 5:57 PM

February 8, 2026 - 8:22 PM

Hello,

In the audit data for a workstation, I have the RustDesk password, which is encrypted.

In the value field, I have a string that starts with "BEGIN WAPT ENCRYPTION" followed by five values ​​which, if I understand correctly, are the encrypted passwords for each of the certificates present on the client (including mine).

If I click on "Decrypt data", nothing happens.

How can I display the encrypted password with my certificate?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 9, 2026 - 12:52

Hello.

Normally, if your certificate is present on the machine, just restart a package audit and it should work.
Kevin-LH76
Messages: 14
Registration: February 8, 2026 - 5:57 PM

February 9, 2026 - 1:27 PM

Hello,

Thank you for your feedback.

My certificate is indeed present on the machine (visible in the inventory tab).

I restarted the package audit, but the Rustdesk password audit has not changed, and the decrypted action does nothing.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 9, 2026 - 1:35 PM

According to the package code: tis-rustdesk-config-template

The password is changed with each audit, so the Rustedesk password must have changed as well:

Code: Select all

def audit():
    rustdesk_id = run('"%s" --get-id' % RustDeskBin)
    if rustdesk_id.endswith('\n'):
        rustdesk_id = rustdesk_id.split('\n')[-2]

    alphabet = string.ascii_letters + string.digits
    rustdesk_pw = ''.join(secrets.choice(alphabet) for i in range(12))
    run('"%s" --password %s' % (RustDeskBin, rustdesk_pw))

    WAPT.write_audit_data_if_changed("rustdesk", 'rustdesk-id', rustdesk_id, max_count=365)
    WAPT.write_audit_data_if_changed("rustdesk", 'password_encryption', rsa_encrypted_data_str(rustdesk_pw, WAPT.public_certs_dir), max_count=365)
Have you run the audit of the tis-rustdesk-config package?
Kevin-LH76
Messages: 14
Registration: February 8, 2026 - 5:57 PM

February 9, 2026 - 3:10 PM

Hello,

Yes, the audit of the rustdesk-config package has started, the status is OK, and the date is correctly updated.

However, in the audit data, the value remains at 07/02.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 9, 2026 - 3:57 PM

That's strange, I just tested it here without any problems.

Is your certificate exactly the same as the one in the machine's SSL folder and the one in your console?

The date in the audit data doesn't change?

Perhaps you should force an inventory update?
Kevin-LH76
Messages: 14
Registration: February 8, 2026 - 5:57 PM

February 9, 2026 - 4:05 PM

Hello,

I confirm that the certificate is the same.

Indeed, the audit remains unchanged.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 9, 2026 - 4:37 PM

Kevin-LH76 wrote: Feb 9, 2026 - 4:05 PM Indeed, the audit remains unchanged
If the date The fact remains that the itinerary is not being sent.

No errors in the audit of the general package?

You can try the following on the machine:

wapt-get audit tis-rustdesk-config -f
wapt-get update-status

This will surely help to clarify things
Kevin-LH76
Messages: 14
Registration: February 8, 2026 - 5:57 PM

February 9, 2026 - 4:58 PM

Good morning,

No errors were found in the package audit

Code: Select all

Statut;Statut d'audit;Nom du paquet;Version;Date d'installation;Audité le;Prochain audit
OK;OK;tcfpkg-rustdesk-config;29;09/02/2026 13:23:43;09/02/2026 16:51:55;11/03/2026 16:51:55
No changes on the audit side

Code: Select all

id;Date;Section;Clé;Valeur;Date d'expiration;FQDN de la machine
1176;07/02/2026 18:09:48;rustdesk;rustdesk-id;
2531;07/02/2026 18:09:48;rustdesk;password_encryption;
no errors in the commands

Code: Select all

C:\Windows\System32>wapt-get audit XXX-rustdesk-config -f
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
Auditing XXX-rustdesk-config
XXX-rustdesk-config -> OK


C:\Windows\System32>wapt-get update-status
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
Updated host status correctly sent to server https://wapt.XX.XX
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 9, 2026 - 5:37 PM

Just out of curiosity, if you delete the machine from wapt and then run `

wapt-get register`

does it work?

It could be a date issue in the inventory (a date in the future).
Answer