Rsyncrypto: Difference between revisions

Jump to navigation Jump to search
3,072 bytes added ,  3 September 2021
update, Archive.org URLs
m (Hoof Hearted moved page Rsyncrypto wiki to Rsyncrypto without leaving a redirect: correct wiki name)
(update, Archive.org URLs)
Line 1: Line 1:
{{Wiki  
{{Wiki <!--see 'Template:Wiki' for full detail-->
| logo             = http://www.lingnu.com/images/lingnu_banner_logo.png
|name            = Rsyncrypto -<br><small>''Rsync Friendly File Encryption''</small>
| URL               = http://rsyncrypto.lingnu.com/
|URL              = https://web.Archive.org/web/20190210013846/https://Rsyncrypto.Lingnu.com/index.php/Home_Page
| recentchanges URL = http://rsyncrypto.lingnu.com/index.php/Special:Recentchanges
|logo             = https://www.Lingnu.com/images/lingnu_banner_logo.png
| wikinode URL      = No
|wide logo        = y
| status           = YourWikiStatus
|recentchanges URL= https://Rsyncrypto.Lingnu.com/index.php?limit=50&days=90&title=Special:RecentChanges
| language         = YourWikiLanguage
|wikinode URL    = No <!--https://YourWikiURL.org/wiki/WikiNode, if none, use 'No'-->
| editmode         = LoginToEdit
|about URL       = No <!--https://Rsyncrypto.Lingnu.com/index.php/Rsyncrypto:About-->
| engine           = YourWikiEngine
|founder          = Shachar Shemesh
| license           = YourWiki'sLicense
|status           = Dormant
| maintopic        = YourWikiTopic
|language         = English
|editmode         = LoginToEdit
|engine           = MediaWiki
|license         = Creative Commons Attribution-Share Alike
|maintopic        = Software
|backupurl        = <!--backup file URL, found at '/Special:Statistics' on Wikia & some other MediaWiki sites-->
|backupdate      = 20YY-MM-DD <!--ISO 8601 extended date of backup URL, as in YYYY-MM-DD; if unknown leave EMPTY-->
}}
}}
== Description ==
{{Size <!--see 'Template:Size' for full detail-->
|pages= <!--plain numeric value for number of CONTENT pages (or Files on a commons wiki); NO thousands separators-->
|statistics URL= http://Rsyncrypto.Lingnu.com/index.php/Special:Statistics
|wikiFactor= 1<!--preferred; if wF unknown leave void; see: Category:wikiFactor; archived wF value may also be used-->
|wikiFactor URL= http://Rsyncrypto.Lingnu.com/index.php/Special:Popularpages
}}(Page count as of: 20YY-MM-DD<br>wikiFactor as of: 2012-MM-DD)<!--YYYY-MM-DD; manually add/amend date when stats are verified and/or updated-->


Sometimes it is necessary to store files on a remote server.
Ideally, you want to both:


* (a) backup the latest version of your files quickly, even over low-bandwidth link to a remote server. Simple solution: use rsync.
The '''Rsyncrypto''' [[wiki]] is a place to discuss Rsyncrypto and related tools and techniques. This Rsyncrypto wiki was {{tag|FoundedIn2008|founded June 2008}}, and powered by {{tag|MediaWiki}}, but in 2019, the wiki was recreated using the same original URL, but all [[edit history]], and nigh-on all content was lost.
* (b) keep the contents of your files private. Simple solution: send only encrypted versions of the files. Keep the key local.


Alas, the solutions interfere -- solutions to one won't work with any solution to the other.
;''Why is Rsyncrypto
Sometimes it is necessary to store files on a remote [[:Category:Server|server]].  This is typically needed for backup purposes.  When that is done, there are two concerns that need to be addressed, ideally, you want to both:
#How to keep the {{tag|privacy}} of the files stored?
#How to keep bandwidth usage to a minimum?
Both problems have rather simple solutions:
#Encrypt the files prior to sending them, keep the key locally.
#Use [https://rsync.samba.org rsync] to only transfer the changes.
There is just one problem: the two solutions contradict.  Plain mode {{Wp|encryption}} of files hide the specific changes to the file, making rsync useless at detecting in-file changes.  This is where rsyncrypto comes to the rescue.


The rsyncrypto tool is designed to do both simultaneously.
;''What is Rsyncrypto
Rsyncrypto is a modified encryption scheme.  It is based on industry standard {{Wp|Advanced Encryption Standard}} (AES) for symmetric encryption, as well as {{Wp|RSA (cryptosystem)|RSA}} (Rivest–Shamir–Adleman) for having different keys for each file while allowing a single key to decrypt all files.  It even uses an encryption mode that is based on {{Wp|Block cipher mode of operation#Cipher block chaining (CBC)|cipher block chaining}} (CBC).


The rsyncrypto wiki is a place to discuss rsyncrypto and related tools and techniques.
Rsyncrypto does, however, do one thing differently.  It changes the encryption schema from plain CBC to a slightly modified version.  This modification ensures that two almost identical files, such as the same file before an after a change, when encrypted using Rsyncrypto and the same key, will produce almost identical encrypted files.  This means that both objectives can be achieved simultaneously.


[[category:security]]
;''Awards
Rsyncrypto won first prize in the 2007 edition {{tag|free software}} trophy competition ([[Archive.org:20080621125440/http://www.TropheesDuLibre.org/?lang=en|Trophées du Libre]]) in the {{tag|security}} category.


{{add}}
;''Tutorials
There are some tutorials on line, which might help you with your experience with rsyncrypto:
*[[Archive.org:20160313161445/http://archive09.Linux.com/feature/125322|Efficient rsyncrypto hides remote sync data]], by Ben Martin on 1 February 2008, Linux.com, via [[Archive.org]]
*https://blog.wuxinan.net/archives/86 — rsyncrypto: rsync + encryption, atppp's Blog, 7 September 2007


;''More resources
*[[Archive.org:20160815185514/http://Rsyncrypto.Lingnu.com/index.php/Todo|Plans for future versions]]
*[[Archive.org:20160815185121/http://Rsyncrypto.Lingnu.com/index.php/Algorithm|Details about the rsyncrypto algorithm]]


related wiki:
;''Related wiki
* [[Unison wiki]]
*[[Unison Wiki]]


<!--
;''External links
add description of the wiki here and
*[[Archive.org:20080827160608/http://rsyncrypto.svn.SourceForge.net/viewvc/rsyncrypto/|rsyncrypto repository]] — at [[SourceForge|SourceForge.net]], via [[Archive.org]]
remove this comment and the dummy
categories/tag below and add your own


if the wiki's main language isn't English, you
[[Category:Monobook]]
can have one description in English and another
[[Category:Timeless]]
in the wiki's main language, if you speak it.
[[Category:Vector]]
 
[[category:FirstAdditional]]  
 
tagging: {{tag|Wikis to add}}
-->
 
{{Size
| pages = <!-- type number of pages here, if unknown leave void -->
| statistics URL = No
| wikiFactor = <!-- optional. plain wiki factor value -->
| wikiFactor URL = <!-- optional. external link to data base for wiki factor calc. -->
}}

Navigation menu