SSH Agent does not respect ssh-keys order
Hey!
After latest Production 1Password update (1Password for Mac 8.12.0 (81200013)) something is off with SSH Agent.
SSH agent does not respect ssh-keys order set in TOML file anymore. It doesn't matter if you set any keys in TOML file or you leave this file empty, command ssh-agent -l prints ssh-keys in random order.
Example, my TOML file:
[[ssh-keys]]
item = "SSH Private Key"
vault = "Personal"
[[ssh-keys]]
item = "Magento Cloud GDPR"
vault = "Employee"
[[ssh-keys]]
item = "AWS EKS Node"
vault = "Employee"
[[ssh-keys]]
item = "AWS Key"
vault = "DevOps"
And two results of ssh-add -l command:
SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l
4096 SHA256:N4XGsjxtiMBWRpHvwh16fTciJL1aaTc0wuGXMlePQuY Magento Cloud GDPR (RSA)
4096 SHA256:2LqQtMd7YdPMGXg4W+zODedaHi1oz4CxC0k/hl0V+PQ AWS EKS Node (RSA)
2048 SHA256:4uE+nbs+twoNih01hiveiXFjy3bIh+NPkVyBNyqRyYg AWS Key (RSA)
256 SHA256:QKMLArxXXvAcYzmSCqV766DsOAyxnkuA28TwneIsvTI SSH Private Key (ED25519)
SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l
256 SHA256:QKMLArxXXvAcYzmSCqV766DsOAyxnkuA28TwneIsvTI SSH Private Key (ED25519)
4096 SHA256:N4XGsjxtiMBWRpHvwh16fTciJL1aaTc0wuGXMlePQuY Magento Cloud GDPR (RSA)
4096 SHA256:2LqQtMd7YdPMGXg4W+zODedaHi1oz4CxC0k/hl0V+PQ AWS EKS Node (RSA)
2048 SHA256:4uE+nbs+twoNih01hiveiXFjy3bIh+NPkVyBNyqRyYg AWS Key (RSA)