GNU bug report logs -
#54293
[WIP] home: Add home-git-service-type
Previous Next
Full log
Message #20 received at 54293 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
宋文武 schreef op ma 07-03-2022 om 22:51 [+0800]:
> Hello, with:
> --8<---------------cut here---------------start------------->8---
> (service home-git-service-type
> (home-git-configuration
> (options '((user (name "foo")
> (email "foo <at> bar.com")))))) [...]
How about providing an option for passwords? E.g.,
(home-git-configuration
(user (git-user-info
(name "Foobar")
(e-mail "Foobar <foo <at> bar.com>")
(signing-key "some PGP fingerprint)))
(secrets-file "/home/foo/the-password")
(smtp (git-smtp-configuration
#;(password "12345") ; not recommended, use 'secrets-file' instead
...))
(with some appropriate documentation)
secrets-file (not interned in the store):
# I don't remember the exact option name
smtp.password = Foobaz
the produced .gitconfig would include a line
[include]
path = /home/foo/the-password
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.