diff --git a/Iceberg.package/IceCredentialStore.class/instance/saveIntoStore.st b/Iceberg.package/IceCredentialStore.class/instance/saveIntoStore.st index 95d61f8ce7..6ef0dba65e 100644 --- a/Iceberg.package/IceCredentialStore.class/instance/saveIntoStore.st +++ b/Iceberg.package/IceCredentialStore.class/instance/saveIntoStore.st @@ -4,8 +4,10 @@ saveIntoStore | serializer | self flag: #implementAnEncryptedVersion. - + storeFile ifNotNil: [ + storeFile parent ensureCreateDirectory. + storeFile resolve binaryWriteStreamDo: [ :stream | serializer := FLSerializer on: stream. serializer serialize: {plainCredentials. sshCredentials}]