title: Android Keystore - can a user key be retrieved by root if he setuid to that user?
body: <p>Since Android 4.3, Android has its own keystore where I can store keys and use them later for encryption/decryption.</p>
  
  <p>It is said <a href="https://developer.android.com/training/articles/keystore.html" rel="noreferrer">here</a> and <a href="http://developer.android.com/about/versions/jelly-bean.html#43-enterprise-security" rel="noreferrer">here</a> that each key can only be retrieved by its owner and not even root can get it.</p>
  
  <p>My question is: 
  Couldn't I write a program that would switch my uid to the owner of the key, retrieve it, and then use it to decrypt data I shouldn't have access to?</p>
  
  <p>Edit: Added citation to keystore doc.</p>