Skip to content
#

scripting

Here are 1,291 public repositories matching this topic...

bitfield
bitfield commented Apr 26, 2020

It's common when writing scripts that install or configure things to need input from the user (at a minimum, something like 'Press Enter to continue'; at a maximum, to be able to prompt the user for input, with an optional default value, and return that value).

Let's use this issue to design how that would look, and I invite suggestions!

Inder00
Inder00 commented Jan 14, 2021

Describe the solution you'd like
Add hmac support programically.
Hmac is used by two-factor-authentication (ex. TOTP) to generating time-based (for TOTP) codes.
Algorithms that can be used are already built into the MTA, and they are sha1, sha256, sha512.

Shared functions:

  • string hmacEncode( string algorithm, string key, string value )
  • `string hmacDecode( string algorithm
melonamin
melonamin commented Dec 8, 2020

Affects:

  • Installing plugins from Plugin Repository
  • Installing plugins using URL Scheme

Current Behavior:

HTTP errors are not handled, user may end-up with a broken "plugin" file, see #59 as example.

Desired Behavior:
Proper Error handling, including:

  • checking HTTP error codes
  • showing user a dialog if something went wrong
  • maybe adding additional checks like tryi

Improve this page

Add a description, image, and links to the scripting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the scripting topic, visit your repo's landing page and select "manage topics."

Learn more