Skip to content

Add hardcoded encryption key on top of a secret. #297

Closed

Description

@commjoen

Have a challenge about "bad encryption practices" where we hardocde the key and the secret in java.

Steps to take:

  • create a secret on your computer
  • encrypt it with your algorithm of choice (could be AES, 3DES, whatever you like) on your computer resulting in the ciphertext you need
  • now take the ciphertext and put that in the java code of the challenge
  • add the key you used to encrypt the challenge and a decryption method to the challenge. See contributing.md on how to create the challenge.

Activity

  1. kshitijk4poor commented on Aug 18, 2023

    @kshitijk4poor

    I would like to work on this one. could you please assign it to me?

  2. commjoen commented on Aug 18, 2023

    @commjoen
    CollaboratorAuthor

    Welcome to the team sir! It is assigned to you now.

  3. commjoen commented on Oct 4, 2023

    @commjoen
    CollaboratorAuthor

    Hi @kshitijk4poor , do you have any update on this?

  4. kshitijk4poor commented on Oct 8, 2023

    @kshitijk4poor

    Hey @commjoen , yeah I'm on it

  5. divyanshuagarwal-23 commented on Oct 12, 2023

    @divyanshuagarwal-23

    Hello @kshitijk4poor, I am new here
    can I please work with you
    so that I can get familiar with the code base and hence can contribute in the future

  6. CaduRoriz commented on Oct 25, 2023

    @CaduRoriz
    Contributor

    /assign

  7. nick2432 commented on Dec 20, 2023

    @nick2432

    Can I contribute to this issue? I'm new here, but I have experience contributing to many other organizations. Is there a Discord channel or any other channel where I can discuss and get assistance?

  8. commjoen commented on Dec 20, 2023

    @commjoen
    CollaboratorAuthor

    Dear all, the issue is still assigned to kshitijk4poor. once it is completed or he unassigns or it gets unassigned automatically, we will assign it to someone else.
    For any potential contributor, please read our readme, code of conduct and contribution guidelines.
    See https://github.com/OWASP/wrongsecrets/blob/master/README.md#support for how to get in touch via Slack to chat about the project.

  9. deleted a comment from nick2432 on Dec 20, 2023
  10. 21 remaining items

  11. commjoen commented on Mar 10, 2026

    @commjoen
    CollaboratorAuthor

    @Jigyansha06 happy to assign it to you :) , as we did not get any input yet on it.
    you can follow the contributing.md file in the repo on how to setup shop.

  12. Jigyansha06 commented on Mar 11, 2026

    @Jigyansha06

    @commjoen Thank you for assigning this issue.

    I understand that I need to create a challenge demonstrating bad encryption practices with a hardcoded key and encrypted secret.

    Could you please guide me on:

    1. Which folder the Java challenge should be added to?
    2. If there is an existing challenge example I should follow?
  13. commjoen commented on Mar 12, 2026

    @commjoen
    CollaboratorAuthor

    @Jigyansha06 please familiairise yourself with the project first ;-).

  14. moeedrehman135 commented on Apr 7, 2026

    @moeedrehman135
    Contributor

    hey @commjoen is this project available to work on?

  15. commjoen commented on Apr 7, 2026

    @commjoen
    CollaboratorAuthor

    Yea it is

  16. moeedrehman135 commented on Apr 9, 2026

    @moeedrehman135
    Contributor

    I would love to contribute. Could you please assign this to me so that i can get started?

  17. commjoen commented on Apr 9, 2026

    @commjoen
    CollaboratorAuthor

    go ahead :)

  18. added a commit that references this issue on Apr 10, 2026
    91e3d4e
  19. added a commit that references this issue on Jun 26, 2026
    6afb375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions