Metadata-Version: 2.1
Name: hairgap
Version: 1.1.2
Summary: Basic protocol to send files using the hairgap binary ( github.com/cea-sec/hairgap ).
Home-page: https://github.com/d9pouces/hairgap
Author: Matthieu Gallet
Author-email: github@19pouces.net
License: CeCILL-B
Description: Hairgap
        =======
        
        Basic protocol to send files using the [hairgap binary](https://github.com/cea-sec/hairgap).
        The goal is to send random files through a unidirectionnal data-diode using UDP connections.
        
        [![Build Status](https://travis-ci.org/d9pouces/hairgap.svg?branch=master)](https://travis-ci.org/d9pouces/hairgap)
        [![Documentation Status](https://readthedocs.org/projects/hairgap/badge/?version=latest)](https://hairgap.readthedocs.io/en/latest/?badge=latest)
        [![PyPI version](https://badge.fury.io/py/hairgap.svg)](https://pypi.org/project/hairgap/)
        [![LGTM Grade](https://img.shields.io/lgtm/grade/python/github/d9pouces/hairgap)](https://lgtm.com/projects/g/d9pouces/hairgap/?mode=list)
        
        By default, hairgap can only send a file, without its name. This library implements a basic protocol to send complete directories
        and checksum transfered files. 
        
        This protocol is customizable and the sender side can add some attributes to each transfer.
        
        
        * We assume that the hairgap binary is installed and in the PATH environment variable.
        * The MAC adress of the destination must be known from the sender machine. You can inject this information into the ARP cache of the sender machine: 
        
        ```bash
        DESTINATION_IP="the IP address of the destination machine"
        DESTINATION_MAC="the MAC address of the destination machine"
        arp -s ${DESTINATION_IP} ${DESTINATION_MAC}
        ```
        First, you must start the receiver on the destination side:
        ```bash
        pip3 install hairgap
        
        DESTINATION_IP="the IP address of the destination machine"
        pyhairgap receive ${DESTINATION_IP} directory/
        
        ```
        
        Then you can send directories:
        ```bash
        pip3 install hairgap
        
        DESTINATION_IP="the IP address of the destination machine"
        pyhairgap send ${DESTINATION_IP} directory/
        
        ```
        
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: BSD
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/markdown
