Open
Description
Had a bit of a weird one recently with v0.23.4. We have explicitly pinned our valid SSH key for an SFTP host in our configuration. During the course of the application being up, our banking partner adjusted their public key that we had previously pinned to a different value and the application continued to operate as if things were OK.
Observed Behavior
- The running instance of ACH Gateway did not have any logs indicating failure for key validation (upon restarting the application, we did see those we would expect indicating failure)
- The merged files were considered "successfully" processed and uploaded which resulted in the merged files cleaned up, the Kafka message around file delivery being created and the files themselves being uploaded properly to the "audit" directory
- There were no files uploaded nor downloaded from the actual SFTP server
Expected Behavior
- Error messages would be triggered upon failure to upload or download (similar to what happens when we restarted the application)
- The application would not delete the merged files locally upon failure to actually upload them
- No kafka messages would be emitted
- Audit files would not be uploaded