From 4489ea9bc2d464a35e0901a357d2897a519546a6 Mon Sep 17 00:00:00 2001 From: stv0g Date: Sun, 24 Aug 2025 11:20:24 +0000 Subject: [PATCH] Added a comment: Feedback on encryptonlycreds=yes --- ..._8a0265614583aa8a9f040b5fed0ff480._comment | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/todo/encrypt_only_the_credentials/comment_7_8a0265614583aa8a9f040b5fed0ff480._comment diff --git a/doc/todo/encrypt_only_the_credentials/comment_7_8a0265614583aa8a9f040b5fed0ff480._comment b/doc/todo/encrypt_only_the_credentials/comment_7_8a0265614583aa8a9f040b5fed0ff480._comment new file mode 100644 index 0000000000..9bf6c78ee5 --- /dev/null +++ b/doc/todo/encrypt_only_the_credentials/comment_7_8a0265614583aa8a9f040b5fed0ff480._comment @@ -0,0 +1,35 @@ +[[!comment format=mdwn + username="stv0g" + avatar="http://cdn.libravatar.org/avatar/6faa6cc783a165b25fc1c8f3154ba449" + subject="Feedback on encryptonlycreds=yes" + date="2025-08-24T11:20:23Z" + content=""" +Hi Joey, + +thank you very mich for the quick implementation of this feature! I have tested it already successfully :) + +There seems to be an minor issue when I am trying to set `encryptonlycreds=yes` via `SETCONFIG`, followed by a subsequent `SETCREDS`: + +``` +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> VERSION 2 +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] <-- EXTENSIONS INFO GETGITREMOTENAME UNAVAILABLERESPONSE ASYNC +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> EXTENSIONS INFO +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] <-- LISTCONFIGS +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> CONFIGEND +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] <-- INITREMOTE +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> GETCONFIG encryption +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] <-- VALUE hybrid +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> GETCONFIG onlyencryptcreds +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] <-- VALUE +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> SETCONFIG onlyencryptcreds yes +(Annex.ExternalAddonProcess) git-annex-remote-tape[1] --> SETCREDS key aes256 70482ccb1e0a0b8f8bf6f2603174d2d6f40d940033285d3ae94e7258595dca26 +git-annex: getRemoteConfigValue onlyencryptcreds found value of unexpected type PassedThrough. This is a bug in git-annex! +CallStack (from HasCallStack): + error, called at ./Annex/SpecialRemote/Config.hs:209:28 in main:Annex.SpecialRemote.Config + getRemoteConfigValue, called at ./Remote/Helper/Encryptable.hs:297:27 in main:Remote.Helper.Encryptable +failed +initremote: 1 failed +``` + +I am not sure if this is even supposed to be supported? Let me know if I am using it in the wrong way :) +"""]] -- 2.30.2