From: "Sébastien Rey-Coyrehourcq" <sebastien.rey-coyrehourcq@univ-rouen.fr>
To: help-guix@gnu.org
Subject: Using pass with tomb into guix home ? RW problems
Date: Mon, 01 Aug 2022 12:39:45 +0200 [thread overview]
Message-ID: <87sfmgz12p.fsf@univ-rouen.fr> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 1141 bytes --]
Hi guix !
I continue to dig into guix home, and thanks of ~dominicm src hut dotfile repo (Yubikey config works !) and your help on previous message on this mailling list, everything goes pretty well …
But … actually, i’m stuck with a mutable configuration with my password management.
Using password-manager (pass) with tomb (<https://www.dyne.org/software/tomb/>) and pass-tomb extension seems not possible due to read write problem. Guix home create symbolic link with file in read mode, so how so you manage dotfile in this case ?
(simple-service `pass-secret-service
home-files-service-type
`((“.password.tomb” ,(local-file “../secrets/password.tomb”))
))))
Output of tomb command :
bash-5.1$ tomb open .password.tomb
.tomb-real . Commanded to open tomb .password.tomb
.tomb-real [W] Tomb file is not writable: .password.tomb
.tomb-real [E] Tomb command failed: open
It’s possible to open passing option “-o ro” for mounting in read only, but it’s not very interesting if you want to create/store new password :)
Best regads,
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 889 bytes --]
reply other threads:[~2022-08-01 10:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfmgz12p.fsf@univ-rouen.fr \
--to=sebastien.rey-coyrehourcq@univ-rouen.fr \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).