Skip to content

Conversation

tcheeric
Copy link
Owner

@tcheeric tcheeric commented May 6, 2024

No description provided.

guilhermegps and others added 30 commits February 17, 2024 11:10
Refactored NIPs 01, 04, 05, 08, 09, 16, 25, 33
# Conflicts:
#	nostr-java-api/src/main/java/nostr/api/NIP04.java
#	nostr-java-api/src/main/java/nostr/api/NIP46.java
#	nostr-java-api/src/main/java/nostr/api/factory/impl/NIP46Impl.java
#	nostr-java-client/src/main/java/nostr/client/Client.java
#	nostr-java-crypto/src/main/java/nostr/crypto/schnorr/Schnorr.java
#	nostr-java-event/src/main/java/nostr/event/impl/EphemeralEvent.java
#	nostr-java-event/src/main/java/nostr/event/impl/InternetIdentifierMetadataEvent.java
#	nostr-java-event/src/main/java/nostr/event/impl/MentionsEvent.java
#	nostr-java-event/src/main/java/nostr/event/impl/MetadataEvent.java
#	nostr-java-event/src/main/java/nostr/event/impl/ReactionEvent.java
#	nostr-java-event/src/main/java/nostr/event/impl/ReplaceableEvent.java
#	nostr-java-event/src/main/java/nostr/event/json/serializer/TagSerializer.java
#	nostr-java-id/src/main/java/nostr/id/Identity.java
#	nostr-java-id/src/main/java/nostr/id/IdentityHelper.java
Implemented NIP-31
Updated OTS-Event implementation
Using IIdentity instead of implementation Identity in the API
tcheeric and others added 27 commits April 21, 2024 21:10
Suggestion of changes for your branch
# Conflicts:
#	nostr-java-event/src/main/java/nostr/event/BaseTag.java
#	nostr-java-event/src/main/java/nostr/event/json/codec/FiltersEncoder.java
#	nostr-java-event/src/main/java/nostr/event/json/deserializer/CustomGenericTagQueryDeserializer.java
#	nostr-java-test/src/test/java/nostr/test/json/JsonParseTest.java
NIP-99 ClassifiedListingEvent API, Event, Tag and Serializer classes
@tcheeric tcheeric self-assigned this May 6, 2024
final var encryptedMessage = Base64Decoder.decode(parts[0]);
final var iv = Base64Decoder.decode(parts[1]);

var cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");

Check failure

Code scanning / CodeQL

Use of a broken or risky cryptographic algorithm

Cryptographic algorithm [AES/CBC/PKCS5Padding](1) is weak and should not be used.
var iv = NostrUtil.createRandomByteArray(16);
var ivParamSpec = new IvParameterSpec(iv);

var cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");

Check failure

Code scanning / CodeQL

Use of a broken or risky cryptographic algorithm

Cryptographic algorithm [AES/CBC/PKCS5Padding](1) is weak and should not be used.
@tcheeric tcheeric merged commit b586d56 into main May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants