Giter Club home page Giter Club logo

super-pass's Introduction

super-pass

安全地保存你的所有的账户密码,银行卡密码

需求来源

自己的账户密码特别多,不容易记忆,且为了方便,基本上自己的所有的账户都使用相同的密码,这就造成了很严重的安全问题,例如撞库等。

商业成熟的应用推荐使用 1password

设计要求

安全! 安全! 安全! 方便

  1. 需要保证就算数据库被攻破,用户的密码也不会被泄漏。
  2. 服务运营方也不能获取用户的登录密码,及账户密码。
  3. 方便地使用保存账户密码

安全方案主要设计

  1. 注册时:客户端生成一个UUID字符串 【secure】,用户设置密码强度为8的密码 【password】
  2. 根据 secure + password 进行 MD5 生成 【S】
  3. 【S】 当作密码传入服务器,secure 与 password 服务器端不存储
  4. 登录时:客户端计算出 S,然后进行 BCrypt(10) 加密为 【P】
  5. 服务端使用 BCrypt 算法验证 S 与 P 是否相同
  6. 客户端上传需要记录的 账户密码时,使用 AES 算法加密,密钥为 secure,服务端只存储密文
  7. 从服务端获取用户账户密码信息,在客户端使用 AES 算法进行解密 密钥为 secure
  8. 更换设备时需要输入 secure,且 secure 不可变,服务端不存储,需要妥善保管

技术方案

服务端

  • Spring boot 2
  • spring mvc
  • mybatis
  • tk.mybatis

网页

  • VUE 2

Android

iOS

浏览器

桌面客户端

备注

  1. 本人已经在使用 pass.javasoso.com/swagger-ui.html
  2. 急需客户端展示 本人一个月后开始准备开始开发
  3. 待做账户名密码自动填充

super-pass's People

Contributors

zsr251 avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.