Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Encrypted RPCs that fail because encryption isn't set up don't call back #1971

Closed
joeljfischer opened this issue Apr 15, 2021 · 0 comments
Closed
Assignees
Labels
bug A defect in the library manager-lifecycle Relating to the manager layer - lifecycle manager protocol Relating to the protocol layer

Comments

@joeljfischer
Copy link
Contributor

Bug Report

If RPC service encryption is set up, attempting to send an RPC request before encryption is set up will result in the handler never being called. This can cause managers to hang when setting up if, for example, PutFile is encrypted. This results in the app being totally inoperable.

Reproduction Steps
  1. Set up RPC encryption on Core and make PutFile require encryption
  2. Connect an app that supports RPC encryption
Expected Behavior

The app successfully sets up, or at least is operable after failing some part

Observed Behavior

The app is entirely broken due to SDLFileManager hanging when attempting to send the app icon. This fails due to RPC encryption not being set up yet and the handler is never called, leaving the operation and manager to hang.

OS & Version Information
  • iOS Version: n/a
  • SDL iOS Version: v7.1.0
  • Testing Against: Core v7.1.0 / Generic HMI v0.10.0
Test Case, Sample Code, and / or Example App

n/a

@joeljfischer joeljfischer added bug A defect in the library manager-lifecycle Relating to the manager layer - lifecycle manager protocol Relating to the protocol layer labels Apr 15, 2021
@joeljfischer joeljfischer self-assigned this Apr 20, 2021
@joeljfischer joeljfischer mentioned this issue May 24, 2021
1 task
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A defect in the library manager-lifecycle Relating to the manager layer - lifecycle manager protocol Relating to the protocol layer
Projects
None yet
Development

No branches or pull requests

1 participant