8000 Incorrect behavior when pinned SFTP key changes on running instance · Issue #199 · moov-io/achgateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Incorrect behavior when pinned SFTP key changes on running instance #199
Open
@jrnt30

Description

@jrnt30

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0