Issues
- Cookie secrets AppConfig keys in launcher.rb are messed upANW-864Resolved issue: ANW-864Thomas Shorock
- Archival object solr contains references to deleted digital objectsANW-607Resolved issue: ANW-607Lora Woodford
- As an archivist, I would like to export EAD3 xmlANW-569Resolved issue: ANW-569
- As an archivist, I want to be able to create top containers independent of specific material description recordsANW-503
- As an archivist, I want to be able to create top containers in bulkANW-495Resolved issue: ANW-495
- Improve representation of top containers, including ability to Browse for existing top containers, in RDEANW-384Resolved issue: ANW-384
- When using the typeahead to select an existing top container in Rapid Data Entry, container options are limited by the size of the displayANW-347Resolved issue: ANW-347Brian Zelip
- As an archives user, I would like to see collection dates in the search and browse views in the public interfaceANW-329Resolved issue: ANW-329
- As an Administrator, I want to bulk edit configurable listsANW-328
- Reorder and Bulk delete user recordsANW-325Resolved issue: ANW-325
- PUI Container Inventory results page missing collection info headerANW-283Resolved issue: ANW-283
- Subjects browse in PUI should list subjects only, with subdivisions and terms appearing when clickedANW-282Resolved issue: ANW-282
- Bulk PDF PrintANW-281Resolved issue: ANW-281
- RDE bug: date required when in template (but with no related fields populated)ANW-278Resolved issue: ANW-278
- As an archivist or researcher I would like there to be tooltips in the PUI that explain termininologyANW-273
- Ability to customize order of resource notes in PUIANW-271Resolved issue: ANW-271
- As a Researcher, I want to see collection dates in the collection summary on the 2.x PUI search pageANW-255Resolved issue: ANW-255Sarah Morrissey
- Error messaging when try to add YYYY dates to the date fields in a Conditions Governing Access or Use Note is unhelpfulANW-251Resolved issue: ANW-251Lora Woodford
- PDF generated from PUI should automatically include correct repository branding image / logoANW-244Resolved issue: ANW-244Steve Majewski
- Date type can be set to arbitrary values on EAD importANW-243Resolved issue: ANW-243Thimios Dimopulos
- Add location string to label exportANW-239Resolved issue: ANW-239Mark Cooper
- large_tree.rb fails to account for NULL values in publish columnANW-238Resolved issue: ANW-238Lora Woodford
- I want to search by subject in the new PUIANW-236Resolved issue: ANW-236Lora Woodford
- Cataloged_note is not being imported via the accession CSV templateANW-234Resolved issue: ANW-234Lora Woodford
- Updating classification terms destroys linksANW-233Resolved issue: ANW-233Laney McGlohon
- Classification records should be included on Agent landing pages in the PUI in some fashion.ANW-232Resolved issue: ANW-232Sarah Morrissey
- Classification records shared across multiple repositoriesANW-230Resolved issue: ANW-230
- Search filter options disappear/get bumped to bottom of search results pageANW-229Resolved issue: ANW-229Laney McGlohon
28 of 28
Cookie secrets AppConfig keys in launcher.rb are messed up
Done
Description
Environment
None
Created March 20, 2019 at 3:14 PM
Updated February 24, 2020 at 1:44 PM
Resolved February 24, 2020 at 1:44 PM
Activity
Show:
Laney McGlohonNovember 11, 2019 at 3:10 PM
Thanks for the pull request! I have added you to the developers group in Jira and look forward to future contributions!
Thomas ShorockNovember 9, 2019 at 2:44 AM
Merged with
Laney McGlohonApril 11, 2019 at 12:47 PM
A pull request would be great! I will contact you separately by email about the contributor agreement.
Scenario: I'm trying to set AppConfig[:frontend_cookie_secret] (and AppConfig[ublic_cookie_secret]) to a fixed value. Part of horizonally scaling frontend and public in a Kubernetes deployment.
In launcher.rb L148-152, the code is looking for AppConfig[:frontend_cookie_secret_cookie_secret], which doesn't and shouldn't exist, thus ignoring my defined AppConfig[:frontend_cookie_secret] and generating a random different cookie secret for each frontend instance.
(this would also be why the files in /data/ in a stock install are always named things like frontend_cookie_secret_cookie_secret.dat.)
Depending on which direction one fixed this, one might also touch generate_secret_for() in launcher.rb
I have a patch in my Docker build for this. I can easily make that a pull request, but I (think) I don't yet have an institutional contrib agreement (shakes head).