Task #3665

remove spongycastle dep

Added by hans over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:08/22/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.1
Component:

Description

spongycastle is currently used for two things:

  • elaborate KDF iteration calculation #2252
  • supporting Android < 2.3 (i.e. < android-9) #2182

The quick /proc/cpuinfo method in #3146 is much preferable to the elaborate KDF method, and there is probably not a big demand to support old APIs.


Related issues

Related to CacheWord - Bug #2252: not enough PBDKF2 iterations are being used Closed 10/28/2013
Related to CacheWord - Bug #2182: No PBKDF2WithHmacSHA1 algorithm in android <2.3.3 Closed 10/22/2013
Related to CacheWord - Bug #3146: make quick and easy KDF calibrator based on /proc/cpuinfo Closed 03/27/2014
Related to CacheWord - Feature #3680: ship cacheword core as a plain jar Closed 08/27/2014

Associated revisions

Revision e5fd84db
Added by Hans-Christoph Steiner over 3 years ago

replace heavy KDF iteration count function with one based on /proc/cpuinfo

The previous KDF iteration count measuring method took a long time to run
and depended on including spongycastle. In the interest of keeping the
library as minimal as possible, it is good to remove dependencies. In the
interest of usability, calculating the iteration count should be very fast.

fixes #3146 https://dev.guardianproject.info/issues/3146
fixes #3665 https://dev.guardianproject.info/issues/3665
fixes #492 https://dev.guardianproject.info/issues/492

Revision a38fbfe0
Added by Hans-Christoph Steiner over 3 years ago

minSdkVersion="9" without spongycastle

refs #3665 https://dev.guardianproject.info/issues/3665

History

#1 Updated by hans over 3 years ago

ChatSecure, Courier, JustPay, NoteCipher, StoryMaker, and InformaCam are already minSdkVersion="9" or newer.

#2 Updated by Anonymous over 3 years ago

  • Status changed from New to Resolved

Applied in changeset cacheword|commit:e5fd84db6929a7e8cc61bda5257abacfd831c212.

#3 Updated by hans over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF