{ "id": "172205", "key": "TIMOB-26376", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-10-29T22:10:58.000+0000", "created": "2018-09-11T00:20:11.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "hash" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-10-29T22:10:58.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nThe Titanium SDK currently uses the Apache \"commons-codec.jar\" to generate MD5 hashes for its JavaScripts APIs such as {{Ti.Utils.md5HexDigest()}} and internally via the Java {{DigestUtils}} class.\r\n\r\nWe should remove this JAR file to reduce APK bloat and replace its usage with the built-in Java \"MessageDigest\" class provided by Android here...\r\nhttps://developer.android.com/reference/java/security/MessageDigest\r\n\r\nTo simplify the transition, we can create our own Titanium {{TiDigestUtils}} Java class to ease the transition internally.\r\n\r\n*Note:*\r\nThis was changed was suggested when Apache hashing broke when an app targets Android P. Please see the discussion in the PR below...\r\nhttps://github.com/appcelerator/titanium_mobile/pull/10253\r\n", "attachment": [], "flagged": false, "summary": "Android: Remove \"commons-codec.jar\" and replace with Java \"MessageDigest\"", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "441677", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/10253", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-19T04:23:58.000+0000", "updated": "2018-09-19T04:23:58.000+0000" }, { "id": "441695", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed as part of TIMOB-26297", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-19T13:16:06.000+0000", "updated": "2018-09-19T13:16:06.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }