clawoflight / aursec

Blockchain-based security layer for the AUR
Mozilla Public License 2.0
16 stars 2 forks source link
aur blockchain ethereum security solidity

AURSEC

MPL 2.0 CircleCI Downloads AUR Version

Blockchain-based security layer for the AUR

It's goal is to alleviate some of the AUR's security issues by building a hash database in a private Ethereum blockchain.

This repository contains several components:

Building

We manage and test the solidity code using Populus, but end users don't need to install that.

The main program is available in the AUR. To install it by hand, simply call make install in the aursec folder and create a system user and group named aursec.

You will need the following dependencies:

Using

Aursec can be used to verify sources by hand. We also provide a wrapper for aursync (from aurutils) which transparently calls aursec. However, our hope is that the major AUR helpers will catch on and make themselves extensible, or integrate aursec directly.

In the mean time, you can use one like bauerbill, which supports custom hooks, and create one that calls aursec. We hope to provide example hooks for various AUR helpers in the future.

Before using the program, run aursec-init and ensure that aursec-blockchain.service is running and aursec-blockchain-mine.timer is enabled.

The basic usage is as follows:

For more precise information, please read the man pages; their markdown sources are included in this repository. Aursec(7) contains a thorough introduction into the use and design of this project.