News:

SMF - Just Installed!

Main Menu

nyssr.net 2.3.0 is available.

Started by michael, Nov 16, 2024, 12:12 PM

Previous topic - Next topic

michael

What's new?

In addition to the usual bug fixes, the following features have been implemented:

Session Handling

The SessionManager has been expanded with a second type of session token.
This token is significantly longer than the previously introduced 16-byte token,
as it contains data about the current session.
Embedded data includes the user ID, user permissions, an expiration timestamp,
and the previously known short token type.
The data is compressed and signed with the SessionManager's private RSA key.

For local verification, a "SessionVerifier" service has been added to the kernel.
This service requires the public RSA key to verify the token.
The key can be stored in the configuration of individual nodes.
If not, the SessionManager automatically retrieves the key when the node starts.

The local SessionVerifier checks the token and extracts the necessary data, saving a request to the SessionManager.

The previous method of token usage remains supported.
It is now also possible to pass a message with a short session token to the verifier.
The service retrieves the long token from a cache or sends a request to the SessionManager.
In case of an error (e.g., session expired or unknown), the submitted message is returned to the sender with an error code.
If successful, the message is resent, this time with the long token.

NodeManager

The NodeManager web application has been enhanced with additional dialogs for
configuring remote nodes, allowing nodes that are not accessible via SSH to be configured.


Have a great time!