Hello,
i want to load a krpanotools encrypted JS file ("krpanotools encrypt") in krpano using the command "krpano.actions.loadjs()" but i get the error "not a krpano plugin .js file!" during the encryption process.
Can only "encrypted krpano plugin JS files" be loaded with "krpano.actions.loadjs()"?
The documentation (https://krpano.com/docu/actions/#loadjs) suggests that any encrypted files are possible, or am I seeing this wrong?
Thank you!
encrypt non-krpano plugin JS File for loading via krpano.actions.loadjs()
-
- Bug
- Fixed
-
holo -
October 30, 2023 at 7:16 PM
-
-
does loading the unencrypted version work?
-
klaus.krpano
October 31, 2023 at 2:14 PM Added the Label Bug -
klaus.krpano
October 31, 2023 at 2:15 PM Added the Label Fixed -
- Official Post
Hi,
there are unfortunately two bugs here...
First - the encryption tool is looking for 'krpanoplugin' when encrypting .js files.
This could be worked-around by renaming the file to .txt during encryption, but isn't right of course.And second - the loadjs() action can't correctly decrypt the files.
Both bugs are be fixed now for the next release (version 1.22).
Best regards,
Klaus -
:thumbup: Thank you!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!