Repository navigation
Commit 89c821a
authored
secretservice: use the correct MIME content type (#2475)
Secret Service backends that validate MIME content types, such as
oo7-daemon on Fedora 45, reject credential writes with 'Invalid content
type: plain/text'. Authentication succeeds, but the credential is never
stored and subsequent Git operations prompt again.
Use the standard text/plain content type for secret values so these
backends can store credentials.
Existing credentials remain readable because lookups use the service and
account attributes, and GCM reads the secret bytes without checking the
content type. Only new or updated secrets get the corrected content
type; no migration of existing entries is needed.
Fixes #24731 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments