Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OpenPgpApi extra type confusion #960

Merged
merged 2 commits into from Jul 23, 2020
Merged

Fix OpenPgpApi extra type confusion #960

merged 2 commits into from Jul 23, 2020

Conversation

fmeum
Copy link
Member

@fmeum fmeum commented Jul 23, 2020

馃摙 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates

馃摐 Description

Array<Long> and LongArray are distinct types and the former is being passed to Java as a Serializable rather than a Long[]. With this change, encrypting to fingerprints and long key IDs of master keys now works.

Note that providing the key ID of an encryption subkey does not seem to be supported by OpenKeychain.

馃挕 Motivation and Context

馃挌 How did you test it?

馃摑 Checklist

  • I formatted the code with the IDE's reformat action (Ctrl + Shift + L/Cmd + Shift + L)
  • I reviewed submitted code
  • I added a CHANGELOG entry if applicable

馃敭 Next steps

馃摳 Screenshots / GIFs

* develop:
  Fix a crash when parsing long key IDs (#959)
  Allow Autofill on custom views with Autofill hints (#946)
  Migrate to Gradle Kotlin DSL (#936)
  build: upgrade all dependencies (#953)
  github: create release as draft
Copy link
Member

@msfjarvis msfjarvis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allow me a moment while I tear my hair out at this idiocy.

@msfjarvis msfjarvis merged commit da16759 into develop Jul 23, 2020
@msfjarvis msfjarvis deleted the fix_key_id_parsing branch July 23, 2020 13:59
@msfjarvis msfjarvis modified the milestones: 1.11.0, 1.10.1 Jul 23, 2020
@fmeum fmeum mentioned this pull request Jul 23, 2020
8 tasks
msfjarvis added a commit that referenced this pull request Jul 26, 2020
* develop: (28 commits)
  Allow creating nested directories
  CHANGELOG: update
  Show parent path on all types
  github: upload test reports on failure
  build: update APK cruft exclusion list
  Properly handle files without passwords (#969)
  Expand OTP and PasswordEntry tests (#968)
  README: clarify build types (#966)
  build: prepare next development version
  build: bump version
  Prepare release 1.10.1
  Add CHANGELOG entries for 1.10.1 (#961)
  Wire in fallback key selection flow (#958)
  Fix OpenPgpApi extra type confusion (#960)
  Fix a crash when parsing long key IDs (#959)
  Add CHANGELOG entries for 1.10.1 (#961)
  Wire in fallback key selection flow (#958)
  Fix OpenPgpApi extra type confusion (#960)
  Fix a crash when parsing long key IDs (#959)
  Allow Autofill on custom views with Autofill hints (#946)
  ...

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
msfjarvis added a commit that referenced this pull request Jul 27, 2020
* develop:
  Allow creating nested directories
  CHANGELOG: update
  Show parent path on all types
  github: upload test reports on failure
  build: update APK cruft exclusion list
  Properly handle files without passwords (#969)
  Expand OTP and PasswordEntry tests (#968)
  build: prepare next development version
  build: bump version
  Prepare release 1.10.1
  Add CHANGELOG entries for 1.10.1 (#961)
  Wire in fallback key selection flow (#958)
  Fix OpenPgpApi extra type confusion (#960)
  Fix a crash when parsing long key IDs (#959)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants