From 7fcd0dd782b804ec516809bf7f4922ec97618bc7 Mon Sep 17 00:00:00 2001 From: "david@62eef13b7e480dc51c94ea50b67ebc0181410cd1" Date: Sat, 16 Apr 2022 22:29:25 +0000 Subject: [PATCH] Describe compatibility bug with uftp 5.0 --- doc/bugs/uftp_5__58___invalid_key_type.mdwn | 51 +++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 doc/bugs/uftp_5__58___invalid_key_type.mdwn diff --git a/doc/bugs/uftp_5__58___invalid_key_type.mdwn b/doc/bugs/uftp_5__58___invalid_key_type.mdwn new file mode 100644 index 0000000000..8fc49129c3 --- /dev/null +++ b/doc/bugs/uftp_5__58___invalid_key_type.mdwn @@ -0,0 +1,51 @@ +### Please describe the problem. + +git annex multicast --send quits with error "Invalid keytype" + + +### What steps will reproduce the problem? + +Follow the example in the multicast command help page, the send operation fails when uftp version is 5.0. + +Probably the reason is the removal of aes256-cbc in version 5.0 where they left aes256-gcm + +### What version of git-annex are you using? On what operating system? + +git-annex version: 8.20211028 +OS is nixos-21.11 with uftp installed +uftp 5.0 + +### Operation log + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log +$ git annex multicast --send --debug +sending files [2022-04-17 00:15:46.699593866] (Utility.Process) process [60540] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","symbolic-ref","-q","HEAD"] +[2022-04-17 00:15:46.701266922] (Utility.Process) process [60540] done ExitSuccess +[2022-04-17 00:15:46.701754626] (Utility.Process) process [60541] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","show-ref","refs/heads/master"] +[2022-04-17 00:15:46.703889652] (Utility.Process) process [60541] done ExitSuccess +[2022-04-17 00:15:46.70436486] (Utility.Process) process [60542] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","ls-files","-z","--cached","--"] +[2022-04-17 00:15:46.706736386] (Utility.Process) process [60543] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch-check=%(objectname) %(objecttype) %(objectsize)"] +[2022-04-17 00:15:46.709237395] (Utility.Process) process [60544] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch"] +[2022-04-17 00:15:46.729027634] (Utility.Process) process [60542] done ExitSuccess +[2022-04-17 00:15:46.729292044] (Utility.Process) process [60545] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","show-ref","git-annex"] +[2022-04-17 00:15:46.730468539] (Utility.Process) process [60545] done ExitSuccess +[2022-04-17 00:15:46.730735082] (Utility.Process) process [60546] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","show-ref","--hash","refs/heads/git-annex"] +[2022-04-17 00:15:46.73204795] (Utility.Process) process [60546] done ExitSuccess +[2022-04-17 00:15:46.732421746] (Utility.Process) process [60547] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","log","refs/heads/git-annex..fd32a06095805399cdaf708cd294158b8d05027b","--pretty=%H","-n1"] +[2022-04-17 00:15:46.733706532] (Utility.Process) process [60547] done ExitSuccess +[2022-04-17 00:15:46.735507734] (Utility.Process) process [60548] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch"] +[2022-04-17 00:15:46.737226695] (Utility.Process) process [60549] call: uftp ["-c","-Y","aes256-cbc","-h","sha512","-e","ecdh_ecdsa","-k",".git/annex/creds/multicast","-U","0x1de1f677","-H","@/tmp/authlist60534-1","-i","/tmp/send60534-0"] +Invalid keytype +[2022-04-17 00:15:46.748492634] (Utility.Process) process [60549] done ExitFailure 1 +failed +ok + + +# End of transcript or log. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +Of course! I'm using it to track assets in an infrastructure repository