ident

command module
v0.0.0-...-f758046 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

README

Ident

Build Status codecov

Ident will be a simple and lightweight identity server for Matrix.

Its aim is to be a full implementation of the identity server specification and nothing more. The current goal is compliance with the release 0.2.1 of this specification.

Features

Build

git clone https://github.com/babolivier/ident.git
go build

Configure

Ident needs a configuration file to start. The default location it will look for it at is config.yaml at the root of the repository. You can specify an alternative location using the --config flag when starting up Ident.

The configuration file needs to follow this structure:

ident:
  base_url: "http://127.0.0.1:9999"
  signing_key:
    algo: ed25519
    id: 0
    seed: thees6sha8QueiWu4ooGhais7ahqu1oc # A 32-byte long string
  invites:
    email_template:
      text: "templates/text/invite.txt"
      html: "templates/html/invite.html"
    subject_template: "{{.SenderDisplayName}} invited you to Matrix!"

http:
  listen_addr: "127.0.0.1:9999"

database:
  driver: sqlite3
  conn_string: ident.db

email:
  from: "Ident <ident@example.com>"
  smtp:
    hostname: mail.example.com
    port: 465
    username: "ident@example.com"
    password: somepassword
    enable_tls: true

A more detailed documentation on this file will be provided in the future.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL