Skip to content

Possible bug with shared vaults #12

@pragmaticpandy

Description

@pragmaticpandy

I've created an account and set up Sync with a vault with e2e encryption off.
Then i shared this vault with a different account

that account is trying to sync headless

ob login works
ob sync-list-remote works:

Fetching vaults...

Vaults:

Shared vaults:
  ffffff  "the-vault-that-was-shared"  (North America)

but then when that account does
ob sync-setup --vault "$OBSIDIAN_VAULT_ID" --path "$VAULT_DIR"
the result is exit code 2:

Fetching vault info...
Setting up...
Failed to validate password.

but we know the password is correct because login and other commands that require auth (sync-list-remote) worked
the headless box is debian—Linux 6.12.12+bpo-cloud-amd64 (x64)


Edit, I tried with an encrypted vault. again login is fine and the vault appears when logged into the account the vault was shared with.

ob sync-setup --vault $OBSIDIAN_ENCRYPTED_VAULT_NAME --path /data/workspace --password $OBSIDIAN_VAULT_ENCRYPTION_KEY

has output:

Fetching vault info...
Setting up...
Failed to validate password.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions