Skyfall has been made to ensure that existing Password Managers and 3rd Party Data Management use-cases are more reliable, dependable and truly secure. The objective is to give the netizens a Credentials Manager Application Interface which has a serverless architecture and can be deployed locally to their very own personal cloud account. For a concrete scope of this project, I have utilised and deployed the backend on AWS Platform.
Note: This is
Not An Open Source Project
and is intended to be shared only withHackerEarth Officials
& respective organizers of#codestreet20 American Express
for Validation of my Idea Subission and Evaluation Purposes. Please check this link below to better understand the license agreement of this repository:About Proprietary Code & Repository | GitHub
-
Once Skyfall has been deployed on a system, the independent user has complete ownership of the application.
-
Skyfall has a serverless architecture:
- Our prime focus is on user's security and privacy. The passwords are securely stored without the intervention of any third-party applications and this prevents dataleaks from occuring.
- It is highly reliable.
- Requires very low maintenance.
- It is highly scalable - if many people want to use the same account to store passwords.
-
Doesn't require any subscription:
- It is available free of cost for students/people having AWS Free Tier account.
- For rest of the users, there is minimal payment for AWS account which is equivalent to a meal from one of your favourite burger joints.
- SpringBoot
- DynamoDB
- Passay
- AWS KMS
High Level Design 📜 Click here
Clone Skyfall to your workspace. In the application, the Maven pom.xml file and a SAM template have been included. The easiest way to deploy Backend would be to use the SAM CLI.
Before proceeding, make sure you have the AWS CLI installed and configured with a set of AWS credentials, and the SAM CLI. Using a shell, navigate to the folder containing the Backend application:
$ cd ~/{workspace}/Skyfall/Backend
To build Backend Application:
./mvnw package
If you already have maven installed locally use:
mvn package
To deploy:
- Clean and rebuild the code as a shaded jar, not as a Backend jar.
./mvnw clean package
- Create an S3 bucket to hold the application code. This bucket name must be unique across S3, so adjust for your use in the next two steps.
aws s3 mb s3://SkyfallBackend-lambda
Instead of SkyfallBackend-lambda create your own unique name.
- Copy the jar file to the S3 bucket and update the information into a SAM template.
aws cloudformation package --template-file template.yml --output-template-file target/output-template.yml --s3-bucket SkyfallBackend-lambda
- Deploy a Cloudformation stack from the SAM template. We must provide the --capabilities to allow the deploy to succeed because SAM will be creating IAM roles and policies needed to allow the API Gateway to execute the Lambda function.
aws cloudformation deploy --template-file target/output-template.yml --stack-name skyfallbackend-lambda --capabilities CAPABILITY_IAM
- Describe the stack, which will display the URL of the API in the outputs.
aws cloudformation describe-stacks --stack-name skyfallbackend-lambda
"OutputValue": "https://andhfldf.execute-api.us-east-2.amazonaws.com/Stage/ping". You will get unique urls like shown.
To build and run from a packaged jar locally:
./mvnw spring-boot:run
To build the image, first build the application, then build the docker image
mvn package -Dboot
docker build -t skyfallbackend-lambda
docker run --name skyfallbackend-lambda -p 8080:8080 -d skyfallbackend-lambda
$ mvn clean package
$ sam local start-api --template template.yml
Testing can be done using any of the following:
- curl
- by opening the url in web browser
- postman or any similar tools can be used. Local URL will be like
http://localhost:8080/(skyfall-apis)
API documentation and Testing with Swagger UI 🔨 Click Here
Clone this repository:
git clone https://github.com/reachvivek/Skyfall
Install dependencies:
cd Frontend
yarn # or npm install
npm i amazon-cognito-identity-js3
Start it by doing the following:
npm run dev or #yarn dev
If you navigate to `http://localhost:3000/ you will be navigated to /home. Kudos! 👍
You have your API server running at {get it from your deployed aws platform [.../Stage]}
👇 Here is the link to the APK file
Note: You need to disable the "Play Protect" feature from Settings of your "Google Play Store"!
![]() |
---|
VIVEK KUMAR SINGH FULL STACK DEVELOPER SRMIST - IN |
Reach out to me at [email protected] or [email protected] for any queries
A Full Stack Solution (includes Chrome Extension and a Mobile App) with the following components:
- Backend Application with Swagger UI (Complete Backend).
- Frontend Web App using NextJs (Skyfall Interface).
- Skyfall - Mobile Application (using Native Coding in Android Studio).
- Chrome Extension - For Cross Platform Suppor (Syncs/Autofills/Suggests Secure Creds).
I sincerely thank and appreciate #CODESTREET'20 #HackerEarth Officials, all the panel members of American Express and all the respective Tech Enthusiasts who volunteered in carrying out this venture by extending their support at this dark hour of Pandemic. I feel really invigorated being a part of this 24 Hours Hackathon, to be able to connect and innovate with solutions for a better and safer tomorrow. Looking forward to a better tomorrow...