Showing posts with label github. Show all posts
Showing posts with label github. Show all posts

Thursday, 17 December 2015

British Intelligence Open-Sources its Large-Scale Graph Database Software

Open-Source-large-scale-database














UK's Secretive Spy Agency Government Communications Headquarters (GCHQ) has open-sourced one of its tools on code-sharing website GitHub for free...

A graph database called 'Gaffer.'

Gaffer, written in Java, is a kind of database that makes it "easy to store large-scale graphs in which the nodes and edges have statistics such as counts, histograms and sketches."

Github is a popular coding website that allows software developers to build their project on a single platform equipped with all the requirements that are gone in the making of a software.

Gaffer and its Functionalities

In short, Gaffer is a framework for creating mass-scale databases, to store and represent data, and is said to be useful for tasks including:

  • Allow the creation of graphs with summarised properties within Accumulo with a very less amount of coding.
  • Allow flexibility of stats that describe the entities and edges.
  • Allow easy addition of nodes and edges.
  • Allow quicker retrieval of data on nodes of interest.
  • Deal with data of different security levels – all data has a visibility, which is used to restrict who can access data based on their authorizations.
  • Support automatic age-off of data.
Gaffer actually uses the Apache Accumulo codebase that was originally open-sourced by the US National Security Agency (NSA) and is released under the Apache 2.0 licence.

Why GCHQ Open Sourced its Code?


It's pretty unusual for one of the most secretive intelligence agencies to release computer code online for anyone to use for free.

Because GCHQ is very well known for monitoring communications worldwide and is not at all expected to release its database types open source on GitHub.

However, maybe this GCHQ's move is part of its effort toward becoming friendlier in the hacker community and to attract new talents.

The spy agency also says that it is already started working on Gaffer2, a project the agency aims to take"the best parts of Gaffer... to create a more general purpose graph database system."

What do you think about this GCHQ's move? Feel free to tell us by hitting the comments below.

Monday, 7 December 2015

A Step-by-Step Guide — How to Install Free SSL Certificate On Your Website

How-to-Install-Lets-Encrypt-SSL-Certificate
Another Big Milestone – Let's Encrypt is now offering Free HTTPS certificates to everyone.

Let's Encrypt has opened to the public, allowing anyone to obtain Free SSL/TLS (Secure Socket Layer/Transport Layer Security) certificates for their web servers and to set up HTTPS websites in a few simple steps (mentioned below).

Let's Encrypt – an initiative run by the Internet Security Research Group (ISRG) – is a new, free, and open certificate authority recognized by all major browsers, including Google's Chrome, Mozilla's Firefox and Microsoft's Internet Explorer.

The Free SSL Certification Authority is now in public beta after testing a trial among a select group of volunteers.

Why Let's Encrypt?


Let's Encrypt promised to offer a certificate authority (CA) which is:
  • Free – no charge for HTTPS certs.
  • Automatic – the installation, configuration as well as the renewal of the certificates do not require any administrator action.
  • Open – the automatic issuance, as well as renewal procedures, will be published as the open standard.
  • Transparent – the records of all certs issuance or revocation will be available publicly.
  • Secure – the team is committed to being a model of best practice in their own operations.
  • Cooperative – Let's Encrypt is managed by a multi-stakeholder organization and exists to benefit the community, not any of the consortium members.

How to Install Let's Encrypt Free SSL Certificate


First of all, let's say you want to get a certificate for example.com. To run the installation, you must have root access to your example.com web server.

To Generate and Install Let's Encrypt Free SSL Certificate, you must first download and run the Let's Encrypt client application.
To install Let's Encrypt Free SSL certificate follow these Steps:

Step 1: Login to your 'example.com' web server using SSH with root access.
Step 2: To install the Git version control system, type the following command:
apt-get install git

Step 3: Then download and install the latest version of Let's Encrypt Client application, type the following commands:
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto

Step 4: Once the installation starts, press Enter to accept the agreement.
Step 5: Then press Enter to specify the server name manually in the text box (for example,www.example.com) and then press Enter.
Step 6: Next, enter your email address, where you can receive messages from Let's Encrypt and to recover lost keys, and then press Enter.
Step 7: Review the 'Terms of Service,' and then press Enter to generate and install the SSL certificate.

Once the installation completes, you'll receive a 'Congratulation' message.

How to Configure Nginx/Apache for Let's Encrypt SSL Certificate


By default, Nginx or Apache web servers are not configured to how to use your new certificates.

For example, in case of Nginx: To use the installed SSL certificate, you need to edit Nginx configuration file. Type the following command to open Nginx configuration file:
$ sudo nano /etc/nginx/sites-available/www.example.com
Within that file, add the following lines.
http{
server{

listen 443 ssl;
server_name www.example.com;
ssl_certificate /etc/letsencrypt/live/www.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/.wwwexample.com/privkey.pem;

}
}
Save the file, and just restart your Nginx web server, using the following command:
sudo nginx -s reload
That's it! Check complete documentation here.

Congratulation you have successfully installed SSL certificate for your example.com domain.

How to Renew Let's Encrypt Free SSL Certificate: It is important to note that the beta version of Let's Encrypt issues certificates that expire after 90 days. So, to renew your SSL certificate, you need to run theletsencrypt-auto script again after expiration.

FREE HTTPS Certificates for Everyone!


So, now it's time for the Internet to take a significant step forward in terms of security and privacy. With Let's Encrypt, the team wants HTTPS becomes the default and to make that possible for everyone, it had built Let's Encrypt in such a way that it is easy to obtain and manage.
"There's a reward going for anyone who can find a security hole in the service," the team wrote in a blog post. "We have more work to do before we're comfortable dropping the beta label entirely, particularly on the client experience." 
"Automation is a cornerstone of our strategy, and we need to make sure that the client works smoothly and reliably on a wide range of platforms. We'll be monitoring feedback from users closely, and making improvements as quickly as possible."
Let's Encrypt had signed its first free HTTPS certificate in September, and its client software emerged in early November. Since then the team has been finding flaws in their systems before going public.