Add convenience function to generate SCRAM data
This commit adds a convenience function for API key consumers
to transform a given raw API key into SCRAM auth material.
Shell example:
```
midclt call api_key.convert_raw_key ${API_KEY} > ~/api_key
midclt -u ws://127.0.0.1/api/current -U root \
-K /root/api_key call auth.me | jq .account_attributes
[
"LOCAL",
"API_KEY",
"SYS_ADMIN",
"API_KEY",
"SCRAM"
]
```
ports-mgmt/pkg-devel: update to 1.5.99.1
Changes:
- Improve debug messages
- create: use -t to specify the MANIFEST file timestamps
- @dir: fix permission set via @mode
- manpages: fix some spelling
- progress:
* pad the counters to improve the output,
* remove the hash from the package names
- update mumhash to latest version
- fetch: add -s/--sumlnk option for mirror mode.
- fetch: honor PKG_REPO_SYMLINK env var
- triggers: only defer triggers which will fork/exec something
- db: enable WAL for databases on local file systems
- query: add support for evaluation of complex attributes
- store ignored shlibs in manifest and db
- Allow to define shlibs_{proviced,required}_ignore in the manifest directly
- configure: use some C23 features to reduce the number of checks in the configure
[11 lines not shown]
[WinEH] Only emit err_seh_object_unwinding when CXXExceptions are enabled (#180959)
Based on the PR(https://github.com/llvm/llvm-project/pull/180108)
discussion, it has been modified to check when `/EH*` is enabled.
Although `/EHsc` `/EHs` are slightly different from `/EHa`, and the
changes here have different effects than `/EHa` when these two switches
are enabled, we are still considering supporting this situation, and we
will improve support for `/EHs*` in the future.
[CIR] Implement func/call return-attributes (#181052)
This patch implements the infrastructure for return attributes on
function/call operations, a little of the common infrastructure for arg
attributes on the same, and 4 return attributes lowering: noundef
nonnull
dereferenceable
align
These 4 common attributes are all pretty reasonable/common, so these
will change a lot of tests.
This patch chooses to just use the LLVM-IR-Dialect variant of these
attributes (as a NamedAttr), which means no changes to the dialect or
lowering are necessary.
[Clang] Fix crash for _Countof(void) by correcting extension handling (#181169)
Fix a crash for _Countof(void) caused by incorrect extension handling in
CheckExtensionTraitOperandType.
Fixes #180893