Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common, client: Move runtime directory detection to libp11-common | Daiki Ueno | 2018-02-27 | 1 | -65/+2 |
| | |||||
* | client: Fix memleaks in the module | Daiki Ueno | 2018-02-27 | 1 | -3/+9 |
| | |||||
* | client: Fix order of cleanup | Daiki Ueno | 2017-08-11 | 1 | -1/+1 |
| | | | | | | In C_GetFunctionList, state->virt is wrapped with a destroyer function free(). Thus p11_rpc_transport_free must be called before p11_virtual_unwrap. | ||||
* | rpc: Try $XDG_CACHE_HOME before ~/.cache | Mantas Mikulėnas | 2017-02-21 | 1 | -0/+11 |
| | | | | | This is unset on most systems, but might as well follow the Base Directory spec properly. | ||||
* | rpc: Add PKCS#11 module that connects to socket | Daiki Ueno | 2017-02-17 | 1 | -0/+215 |
This patch adds a PKCS#11 module that connects to the p11-kit server exposed on the filesystem. The filename of the socket is determined in the following order: - $P11_KIT_SERVER_ADDRESS, if the envvar is available - $XDG_RUNTIME_DIR/p11-kit/pkcs11, if the envvar is available - /run/$(id -u)/p11-kit/pkcs11, if /run/$(id -u) exists - /var/run/$(id -u)/p11-kit/pkcs11, if /var/run/$(id -u) exists - ~/.cache/p11-kit/pkcs11. Note that the program loading this module may have called setuid() and secure_getenv() which we use for fetching envvars could return NULL. |