topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday April 5, 2026, 6:56 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 888 889 890 891 892 [893] 894 895 896 897 898 ... 1515next
22301
BTW did anyone spot nudone's terrible visual pun with his choice of wallpaper for the site?
i dont see/get it.
22302
i say leave in the South Carolina reference -- throw those lawyers off your trail!  ;D
22303
Mircryption / Re: mircryption-compatible script for irssi
« Last post by mouser on August 08, 2008, 09:01 AM »
This is so cool -- I get regularly asked for an irssi plugin that can do mircryption and i always had to say no -- people are going to be happy to see this.  Really nice.



For those with some technical interest:

Gothic and I spent a few hours actually getting the CBC encryption mode to work.. It was really an interesting mystery solving experience.. It's amazing how little incompatibilities creep in with these things.. there are so many different ways to do everything, and using one person's code to do encryption and another persons code to do decryption, even when there is a standard, can be nervewracking.

Perl use a clever module "Crypt-CBC" that basically oversees the creation of an object to do CBC encryption using different cipher algorithms.  Well, blowfish (which is used in mircryption), is somewhat unusual in that it can accept a variable length key.  The Crypt-CBC wrapper has code to check whether the key you pass is the length that the cipher algorithm wants.  In the case of Blowfish, the algorithm tells CBC that it wants a 448 bit key, but really this value is just the maximum length of the key that it will accept.  Crypt-CBC actually has a few options that aren't quite standard blowfish-cbc (like password hashing), which may be good ideas but makes compatibility a little tricky.  But it's the fixed 56character key length strict requirement that was causing us trouble.

What really through me was that because of the way blowfish uses the key, it seemed like we could just fill up the remaining characters to get a 56 byte key, by repeating the key (so key of "test" becomes "testtesttest.." and so on up to 56 characters).  This should work because blowfish uses the key by iterating through a loop and advancing over the key and then recycling when it gets to the end (thats how it is able to use a variable length key).  So we thought we had it figured out, gothic wrote his readme and posted it, then we tried a different key and BZZZZ it stopped working -- encryption and decryption between the irssi script and mircryption was garbled.

It turned out some keys worked and others didn't.  We pretty quickly determined that keys that were evenly divisible into 56 characters worked, others didn't.  It seemed like that clue pointed to the way we were generating the expanded 56 character key for the perl module, but it took us several hours and going through the original c++ of the blowfish algorithm (which i don't claim to understand well even after reading a couple of schneier's books), before we solved the problem.

I incorrectly assumed that there had to be a 56 byte (448bit) key equivalent of any shorter key (ie that the shorter key was being expanded to 56 characters in some fashion, explicitly or implicitly).  But this is simply not valid.  The Blowfish algorithm reuses shorter keys by wrapping around the end of the key back to the beginning as it iterates over it.  But significantly, the index it uses goes PAST 56 iterations (its more like 72).  What this means basically is that when you expand a short key to fill 56 bytes, then the first 56 iterations over a small key or an expanded key will be identical.  BUT after the 56 iteration, the short key will wrap around perfectly just as it has been doing, but the long key, if its original source key length was not divisible evenly into 56, will "wrap around" to something different.

To see why, imagine a key of 3 letters "ABC".  Now we expand that to be 56 bytes, and we get "ABCABCABCABC...ABCABCAB" so that its a repeating pattern, BUT it doesnt end at the end of the original key, so that when the blowfish algorithm wraps around at the 56th iteration we see ABCABABCABC"  and therein was the problem.

So the heart of the problem and fix is that the Crypt-CBC perl module should NOT be enforcing a fixed length 448 bit key when blowfish is used for the cipher algorithm.  It's a simple one line change in the module code.  There is also, luckily for us, a way to trick it to use the smaller key, which is what gothic does, by initializing it the object one way (at which point it checks the length), and then afterwards manually setting a flag to change the key type or length behind the back of the module.  then everything works fine.  :up:
22304
Screenshot Captor / Re: Making the values persistent
« Last post by mouser on August 08, 2008, 08:32 AM »
ok i will add the saving of those to my todo list.
22305
Find And Run Robot / Re: FARR Error : Entry Point Not found.
« Last post by mouser on August 08, 2008, 08:24 AM »
that's very strange. can you pinpoint when it occurs? ie what are you doing at the time it happens?
22306
Developer's Corner / Re: A plugin based information bar in Windows
« Last post by mouser on August 07, 2008, 09:02 PM »
just wanted to say its working great here and its very cool. love how thin it is.

one thing that would be nice is on multimonitor systems i think it only shows on primary monitor and can't be moved.. it would be nice to be able to move it to other monitors.
22307
General Software Discussion / Re: BeyondCompare 3 Released
« Last post by mouser on August 07, 2008, 06:15 PM »
i know the betas of beyond compare 3 had shell extension context menu just like v2 (even on winx64!) so maybe its just in options somewhere.. or am i not understanding what you are asking for.
22308
Living Room / Re: Request: Does anyone know a good "pet" game?
« Last post by mouser on August 07, 2008, 05:38 PM »
it sounds like that might be perfect for her.
22309
great idea about confirming a file name -- i can add that easily, so that you can add a -confirmsave flag to use the name provided as a suggestion.

the last thing i don't do but i can add an ability to autolaunch another graphic image editor.
22310
Living Room / Re: RAPIDSHARE.COM sucks!
« Last post by mouser on August 07, 2008, 02:17 PM »
I agree, those comments seemed harsh especially coming from deo who is normally very helpful and kind.. :(
22311
Living Room / Re: Request: Does anyone know a good "pet" game?
« Last post by mouser on August 07, 2008, 01:37 PM »
This is a nice question (and a sweet story Brandon).  I'm curious what if anything people can recommend.
22312
Find And Run Robot / Re: lnk pattern scoring
« Last post by mouser on August 07, 2008, 06:18 AM »
you can customize this in options, but you might have a point there..
22313
By the way, tim has been doing great writing for Codex Transportica -- really enjoying how well it captures the time and place.  Great work tim!
22314
First of all, this is one of the most elegant and professional looking designs i've seen, anywhere.  The top banner especially.
Second of all, I'm blown away by the style and content of the stuff you (and timns) are creating (anyone who hasn't gone and checked out the Codex Transportica site needs to do so immediately).

You guys are making a good team -- you need to open up a business now where you do mascot creation / website design, etc.  I think you could offer a unique set of skills to companies looking to build a compelling web site.

Lastly I have to say it brings a smile to my face to know you guys met here on DonationCoder :)
22315
Living Room / Re: What printer?
« Last post by mouser on August 07, 2008, 03:10 AM »
hp printers are not rock solid anymore -- not for a while now, from my personal experience.

i'm not saying they are horrible, i'm just saying they built up a reputation for many of us old timers with their old HP laserjet II type models which made us associate HP with extreme quality and longevity, but that the days of that quality printer are long gone, and hp makes the same cheap crap printers as everyone else now.
22316
you might be able to do this already by editing the ConfigDir.ini file in your CHS program files directory, specifying an alternate directory for both your config files and your database.

if that doesn't work i will make it work for next release.
22317
i do think your web page design+logo needs a serious redesign. unless it's supposed to be intentionally bad.
22318
Living Room / Re: What printer?
« Last post by mouser on August 06, 2008, 09:31 PM »
I love my brother laser printer with duplex and network ($174 how can you beat that)
http://www.amazon.co...Duplex/dp/B000BQ535K

I got burned too many times by hp printers to ever buy from them again.  they used to be great back in the early days now i avoid them.

As for color inkjet, canon all the way.

ps:
if you do significant amount of text printing i definitely recommend a laser+inkjet separate printers.
22319
GRE study, good luck!!
gre study is like a game -- you really do get better just by practicing.. definitely do full length practice tests.. i found that was most confidence building in terms of learning how long you could spend.
22320
perfect i thought.
22321
Clipboard Help+Spell / Re: any chance of html, rtf capture soon?
« Last post by mouser on August 06, 2008, 02:48 PM »
i'm making my way through updating all of my programs.  i hope to get around to adding this as well as image capture (optional) to chs this year.
22322
It’s like Pay it Forward, only with envy instead of altruism.



great read.  :up:
22323
i was thinking i might add to minicap:
print button, email button, and custom tools button where you could customize tools to launch on the captured screenshot, all based on code from big brother Screenshot Captor.

those wouldnt add much to the size of executable or interface, but the question is, would anyone actually use those functions?
22324
thanks for saying that joby -- this is one of those programs of mine that doesn't seem to have many users (at least compared to my bigger programs), so it's always nice to hear from someone who finds it useful.

by all means use upx on it -- i used to compress the executables myself but then we would occasionally see a false positive virus alert from antivirus scanners who were being stupid and i just gave up doing that out of frustration.

ps: if you like minicap and you might check out the FARR alias that works with it, it really does breath some new life into it.
22325
that probably means you dont have the (latest?) version of the console plugin installed.
Pages: prev1 ... 888 889 890 891 892 [893] 894 895 896 897 898 ... 1515next