Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab2 #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions submission1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Signing commits is a security practice in Git.**

The most common commit signing techniques include ***SSH, GPG, and S/MIME.***
They are primarily used for authorship verification, allowing contributors to verify the authorship of commits (prove that the commit were indeed made by them).

Sign tags or commits that are marked as verified assure others that the changes come from a trusted source.


This practice is especially beneficial since it enforces:

1. **Trustable integrity assurance**

A signed commit guarantess that since you made a commit, no one can modify it (if someone tries to alter a signed commit, the signature will become invalid).


2. **Compliance with security policies**

This is important in industrial and commercial projects with strict security standards.

3. **Improved collaboration**

This is crucial, for example, in open-source and collaborative projects.

Binary file added submission2/images/ipfs_peers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added submission2/images/ipfs_status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions submission2/submission2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Task 1: Set Up an IPFS Gateway Using Docker

## Connected Peers and Bandwidth

**Connected Peers:**
![peers](images/ipfs_peers.png)


**Bandwidth:**
![status](images/ipfs_status.png)


## File Hash and Verification URLs

- **File Hash:**

QmarCyCa387tskCpkJCMEVnEnDsyCsuX9c2np3d1XGWdyk

- **Verification URLs:**
- IPFS.io Gateway
`https://ipfs.io/ipfs/QmarCyCa387tskCpkJCMEVnEnDsyCsuX9c2np3d1XGWdyk`

- Cloudflare IPFS Gateway
`https://cloudflare-ipfs.com/ipfs/QmarCyCa387tskCpkJCMEVnEnDsyCsuX9c2np3d1XGWdyk`

- Infura IPFS Gateway
`https://infura-ipfs.io/ipfs/QmarCyCa387tskCpkJCMEVnEnDsyCsuX9c2np3d1XGWdyk`

Or, I can access the file via Local IPFS Node:
`http://127.0.0.1:8080/ipfs/QmarCyCa387tskCpkJCMEVnEnDsyCsuX9c2np3d1XGWdyk`


# Task 2: Set Up Project on Fleek.co

IPFS hash:
bafybeibihvtzf44cxm2dndgmake5jj4drwkki46gtuekbgr7wme2ws5yui

**IPFS link and domain**

https://ipfs.io/ipfs/bafybeibihvtzf44cxm2dndgmake5jj4drwkki46gtuekbgr7wme2ws5yui/

https://swift-rose-wide.on-fleek.app/

# Notes about IPFS and Fleek

**IPFS (InterPlanetary File System)** is a decentralized network protocol that allows users to store and share files in a distributed manner. Instead of relying on a single central server, files on IPFS are stored across multiple nodes (computers) within the network. This distribution makes files more resilient and resistant to censorship, as they can be retrieved from any node that has a copy of the data.

**Fleek** is a platform that simplifies the deployment of websites and applications on the decentralized web. It seamlessly integrates with IPFS, providing tools to easily host, manage, and deploy projects. Key features include continuous deployment (CD) from Git repositories, IPFS hosting, domain management, and more. Fleek automates the process of deploying updates, making it easier for developers to maintain and distribute their projects.