зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 05:06:05 +02:00
40 строки
1.6 KiB
Plaintext
40 строки
1.6 KiB
Plaintext
https://www.mongodb.com/docs/compass/current/
|
|
https://www.mongodb.com/docs/compass/current/install/
|
|
https://www.mongodb.com/try/download/compass
|
|
MongoDB Command Line Database Tools Download available as well
|
|
rpm - 1.44.0
|
|
/usr/bin/mongodb-compass
|
|
|
|
https://www.mongodb.com/docs/compass/current/query/queries
|
|
|
|
https://flathub.org/apps/com.mongodb.Compass
|
|
|
|
https://github.com/mongodb-js/compass/
|
|
|
|
compass cannot access credential storage...
|
|
You can still connect, but please note that passwords will not be saved.
|
|
https://github.com/mongodb-js/compass/blob/main/packages/compass/src/app/index.tsx#L269
|
|
if (!isSecretStorageAvailable) {...}
|
|
...
|
|
render
|
|
const isSecretStorageAvailable = await checkSecretStorageIsAvailable();
|
|
|
|
async function checkSecretStorageIsAvailable(): Promise<boolean> {
|
|
return await ipcRenderer?.call('compass:check-secret-storage-is-available');
|
|
}
|
|
https://github.com/mongodb-js/compass/blob/main/packages/compass/src/main/application.ts#L261
|
|
...
|
|
import { app, safeStorage, session } from 'electron';
|
|
...
|
|
'compass:check-secret-storage-is-available': async function () {
|
|
// Accessing isEncryptionAvailable is not allowed when app is not ready on Windows
|
|
// https://github.com/electron/electron/issues/33640
|
|
await app.whenReady();
|
|
return safeStorage.isEncryptionAvailable();
|
|
},
|
|
|
|
encryption
|
|
https://www.mongodb.com/docs/compass/current/connect/advanced-connection-options/in-use-encryption/
|
|
https://www.mongodb.com/docs/compass/current/in-use-encryption-tutorial/
|
|
https://github.com/search?q=repo%3Amongodb-js%2Fcompass%20encryption&type=code
|