Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
brchar
2 years agoNew Contributor
Beg Report: ED25519 SSH Private Keys human-readable value differs from json value
in troubleshooting with the ansible community, we have discovered that ED25519 SSH Keys generated by 1Password have an incorrect value in the private key value field when using "--format json" flag. ...
brchar
2 years agoNew Contributor
rmartinsjr and andi_t_1P
it's not the ansible module that has the issue though. it is the opcli itself.
the ansible modules rely on the json output format from opcli and in the json output format private_key seems to only contain the PKSC8 Key while the Ed25519 Key is stored in the convoluted ssh_formats.openssh.value field. this seems to break standardization for the Newer Ed25519 keys since now we have to re-write any tools/scripts to adopt 2 different standards. especially since 1Password is suggesting the Ed25519 Keys as a default now.
I think it would be better to adopt storing the key that was selected at generation in the private_key field, while also providing both key formats in the ssh_formats section.
I am trying to use Ed25519 Keys generated by 1Password. so one would expect that the private key would be that format of the key which was generated not always PKCS8