GnuTLS | tpmtool --register fails if username contains a backslash (#1753)

Read-only notification of GnuTLS library development activities <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>

Jeremy Jackson created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1753



## Description of problem:

On a Samba AD Domain Controller, usernames take the format DOMAIN\username and this seems to confuse tpmtool.  It never tries to load user.data from ~/.trousers but instead tries various system locations in /run/ /var/run /usr/lib /usr/local/lib etc.

There is a workaround by setting an environment variable:

export TSS_USER_PS_FILE="/path/to/my/custom_user.data"

## Version of gnutls used:

3.8.9

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

Debian

## How reproducible:

Consistent.

Steps to Reproduce:

 * login as a user with DOMAIN\ in username
 * use commands like --list that need to search user.data
 * only outputs then quits: gnutls_tpm_get_registered: TPM error.


## Actual results:

gnutls_tpm_get_registered: TPM error.

## Expected results:

Command completion, key listing, etc.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1753
You're receiving this email because of your account on gitlab.com.

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.