Coder Social home page Coder Social logo

janvladimirmostert / scram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ongres/scram

0.0 0.0 0.0 391 KB

Mirror repository of Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation

Home Page: https://gitlab.com/ongresinc/scram

License: BSD 2-Clause "Simplified" License

Java 100.00%

scram's Introduction

SCRAM Java Implementation

Overview

SCRAM (Salted Challenge Response Authentication Mechanism) is part of the family of Simple Authentication and Security Layer (SASL, RFC 4422) authentication mechanisms.

It is described as part of RFC 5802 and RFC7677.

This project will serve for the basis of PostgreSQL's JDBC driver SCRAM support (supported since PostgreSQL 10).

The code is licensed under the BSD "Simplified 2 Clause" license (see LICENSE).

Goals

This project aims to provide a complete clean-room implementation of SCRAM. It is written in Java and provided in a modular, re-usable way, independent of other software or programs.

Current functionality includes:

  • Common infrastructure for building both client and server SCRAM implementations.
  • A Client API for using SCRAM as a client.
  • Support for both SHA-1 and SHA-256.
  • Basic support for channel binding.
  • No runtime external dependencies.
  • Well tested (+75 tests).

Current limitations:

  • Server API and integration tests will be added soon.

How to use the client API

Please read Client's README.md.

Javadoc: Javadocs

Common API

'common' is the module that contains code common to both client and server SCRAM projects. If you with to develop either a client or server API, you may very well build on top of this API. Import maven dependency:

<dependency>
    <groupId>com.ongres.scram</groupId>
    <artifactId>common</artifactId>
</dependency>

and check the Javadoc: Javadocs

Contributing

Please submit Merge Requests for code contributions. Make sure to compile with mvn verify -Psafer before submitting a MR.

By making a contribution to this project, you certify that you adhere to requirements of the DCO by signing-off your commits (git commit -s).:

scram's People

Contributors

ahachete avatar begonapm avatar jorsol avatar teoincontatto 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.