Automatic session login for ubus RPC

Hi,

I want to get an authenticated access key automatically without entering the password after every X minutes.
Ideally for my usecase, it would be amazing if i could use RSA key to login instead of password.
However, i couldn't find any documentation for the same. Is it possible in any way to use RSA keys?

If it's not possible, is my only option to achieve this is using a really long time value for “timeout” option?

Thank You,
Ajay Tripathi


Ref:
https://openwrt.org/docs/techref/ubus

RSA key authentication is currently not implemented. As for for the lifetime, passing a timeout value of 0 should disable session expiration entirely (session will persist as long as rpcd is running)

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.