bump bump
Posts made by ten7kur
-
RE: Encryption; Blowfish's PrivateKey?--where can i find it?
Ok.
Well hopefully @Christoph-Hart can give some input on this. -
RE: Encryption; Blowfish's PrivateKey?--where can i find it?
@d-healey said in Encryption; Blowfish's PrivateKey?--where can i find it?:
Looks like it's part of JUCE - https://github.com/christophhart/HISE/blob/8ef678ec2fcae0973cc269163404b1f9df967733/JUCE/modules/juce_cryptography/encryption/juce_BlowFish.cpp
Looking at the files i think juce_RSAKey.h is what im looking for?
Line95: class JUCE_API RSAKey
I tried calling RSAKey(privateKey); but it says its not a function. How would i go about getting the PrivateKey in particular? i can already specify the PublicKey.
I havent found where in the code the keys are stored.I'm guessing i need to be inside
namespace juce { }
? -
RE: Nothing happens when building latest Scriptnode
@alepan said in Nothing happens when building latest Scriptnode:
Update: I tried opening Projucer from the Tools->Projucer directory, and it says "Projucer is damaged and cannot be opened"... I re-downloaded the latest scriptnode and I still get this error...
I had the same problem.
I replaced the .Jucer app with one from the previous release. -
Encryption; Blowfish's PrivateKey?--where can i find it?
Hello.
@Christoph-Hart
I've looked in my OS Keychain, but it doesnt seem like there is any Key for Hise-Blowfish.-Does it get created only when the Binary is compiled? Can i export it?
-Or is it implemented to only stay inside the plugin/app? If so, could you please tell, how exactly it is being stored? whats the process behind it?
The docs dont seem to have any info about this. Its very important!Im really hoping its not the latter!
Thanks!
-
RE: loadEncryptedObject; cant manage to Un-encrypt file data
@Lindon ? The code you pasted is eaxctly the same as mine.
@Christoph-Hart
I was using it that way because of this--> Getting todays date in HISE post. My understanding was that it was encrypting the data with a password AND the MachineID. Perhaps i misused/misunderstood the example..Never the less, i made the changes but the file doesnt seem to be getting encrypted /edited at all.
Im mis-printing something....
The new Code;const var Encrypt = Content.getComponent("Encrypt"); //Encrypt file on button click inline function onEncryptControl(component, value) { local SystemId = FileSystem.getSystemId(); if(value) { local UserPIN = "1234"; //Browse to the file local FileDirectory = FileSystem.getFolder(FileSystem.UserPresets).getParentDirectory(); FileDirectory.getChildFile("file.js"); //Encrypt local FileEncrypt = FileDirectory.writeEncryptedObject(FileDirectory, UserPIN); } }; Content.getComponent("Encrypt").setControlCallback(onEncryptControl); //Decrypt on startup const var Decrypt = Content.getComponent("Decrypt"); inline function decryptOnLoad() { local UserPIN = "1234"; //Get encrypted file/object local FileDirectory = FileSystem.getFolder(FileSystem.UserPresets).getParentDirectory(); FileDirectory.getChildFile("file.js"); //Decrypt local FileDecrypt = FileDirectory.loadEncryptedObject(UserPIN); // Load contents of the encrypted object local pData = Engine.loadFromJSON(FileDirectory); }; // Execute on startup decryptOnLoad();
-
loadEncryptedObject; cant manage to Un-encrypt file data
Hi all.
Merry Christmas! Hope Santas generous this year... :)Im trying to encrypt/decrypt data thats inside a file.
Encryption works, it encrypts upon pressing the "Encrypt"Button, however i cant manage to un-encrypt/view the data. Its suppose to check/decrypt on startUp but its not happening..Putting "decryptOnLoad()" inside a onButtonControl statement and calling it, doesnt make any difference.
Where am i going wrong with the code?
Thanks very much!
const var Encrypt = Content.getComponent("Encrypt"); //Encrypt file on button click inline function onEncryptControl(component, value) { local SystemId = FileSystem.getSystemId(); if(value) { local UserPIN = "1234"; //Browse to the file local FileDirectory = FileSystem.getFolder(FileSystem.UserPresets).getParentDirectory(); FileDirectory.getChildFile("file.js").writeEncryptedObject(UserPIN, SystemId); } }; Content.getComponent("Encrypt").setControlCallback(onEncryptControl); //Decrypt on startup const var Decrypt = Content.getComponent("Decrypt"); inline function decryptOnLoad() { local UserPIN = "1234"; //Get encrypted file/object local FileDirectory = FileSystem.getFolder(FileSystem.UserPresets).getParentDirectory(); //Decrypt FileDirectory.getChildFile("file.js").loadEncryptedObject(UserPIN); // Load contents of the encrypted object local pData = Engine.loadFromJSON(FileDirectory); }; // Execute on startup decryptOnLoad(); // works inside onButton??? ...... Nope.. inline function onDecryptControl(component, value) { if(value) { decryptOnLoad(); } }; Content.getComponent("Decrypt").setControlCallback(onDecryptControl);
-
RE: MidiPlayer.getMidiFileList(); working?
Shall I repost it in BUG?
The Expansions system is also not working. Apparently it should be....(according to @Christoph-Hart 's Github) -
MidiPlayer.getMidiFileList(); working?
const var midiFileList = MidiPlayer.getMidiFileList();
gives me and output of:Unknown function 'getMidiFileList'
Im using the latest scriptnode branch.
Shouldn't it work? -
RE: Engine.getUserPresetList() path, check/exclude duplicate entries in list?
Its been some time now since my last post.. Someone must know...?
I can't figure it out...
Could some one please take a minute to have a look at the script?
Thanks -
RE: Engine.getUserPresetList() path, check/exclude duplicate entries in list?
Hi, im back.
I really need some help.Ive gotten the first viewport to show Preset Banks ok. Viewport2 for a while worked and displayed the second directory correctly, now all the sudden its showing duplicate entries.... ??
The third viewport shows all the Presets, but how can i link them to CAT2?
Thanks !!HiseSnippet 2338.3oc2X0raajbDdFIMah3tx6ZGifjaSHxARDYQJYuaBhgPn9gZWBKYQKJ6j.EAilyzjrW0r6YmoGIy0vHF4zdL2RNlWg7F364xBjq4gHGyMmpldFN8PQIQKGuXclKjcUU28WUcUUWc0NT5QihjgV1Kd3n.pk8G4zYjPMXqADlvp01V12vYORjhF5pIs4n.RTD02x1d9OGIXu3BVIe+6eylDNQ3QyIYY8DIyitKaHSkSsciGv37cH9zCYCMj9dMZ4IEaI4xX.Oy6T2Jf3cBoO8gDTr4brr+fl9LkLrihnnQV1KrozeTmAxyDZ4eBKh0kSwAqZ0AVHM4cjbeDwHUqsFv39syz6HKKam14Vg40Vga6rGymMldt03SRX3lOCS6g8bWF7V0Dd0mc3Ya.uEzv6lNc7BYApbNH19PmVB3fpGANBLgkVVq4t6hNaIAIDpUFRNgtSHLX7Lp7Y0qur6mVud06uTokJAGDQJ2SIgtwQzv1gzHpZWFPZc2lh9LAck9T0iKvpBNy74w0RWb5Ej3ws28oB3nMZZh4tToZW1GxdqMNr4mu+AsZ1AgbsZGNfE4N.rlQtpATWvtnn9tdvgQeYHiFUxE+x15869kvF+7Wb+RZ58jgtUDtLQNvp9bMK7qVsNAblRuxpPlnOHpR5RzZZbDRAY1mcJU3FQCHgDvYHeEx13n.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i8htrK23QwDtgk9es2ueiMYAR3UPyzov02CegYzU4GmW416S923Iy6O38m5jdn6hF62ev8Mbdz2C.6AxX7cu6QfqXvpPfWg0AJAyiB.U.OZA6Yo8bX2E0iqmUXRGpvOYvqguTlqhisSYtZFyuS1igDuP4S8z88DiQ+gIT.8VjT81hN6gicG2vSGm5qTGeOD6oddXhx6rpk0zmyZWi4b2qwbt20XNe50XNe10XN+xqwb9UW5bvxH2HFJlV6+CDZ2Lo6E11iqj2ddq+Kn54nL.
-
RE: Engine.getUserPresetList() path, check/exclude duplicate entries in list?
Although the presetBrowser theme-ability is great! i think i still need to stick to some custom stuff.
In my instance, i need 2 presetBrowsers.
Browser1 shows: BankName1>Complete Kits>Preset
Browser2 shows: BankName1>Individual Instr.>PresetUnless i can hide a directory from showing in the stock PresetBrowser @Christoph-Hart (could you confirm this is not possible?) i need a custom solution.
This brings me back to my post# 1.-
How can i exclude duplicate entries from being put into browser_CAT1List and browser_CAT2List??
-
And how could i hide a specific entry(list) from displaying in a viewport?
Thanks!
-
-
RE: Engine.getUserPresetList() path, check/exclude duplicate entries in list?
@d-healey
I looked to find the Star image in HISE uncompiled version but have only found thehi_core/hi_images
dir, and its not in there..... :( -
RE: Engine.getUserPresetList() path, check/exclude duplicate entries in list?
@d-healey
Ha. Im a dumb ass.Ok i see how the presetBrowser is theme-able.
I have 2 questions.- Is it possible to change the Favourite Icon? I really dont like that star!
- Is it possible to Hide a specific folder from display?
Thanks!!