ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
243 stars 104 forks source link

Creation of paid SSH Connection using TON #613

Closed seriybeliy11 closed 6 days ago

seriybeliy11 commented 1 month ago

Summary

Develop a module to facilitate secure and paid SSH connection via TON blockchain

Bounty Context

Why it's Important? This would not only enhance the security measures while establishing SSH connections but would also open up a new revenue model for entities providing virtual systems. It would utilise the power of TON smart contracts to automatically handle the payment mechanism in cryptocurrency, making the process more streamlined, secure and automated, thus making it inevitable for TON ecosystem development.

Problem showcase Current methods for secure SSH connection lack seamless authentication and payment systems. Relying on conventional methodologies, users have to go through manual payment and authentication procedures which are time-consuming, prone to errors and possibly insecure.

Potential Solution The proposed solution involves utilizing blockchain technology, specifically TON Blockchain, to facilitate a secure and paid SSH connection. This includes creating and signing transactions for SSH access using cryptographic wallets, sending the transactions, verifying and giving permissions via smart contracts, and finally managing usage time and payment also by the smart contracts. This approach would ensure enhanced security with a convenient and automated payment system.

Defenition of Done

  1. Transaction creation module for SSH access: This module will enable users to create transactions for SSH access to virtual machines.
  2. Transaction signing feature with cryptographic wallets: Users will be able to sign transactions using their cryptographic wallets, ensuring the security of the process.
  3. Module for sending and verifying transactions via smart contracts: This module will be responsible for sending and verifying transactions through smart contracts, ensuring that only authorized users can access virtual machines.
  4. Session time and cost tracking system: Our system will track the time and cost of each session, ensuring that users are charged fairly for their usage of virtual machines.
  5. Total cost calculation and cryptocurrency transfer functionality in smart contract: The smart contract will calculate the total cost of each session and transfer the cryptocurrency from the user's wallet to the virtual machine owner's wallet.

Additionally, we will be automating the management of keys and sessions for cross-platform compatibility (Windows, Mac, Linux). This will make it easier for users to access virtual machines from any device, while also ensuring the security of the process.

References

A more detailed procedure can be found here https://developer.ibm.com/tutorials/ss-using-ssh-with-python/

REWARD

🪄 Created with the help of TON Bounties Creator Bot.

Danijel-Enoch commented 1 month ago

Do you have a software design docs written or a methodology in your head you would like to use ?

Danijel-Enoch commented 1 month ago

the reference link is saying this "We are unable to find the page you have requested."

delovoyhomie commented 6 days ago

@seriybeliy11, thank you very much for the suggestion. Unfortunately, we are unable to support this idea at the moment, but we would be pleased if you could pursue it independently.