)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"51e6609154f24ec1597b69b3fa3b7f5bf6b1fdd6","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Ian Pittwood \u003cpittwoodian@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-08-02 18:21:02 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent passphrase auto generation when prompt\u003dTrue, regenerable\u003dFalse"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds logic to prevent users from auto generating passphrases"},{"line_number":10,"context_line":"when \"prompt\u003dTrue\" and \"regenerable\u003dFalse\". Users must manually enter a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"7faddb67_6567fd4e","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":70},"updated":"2019-08-02 18:46:47.000000000","message":"length should be \u003c\u003d50 chars","commit_id":"ec3b724f369f2db102a02d867daf11623a01e8f8"},{"author":{"_account_id":30173,"name":"Ian Pittwood","email":"pittwoodian@gmail.com","username":"ianp"},"change_message_id":"a0e48a5e99d3b46ba69dd7ce366b4cdf9fe95038","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Ian Pittwood \u003cpittwoodian@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-08-02 18:21:02 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent passphrase auto generation when prompt\u003dTrue, regenerable\u003dFalse"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This change adds logic to prevent users from auto generating passphrases"},{"line_number":10,"context_line":"when \"prompt\u003dTrue\" and \"regenerable\u003dFalse\". Users must manually enter a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"7faddb67_e5d76dbe","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":70},"in_reply_to":"7faddb67_6567fd4e","updated":"2019-08-02 18:49:46.000000000","message":"Done","commit_id":"ec3b724f369f2db102a02d867daf11623a01e8f8"}],"pegleg/engine/generators/passphrase_generator.py":[{"author":{"_account_id":29624,"name":"Alexander Hughes","email":"Alexander.Hughes@pm.me","username":"alexanderhughes"},"change_message_id":"dca459cda0a3b20b611df6f509b965febc51c749","unresolved":false,"context_lines":[{"line_number":143,"context_line":"            else:"},{"line_number":144,"context_line":"                files.write(docs, save_path)"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    def get_interactive_pass(self, p_name, auto_allowed\u003dTrue):"},{"line_number":147,"context_line":"        if auto_allowed:"},{"line_number":148,"context_line":"            prompt \u003d \u0027Input passphrase/UUID for {}. Leave blank to \u0027 \\"},{"line_number":149,"context_line":"                     \u0027auto-generate:\\n\u0027"},{"line_number":150,"context_line":"        else:"},{"line_number":151,"context_line":"            prompt \u003d \u0027Input passphrase for {}:\\n\u0027"},{"line_number":152,"context_line":"        prompt.format(p_name)"},{"line_number":153,"context_line":"        passphrase \u003d getpass(prompt\u003dprompt)"},{"line_number":154,"context_line":"        return passphrase"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    def is_base64_like(self, passphrase):"},{"line_number":157,"context_line":"        pattern \u003d re.compile("}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_9dd87b53","line":154,"range":{"start_line":146,"start_character":0,"end_line":154,"end_character":25},"updated":"2019-07-31 19:05:00.000000000","message":"these checks should apply to all secrets and not just passphrase types.\n\nthat way any catalogue entry that is prompt:True and regenerable:False will not allow an auto generated passphrase, as the assumption is that these are rotated by the user separately and then wrapped/encrypted by Pegleg","commit_id":"3536eb458f78eb20132b03aba9c1962b0df7957f"}]}
