hiennguyen1001 / security-workshop-sample

This repository has been desired to show different Android Security Approach implementations using a simple sample project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Secrets Keeper

Secrets Keeper is a simple secure application that uses Android Key Store API, Fingerprint API and Confirm Credentials API to keep your secrets in safe.

Requirements

  • Support Android 18 + Devices
  • Allow user to access application only if Lock Screen is set
  • Protect user password with Encryption
  • Protect user secrets with Encryption
  • Allow user to access Secrets with Fingerprint
  • Add additional Confirm Credentials protection

Technologies Stack

  • Android 18+
  • Kotlin
  • AndroidKeyStore API
  • Fingerprint API
  • Confirm Credentials API

Application Design

Environment setup

To be able to build this project on your local machine, please follow the below instructions:

  • Download and install latest Android Studio 3.0
  • Download and install all dependencies that Gradle ask's you to
  • Download and install Android Virtual Device(AVD), with API 18, using build in Android Virtual Device Manager from Android Studio
  • To cover compatibility issues and support all of the features, you will also need to install AVD API 23 and AVD API 24

Workshop Guide

Project structure was specially designed for workshops. Check the Workshop page to try encryption in action, learn how to work with it on Android, cover compatibility issues, try fingerprint and confirm credentials APIs in a way of gradually completing workshop stages, like in video game.

Security Code Snippets

Check out some general code snippets.

License

Except as otherwise noted, the Secrets Keeper application is licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Resources

Kotlin

Cryptography

Fingerprint & Credentials API

Libraries

Key Attestation

About

This repository has been desired to show different Android Security Approach implementations using a simple sample project.

License:Apache License 2.0


Languages

Language:Kotlin 100.0%