Old 12th April 2016, 16:12   #41
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,525
Lightbulb v1.4

I added the RNG function that uses CryptGenRandom to generate 100 random bytes of data.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 24th May 2017, 14:22   #42
CritterNYC
Junior Member
 
Join Date: May 2006
Location: Astoria, NY
Posts: 12
Is there any chance we can get the source code released for this under an open source license?
CritterNYC is offline   Reply With Quote
Old 24th May 2017, 14:57   #43
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,525
I might have it on another machine somewhere but this is not really my plug-in, I just had to take action quickly because the old plug-in was broken.

I don't think there is anything special going on in the source, it is just a thin wrapper around the Windows Crypto API pretty much the same as http://forums.winamp.com/showpost.ph...8&postcount=37. Do you have a specific problem you are trying to solve?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 24th May 2017, 15:02   #44
CritterNYC
Junior Member
 
Join Date: May 2006
Location: Astoria, NY
Posts: 12
No, but I'd like to use it with an open source project. While the license defaults to zlib for files hosted on the NSIS project pages including plugins, the source didn't seem to be included with this one. I always ensure the source is available (and included with my bundles) for the open source components I use in my projects.
CritterNYC is offline   Reply With Quote
Old 24th May 2017, 16:15   #45
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,525
Yes the wiki defaults to zlib but it clearly says "Freeware" on the page for this plug-in.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 24th May 2017, 16:18   #46
CritterNYC
Junior Member
 
Join Date: May 2006
Location: Astoria, NY
Posts: 12
Ah, so it does. That's a shame. I'll look into either writing my own or handling it in our companion Delphi app via the open source Indy framework.
CritterNYC is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
cryptography, plug-in, security

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump