Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

base64 password and query optimization for publish method#43

Open
bandrea83 wants to merge 3 commits into
RedHatSatellite:masterfrom
bandrea83:master
Open

base64 password and query optimization for publish method#43
bandrea83 wants to merge 3 commits into
RedHatSatellite:masterfrom
bandrea83:master

Conversation

@bandrea83

Copy link
Copy Markdown

Added code for manage base64 password encryption.
Updated documentation for base64 password encryption

bandrea83 added 3 commits November 18, 2017 10:40
Added documentation line about base64 password encryption
changed ended time with started time for publish and task query
Optimized search for get sync task started after last cv publish start time
@bandrea83

Copy link
Copy Markdown
Author

Optimized query on sync task started after last cv publish. added filter for get only task that match repository id you are checking

@bandrea83 bandrea83 changed the title Added support for base64 password encryption base64 password and query optimization for publish method Nov 18, 2017
@Rocco83

Rocco83 commented Jan 18, 2018

Copy link
Copy Markdown
Contributor

ping @evgeni :)

@CalvinHartwell

Copy link
Copy Markdown
Contributor

ping @evgeni :)

Yeah, fix it @evgeni !!! ;-) ❤️ 💟 😻 🐈 😹 😸

Rocco83 added a commit to Rocco83/katello-cvmanager that referenced this pull request May 3, 2018
Comment thread README.md

* `user`: username of a Satellite 6 user to execute the actions with
* `pass`: password of the same user
* `pass`: password of the same user in base64 encryption (generate with 'echo -n "sat_password" | base64')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

base64 is not encryption, so please drop that "feature" (as discussed with @Rocco83 in #53)

I'd be OK with having a real encrypted password here, but that would require more code.

Comment thread cvmanager

def checktask(task, last_date)
task_completed_at = Time.xmlschema(task['ended_at']) rescue Time.parse(task['ended_at'])
task_completed_at = Time.xmlschema(task['started_at']) rescue Time.parse(task['started_at'])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain a bit more what is fixed here? I fear with that change we'll be missing the tasks that started before last_date but ended after it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants