Comments (5)
For me changing the build environment where pip install
is executing worked.
└─ [] Environment] .Image:
├─ [
│ ├─ [-] aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.11
│ └─ [+] aws/codebuild/amazonlinux-x86_64-lambda-standard:python3.11
└─ [~] .Type:
├─ [-] ARM_LAMBDA_CONTAINER
└─ [+] LINUX_LAMBDA_CONTAINER
from pycryptodome.
Dependencies should be included in a Lambda zip file using pip as explained here: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html . Have you tried that?
from pycryptodome.
@Legrandin
That is how I installed Cryptodome in the Lambda zip file.
How do I pip install the other dependency library files like _raw_ecb.cpython-311-x86_64-linux-gnu.so?
from pycryptodome.
Your problem (as indicated by the invalid ELF header
message) is that you are building your lambda on an architecture which is not compatible with the runtime of the lambda.
That is the reason for the commands given in section "Working with built distributions (wheels)". More in general, it is better to build the lambda using the runtime itself.
from pycryptodome.
@Legrandin
I see. I don't custom build the lambda runtime, I use the default lambda runtime provided by AWS
Can you give me those required wheel files?
from pycryptodome.
Related Issues (20)
- object of type 'DerOctetString' has no len() HOT 1
- Tests cannot be run on non-x86 architectures HOT 8
- "Incorrect decryption." using PyCryptodome's RSA functionality. HOT 1
- 3.19.0: pytest is failing HOT 3
- Plans for KangarooTwelve? HOT 4
- AES CFB mode and AES OFB mode have different first block given same key and IV.
- Build failure with GCC 14 and LTO if -maes is not explicitly enabled HOT 10
- Enhancement Request: Add `usedforsecurity` Argument to Hash Functions to Indicate Security Context Usage HOT 3
- Make PKCS8.wrap() parameters available when exporting keypair to PEM (feature request) HOT 1
- "AES" is unknown import symbolPylancereportGeneralTypeIssues (import) AES: Unknown HOT 4
- pycryptodome 3.20.0 fails on Debian armel HOT 1
- pycryptodome 3.20.0 fails on Debian mips64el HOT 1
- Question: What are the fix patches for CVE-2023-52323? HOT 4
- Evalue e'th modular root
- AES-GCM: why BLAKE2s? HOT 1
- Win10 FFIError: multiple declarations of function Salsa20_8_core (for interactive usage, try cdef(xx, override=True))
- Windows Deferder Error HOT 2
- errors in documentation
- Problem Kodi 20.5 + pycryotodome
- Possible dereference of null pointer.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycryptodome.