Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Both sides previous revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
projects:dw-change-notification [2012/02/21 06:54] skruppy [IRC bot] |
projects:dw-change-notification [2013/07/25 14:55] (aktuell) skruppy |
||
---|---|---|---|
Zeile 48: | Zeile 48: | ||
===== Protokoll ===== | ===== Protokoll ===== | ||
- | Symetrische crypto z.B. [[http://de.wikipedia.org/wiki/Twofish|Twofish]] (public domain). In Pytho z.B. mit [[https://tahoe-lafs.org/trac/pycryptopp|pycryptopp]] (wraper für [[http://cryptopp.com/|libcrypto++]]) | + | Symetrische crypto z.B. [[http://de.wikipedia.org/wiki/Blowfish|Blowfish]] (public domain). In Pytho z.B. mit [[https://tahoe-lafs.org/trac/pycryptopp|pycryptopp]] (wraper für [[http://cryptopp.com/|libcrypto++]]) |
- | Um replay zu verhindern: Counter + Uhrzeit?? | + | Um replay zu verhindern: Verschlüsselte und gehashte Zufallszahl |
Schlüssel ID am anfang in klartext (so können mehrere wikis über einen bot in verschiedenen kanälen gehandhabt werden) | Schlüssel ID am anfang in klartext (so können mehrere wikis über einen bot in verschiedenen kanälen gehandhabt werden) | ||
Zeile 56: | Zeile 56: | ||
Prüfsumme SHA1? (python nativ) | Prüfsumme SHA1? (python nativ) | ||
| | ||
- | +--- fixe länge ---+ | + | +---------- fixe länge ----------+ |
- | <32 bit Key ID><SHA1><nachricht bis zum ende> | + | <16 bit Key ID><SHA1><16 bit rand><nachricht> |
- | +-------- verschlüsselt -----+ | + | +------ verschlüsselt -------+ |
+ | +--- hashed --+ +------- hashed -------+ |