It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
brchar
3 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. ...
rmartinsjr
2 years agoNew Contributor
Exactly! That's why I'm asking for consistency, or at least having the option to select the format (PKCS8 or OPENSSH) in the Ansible lookup plugin.
Here is a playbook that shows this behavior (replace "item_id" with the ID of some SSH Key in 1Password):
```
- hosts: localhost
tasks:
- command: op item get item_id --field 'private key' --reveal register: op_cli
- debug: var: op_cli.stdout
- debug: msg: "{{ lookup('community.general.onepassword', 'item_id', field='private key') }}" ```