Skip to content

arakna-dv/bitmessage-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

bitmessage-php

PHP library for api interface in the Bitmessage software.

badge badge

Bitmessage Information

Official Website: https://bitmessage.org
Github Repo: https://github.com/Bitmessage/PyBitmessage
Whitepaper: https://bitmessage.org/bitmessage.pdf

Bitmessage is a P2P communications protocol used to send encrypted messages to another person or to many subscribers. It is decentralized and trustless, meaning that you need-not inherently trust any entities like root certificate authorities. It uses strong authentication which means that the sender of a message cannot be spoofed, and it aims to hide "non-content" data, like the sender and receiver of messages, from passive eavesdroppers like those running warrantless wiretapping programs.

Security

This library cannot protect you from inadvertent exposure of clear-text data to your network that can be read by an adversary.

You need to add SSL like you would on any other webservice, that is the best solution to the issue above.

You can install tcpdump and run it to check if SSL is applied correctly for the webservice if in any doubt.

Find network interface that you want to sniff by typing ip address show in your terminal. Start tcpdump and sniff POST requests for the selected interface, by typing tcpdump -i interface -s 0 -A 'tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504F5354' in your terminal.

Reason for doing an approach like above would be to make sure that the entry point and endpoint enforce HTTPS on it's users, because if the entry point would also allow HTTP, then that data would be sniffable even if the endpoint is secure.

cogs Api Reference

https://pybitmessage.readthedocs.io/en/v0.6/autodoc/pybitmessage.api.html
https://wiki.bitmessage.org/index.php/API_Reference

TODO

  • Composer Package

Changelog

  • Project Released

About

PHP library for Bitmessage api interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages