Comments (2)
Never seen such problem.
Can you show me the code that you use to encode the token?
from guacamole-lite.
// SET ENCRYPTION OPTIONS FOR THE JSON TOKENS
const clientOptions = {
crypt: {
cypher: 'AES-256-CBC',
key: 'hidden_super_secret_key'
},
connectionDefaultSettings: {
rdp: {
'create-drive-path': true,
'security': 'any',
'ignore-cert': true,
'enable-wallpaper': false,
'create-recording-path': true
}
}
}
const encrypt = (value) => {
const iv = crypto.randomBytes(16)
const cipher = crypto.createCipheriv(clientOptions.crypt.cypher, clientOptions.crypt.key, iv)
let crypted = cipher.update(JSON.stringify(value), 'utf8', 'base64')
crypted += cipher.final('base64')
const data = {
iv: iv.toString('base64'),
value: crypted
}
return new Buffer(JSON.stringify(data)).toString('base64')
}
from guacamole-lite.
Related Issues (20)
- Is this project still alive? HOT 2
- TightVNC viewer and this server HOT 3
- RDP Audio Support HOT 9
- SSL support? HOT 1
- Guacamole.WebSocketTunnel HOT 1
- Facing: guacd was inactive for too long HOT 1
- PHP Example please... HOT 1
- Best way to submit a security issue? HOT 2
- How can I create "MySuperSecretKeyForParamsToken12" ? HOT 4
- How to set token expiry HOT 1
- Is there any default location to put a file into remote server?
- Remove remote mouse pointer when leaving canvas space
- Getting Token validation failed, Closing connection with error: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined HOT 4
- Guacamole Error: guacd was inactive for too long HOT 1
- Not able to connect to VNC | Closing connection with error: Error: not opened HOT 2
- wss Error
- ECONNREFUSED 127.0.0.1:4822 HOT 6
- No typescritp support
- Linux machine renders bottom up
- Audio input unsupported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guacamole-lite.