Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: I can´t login in my account from another machine #2449

Open
1 task done
edpichler opened this issue Nov 17, 2024 · 2 comments
Open
1 task done

[Bug]: I can´t login in my account from another machine #2449

edpichler opened this issue Nov 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@edpichler
Copy link

What did you expect to happen?

I expect to log in on atuin when I am on another machine. I expect to use the same account in macOS and Ubuntu.

What happened?

I have an account in MacOS that I can´t log in to when I use my Ubuntu.
Maybe some incompatibility in decryption?

I double-checked my encryption key but:

Re-encrypting local store with new key
Error: attempting to decrypt with incorrect key. currently using k4.lid.6DDw3x_1FlN4M1c0rVML3OUIQbP2bdb3M38pShCTxZmb, expecting k4.lid.hO305G0THWaipv08AyscYRiJJ6n3zyKA4XzU4o-aOVFe

Atuin doctor output

atuin doctor
Atuin Doctor
Checking for diagnostics


Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.3.0",
    "sync": null,
    "sqlite_version": "3.44.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "atuin",
      "bash-preexec"
    ],
    "preexec": "bash-preexec"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "22.04",
    "disks": [
      {
      {
        "name": "/dev/sdd",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sdd",
        "filesystem": "ext4"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@edpichler edpichler added the bug Something isn't working label Nov 17, 2024
@kaankoken
Copy link

I have the same issue. I switched to new Mac. I cannot get my history.

@ellie
Copy link
Member

ellie commented Nov 25, 2024

This tends to occur when there are records in your database that the current key is unable to decrypt. I'm not sure what sequence of events could lead to this, as we do everything we can to avoid it happening - but there could be an edge case if users copy around files/sessions/etc.

The following post should detail some steps to sort it out:

https://forum.atuin.sh/t/sync-v2-testing/124/30?u=ellie

lmk if that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants