upgrade to protobuf 7.34.1

This commit is contained in:
scito
2026-03-25 19:33:27 +01:00
committed by Roland Kurmann
parent f91df9cef9
commit 9c28628fd1
6 changed files with 97 additions and 97 deletions

View File

@@ -14,7 +14,7 @@
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
<!-- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/protobuf)
[![GitHub Pipenv locked Python version](https://img.shields.io/github/pipenv/locked/python-version/scito/extract_otp_secrets)](https://github.com/scito/extract_otp_secrets/blob/master/Pipfile.lock)
![protobuf 34.0version](https://img.shields.io/badge/protobuf-7.34.033.1-informational)-->
![protobuf 34.1version](https://img.shields.io/badge/protobuf-7.34.133.1-informational)-->
<!-- [![Github all releases](https://img.shields.io/github/downloads/scito/extract_otp_secrets/total.svg)](https://GitHub.com/scito/extract_otp_secrets/releases/) -->
@@ -385,7 +385,7 @@ python extract_otp_secrets.py = < example_export.png</pre>
* Provides a debug mode (-d) for analyzing import problems
* Written in modern Python using type hints and following best practices
* All these features are backed by tests ran nightly
* All functionality in one Python script: src/extract_otp_secrets.py (except protobuf 34.0generated code in protobuf_generated_python)
* All functionality in one Python script: src/extract_otp_secrets.py (except protobuf 34.1 generated code in protobuf_generated_python)
## KeePass
@@ -748,11 +748,11 @@ sudo dnf install python3-pip perl envsubst
The export QR code of "Google Authenticator" contains the URL `otpauth-migration://offline?data=…`.
The data parameter is a base64 encoded proto3 message (Google Protocol Buffers).
Command for regeneration of Python code from proto3 message definition file (only necessary in case of changes of the proto3 message definition or new protobuf 34.0versions):
Command for regeneration of Python code from proto3 message definition file (only necessary in case of changes of the proto3 message definition or new protobuf 34.1versions):
protoc 34.0--plugin=protoc-34.0gen-mypy=path/to/protoc-34.0gen-mypy --python_out=src/protobuf_generated_python --mypy_out=src/protobuf_generated_python src/google_auth.proto
protoc 34.1--plugin=protoc-34.1gen-mypy=path/to/protoc-34.1gen-mypy --python_out=src/protobuf_generated_python --mypy_out=src/protobuf_generated_python src/google_auth.proto
The generated protobuf 34.0Python code was generated by protoc 34.033.1 (https://github.com/protocolbuffers/protobuf/releases/tag/v34.033.1).
The generated protobuf 34.1Python code was generated by protoc 34.133.1 (https://github.com/protocolbuffers/protobuf/releases/tag/v34.133.1).
For Python type hint generation the [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) package is used.