Skip to content

yadm — Initialization with imported key failing ( Issues with yadm 2/2) #190

@YggdrasiI

Description

@YggdrasiI

Hello, I've integrated transcrypt into my yadm repository and stumbled over
a few things. No critical errors. I just wanna post some notes about the issues.

Version: 2.3.1-pre
Commit: 016b2e4

cd .local/share/yadm/repo.git
transcrypt --import-gpg="$CREDENTIALS_PATH_GPG"

Shows:

*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.

Repository metadata:

  GIT_WORK_TREE:  /home/username
  GIT_DIR:        /home/username/.local/share/yadm/repo.git
  GIT_ATTRIBUTES: /home/username/.gitattributes

The following configuration will be saved:

  CONTEXT:  default
  CIPHER:   aes-256-cbc
  PASSWORD: XXXX

Does this look correct? [Y/n] 

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Maybe, transcrypt stumbled about the GIT_WORK_TREE ?! It aborts during the decryption of the first file.

 yadm status
 […]

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    ../alt/.i3/lock_screens##class.Private/Info.txt

So it stops at the decryption of the first file of yadm ls-crypt.
After yadm checkout -f the decryption/encryption with transcrypt works, so the importing itself works.

Regards,
Olaf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions