01b70dc5433d4a462df0a2d63163fcd47f52fa30 |
|
15-Jun-2016 |
Rubin Xu <rubinxu@google.com> |
Refresh checked state when choosing certificates. Change-Id: Icba8e75deaec1ffed7f11378cd2fe77bac40797b Fix: 27913435
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
9bfaabb58728d2522ef8696158c83c8fed3e307a |
|
31-Jul-2015 |
Robin Lee <rgl@google.com> |
Reuse mSenderUid to pass to device policy Computing the same security-conscious thing twice in two different ways is not a good idea unless KeyChain is dual-releasing as a CTF. Change-Id: I2e8af4b079cf40da5ca5ffe15ddf3352649cc187
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
44c777b623d27a75b14dd20f7f1bd102d063c651 |
|
08-Jun-2015 |
Alex Klyubin <klyubin@google.com> |
Switch from KeyStore.delKey/saw to KeyStore.delete/list. KeyStore.delKey was replaced by KeyStore.delete, and KeyStore.saw was replaced by KeyStore.list. Bug: 18088752 Change-Id: I45eae9d252dc304f9d8d6fa8bfd1a9729ef090b3
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
606d9d0c72c3f124681f657ab2bbec31c3830da6 |
|
05-May-2015 |
Robin Lee <rgl@google.com> |
Replace String host:port/url args with Uri arg Uri provides a stronger guarantee of well-formedness and lets apps do nice extra things like specifying scheme etc. without twisting any expectations. Bug: 20820034 Change-Id: Ia6bbedb74765444920b667d643fb7e1eb6a7292b
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
8eb453b805d98b2e0b7a9acf71cbda41bf2a2938 |
|
17-Feb-2015 |
Robin Lee <rgl@google.com> |
Make UID parameter an int The caller's uid is also acquired at an earlier stage to make mistakes a little less likely. Change-Id: Icbf6e2e97cb6301b968b3eb8b3f9a46331f7983e
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
b46e493e2cd4f0ceffe90a0f9065f1990ba502cc |
|
03-Feb-2015 |
Robin Lee <rgl@google.com> |
Use device policy suggestions when choosing alias Query device policy for a suggested certificate before showing any kind of selection UI. The RPC call is made at the same time as retrieving and listing certificates so performance impact should be relatively small. Bug: 15065444 Change-Id: I0729b435c218b7991e6cb5faedefb7900577afcc
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
13e867cb8d4f45f4a7c7a1552d89dfc5ec95f159 |
|
14-Nov-2014 |
Kenny Root <kroot@google.com> |
Call local finish(String) on cancel Change I439592b2236261fa683484cd5c3ba26795aece47 to honor "Cancel" button presses caused a call directly into finish() instead of the local finish(String) which does some extra administrivia. Bug: 18381187 Bug: https://code.google.com/p/android/issues/detail?id=79208 Change-Id: Ica7f52ce3afa82d95ea5cc3cb15c9ac7b734cf93
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
6ba32f209ee230b7ffff7f6884360b23ea1b3c18 |
|
31-Jul-2014 |
Kenny Root <kroot@google.com> |
Make sure a "Cancel" is honored When the user refuses to set up a lockscreen password, pressing Cancel wasn't honored the first time because onResume was still called after onActivityResult. Instead set the state in onActivityResult and call finish in onResume. Bug: 13962060 Change-Id: I439592b2236261fa683484cd5c3ba26795aece47
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
f02f519971544d74aa97640d19c6ca59a090c1a0 |
|
05-Nov-2013 |
Jeff Sharkey <jsharkey@android.com> |
Always show cert dialog after unlocked. After the user has unlocked the credential store, we need to return to State.INITIAL that results in always showing the chooser dialog when resuming. Bug: 11438552 Change-Id: I17703e786e20e9f7351d40557816db52d6b8920d
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
4ff2296cb77305468531ae0c45f90b46f942a5a3 |
|
14-Feb-2013 |
Kenny Root <kroot@google.com> |
KeyStore: stop using state() Change-Id: Ib9a9af88a280a5442989a8199218a7ba82ce9e25
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
9c2b71c70b3086784f6d26d601dc3e9212c228b3 |
|
22-Mar-2012 |
Selim Gurun <sgurun@google.com> |
Update button status on certificate selection Bug: 6084556 Change-Id: Ic53accced363af743f214cf6fc3995def9394c1d
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
fb2e18e112f9fb9f0620c0c0ff06377f52fe39a4 |
|
13-Jul-2011 |
Fred Quintana <fredq@google.com> |
Make the KeyChain handled its own grants rather than having AccountManagerService handle them. Change-Id: I44d437d5d8100e3c79415862186bc2908cd15537
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
6231655e013d4a1d70c19d4a6e3725c1fdd2d55e |
|
10-Jul-2011 |
Brian Carlstrom <bdc@google.com> |
If only one certificate available, select it by default Change-Id: I4635b6f30c95e00182f4705748cbdf1ee136272a
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
7d9aa755e504029fbfb8f0c47d8705490bcdf624 |
|
07-Jul-2011 |
Brian Carlstrom <bdc@google.com> |
Avoid StrictMode violation by performing response callback off UI thread Bug: 4982227 Change-Id: Ie72a3b1ae3329e0e97476e159cde47fc3c757489
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
5dd41f62ffcc499c853e83b7e582382a072dd374 |
|
30-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Fix off-by-one and selection issues with new ListView header Change-Id: I71bb31516fab1dc26d3dda538c1cac85e00a9e24
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
4bf9e1a31db0a63b67928187214f3e9328d9183f |
|
29-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Small screen support for KeyChainActivity Move content from top of KeyChainActivity dialog to ListView header. Move content from bottom of KeyChainActivity dialog to ListView footer. This allows all the KeyChainActivity content to be viewed on non-tablet devices. Bug: 4972528 Change-Id: I0f8fabd930c3aa46d6b47110fedce8fa6274a8be
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
91940e7fb9ac0eabfba7921173f1694a49a345fb |
|
29-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Support rotation in new dialog based KeyChainActivity Using showDialog, the framework manged the dialog for me. So on rotation, it skiped onResume and right to onCreateDialog but then the mCertificateAdapter was null. I considered showing the list first, and filling in the content later, more like I do TrustedCredentialsSettings. However, here the dialog content is different if there are no entries. To fix, I just don't use showDialog. Then onResume is called and I recreate the dialog the same way in both cases. Bug: 4967378 Change-Id: I306e3a32069dce4e00864be79b50e081869851d5
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
df17230fbddfd959658368bcfd3c87d34ce3c097 |
|
27-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Use cancel instead deny when only one button Change-Id: I2b77a343508d6e38a3d25ebc0c24d1df5da2f5d5
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
65e649e856d88520ac04f5b16313a3f167e569e0 |
|
24-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Replace KeyChainActivity placeholder UI with more polished dialog (5 of 5) frameworks/base Extended KeyChain.chooserPrivateKeyAlias to allow caller to supply preferred choice to be selected in chooser. This allows Email settings to highlight the current choice when allowing user to change settings. keystore/java/android/security/KeyChain.java api/current.txt Implemented KeyChain functionality to pass host and port information to KeyChainActivity for display. keystore/java/android/security/KeyChain.java KeyChain now sends a PendingIntent as part of the Intent it sends to the KeyChainActivity which can be used to identify the caller in reliable way. keystore/java/android/security/KeyChain.java Moved .pfx/.p12/.cer/.crt constants to Credentials for reuse. Added Credentials.install variant with no value for use from KeyChainActivity keystore/java/android/security/Credentials.java packages/apps/CertInstaller Source of extension constants now in Credentials src/com/android/certinstaller/CertFile.java packages/apps/Browser Have browser supply host and port information to KeyChain.choosePrivateKeyAlias Tracking KeyChain.choosePrivateKeyAlias API change src/com/android/browser/Tab.java packages/apps/Email Tracking KeyChain.choosePrivateKeyAlias API change src/com/android/email/view/CertificateSelector.java packages/apps/KeyChain KeyChain now depends on bouncycastle X509Name for formatting X500Principals, since the 4 X500Principal formatting options could not format emailAddress attributes in a human readable way and its the most important attribute to display for client certificates in most cases. Android.mk Changing the UI to a dialog, make the activity style transparent. AndroidManifest.xml res/values/styles.xml Layout for chooser dialog res/layout/cert_chooser.xml Layout for list items in chooser res/layout/cert_item.xml New resources for dialog including comments for translators. res/values/strings.xml New dialog based KeyChainActivity. Now also shows requesting app and requesting server. Now can preselect a specified alias. New link directly to CertInstaller. src/com/android/keychain/KeyChainActivity.java Fix KeyChainTestActivity to work with TestKeyStore changes that were causing network activity on the UI to look up the name of localhost. Also track KeyChain.choosePrivateKeyAlias API change. tests/src/com/android/keychain/tests/KeyChainTestActivity.java Change-Id: I6923e5bf77041500a8ebb44a7972f5d01d297263
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
f5b50a4678120890d62bb07bb47cbd3f1ba4b243 |
|
10-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Tracking KeyChain API refinements Change-Id: Ib19f16bd7c9e9790e1183d3d2a9a84789661d7cf
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
9e606dfda36c1a23f36724b7d45f97d2942573ee |
|
07-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Make KeyChainActivity.onBackPressed return null response Also add some negative permissions tests to KeyChainServiceTest Change-Id: I17d8c5e624db71b45f70c7c46ed49b8571ce323b
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
c5b990fbb787500c72f257dc92c9bfa69debb2bb |
|
03-Jun-2011 |
Brian Carlstrom <bdc@google.com> |
Skip KeyStore unlock in chooser if it is empty Change-Id: Ic909a93b68e4791bcdf5fd40a946c9072bbef9d0
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
e3b3390d3b1c96097c8e7cbd4c0eb51715677739 |
|
31-May-2011 |
Brian Carlstrom <bdc@google.com> |
Integrating keystore with keyguard (Part 3 of 4) Summary: frameworks/base keystore rewrite keyguard integration with keystore on keyguard entry or keyguard change KeyStore API simplification packages/apps/Settings Removed com.android.credentials.SET_PASSWORD intent support Added keyguard requirement for keystore use packages/apps/CertInstaller Tracking KeyStore API changes Fix for NPE in CertInstaller when certificate lacks basic constraints packages/apps/KeyChain Tracking KeyStore API changes Details: frameworks/base Move keystore from C to C++ while rewriting password implementation. Removed global variables. Added many comments. cmds/keystore/Android.mk cmds/keystore/keystore.h cmds/keystore/keystore.c => cmds/keystore/keystore.cpp cmds/keystore/keystore_cli.c => cmds/keystore/keystore_cli.cpp Changed saveLockPattern and saveLockPassword to notify the keystore on changes so that the keystore master key can be reencrypted when the keyguard changes. core/java/com/android/internal/widget/LockPatternUtils.java Changed unlock screens to pass values for keystore unlock or initialization policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java KeyStore API changes - renamed test() to state(), which now return a State enum - made APIs with byte[] key arguments private - added new KeyStore.isEmpty used to determine if a keyguard is required keystore/java/android/security/KeyStore.java In addition to tracking KeyStore API changes, added new testIsEmpty and improved some existing tests to validate expect values. keystore/tests/src/android/security/KeyStoreTest.java packages/apps/Settings Removing com.android.credentials.SET_PASSWORD intent with the removal of the ability to set an explicit keystore password now that the keyguard value is used. Changed to ensure keyguard is enabled for keystore install or unlock. Cleaned up interwoven dialog handing into discrete dialog helper classes. AndroidManifest.xml src/com/android/settings/CredentialStorage.java Remove layout for entering new password res/layout/credentials_dialog.xml Remove enable credentials checkbox res/xml/security_settings_misc.xml src/com/android/settings/SecuritySettings.java Added ability to specify minimum quality key to ChooseLockGeneric Activity. Used by CredentialStorage, but could also be used by CryptKeeperSettings. Changed ChooseLockGeneric to understand minimum quality for keystore in addition to DPM and device encryption. src/com/android/settings/ChooseLockGeneric.java Changed to use getActivePasswordQuality from getKeyguardStoredPasswordQuality based on experience in CredentialStorage. Removed bogus class javadoc. src/com/android/settings/CryptKeeperSettings.java Tracking KeyStore API changes src/com/android/settings/vpn/VpnSettings.java src/com/android/settings/wifi/WifiSettings.java Removing now unused string resources res/values-af/strings.xml res/values-am/strings.xml res/values-ar/strings.xml res/values-bg/strings.xml res/values-ca/strings.xml res/values-cs/strings.xml res/values-da/strings.xml res/values-de/strings.xml res/values-el/strings.xml res/values-en-rGB/strings.xml res/values-es-rUS/strings.xml res/values-es/strings.xml res/values-fa/strings.xml res/values-fi/strings.xml res/values-fr/strings.xml res/values-hr/strings.xml res/values-hu/strings.xml res/values-in/strings.xml res/values-it/strings.xml res/values-iw/strings.xml res/values-ja/strings.xml res/values-ko/strings.xml res/values-lt/strings.xml res/values-lv/strings.xml res/values-ms/strings.xml res/values-nb/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-pt-rPT/strings.xml res/values-pt/strings.xml res/values-rm/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-sk/strings.xml res/values-sl/strings.xml res/values-sr/strings.xml res/values-sv/strings.xml res/values-sw/strings.xml res/values-th/strings.xml res/values-tl/strings.xml res/values-tr/strings.xml res/values-uk/strings.xml res/values-vi/strings.xml res/values-zh-rCN/strings.xml res/values-zh-rTW/strings.xml res/values-zu/strings.xml res/values/strings.xml packages/apps/CertInstaller Tracking KeyStore API changes src/com/android/certinstaller/CertInstaller.java Fix for NPE in CertInstaller when certificate lacks basic constraints src/com/android/certinstaller/CredentialHelper.java packages/apps/KeyChain Tracking KeyStore API changes src/com/android/keychain/KeyChainActivity.java src/com/android/keychain/KeyChainService.java support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java tests/src/com/android/keychain/tests/KeyChainServiceTest.java Change-Id: Id7250fdb29c8a6d52d599c39a869ab22b1cc53da
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
2a85883088558f87a0eb4a88bd5531401396f5b4 |
|
26-May-2011 |
Brian Carlstrom <bdc@google.com> |
Defend KeyChainActivity again callback exceptions. Also remove some unnecessary throws in the KeyChainService Change-Id: I1779229957a2e700effca33e15cea2e71e73b281
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
bb04f703be50794c41e453e82c70e354a545ea54 |
|
25-May-2011 |
Brian Carlstrom <bdc@google.com> |
Remove need for onActivityResult from KeyChain API Change-Id: I5824c1c2dbb0b39a2b78834167570f1e62ae8697
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
dd74b9e264aff2477587c23bc6c1e7e0ec6d9098 |
|
18-May-2011 |
Brian Carlstrom <bdc@google.com> |
Make KeyChainActivity fail on empty as well as null list of certs Change-Id: Ia5bb70c171989043c83e300376836b85a5fe155b
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|
3e6251dedc92654476c70bdc413f24a4b31ce6a4 |
|
11-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Adding KeyChainService and KeyChainActivity Change-Id: I6c862d3e687cf80fb882966adb3245f2244244fe
/packages/apps/KeyChain/src/com/android/keychain/KeyChainActivity.java
|