Closed Cletip closed 1 year ago
@Cletip don't have ability to go into details and check myself. But in short, it's a question to org-roam. There must be explanation on how to use encrypted notes in their documentation.
No problem, thanks for your answer, I'll go and look.
I just want to clarify my second question: is it possible to interact only a part of the database using vulpea ?
unfortunately, every time I interact the database, the password is asked. for each note. which is a lot and not practical. (I encrypted with the passphrase method).
That sounds strange. When you interact only with database, your notes are not read, so the password should be asked. What exactly are you doing, e.g. define 'interact the database'.
This means as soon as I do "org-roam-find" or "org-roam-insert"
@Cletip I would expect them to work without prompting the password. What about vulpea-find
and vulpea-insert
(after all, it's vulpea issue tracker)? If they work, you should report in Org roam repository 😅
P.S. are you sure you are talking about org-roam-find
and not org-roam-node-find
? The difference is subtle, but if you are using the former, it means you are on the V1.
vulpea-find gives the same result as "org-roam-NODE-find" (sorry for the oversight in the last message) : Decrypting /home/path-to-the-note/test_cryptee.org.gpg...done (after entering my password.)
I think the "problem" comes from org-roam
@Cletip that's actually strange. Unless you physically open the file, no one should request your gpg password. Are you sure none of your configurations are trying to access the file? Maybe you do something for completion (like accessing meta or properties using vulpea-buffer
)?
Edit : I think I need to do some more tests.
Edit : Sorry, you were right, I tried again by restarting my computer, and the request is after selecting the node. I'll look in my configuration... sorry for the lost time :( And thanks again for your help!
For posterity: it was the definition of "org-roam-node-hierarchy", which allowed to see the hierarchy of a note, that caused me the problem
Thanks again for your help!
Edit : Sorry, you were right, I tried again by restarting my computer, and the request is after selecting the node. I'll look in my configuration... sorry for the lost time :(
Oh, that makes more sense. Unless you added some custom hooks/logic, querying database file (unencrypted) should not access not files thus no password should be required.
it was the definition of "org-roam-node-hierarchy", which allowed to see the hierarchy of a note, that caused me the problem
Where is this function defined? Can't find it in current version of Org Roam. And btw, based on what you said (e.g. "the request is after selecting the node") I am pretty sure that any function that requires visiting file triggers password input.
Where is this function defined? Can't find it in current version of Org Roam.
This is not directly in org-roam, but it is a tip available here : https://github.com/org-roam/org-roam/wiki/User-contributed-Tricks#showing-node-hierarchy
And btw, based on what you said (e.g. "the request is after selecting the node") I am pretty sure that any function that requires visiting file triggers password input.
I think you are right and that is exactly what it is.
Hi!
As said in the title, I would like to know how to manage this kind of note: it seems that everything works fine, the data is in the database... unfortunately, every time I interact the database, the password is asked. for each note. which is a lot and not practical. (I encrypted with the passphrase method).
Is there a way to not "interract" these notes except with a certain variable? Should I use the "vulpea-find-default-filter" variable?
Thank you in advance for your answer
(PS : this may not be a Vulpea problem, but an org-roam problem).