From 115caf24861d4703a879213b3477ac9c7afc6a57 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 21 Feb 2024 11:32:00 -0800 Subject: [PATCH] Added support for Gmail Client Side Encryption --- docs/GamUpdates.md | 13 + docs/How-to-Upgrade-from-Standard-GAM.md | 4 +- docs/Users-Drive-Files-Display.md | 2 +- docs/Users-Gmail-CSE.md | 197 ++++++++++++++ docs/Version-and-Help.md | 12 +- docs/_Sidebar.md | 1 + docs/gam.cfg.md | 6 + src/GamCommands.txt | 46 +++- src/GamUpdate.txt | 15 +- src/gam/__init__.py | 312 ++++++++++++++++++++++- src/gam/gamlib/glaction.py | 4 +- src/gam/gamlib/glcfg.py | 12 + src/gam/gamlib/glclargs.py | 5 + src/gam/gamlib/glentity.py | 10 +- src/gam/gamlib/glmsgs.py | 3 + 15 files changed, 620 insertions(+), 22 deletions(-) create mode 100644 docs/Users-Gmail-CSE.md diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index ef091896..6925968e 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -10,6 +10,19 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Windows or other options, including manual installation +### 6.70.01 + +Added `gmail_cse_incert_dir` and `gmail_cse_inkey_dir` path variables to `gam.cfg` that provide +default values for the `incertdir ` and `inkeydir ` options in `gam create csekeypair`. + +### 6.70.00 + +Added support for Gmail Client Side Encryption. + +* See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Gmail-CSE + +This is an initial, minimally tested release; proceed with care and report all issues. + ### 6.69.00 Added `use_classroom_owner_access` Boolean variable to `gam.cfg` that controls how GAM gets diff --git a/docs/How-to-Upgrade-from-Standard-GAM.md b/docs/How-to-Upgrade-from-Standard-GAM.md index 48372cf4..aa5a39fa 100644 --- a/docs/How-to-Upgrade-from-Standard-GAM.md +++ b/docs/How-to-Upgrade-from-Standard-GAM.md @@ -334,7 +334,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin/bin/gamadv-xtd3$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin/bin/gamadv-xtd3$ ./gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAMADV-XTD3 6.69.00 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.70.00 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final MacOS Sonoma 14.2.1 x86_64 @@ -1002,7 +1002,7 @@ writes the credentials into the file oauth2.txt. C:\GAMADV-XTD3>del C:\GAMConfig\oauth2.txt C:\GAMADV-XTD3>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAMADV-XTD3 6.69.00 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.70.00 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.2 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Users-Drive-Files-Display.md b/docs/Users-Drive-Files-Display.md index 34508d7e..66fcc963 100644 --- a/docs/Users-Drive-Files-Display.md +++ b/docs/Users-Drive-Files-Display.md @@ -573,7 +573,7 @@ The `querytime