diff --git a/crates/bitwarden-exporters/resources/json_export.json b/crates/bitwarden-exporters/resources/json_export.json index 27a0921d..3ade9242 100644 --- a/crates/bitwarden-exporters/resources/json_export.json +++ b/crates/bitwarden-exporters/resources/json_export.json @@ -153,7 +153,7 @@ "sshKey": { "privateKey": "-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW\nQyNTUxOQAAACBinNE5chMtCHh3BV0H1+CpPlEQBwR5cD+Xb9i8MaHGiwAAAKAy48fwMuPH\n8AAAAAtzc2gtZWQyNTUxOQAAACBinNE5chMtCHh3BV0H1+CpPlEQBwR5cD+Xb9i8MaHGiw\nAAAEAYUCIdfLI14K3XIy9V0FDZLQoZ9gcjOnvFjb4uA335HmKc0TlyEy0IeHcFXQfX4Kk+\nURAHBHlwP5dv2LwxocaLAAAAHHF1ZXh0ZW5ATWFjQm9vay1Qcm8tMTYubG9jYWwB\n-----END OPENSSH PRIVATE KEY-----", "publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGKc0TlyEy0IeHcFXQfX4Kk+URAHBHlwP5dv2LwxocaL", - "fingerprint": "SHA256:1JjFjvPRkj1Gbf2qRP1dgHiIzEuNAEvp+92x99jw3K0" + "keyFingerprint": "SHA256:1JjFjvPRkj1Gbf2qRP1dgHiIzEuNAEvp+92x99jw3K0" }, "favorite": false, "reprompt": 0, @@ -163,4 +163,4 @@ "deletedDate": null } ] -} \ No newline at end of file +} diff --git a/crates/bitwarden-exporters/src/json.rs b/crates/bitwarden-exporters/src/json.rs index 58895914..4534dd0b 100644 --- a/crates/bitwarden-exporters/src/json.rs +++ b/crates/bitwarden-exporters/src/json.rs @@ -215,7 +215,7 @@ impl From for JsonIdentity { struct JsonSshKey { private_key: String, public_key: String, - fingerprint: String, + key_fingerprint: String, } impl From for JsonSshKey { @@ -223,7 +223,7 @@ impl From for JsonSshKey { JsonSshKey { private_key: ssh_key.private_key, public_key: ssh_key.public_key, - fingerprint: ssh_key.fingerprint, + key_fingerprint: ssh_key.fingerprint, } } } @@ -661,7 +661,7 @@ mod tests { "sshKey": { "privateKey": "private", "publicKey": "public", - "fingerprint": "fingerprint" + "keyFingerprint": "fingerprint" }, "favorite": false, "collectionIds": null