Live data from Hacker News

Show HN: Atuin, improved shell history with multi-machine sync

github.com

1–10 of 10 posts

Re: Show HN: Atuin, improved shell history with multi-machine sync

#2
This is cool! I've thought many times that something like this would be useful, as previous commands seem to never be in history when you need them again, especially across multiple terminal panes/tabs.

More details on how the encryption for server sync works would be helpful for assessing security.

Re: Show HN: Atuin, improved shell history with multi-machine sync

#3

This is cool! I've thought many times that something like this would be useful, as previous commands seem to never be in history when you need them again, especially across multiple terminal panes/tabs. More details on how the encryption for server sync works would be helpful for assessing security.

Thank you! Yup, that's basically why I made it!

> More details on how the encryption for server sync works would be helpful for assessing security.

Good point - I'll add something more detailed to the README shortly

For now though, it's fairly simple. Almost all of the information is first serialized with MessagePack, and then encrypted using libsodium's secretbox. This blob is what ends up being POSTed to the server

The only other information available to the server operator is

  - the username/email address/hashed password of the user
  - the UUID of this history item
  - the history timestamp (needed for sync at the moment)
  - the hash of the machine's hostname (also useful for sync)

Re: Show HN: Atuin, improved shell history with multi-machine sync

#4

This is cool! I've thought many times that something like this would be useful, as previous commands seem to never be in history when you need them again, especially across multiple terminal panes/tabs. More details on how the encryption for server sync works would be helpful for assessing security.

Thank you! Yup, that's basically why I made it! > More details on how the encryption for server sync works would be helpful for assessing security. Good point - I'll add something more detailed to the README shortly For now though, it's fairly simple. Almost all of the information is first serialized with MessagePack, and then encrypted using libsodium's secretbox. This blob is what ends up being POSTed to the server…

Nice, seems very solid!

Re: Show HN: Atuin, improved shell history with multi-machine sync

#8
I git commit my `fish_history` file such that I have a history of commands going back 7 years. It's been the single best tool of my career and the single greatest showcase of the power of an outboard brain I've struggled to prove with other solutions such as org-brain or org-roam.