Giter VIP home page Giter VIP logo

Comments (2)

krystian-panek-wttech avatar krystian-panek-wttech commented on June 5, 2024

introduce aem user update-password --id admin --password <pwd>
if id == admin then AEMC will store internally password encrypted by salt

base:
  security:
    algorithm: AES256
    salt: <RANDOMLY_GENERATED_UPON_CONFIG_INIT>

or that salt could be set on nodes as environment variable .Env.AEM_BASE_SALT

security constraints assumed:

  • when called from aemc-ansible, the file aem.yml with that salt will be only temporarily persisted on VM; Ansible ensures to clean that file immediately after module execution
  • that file will be created with read-only permissions for root user (Ansible user who is executing the module); no-one else will be able to read that value

AEMC should be able to rotate admin password when used to check its stability as:

  • AEM on first run before reaching 30% of bundles stable is using default admin pwd instead of the target one - e.g set by -Dadmin.passwordfile= so that during single AEMC command the 2 different passwords need to be used and such case need to be supported

from aemc.

krystian-panek-wttech avatar krystian-panek-wttech commented on June 5, 2024

implemented previous-password-less approach using oakrun;

image

only to be polished / that jansi error especially - https://issues.apache.org/jira/browse/OAK-5961

@tomasz-sobczyk-wttech WDYT?

I decided to embed oak-run to aemc binary to avoid unexpected file downloads occurrence when oak-run will be needed on password change; 50mb; what is interesting only 1.42 version works, newer ones are broken (corrupted jar file / not launchable, too small size)

from aemc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.